09-16-2008, 06:44 PM
For those curious, here's an explanation using the ninja pack as an example of how the new weapon bind system works.
Code:
// Weapon Binds
//
// In SVN, bestweapon and cycleweapon are deprecated. Replaced by the bind style below
// the first two numbers are identifiers for how you'd like the weapons to cycle:
//
// 20x = backwards
// 21x = best
// 22x = forwards
//
// The last number coincides with the cl_weaponpriority number. This means, you have
// up to 10 ways you can arrange the weapons and 3 ways to access them
bind c "impulse 210; bestweapon 5 4 8" // electro, mortar, hagar
set cl_weaponpriority0 "5 4 8" // electro, mortar, hagar
bind v "impulse 211; bestweapon 4 5 8" // mortar, electro, hagar
set cl_weaponpriority1 "4 5 8" // mortar, elextro, hagar
bind e "impulse 1" // laser
bind f "impulse 212; bestweapon 7 3 1" // nex, mg, laser
set cl_weaponpriority2 "7 3 1 " // nex, mg, laser
bind q "impulse 213; bestweapon 9 4 8" // rocket, mortar, hagar
set cl_weaponpriority3 "9 4 8" // rocket, mortar, hagar
bind r "impulse 214; bestweapon 3 6 5 8" // mg, crylink, electro, hagar
set cl_weaponpriority4 "3 6 5 8" // mg, crylink, electro, hagar
bind t "impulse 215; bestweapon 6 3 5 8" // crylink, mg, electro, hagar
set cl_weaponpriority5 "6 3 5 8" // crylink, mg, electro, hagar
edit: fixed some errors