Ed wrote:I'd missed this. Perhaps [bestweapon and cycleweapon] deserves a thread on how to set up?
Bestweapon chooses the best weapon out of a list that you supply. Cycleweapon is basically the same, but will move down the list each time it is run, so you start with favorite, then next favorite, etc. Here's an example for choosing best long range weapon:
- Code: Select all
// Nexuiz impulse numbers: 9=rocket, 8=hagar, 7=nex, 6=crylink, 5=electro, 4=mortar, 3=machinegun, 2=shotgun, 1=laser
// far - sorted by speed then minimum spread then damage per sec
bind b "bestweapon 7 3 1 8 6 4 5 9 2"
bind c "cycleweapon 7 3 1 8 6 4 5 9 2"
So if you press b you'll switch to the nex if you have it and have ammo for it or mg or laser, etc. If you press c you'll switch to the nex, unless you already have the nex and then you'd switch to the next in the list, the mg, etc. If this isn't cleat, just try it and it will make sense. Note that this only works on 2.4 servers. I think there are still some 2.3 servers out there.