Was wondering how i might go about writing a script to select slot 4, use the weapon in slot 4 and then switch back to slot 1 ? It sounds easy but everything i've tryed hasnt worked. Thanks.
My pack has, among other things, a script that will attack with a specific slot while the right mouse button (the popup menu is changed to mouse3, which is clicking down on the wheel) is held down and, when released, switch back to slot 1. The slot used for my quickattack is different for each team/species. Here's the list:
This allows for blink/swiping and leap/biting while being very intuitive, and having many uses outside those two.
You can also easily change which slot the quickattack will use. v and b cycle back and forth, respectively, through the slots. You will hear the half-life announcer saying a number, which is the number of the slot it is set to.
This quickattack will also work on servers that have mp_blockscripts set to 1, but you will have to hold down the button and then press your regular attack button, as it disallows the +attack and -attack commands in the script.
<span style='font-size:8pt;line-height:100%'>alias +s4 "slot4;wait;+attack; alias -s4 "-attack;wait;slot1"
hold down the key to switch to slot4 and attack, release to stop attacking and return to slot1.</span>
I assume you're using this for primal scream lerking or xenobiting skulkery or charge goring? Works ok if you only have one item in slot4 as marine too, for quick armor repair when you have heavy armor. I think this is what you want anyway. Come back if it's not.
hold down the key to switch to slot4 and attack, release to stop attacking and return to slot1.</span>
I assume you're using this for primal scream lerking or xenobiting skulkery or charge goring? Works ok if you only have one item in slot4 as marine too, for quick armor repair when you have heavy armor. I think this is what you want anyway. Come back if it's not.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd--> Your missing a " <!--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-->alias +s4 "slot4;wait;+attack" alias -s4 "-attack;wait;slot1"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Comments
just kidding.
i could write up something for you, but i need some more information.
1. are there any specific weapons you want to use in this combo?
2. do u want weapon 4 to be used once? or until you release the bind button?
My pack has, among other things, a script that will attack with a specific slot while the right mouse button (the popup menu is changed to mouse3, which is clicking down on the wheel) is held down and, when released, switch back to slot 1. The slot used for my quickattack is different for each team/species. Here's the list:
Marine: Knife (slot3)
Skulk: Leap (slot3)
Lerk: Spore (slot2)
Fade: Blink (slot2)
Onos: Stomp (slot3)
Gorge: Healspray (slot2)
This allows for blink/swiping and leap/biting while being very intuitive, and having many uses outside those two.
You can also easily change which slot the quickattack will use. v and b cycle back and forth, respectively, through the slots. You will hear the half-life announcer saying a number, which is the number of the slot it is set to.
This quickattack will also work on servers that have mp_blockscripts set to 1, but you will have to hold down the button and then press your regular attack button, as it disallows the +attack and -attack commands in the script.
alias -s4 "-attack;wait;slot1"
hold down the key to switch to slot4 and attack, release to stop attacking and return to slot1.</span>
I assume you're using this for primal scream lerking or xenobiting skulkery or charge goring? Works ok if you only have one item in slot4 as marine too, for quick armor repair when you have heavy armor. I think this is what you want anyway. Come back if it's not.
alias -s4 "-attack;wait;slot1"
hold down the key to switch to slot4 and attack, release to stop attacking and return to slot1.</span>
I assume you're using this for primal scream lerking or xenobiting skulkery or charge goring? Works ok if you only have one item in slot4 as marine too, for quick armor repair when you have heavy armor. I think this is what you want anyway. Come back if it's not.<!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Your missing a "
<!--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-->alias +s4 "slot4;wait;+attack"
alias -s4 "-attack;wait;slot1"<!--c2--></td></tr></table><div class='postcolor'><!--ec2-->
Make sure you bind the key to "+s4" and not just "s4" as well.