Gorge Script

HEAD_d_bHEAD_d_b Join Date: 2003-02-01 Member: 12967Members
edited February 2003 in NS General Discussion
<div class="IPBDescription">new improved version</div> The script toggles between build menu and weapon menu with a key

Weapon menu
Makes the mouse wheel cycle through all your weapons like a normal mouse wheel

The weapons menu has been improved in this version, so u can tell which weapon u have on, weapons are selected by using a menu but in this menu the speak command is used to tell u which weapons u have equipped

Build menu displays an echo menu
Allowing you to select your building from the menu using only your mouse wheel

e.g.:
.................................
1. Resource Tower...
2. Offence Tower.......
..................................
3. Defence Tower......
4. Sensory Tower......<--------------
5. Movement Tower..
..................................
6. Hive.......................
..................................

Use the mouse wheel to select the building u want to build by wheeling up and down press the mouse wheel to plant that building once the building has been selected every time the mouse wheel is pressed that type of building is planted

This allows the user to plant building of the same type quickly and easily with out going in to the standard menus every time u are planting building of the same type

Also the build menu has been split up in to groups to make finding which building u need easier and minimising the risk of planting the wrong one


//HEAD d^_^b's Gorge Mousewheel Script v1.3
//common
alias 999 "con_notifytime 3" //time building menu stops up
alias 10 "con_notifytime 1" //time weapon menu stops up
alias dv1 "developer 1"
alias dv0 "developer 0"
contimes 10
//impulse list
alias res "impulse 90"
alias off "impulse 91"
alias def "impulse 92"
alias sen "impulse 93"
alias mov "impulse 94"
alias hiv "impulse 95"

//build menu blanks
alias tog6 "dv1; echo 6. Resource Tower...; dv0"
alias tog5 "dv1; echo 5. Offence Tower.....; dv0"
alias tog4 "dv1; echo 4. Defence Tower.....; dv0"
alias tog3 "dv1; echo 3. Sensory Tower.....; dv0"
alias tog2 "dv1; echo 2. Movement Tower...; dv0"
alias tog1 "dv1; echo 1. Hive.......................; dv0"
alias tog7 "dv1; echo ..........................................; dv0"

//build menu pointers
alias tog6p "alias build res; dv1; echo 6. Resource Tower...<------; dv0"
alias tog5p "alias build off; dv1; echo 5. Offence Tower.....<------; dv0"
alias tog4p "alias build def; dv1; echo 4. Defence Tower.....<------; dv0"
alias tog3p "alias build sen; dv1; echo 3. Sensory Tower.....<------; dv0"
alias tog2p "alias build mov; dv1; echo 2. Movement Tower...<------; dv0"
alias tog1p "alias build mov; dv1; echo 1. Hive.......................<------; dv0"
alias tog7p "alias build ;dv1; echo ..........................................; dv0
alias build ""

//build menu structure
alias menu1 "10blank; tog7; tog1; tog7; tog2; tog3; tog4; tog7; tog5; tog6; tog7p; set_menu1"
alias menu2 "10blank; tog7; tog1; tog7; tog2; tog3; tog4; tog7; tog5; tog6p; tog7; set_menu2"
alias menu3 "10blank; tog7; tog1; tog7; tog2; tog3; tog4; tog7; tog5p; tog6; tog7; set_menu3"
alias menu4 "10blank; tog7; tog1; tog7; tog2; tog3; tog4; tog7p; tog5; tog6; tog7; set_menu4"
alias menu5 "10blank; tog7; tog1; tog7; tog2; tog3; tog4p; tog7; tog5; tog6; tog7; set_menu5"
alias menu6 "10blank; tog7; tog1; tog7; tog2; tog3p; tog4; tog7; tog5; tog6; tog7; set_menu6"
alias menu7 "10blank; tog7; tog1; tog7; tog2p; tog3; tog4; tog7; tog5; tog6; tog7; set_menu7"
alias menu8 "10blank; tog7; tog1; tog7p; tog2; tog3; tog4; tog7; tog5; tog6; tog7; set_menu8"
alias menu9 "10blank; tog7; tog1p; tog7; tog2; tog3; tog4; tog7; tog5; tog6; tog7; set_menu9"

//build bind set
alias set_menu1 "alias menuup menu9; alias menudown menu2"
alias set_menu2 "alias menuup menu1; alias menudown menu3"
alias set_menu3 "alias menuup menu2; alias menudown menu4"
alias set_menu4 "alias menuup menu3; alias menudown menu5"
alias set_menu5 "alias menuup menu4; alias menudown menu6"
alias set_menu6 "alias menuup menu5; alias menudown menu7"
alias set_menu7 "alias menuup menu6; alias menudown menu8"
alias set_menu8 "alias menuup menu7; alias menudown menu9"
alias set_menu9 "alias menuup menu8; alias menudown menu1"

//blank echos
alias blank "dv1; echo ;dv0"
alias 10blank "2blank; 2blank; 2blank; 2blank; 2blank"
alias 2blank "blank; blank"
alias 4blank "2blank; 2blank"

//build holder
alias menuup "menu8"
alias menudown "menu1"

//mouse toggler
alias mousetog "weap"
alias bmenu "bind MWHEELUP menuup; bind MWHEELDOWN menudown; bind mouse3 build; alias mousetog weap; 10blank; tog7; mgbuild; tog7; 2blank; headmsg1; headmsg2; 2blank; tog7; 999"
alias weap "bind MWHEELUP wmenuup; bind MWHEELDOWN wmenudown; bind mouse3 10blank; 4blank; alias mousetog bmenu; 10blank; tog7; mgwep; 2blank; tog7; headmsg1; headmsg2; tog7; 2blank; 10"

//dont change or bad thing will happen
alias mgwep "dv1; echo WEAPON MENU; dv0"
alias mgbuild "dv1; echo BUILD MENU; dv0"
alias headmsg1 "dv1; echo HEAD d^-^b's; dv0"
alias headmsg2 "dv1; echo Gorge Script v1.3; dv0"

//speak commands
alias mg1 "speak first"
alias mg2 "speak second"
alias mg3 "speak third"
alias mg4 "speak fourth"

//get weapon and playing speak
alias sl1 "volume 0.1; mg1; hud_fastswitch 1; slot1; hud_fastswitch 0; volume 1.0"
alias sl2 "volume 0.1; mg2; hud_fastswitch 1; slot2; hud_fastswitch 0; volume 1.0"
alias sl3 "volume 0.1; mg3; hud_fastswitch 1; slot3; hud_fastswitch 0; volume 1.0"
alias sl4 "volume 0.1; mg4; hud_fastswitch 1; slot4; hud_fastswitch 0; volume 1.0"

//weapon blanks
alias wtog1 "dv1; echo Weapon 1..........................; dv0"
alias wtog2 "dv1; echo Weapon 2..........................; dv0"
alias wtog3 "dv1; echo Weapon 3..........................; dv0"
alias wtog4 "dv1; echo Weapon 4..........................; dv0"

//weapon pointers
alias wtog1p "dv1; echo Weapon 1..................<------; dv0; sl1"
alias wtog2p "dv1; echo Weapon 2..................<------; dv0; sl2"
alias wtog3p "dv1; echo Weapon 3..................<------; dv0; sl3"
alias wtog4p "dv1; echo Weapon 4..................<------; dv0; sl4"

//weapon menu structure
alias wmenu1 "10blank; tog7; wtog1; wtog2; wtog3; wtog4p; tog7; 4blank; wset_menu1"
alias wmenu2 "10blank; tog7; wtog1; wtog2; wtog3p; wtog4; tog7; 4blank; wset_menu2"
alias wmenu3 "10blank; tog7; wtog1; wtog2p; wtog3; wtog4; tog7; 4blank; wset_menu3"
alias wmenu4 "10blank; tog7; wtog1p; wtog2; wtog3; wtog4; tog7; 4blank; wset_menu4"

//weapon bind set
alias wset_menu1 "alias wmenuup wmenu4; alias wmenudown wmenu2"
alias wset_menu2 "alias wmenuup wmenu1; alias wmenudown wmenu3"
alias wset_menu3 "alias wmenuup wmenu2; alias wmenudown wmenu4"
alias wset_menu4 "alias wmenuup wmenu3; alias wmenudown wmenu1"

//weapon holders
alias wmenuup "wmenu1"
alias wmenudown "wmenu6"


bind ? "mousetog"
bind "MWHEELDOWN" "wmenudown"
bind "MWHEELUP" "wmenuup"
bind mouse3 "build"
Sign In or Register to comment.