Ссылка на Сообщение
#1
4.4.2010, 15:42
Quickswap for sniper
Copy the script below and put it in a .txt file. click on the text bit and rename it .cfg
e.g. sniperswitch.cfg
The bad thing about this script is that it uses aliases, meaning that it must be executed every startup. I recommend using an autoexec file and write "exec" "sniperswitch" in it. Then rename it to .cfg
The default key is "v" pressing it will echo in your console that it has been enabled. Pressing it again will disable the script.
For use with the scout and awp.
Known Bugs:
- Sometimes it will not switch back to primary weapon. (easily solved by tapping 'q' once)
Ideas? email: [email protected]
Copy the script below and put it in a .txt file. click on the text bit and rename it .cfg
e.g. sniperswitch.cfg
The bad thing about this script is that it uses aliases, meaning that it must be executed every startup. I recommend using an autoexec file and write "exec" "sniperswitch" in it. Then rename it to .cfg
The default key is "v" pressing it will echo in your console that it has been enabled. Pressing it again will disable the script.
For use with the scout and awp.
Known Bugs:
- Sometimes it will not switch back to primary weapon. (easily solved by tapping 'q' once)
Ideas? email: [email protected]
CODE
Echo "SniperSwitch by {FaceWound}Otter has been execed"
alias sniperswitch sw_on
alias sw_on "bind mouse1 shootswitch;echo SNIPERSWITCH ENABLED;alias sniperswitch sw_off"
alias sw_off "bind mouse1 +attack;echo SNIPERSWITCH DISABLED;alias sniperswitch sw_on"
alias shootswitch "+attack;wait;wait;-attack;wait;wait;lastinv;lastinv;lastinv;wait;wait;lastinv;lastinv;lastinv"
bind v sniperswitch
alias sniperswitch sw_on
alias sw_on "bind mouse1 shootswitch;echo SNIPERSWITCH ENABLED;alias sniperswitch sw_off"
alias sw_off "bind mouse1 +attack;echo SNIPERSWITCH DISABLED;alias sniperswitch sw_on"
alias shootswitch "+attack;wait;wait;-attack;wait;wait;lastinv;lastinv;lastinv;wait;wait;lastinv;lastinv;lastinv"
bind v sniperswitch