Help With Binds
Sirus
Join Date: 2002-11-13 Member: 8466Members, NS1 Playtester, Constellation
<div class="IPBDescription">I need some help</div> Ok, I need to know like 2 things.
1st. What is the console command to attack?
2nd What is the bind key for right click?
I'd like to bind my right click to do a 7 round burst or 5 rounds burst or soemthing to that degree. I can always have the my mousewheel click as a the menu, so im not worried about that.
I'd love to have a burst attack, and from what i know its possible to bind one.
1st. What is the console command to attack?
2nd What is the bind key for right click?
I'd like to bind my right click to do a 7 round burst or 5 rounds burst or soemthing to that degree. I can always have the my mousewheel click as a the menu, so im not worried about that.
I'd love to have a burst attack, and from what i know its possible to bind one.
Comments
--
bind "MOUSE1" "+attack"
bind "MOUSE2" "+popupmenu"
--
I dont know if you can do that with NS, never been a big fan of scripts...
Will do a three round burst. I need to try it out though
type this in your console if you want a 8 round burst fire for your LMG ( I have not tried this with HMG)
Will not work with pistol (only fire 1 shot ) With knife it attacks 3 times.
bind mouse2 "+attack ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; wait ; -attack"
That should give you a 8 round burst, enough to kill a skulk with one click. This does not increase the speed of firing etc. It only fires 8 rounds so that you can conserve ammo.
NOTICE : While firing you will continue in the same direction before you fired, if you have not moved before, you will be unable to move til the 8 rounds have fired. This will also disable the pop up menu, and is only recommended if you have assigned another key to the menu.
I have tested this and it does work.
Also, If you have a mouse with a wheel i would recommend this.
bind MWHEELUP "impulse 10 ; say_team <<Commander, I need Health>>"
bind MWHEELDOWN "impulse 11 ; say_team <<Commander, I need ammo>>"
Make sure that you have the menu assigned to a key. [B]<span style='font-family:Arial'> </span><span style='font-size:14pt;line-height:100%'> </span>
I would suggest 5 or mouse3 for the menu.
EDIT: Also, I have just learned of binding as of 3 o clock this morning, so im afraid beyond this i cant help you out much more. Maybe in a later time.
But also, i learned this morning at 3 am then went to sleep. So my scripting is very limited.
This script may fire 8 rounds on your machine, but a person with a slower machine than you may fire off more than 8 rounds
Well does anyone else know another way to do burst fire?
click 8 times ...?
<img src='http://www.unknownworlds.com/forums/style_images/1/icon2.gif' border='0' alt='user posted image'>
Oh well its my enemy spotted button now. got need ammo , need health and enemy spotted and shoot on my mouse. Along with menu as my mouse3.
Secondary Fire could be faster shoot rate but bigger cone or slower shoot rate but smaller cone.. but that is not bindable, flay has to code it!
EDIT: Or maybe the 2ndary attack could be a grenade launcher? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
And as an old hand at scripting for Quake2 (and HalfLife's engine, and thus scripting logic, is based off Q2, my experiance carries over), there is no easy way to script such things. The wait command is dependant on processor speed, so even on the same machine a script using the wait command isn't going to be consistant depending on the load you're putting on it at the time, and while it's being used, you can't do anything else (as you've noticed). Simple binds/alias' are best, like one that selects a weapon, fires, and switches back (slot3;wait;+attack;wait;slot1;wait;-attack is a great one for aliens [remember to turn on hud_fastswitch 1], for example, as that'll leap then go back to bite as a skulk, or umbra as a lerk, then back to bite. It doesn't always work for blink or charge, so I don't suggest even using it, as blink is unreliable enough without gambling on it not even firing).
The scripting logic is set up to defeat attempts at scripts that nearly play the game for you, which unfortunatly also cuts off a lot of the neater, legitamate tricks too. But it's still good for simple commands. If you want to get into really complex stuff, you can essentially make your own menu system, sort of. You can potentially bind a key to rebind your entire keyboard when you're holding it down, then switch back to the previous setup when you let go, or do it as a toggle instead (easiest way is to make an alias like "alias +rebind exec rebind.cfg" "alias -rebind exec config.cfg" "bind alt +rebind"). Kind of usefull for radio/text commands (which I see you already know how to bind to the same key).
And if you want to see something funny, try writting loops, like "alias flashloop impulse 100;wait;flashloop" then type "flashloop" in the console (impulse 100 is the flashlight command). You'll blink like a christmas tree on crack, or if you're alien, everything else will blink like the aforementioned christmas tree <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
As for the pistol rounds expending fast, they go as fast as you can click. A script would probably work even less on a pistol. All you need is a very responsive mouse and a strong forefinger.
what if the skulk is weaving in and out of strutures u will be wasting ammo.
i am always on and off the trigger alot making sure my shots count.
i like playing games with no hud as it feels more realistic.
Vietkong demo espically.
can u get hud off i wonder?
lol
I get accused of using some kind of script when ever I use the pistol ...
its not even hard - I just click the damn thing hella fast - as fast as you can click the mouse is as fast as that pistol is gunna fire.
its great.
best. pistol. ever.
I had to explain to this poor man that I play a lot of "click as fast as you can"-games and it's true! I dunno why but since there's no recoil (well, maybe a small but can't notice pretty much any), an old CS-er can just go mad with pistol. If I, or SilverFox or any with the same thing see enemy in a vent, you can pretty much waste it with pistol in less than 2 secs <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->