Binding A Key To A Different Attack

merc2merc2 Join Date: 2004-08-01 Member: 30283Members
Just wondering -- is there a way to bind your mouse2 button to do a different attack than the primary one? Normally your mouse1 button would use whatever attack you currently have selected, but it seems like it would be useful to have mouse1 be bite and mouse2 be parasite. It doesn't seem possible, but I know there's weird command chains you can execute where it would instantaneously switch your attack and then engage it, I just don't know how it works. Has anyone tried this before?
«1

Comments

  • kuperayekuperaye Join Date: 2003-03-14 Member: 14519Members, Constellation
    alias dewt "slot2; +attack; -attack; slot1"
    bind mouse2 "dewt"

    it will shoot 1 parasite than revert mouse1 back to bite so it wont keep parasiting

    its late i might be wrong
  • ModChaosControlModChaosControl HiveMind NS bot creator Join Date: 2004-03-31 Member: 27613Members
    edited August 2004
    Popup menu?

    see here <a href='http://www.unknownworlds.com/forums/index.php?showtopic=76671' target='_blank'>http://www.unknownworlds.com/forums/in...showtopic=76671</a>
  • Dorian_GrayDorian_Gray Join Date: 2004-02-15 Member: 26581Members, Constellation
    <!--QuoteBegin-kuperaye+Aug 1 2004, 05:33 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (kuperaye @ Aug 1 2004, 05:33 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> alias dewt "slot2; +attack; -attack; slot1"
    bind mouse2 "dewt"

    it will shoot 1 parasite than revert mouse1 back to bite so it wont keep parasiting

    its late i might be wrong <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    This deals with scripting (dare I mention it) and will likely start a flamewar over scripts. Voogru is fixing the script-blocking ability of NS for Beta 5 however, so there is a fair chance that any script you have won't work. Without scripts, there is no way to get mouse2 to fire a different weapon. It's easier to just set hud_fastswitch to 1, so whenever you hit 1,2,3 or 4, it will instantly select that weapon. You can also bind other buttons on your mouse to different weapons (but it won't fire them) with "bind mousex sloty" where x is the number of the mouse button (1,2,3,4 or 5, on my mouse at least) and y is a slot number (1,2,3,4).
  • DragonMechDragonMech Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
    edited August 2004
    Another option that you can have with a 4-button mouse is to bind these (or similar) commands:
    <!--c1--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
    bind MOUSE5 slot1           <----- This is the button I hit by rolling my thumb forward.
    bind MOUSE4 slot2           <----- The button right under my thumb. Pistol quickdraw anyone?
    bind MWHEELUP slot3       <----- Binds an attack to rolling the mousewheel up - lets me draw my knife instantly.
    bind MWHEELDOWN slot4  <----- Lets me cycle between equipment (mines, welder & grenades)
    <!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
    That + hud_fastswitch 1 = pwnage.
  • wallerwaller Join Date: 2004-04-28 Member: 28281Members
    Am i the only one that uses
    Bind mouse1 lastinv here ? <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • LitoLito Join Date: 2003-09-04 Member: 20560Members
    Yes, Waller, I believe the rest of the world uses mouse 1 for +attack

    omg loner <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->
  • jumpingjodajumpingjoda Join Date: 2003-12-14 Member: 24367Members, Constellation, Reinforced - Shadow
    Omg, mouse1 for lastinv? <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html//emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif' /><!--endemo-->
    I feel the world braking apart.
  • wallerwaller Join Date: 2004-04-28 Member: 28281Members
    lol, mouse1 lastinv, mouse2 +attack, q +jump.. f +popupmenu D:
  • MADMEEMADMEE Join Date: 2004-07-23 Member: 30059Members
    just to confuse ppl:

    some of my keys..

    slot1 a
    slot2 d
    slot3 v
    slot4 f
    mouse2 move forwards

    <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->... <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html//emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /><!--endemo-->
  • wallerwaller Join Date: 2004-04-28 Member: 28281Members
    you're joking right?

    WASD is for noobs, i'm gonna have to go change that <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo-->
  • Diablo_fxDiablo_fx Join Date: 2003-02-21 Member: 13793Members
    <!--QuoteBegin-waller+Aug 1 2004, 04:52 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (waller @ Aug 1 2004, 04:52 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> you're joking right?

    WASD is for noobs, i'm gonna have to go change that <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo--> <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    i'm a noob then..
  • wallerwaller Join Date: 2004-04-28 Member: 28281Members
    Aren't we all <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html//emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /><!--endemo-->


    P.s, how did you get on my msn list? <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo-->
  • d0omd0om Join Date: 2003-01-20 Member: 12516Members
    I have different marine and alien binds in seperate .cfg files

    will we be allowed exec commands? As I just have j and k bound to join team1/2 and exec maine/alien configs. Rebinding for each team would be tedious...

    Main difference is e is slot3 for aliens, and r is use for aliens. (no need for reload.) q is slot1, mouse2 is slot2. I find it works a lot better than using lastinv or having a buttom change weapon and fire. Blinking and leaping need to be carefully controlled and a change/fire script can't really do it.
  • Odin_BloodlustOdin_Bloodlust Join Date: 2004-07-26 Member: 30156Members
    <!--QuoteBegin-Diablo_fx+Aug 1 2004, 11:02 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Diablo_fx @ Aug 1 2004, 11:02 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-waller+Aug 1 2004, 04:52 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (waller @ Aug 1 2004, 04:52 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> you're joking right?

    WASD is for noobs, i'm gonna have to go change that <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo--> <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    i'm a noob then..

    <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    yeah, me too <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
    btw what is lastinv [have no idea 'bout scripting, must missed the topic:) ]
  • ZekZek Join Date: 2002-11-10 Member: 7962Members, NS1 Playtester, Constellation, Reinforced - Shadow
    Mouse2 for attack? Are you left-handed?
  • BuggyBuggy Join Date: 2003-11-08 Member: 22400Members, Constellation
    He's just speshal.
  • AhnteisAhnteis teh Bob Join Date: 2002-10-02 Member: 1405Members, NS1 Playtester, Constellation
    Luckily, by the time script blocking is introduced, HL2 should be out.

    Having to manually do EVERYTHING including exec-ing a different config for aliens/marines is just plain stupid. Making the game more tedious to play isn't a way to attract more players.
  • SkySky Join Date: 2004-04-23 Member: 28131Members
    <!--QuoteBegin-Odin_Bloodlust+Aug 1 2004, 05:47 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Odin_Bloodlust @ Aug 1 2004, 05:47 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-Diablo_fx+Aug 1 2004, 11:02 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Diablo_fx @ Aug 1 2004, 11:02 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin-waller+Aug 1 2004, 04:52 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (waller @ Aug 1 2004, 04:52 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> you're joking right?

    WASD is for noobs, i'm gonna have to go change that <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo--> <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    i'm a noob then..

    <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    yeah, me too <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
    btw what is lastinv [have no idea 'bout scripting, must missed the topic:) ] <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    It's just a key you press that will switch back and forth between the two most recently selected weapons. Not exactly a dangerous script....
  • IceBaronIceBaron Join Date: 2003-02-25 Member: 13954Members
    I could be wrong, but I would bet that 9 out the top 10 ns players in the world use mouse1 for attack and mouse2 for jump.

    Please feel free to correct me if you are one of those godlike skill haxors and use mouse 2 for something else.
  • coriscoris Join Date: 2003-07-08 Member: 18034Members, Constellation
    <!--QuoteBegin-IceBaron+Aug 2 2004, 02:30 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (IceBaron @ Aug 2 2004, 02:30 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I could be wrong, but I would bet that 9 out the top 10 ns players in the world use mouse1 for attack and mouse2 for jump.

    Please feel free to correct me if you are one of those godlike skill haxors and use mouse 2 for something else. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    I use mouse2 for pistolscript. But maybe Im not good enough B<
  • wallerwaller Join Date: 2004-04-28 Member: 28281Members
    I use q for jump. Technicly it SHOULD be hard to bhop with it, but i find it hella easy

    As for me being left handed.
    Yes and no, i can use both my hands equally.
    but i use the mouse with my right hand, dunno why but i like mouse2 +attack.
  • CrSCrS Join Date: 2004-03-03 Member: 27096Members
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->//////////////////////////////////////////////////////////
    Pistol
    bind mouse2 "+pattack"
    alias +pattack "slot2; +attack"
    alias -pattack "-attack; wait; +attack; wait; -attack"

    bind "x" "impulse 11; say_team ammo!"
    bind "z" "impulse 10; say_team medpack!"

    ///////////////////////////////////////////////////////////
    LMGbind

    bind mouse1 "+lmg"
    alias +lmg "slot1; wait; +attack"
    alias -lmg "-attack"

    //////////////////////////////////////////////////////////

    knifepull

    bind mouse5 "+kniv"
    alias +kniv "slot3; wait; +attack"
    alias -kniv "-attack"<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    mouse2 pulls pistol and lets u start firing
    mouse1 pulls lmg and also lets u hold it while firing
    mouse5 (for MX500) users atleast it lets me automatically switch and start slashing the knife...
  • CrSCrS Join Date: 2004-03-03 Member: 27096Members
    why? when u click mouse1 it will change and start firing anyways.... <!--emo&::nerdy::--><img src='http://www.unknownworlds.com/forums/html//emoticons/nerd.gif' border='0' style='vertical-align:middle' alt='nerd.gif' /><!--endemo-->
  • im_lostim_lost TWG Rule Guru Join Date: 2003-04-26 Member: 15861Members
    Would it matter if you were left handed? Assuming you are the owner of the computer, you would just go into Windows and change the mouse options to switch the buttons around. Then there would be no need to change any of that in NS.
  • NGENGE Join Date: 2003-11-10 Member: 22443Members
    I move forward with k, backwards with 3, numlock for strafe right and alt for left
  • wallerwaller Join Date: 2004-04-28 Member: 28281Members
    <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo--> what fingers do you put on what keys.
  • God_KillerGod_Killer Join Date: 2004-02-16 Member: 26592Members
    <!--QuoteBegin--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I could be wrong, but I would bet that 9 out the top 10 ns players in the world use mouse1 for attack and mouse2 for jump.

    Please feel free to correct me if you are one of those godlike skill haxors and use mouse 2 for something else.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->

    I always use mouse2 for lastinv...I'm no haxor, about the god like part, thats debatable.
  • ChurchChurch Meatshield grunt-fodder // Has pre-ordered NS2 Join Date: 2002-12-31 Member: 11646Members, Constellation
    I am so not going to play on servers with blockscripts. All of my different configs are cycled through by a few keys, and those definitely need scripts to cycle!
  • a_civiliana_civilian Likes seeing numbers Join Date: 2003-01-08 Member: 12041Members, NS1 Playtester, Playtest Lead
    <!--QuoteBegin-IceBaron+Aug 2 2004, 09:30 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (IceBaron @ Aug 2 2004, 09:30 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I could be wrong, but I would bet that 9 out the top 10 ns players in the world use mouse1 for attack and mouse2 for jump.

    Please feel free to correct me if you are one of those godlike skill haxors and use mouse 2 for something else.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    I don't claim to be one of the top 10 NS players, but I use space for jump (with esdf as movement) and I have no trouble bunnyhopping or jumping whenever I need to. Only problem is that my space key is getting worn and difficult to press at times, but that's also happening to my crouch key (shift).

    <!--QuoteBegin-NGE+Aug 2 2004, 03:11 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (NGE @ Aug 2 2004, 03:11 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I move forward with k, backwards with 3, numlock for strafe right and alt for left<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
    I'm sure you do.
  • SaltzBadSaltzBad Join Date: 2004-02-23 Member: 26833Members
    <!--QuoteBegin-waller+Aug 2 2004, 03:27 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (waller @ Aug 2 2004, 03:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--emo&???--><img src='http://www.unknownworlds.com/forums/html//emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif' /><!--endemo--> what fingers do you put on what keys. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Fingers? Toes!
Sign In or Register to comment.