Ссылка на Сообщение
#1
28.1.2010, 22:51
Strafe shooting
CODE
//========================
//Strafe shooting by J2K
//========================
This script binds mouse1 to strafe left and right each time you fire your weapon.
Bind a key to strafeshoot to toggle the script on and off.
//Set up the wait time
alias w wait;
alias w3 "w; w; w;"
alias w10 "w3; w3; w3; w;"
//The core of the script
alias +ss1 "+attack; +moveleft; w10; -moveleft; bind mouse1 +ss2;"
alias -ss1 "-attack;"
alias +ss2 "+attack; +moveright; w10; -moveright; bind mouse1 +ss1;"
alias -ss2 "-attack;"
//The toggler
alias strafeshoot strafeshooton
alias strafeshooton "bind mouse1 +ss1; alias strafeshoot strafeshootoff;"
alias strafeshootoff "bind mouse1 +attack; alias strafeshoot strafeshooton;"
//The bind
bind kp_enter strafeshoot
//Strafe shooting by J2K
//========================
This script binds mouse1 to strafe left and right each time you fire your weapon.
Bind a key to strafeshoot to toggle the script on and off.
//Set up the wait time
alias w wait;
alias w3 "w; w; w;"
alias w10 "w3; w3; w3; w;"
//The core of the script
alias +ss1 "+attack; +moveleft; w10; -moveleft; bind mouse1 +ss2;"
alias -ss1 "-attack;"
alias +ss2 "+attack; +moveright; w10; -moveright; bind mouse1 +ss1;"
alias -ss2 "-attack;"
//The toggler
alias strafeshoot strafeshooton
alias strafeshooton "bind mouse1 +ss1; alias strafeshoot strafeshootoff;"
alias strafeshootoff "bind mouse1 +attack; alias strafeshoot strafeshooton;"
//The bind
bind kp_enter strafeshoot