How Do I . . . ?

Cpl_HicksCpl_Hicks Join Date: 2003-01-17 Member: 12416Members
Bind different attacks to my mouse buttons? For instance, right now I have my slot 2 assigned to my MOUSE4 button, and my slot 3 weapon assigned to my MOUSE5 button. I press the button, and the weapon selection pane opens up. Id rather it just execute the attack corresponding to that slot, not open up the weapon selection pane. Is there any command that will do this? Ive done a forum search but had no luck. Thanks for any info.

-Cpl. Hicks

Comments

  • RaistiRaisti Join Date: 2003-07-28 Member: 18507Members
    simply type in the console hud_fastswitch 1
    and the Weapon changes immeaditly
  • StoneburgStoneburg Join Date: 2002-11-11 Member: 8174Members
    It would be something like:

    alias +attack3 "slot3; wait; +attack"
    alias -attack3 "-attack"

    But with the weapon delay it is unlikely to work in most cases, unfortunately.
  • MintmanMintman Join Date: 2003-05-30 Member: 16866Members
    Yeah, what Stoneburg said, you'll probably have to play with the number of waits you have in there until it works.

    Also for that to work you need to bind a key to "+attack3"
  • CheesyPetezaCheesyPeteza Join Date: 2002-11-24 Member: 9784Members, NS1 Playtester, Constellation
    No need for any of that rubbish. Just do what Raist666 said.
  • enf0rcerenf0rcer intrigued... Join Date: 2003-03-16 Member: 14584Members
    seems like a waste of mouse binds to me <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • CypherCypher Join Date: 2003-03-16 Member: 14579Members
    <!--QuoteBegin--CheesyPeteza+Sep 29 2003, 11:27 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (CheesyPeteza @ Sep 29 2003, 11:27 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> No need for any of that rubbish. Just do what Raist666 said. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Raist's would require two clicks...Stoneburg's would require one...
  • MrMojoMrMojo Join Date: 2002-11-25 Member: 9882Members, Constellation
    Um, no it doesn't.

    Just do that, and if you want weapon #, just press that key.
  • CHAMoisCHAMois Join Date: 2003-02-09 Member: 13339Members
    the easiest is just hud_fastwitch and pressing the buttons yourself

    any scripting will either suck hardcore or be nabbed by the anti scripting code

    Theres no way to assign an attack to its own key. But it would be cool if you could
  • james8448james8448 Join Date: 2003-07-26 Member: 18438Members
    Yer quickswitch just changes weapons straight off you'll never see little lmg, pistol & knife sprites again <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif'><!--endemo-->
  • GeminosityGeminosity :3 Join Date: 2003-09-08 Member: 20667Members
    uh... I think he wants it more like so you could run around with a fade using slash and blink as if they were primary and secondary fire on the same weapon. I think ^^;

    I know I'd find that handy <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • Harry_S_TrumanHarry_S_Truman Join Date: 2002-11-21 Member: 9568Members
    <!--QuoteBegin--CHAMOIS+Sep 29 2003, 05:10 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (CHAMOIS @ Sep 29 2003, 05:10 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> the easiest is just hud_fastwitch and pressing the buttons yourself

    any scripting will either suck hardcore or be nabbed by the anti scripting code

    Theres no way to assign an attack to its own key. But it would be cool if you could <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I beg to differ....

    I just set up a .cfg file for my skulk and fade.

    With my skulk the RMB leaps and the LMB bites. It works like a charm...

    With my fade the RMB blinks and the LMB swipes. again charming....

    With hud_fastswitch, it made the delay almost unnoticable and it works great now. Thanks guys!
  • Cpl_HicksCpl_Hicks Join Date: 2003-01-17 Member: 12416Members
    MInd if I ask how you did that .cfg file Truman? Or at least some resources where I can learn to do it on my own?

    -Cpl. Hicks
  • taboofirestaboofires Join Date: 2002-11-24 Member: 9853Members
    <!--QuoteBegin--CHAMOIS+Sep 29 2003, 05:10 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (CHAMOIS @ Sep 29 2003, 05:10 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> the easiest is just hud_fastwitch and pressing the buttons yourself

    any scripting will either suck hardcore or be nabbed by the anti scripting code

    Theres no way to assign an attack to its own key. But it would be cool if you could <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Anti-scripting code, eh? Care to elaborate?
  • MintmanMintman Join Date: 2003-05-30 Member: 16866Members
    There is a slight delay between changing weapons to avoid some scripting haxness. That's all it is as far as I know.
  • dr_ddr_d Join Date: 2003-03-28 Member: 14979Members
    edited September 2003
    What part of NS isn't script friendly don't people get? Go script crazy in CS and prove how uber cool you are by passing off script-writing skill as FPS skill.


    btw scripts are for losers <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->

    /me finds a dead horse and starts beating it.
  • StoneburgStoneburg Join Date: 2002-11-11 Member: 8174Members
    edited September 2003
    There there...

    Live and let live, I say... except in game of course.

    Scripts are fun for the whole family!
  • CHAMoisCHAMois Join Date: 2003-02-09 Member: 13339Members
    <!--QuoteBegin--Harry S. Truman+Sep 29 2003, 05:13 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Harry S. Truman @ Sep 29 2003, 05:13 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--CHAMOIS+Sep 29 2003, 05:10 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (CHAMOIS @ Sep 29 2003, 05:10 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> the easiest is just hud_fastwitch and pressing the buttons yourself

    any scripting will either suck hardcore or be nabbed by the anti scripting code

    Theres no way to assign an attack to its own key. But it would be cool if you could <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    I beg to differ....

    I just set up a .cfg file for my skulk and fade.

    With my skulk the RMB leaps and the LMB bites. It works like a charm...

    With my fade the RMB blinks and the LMB swipes. again charming....

    With hud_fastswitch, it made the delay almost unnoticable and it works great now. Thanks guys! <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    bind mouse2 "lastinv"

    hey I have an idea, lets over complicate.
  • ForlornForlorn Join Date: 2002-11-01 Member: 2634Banned
    It can be useful, for example you have a bind that whenver you press it, makes you blink as a fade, then when you release it, you are back on your last weapon, such as swipe, making mid-air swipes fairly easy.
  • JummehJummeh Join Date: 2003-04-07 Member: 15276Members
    the anti-script thing pisses me off to no end. You drop on a marine munch him, then because all his buddies realised you just ate their friend and starts turning round. You try to leap away but all you see is your adren going down but you just sit there and then fall over...
  • ZdrozZZdrozZ Join Date: 2003-01-11 Member: 12158Members, Constellation
    I use some scripts in tfc but i dont have any in ns, i just dont need any... all i need is bind mwheeldown +jump for bunny hop ownage <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
  • Harry_S_TrumanHarry_S_Truman Join Date: 2002-11-21 Member: 9568Members
    edited September 2003
    <!--QuoteBegin--Cpl. Hicks+Sep 29 2003, 05:27 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Cpl. Hicks @ Sep 29 2003, 05:27 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> MInd if I ask how you did that .cfg file Truman? Or at least some resources where I can learn to do it on my own?

    -Cpl. Hicks <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->alias +blinkswipe "slot2; wait; wait; +attack"
    alias -blinkswipe "-attack; wait; wait; slot1"

    alias +leapbite "slot3; wait; wait; +attack"
    alias -leapbite "-attack; wait; wait; slot1"<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->

    Works like a charm.

    Just bind +blinkswipe to RMB. When you hold the right mouse button, you blink around and when you release it it automaticaly switches back to swipe. Clicking the LMB will cause the current weapon to attack. I found a similar set up useful for the gorge too, RMB heal spray spams and when you release it switches back to spit. You might have to adjust the number of "wait"s to get it to work right on your machine. You must have hud_fastswitch "1" on your machine or it won't work...well it will but it has to be much more complicated.
  • CommunistWithAGunCommunistWithAGun Local Propaganda Guy Join Date: 2003-04-30 Member: 15953Members
    <!--QuoteBegin--Stoneburg+Sep 29 2003, 10:35 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Stoneburg @ Sep 29 2003, 10:35 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> It would be something like:

    alias +attack3 "slot3; wait; +attack"
    alias -attack3 "-attack"

    But with the weapon delay it is unlikely to work in most cases, unfortunately. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Yup, stoneburgs got you covered.
  • GeronimoGeronimo Join Date: 2002-12-18 Member: 11056Members
    You dont NEED that fast switching, since the time gained is irrelevant in combat...either you kill the enemy right off or youre dead...
Sign In or Register to comment.