Help With Binds

SirusSirus 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.

Comments

  • n00b101n00b101 Join Date: 2002-10-29 Member: 1706Members
    From my config.cfg

    --
    bind "MOUSE1" "+attack"
    bind "MOUSE2" "+popupmenu"
    --

    I dont know if you can do that with NS, never been a big fan of scripts...
  • SirusSirus Join Date: 2002-11-13 Member: 8466Members, NS1 Playtester, Constellation
    i believe bind mouse2 "+attack ; wait ; -attack ; +attack ; wait ; -attack ; +attack ; wait ; -attack"
    Will do a three round burst. I need to try it out though
  • BergerBerger Join Date: 2002-11-16 Member: 8945Members, Constellation
    Yea, that should work. No spaces though.
  • SirusSirus Join Date: 2002-11-13 Member: 8466Members, NS1 Playtester, Constellation
    edited December 2002
    Ok i got it figured out.

    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.
  • CatgirlCatgirl Join Date: 2002-11-03 Member: 5741Members
    "Wait" commands are CPU dependant. Also, while "Wait"ing, you can't perform any actions (as you saw) which sort of makes it dangerous.
  • SirusSirus Join Date: 2002-11-13 Member: 8466Members, NS1 Playtester, Constellation
    yup, buts its the only way i could get it to do a burst fire, otherwise it just continues firing or only fires when holding down. If someone could figure out a different way of doing it i would like to know, cuz the non-movement is kind of a bummer, but aim it right and you got a dead skulk. (its only like 1.5 secs of non-movement. Not too bad.

    But also, i learned this morning at 3 am then went to sleep. So my scripting is very limited.
  • nthingnthing Join Date: 2002-11-01 Member: 3091Members
    edited December 2002
    The 'wait' command varies in time between machines... on a machine with a 500mhz processor the 'wait' command might take 0.1 seconds for example, but a machine with a 2ghz processor the 'wait' command might only take 0.01 seconds...

    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
  • SirusSirus Join Date: 2002-11-13 Member: 8466Members, NS1 Playtester, Constellation
    Bah!

    Well does anyone else know another way to do burst fire?
  • Silver_FoxSilver_Fox Spammer Join Date: 2002-01-24 Member: 34Members, NS1 Playtester, Contributor
    uh ...

    click 8 times ...?
    <img src='http://www.unknownworlds.com/forums/style_images/1/icon2.gif' border='0' alt='user posted image'>
  • SirusSirus Join Date: 2002-11-13 Member: 8466Members, NS1 Playtester, Constellation
    Yah, i understand that but a while ago people were asking for a secondary fire. so i though maybe i can bind it so theres a burst fire as a secondary fire...didnt end up too great. But i meant for it to be useful, but it didnt end up so well.

    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.
  • Hot_SoupHot_Soup Join Date: 2002-06-29 Member: 847Members
    Try , click , pause , click , pause ... etc .... <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' valign='absmiddle' alt='wow.gif'><!--endemo-->
  • SirusSirus Join Date: 2002-11-13 Member: 8466Members, NS1 Playtester, Constellation
    you are missing the point though =D. I've explained 2-3 times so meh! I did it cuz people wanted a secondary fire, but movement is messed up with the bind.
  • Dauntl3ssDauntl3ss Join Date: 2002-11-08 Member: 7737Members
    edited January 2003
    Fire till the skulk is dead.....
    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-->
  • sekdarsekdar Join Date: 2002-11-21 Member: 9564Members
    i've seen people fire off an entire pistol clip <i>amazingly</i> fast.... is that a possible script? 10 rapid fire shots?
  • CatgirlCatgirl Join Date: 2002-11-03 Member: 5741Members
    Bind +attack to your mousewheel and spin the wheel like a mofo.
  • InsidiousInsidious Join Date: 2002-11-21 Member: 9553Members
    edited January 2003
    I've never tried the mousewheel trick, but I was under the impression that doesn't work anymore.

    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-->
  • ElvenThiefElvenThief aka Elven Thief (ex. NS Programmer) Join Date: 2002-11-15 Member: 8754Members, Retired Developer, NS1 Playtester, Constellation
    You're gonna find that you're gonna be better off learning to control your burst fire with your mouse. Scripting isn't too reliable for it.
    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.
  • ChurchChurch Meatshield grunt-fodder // Has pre-ordered NS2 Join Date: 2002-12-31 Member: 11646Members, Constellation
    Can someone help me out and tell me how to bind keys so I can turn left or turn right with the keyboard? (I think there's a command that lets me turn left or right 90 degrees). I would also like to bind lastinv, is that how I spell it?
  • T_RATT_RAT Join Date: 2002-12-17 Member: 10967Members, Reinforced - Gold
    i dont know about u but i can fire off close enough to 8 round bursts without scripts.
    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?
  • Silver_FoxSilver_Fox Spammer Join Date: 2002-01-24 Member: 34Members, NS1 Playtester, Contributor
    <!--QuoteBegin--sekdar+Jan 1 2003, 02:55 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (sekdar @ Jan 1 2003, 02:55 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->i've seen people fire off an entire pistol clip <i>amazingly</i> fast.... is that a possible script? 10 rapid fire shots?<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    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.
  • CobyCoby Join Date: 2002-11-11 Member: 8210Members
    Someone also asked if I had some "lame cheating scripts" when I used my pistole <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
    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-->
Sign In or Register to comment.