Ссылка на Сообщение
#1
27.1.2010, 20:18
Firemode selector
This is a script that lets you fire in burst and semi-automatic with any weapon in Counter Strike Source. By simply hitting the l key, the gun will change firing modes, and will flash the current mode in the upper left hand corner. It will make the gun shoot 3 to 4 round bursts, and with pistols, it will shoot 2 round bursts. It also shoots semi-automatic, letting you aim carefully, and killing with one bullet.
Copy the following script into a file named "selector.cfg", and put it in cstrike/cfg. Then open up autoexec.cfg and add one line to the end, "exec selector.cfg". You can see if it works, by looking in the console and seeing if it says "..... script activated, binded to key ....". Change fire modes by pressing the key it states in the console.
This is a script that lets you fire in burst and semi-automatic with any weapon in Counter Strike Source. By simply hitting the l key, the gun will change firing modes, and will flash the current mode in the upper left hand corner. It will make the gun shoot 3 to 4 round bursts, and with pistols, it will shoot 2 round bursts. It also shoots semi-automatic, letting you aim carefully, and killing with one bullet.
Copy the following script into a file named "selector.cfg", and put it in cstrike/cfg. Then open up autoexec.cfg and add one line to the end, "exec selector.cfg". You can see if it works, by looking in the console and seeing if it says "..... script activated, binded to key ....". Change fire modes by pressing the key it states in the console.
CODE
Echo "andydam's firing mode selector script activated, binded to key L."
bind "l" "firemode"
alias "wburst" "wait; wait; wait; wait; wait; wait; wait; wait; wait"
alias "wsemi" "wait; wait"
alias firemode "burst_on"
alias burst "+attack; wburst; -attack; wburst; +attack; wburst; -attack"
alias semi "+attack; wsemi; -attack; wsemi; +attack; wsemi; -attack"
alias burst_act "echo_on; echo Firing selector is at Burst Mode.; bind MOUSE1 burst; echo_off"
alias semi_act "echo_on; echo Firing selector is at Semi-Automatic Mode.; bind MOUSE1 semi; echo_off"
alias auto_act "echo_on; echo Firing selector is at Full Automatic Mode.; bind MOUSE1 +attack; echo_off"
alias echo_on "developer 1;contimes 14;con_notifytime 35"
alias echo_off "wait; wait; wait; wait; wait; wait; wait; wait;developer 0;contimes 20;con_notifytime 0"
alias burst_on "alias firemode semi_on; burst_act"
alias semi_on "alias firemode auto_on; semi_act"
alias auto_on "alias firemode burst_on; auto_act"
bind "l" "firemode"
alias "wburst" "wait; wait; wait; wait; wait; wait; wait; wait; wait"
alias "wsemi" "wait; wait"
alias firemode "burst_on"
alias burst "+attack; wburst; -attack; wburst; +attack; wburst; -attack"
alias semi "+attack; wsemi; -attack; wsemi; +attack; wsemi; -attack"
alias burst_act "echo_on; echo Firing selector is at Burst Mode.; bind MOUSE1 burst; echo_off"
alias semi_act "echo_on; echo Firing selector is at Semi-Automatic Mode.; bind MOUSE1 semi; echo_off"
alias auto_act "echo_on; echo Firing selector is at Full Automatic Mode.; bind MOUSE1 +attack; echo_off"
alias echo_on "developer 1;contimes 14;con_notifytime 35"
alias echo_off "wait; wait; wait; wait; wait; wait; wait; wait;developer 0;contimes 20;con_notifytime 0"
alias burst_on "alias firemode semi_on; burst_act"
alias semi_on "alias firemode auto_on; semi_act"
alias auto_on "alias firemode burst_on; auto_act"