Здравствуйте, гость ( Авторизация | Регистрация )

Action Scripts, Mouse Wheel Switch

<-MonsterKill->
Группа: <Main Admin>

Второй флудер
Ссылка на Сообщение #1 сообщение 4.4.2010, 14:49
Mouse Wheel Switch

This script, inspired by Major_Pain's mouse wheel switch script, toggles what the mouse wheel does. This script went through a lot of fine tuning (not really), and I was finally able to perfect it. Four mouse wheel modes are included. Fire mode, where you switch from auto to single burst to quad burst, is the biggest part, made entirely by me. There's a bunnyhop mode, where you scroll the mouse wheel to bunnyhop. Autopistol mode, in which you can rapid fire any pistol by scrolling the mouse wheel, and the duelies become a machine gun. Then there's default mode, where it's inventory previous/next.


Copy the whole thing into a .cfg file your cstrike\cfg\ folder and name it whatever, then add a line to autoexec.cfg (if it doesn't exist create it) that goes "exec whatever.cfg" without the quotes.
CODE
//bind this command to a key, mode changes will be notified in the console
alias "mwchange" "bunnyhop;"

//preset waits, may need changing based on your fps, i had to use 8 waits

personally for fire mode
alias "w2" "wait;wait;"
alias "w8" "wait;wait;wait;wait;wait;wait;wait;wait;"

//

//fire mode, you can go full auto, single shot, double shot, triple shot,

quadruple shot
alias "firemode" "bind MWHEELUP shot4;bind MWHEELDOWN shot1;alias mwchange

wdefault;echo Fireswitching Mode;"

//switches the mousewheel buttons as you scroll through in fire mode
alias "fireswitch1" "bind MWHEELUP shotA;bind MWHEELDOWN shot2;"
alias "fireswitch2" "bind MWHEELUP shot1;bind MWHEELDOWN shot3;"
alias "fireswitch3" "bind MWHEELUP shot2;bind MWHEELDOWN shot4;"
alias "fireswitch4" "bind MWHEELUP shot3;bind MWHEELDOWN shotA;"
alias "fireswitch5" "bind MWHEELUP shot4;bind MWHEELDOWN shot1;"

//burst settings for fire mode
alias "burst1" "+attack;w8;-attack;w8;"
alias "burst2" "+attack;w8;-attack;w8;+attack;w8;-attack;w8;"
alias "burst3"

"+attack;w8;-attack;w8;+attack;w8;-attack;w8;+attack;w8;-attack;w8;"
alias "burst4"

"+attack;w8;-attack;w8;+attack;w8;-attack;w8;+attack;w8;-attack;w8;+attack;w8;-

attack;w8;"

//commands that are bound to the mouse wheel in fire mode, changes what mouse1

does
alias "shot1" "bind mouse1 burst1;fireswitch1;echo Single Burst;"
alias "shot2" "bind mouse1 burst2;fireswitch2;echo Double Burst;"
alias "shot3" "bind mouse1 burst3;fireswitch3;echo Triple Burst;"
alias "shot4" "bind mouse1 burst4;fireswitch4;echo Quadruple Burst;"
alias "shotA" "bind mouse1 +attack;fireswitch5;echo Autofire;"

//

//default mouse mode, inventory previous and next
alias "wdefault" "bind MWHEELUP invnext;bind MWHEELDOWN invprev;alias mwchange

bunnyhop;echo Inv Previous/Next Mode;"

//bunnyhop mode, scroll the mouse wheel back and fourth to bunny hop
alias "bunnyhop" "bind MWHEELUP +jump;bind MWHEELDOWN +jump;alias mwchange

autopist;echo Bunnyhop Mode;"

//autopistol mode, aka elite machine gun mode, scroll mouse wheel back and

fourth to rapid fire your pistol
alias "autopist" "bind MWHEELUP +attack;bind MWHEELDOWN +attack;alias mwchange

firemode;echo Autopistol Mode;"
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0
Похожие темы
Тема Последнее сообщение
Action Muzzleflashes
30.7.2011, 8:44 Посл. сообщение: KoT wawJIbIK
Action muzzleflash v. 1.1
12.7.2011, 20:15 Посл. сообщение: KoT wawJIbIK
Action muzzleflash v. 1.1
4.11.2010, 16:11 Посл. сообщение: ViTR
Action Scripts
Strafe Mode (Toggle)
24.5.2010, 18:13 Посл. сообщение: s1ege
Action Scripts
Strafe Mode (By Pressing Key)
24.5.2010, 18:13 Посл. сообщение: s1ege

Случайные сервера

[RUS](47/48)CSRulez.​ru​ ]ZombieBiohazard[
zm_kabal_map2
ИГРОКОВ: 0 / 31
[RUS](47/48)CSRulez.​ru​ ]Diablomod[
de_chateau
ИГРОКОВ: 0 / 20
[RUS](47/48)CSRulez.​ru​ ]Jump[
kz_climbers_b01
ИГРОКОВ: 0 / 20
[RUS](47/48)CSRulez.​ru​ ]hns 364[
hns_bronx
ИГРОКОВ: 0 / 21