12-24-2007, 05:13 PM
Group weapons and select from the group by pressing the same key repeatedly.
HOW IT WORKS
Press the middle mouse button to select the nex. Press it again to select the machine gun. Press f to select the hagar. Again for the electro and again for the mortar. This binds 5 weapons to just 2 keys. Then I have some regular binds for the shotgun, rocket launcher and laser.
WHY
There are 9 weapons, so it is difficult to quickly select the right weapon with the mouse wheel. Some people bind weapons to keys, but to access all of the weapons would require....anyone? Yes, it would require 9 keys. That just seems too hard to handle in the midst of battle. Hats off to those that can pull that off.
CUSTOMIZE IT
Change the key binds to whatever works best for you. Make your own groupings or add or delete from the groups I set up. If you look at the alias commands carefully you can see how they cycle.
USAGE NOTES
I use this with the auto-select weapon feature from the options screen. I think it does a pretty good job of picking the right weapon. If I don't want the weapon Nexuiz selects I can quickly switch to the one I do want.
When you start a game, the explosive weapon selection cycles through the group from choice 1 to 2 to 3 . But be aware that if you have the hagar, then switch to the shotgun and switch to explosive weapons again, it is cycling to the next explosive weapon, the electro. If you want the hagar press 2 more times.
You need to be somewhat aware of what weapons you have, so you aren't wasting time trying to select a weapon you don't have. If you don't have a weapon or you don't have ammo for a weapon, it won't select it. That means you'll still have the same weapon as before the key press (a message at the top of the screen tells you that the weapon couldn't be selected). Press again to get the next weapon in the group. With a little practice this becomes automatic.
I didn't put the crylink in at all. I can get it via auto-select if I have only the machine gun and shotgun and that works for me. I used to have it grouped with the shotgun, but decided to keep the shotgun by itself for maximum speed. I use the shotgun for when someone is right beside me, which means there is no time for an extra button press. Feel free to add the crylink in somewhere if you want it.
THE SCRIPT
HOW IT WORKS
Press the middle mouse button to select the nex. Press it again to select the machine gun. Press f to select the hagar. Again for the electro and again for the mortar. This binds 5 weapons to just 2 keys. Then I have some regular binds for the shotgun, rocket launcher and laser.
WHY
There are 9 weapons, so it is difficult to quickly select the right weapon with the mouse wheel. Some people bind weapons to keys, but to access all of the weapons would require....anyone? Yes, it would require 9 keys. That just seems too hard to handle in the midst of battle. Hats off to those that can pull that off.
CUSTOMIZE IT
Change the key binds to whatever works best for you. Make your own groupings or add or delete from the groups I set up. If you look at the alias commands carefully you can see how they cycle.
USAGE NOTES
I use this with the auto-select weapon feature from the options screen. I think it does a pretty good job of picking the right weapon. If I don't want the weapon Nexuiz selects I can quickly switch to the one I do want.
When you start a game, the explosive weapon selection cycles through the group from choice 1 to 2 to 3 . But be aware that if you have the hagar, then switch to the shotgun and switch to explosive weapons again, it is cycling to the next explosive weapon, the electro. If you want the hagar press 2 more times.
You need to be somewhat aware of what weapons you have, so you aren't wasting time trying to select a weapon you don't have. If you don't have a weapon or you don't have ammo for a weapon, it won't select it. That means you'll still have the same weapon as before the key press (a message at the top of the screen tells you that the weapon couldn't be selected). Press again to get the next weapon in the group. With a little practice this becomes automatic.
I didn't put the crylink in at all. I can get it via auto-select if I have only the machine gun and shotgun and that works for me. I used to have it grouped with the shotgun, but decided to keep the shotgun by itself for maximum speed. I use the shotgun for when someone is right beside me, which means there is no time for an extra button press. Feel free to add the crylink in somewhere if you want it.
THE SCRIPT
Code:
// AceOfThumbs weapon grouping script -----------------------------
// switch weapons based on groupings by type
// Nexuiz impulse numbers: 9=rocket, 8=hagar, 7=nex, 6=crylink, 5=electro, 4=mortar, 3=machinegun, 2=shotgun, 1=laser
// this sets up a toggle for sniper weapons
// mg and nex will alternate each time this is called
alias "aot_ws1" "alias aot_nextws aot_ws2 ; impulse 3"
alias "aot_ws2" "alias aot_nextws aot_ws1 ; impulse 7"
alias "aot_nextws" "aot_ws1"
// this sets up a toggle for explosive weapons
// hagar, electro, mortor will alternate each time this is called
alias "aot_wp1" "alias aot_nextwp aot_wp2 ; impulse 8"
alias "aot_wp2" "alias aot_nextwp aot_wp3 ; impulse 5"
alias "aot_wp3" "alias aot_nextwp aot_wp1 ; impulse 4"
alias "aot_nextwp" "aot_wp1"
// key bindings
// sniper weapon
bind "MOUSE3" "aot_nextws"
// explosive weapon
bind "e" "aot_nextwp"
// shotgun
bind "MOUSE4" "impulse 2"
// rocket
bind "r" "impulse 9"
// laser
bind "MOUSE5" "impulse 1"
// END WEAPON SCRIPT