I finally got around to adding to the binds for changing weapons with the number keys... if anyone actually uses that, anyway.
A couple of questions i have:
1) is there a way to tell when the akimbo has been picked up? currently the code only works if you pick up the akimbo (and auto switch), then switch to a different weapon and back.
2) isn't there a way to add a new command to a bind, instead of rebinding the whole thing?
[SELECT ALL] Code:
//Multiple Crosshair script by Lantry
//allows you to have a different Xhair for each weapon! Fun!
//please choose your cursors in the lines below
alias arxhair [default.png] //Assault Rifle cursor goes here (6)
alias smgxhair [default.png] //SMG cursor goes here (4)
//alias sniperxhair [default.png] //sniper cursor goes... wait a second... (5)
alias shotgunxhair [default.png] //Shotgun cursor goes here (3)
alias riflexhair [default.png] //Carbine cursor goes here (2)
alias knifexhair [default.png] //knife cursor goes here (0)
alias nadexhair [default.png] //grenade cursor goes here (8)
alias pistolxhair [default.png] // pistol cursor goes here (1)
alias akimboxhair [default.png] //akimbo cursor goes here (9)
alias changexhair [
sleep 300 [if (= (curweapon) 6) [ loadcrosshair $arxhair ]
if (= (curweapon) 4) [ loadcrosshair $smgxhair ]
if (= (curweapon) 3) [ loadcrosshair $shotgunxhair ]
if (= (curweapon) 2) [ loadcrosshair $riflexhair ]
if (= (curweapon) 1) [ loadcrosshair $pistolxhair ]
if (= (curweapon) 0) [ loadcrosshair $knifexhair ]
if (= (curweapon) 8) [ loadcrosshair $nadexhair ]
if (= (curweapon) 9) [ loadcrosshair $akimboxhair ] ]
]
bind MOUSE4 [ universaldelta 1; changexhair ]
bind MOUSE5 [ universaldelta -1; changexhair ]
bind "1" [ if $editing [ domodifier 5 ] [ primary; changexhair ] ]
bind "2" [ if $editing [ domodifier 7 ] [ secondary; changexhair ] ]
bind "3" [ if $editing [ domodifier 8 ] [ grenades; changexhair ] ]
bind "4" [ if $editing [ domodifier 9 ] [ melee; changexhair ] ]
A couple of questions i have:
1) is there a way to tell when the akimbo has been picked up? currently the code only works if you pick up the akimbo (and auto switch), then switch to a different weapon and back.
2) isn't there a way to add a new command to a bind, instead of rebinding the whole thing?