Ссылка на Сообщение
#1
28.1.2010, 22:52
Ultimate nade selector
CODE
//==========================
//Nade selectors by J2K
//==========================
This first script instantly selects each grenade type in the order they appear in the HUD weapon slots with each press of the 4 key.
This relies on you having all 4 grenades and pressing the 4 key only once per grenade and throwing them in the correct order. A second version is below.
//Script selecting grenades in their set order
alias instanade nade1
alias nade1 "slot4; use weapon_hegrenade; alias instanade nade2;"
alias nade2 "slot4; use weapon_flashbang; alias instanade nade3;"
alias nade3 "slot4; use weapon_flashbang; alias instanade nade4;"
alias nade4 "slot4; use weapon_smokegrenade; alias instanade nade5;"
alias nade5 "slot4; alias instanade nade1;"
//The bind
bind 4 instanade
//==========================
//Nade selector version 2
//==========================
This version will always select your preferred grenade, if available.
If not, it will select your second preference, and so on.
Bind the 4 key to the preference you wish to use.
//The 3 different grenade preferences
alias preference1 "slot4; use weapon_smokegrenade; use weapon_flashbang; use weapon_hegrenade;"
alias preference2 "slot4; use weapon_flashbang; use weapon_hegrenade; use weapon_smokegrenade;"
alias preference3 "slot4; use weapon_hegrenade; use weapon_smokegrenade; use weapon_flashbang; "
//Bind your choice of key to your chosen preference number
bind 4 preference1
//Note
The last item in each preference list is the highest priority.
//Nade selectors by J2K
//==========================
This first script instantly selects each grenade type in the order they appear in the HUD weapon slots with each press of the 4 key.
This relies on you having all 4 grenades and pressing the 4 key only once per grenade and throwing them in the correct order. A second version is below.
//Script selecting grenades in their set order
alias instanade nade1
alias nade1 "slot4; use weapon_hegrenade; alias instanade nade2;"
alias nade2 "slot4; use weapon_flashbang; alias instanade nade3;"
alias nade3 "slot4; use weapon_flashbang; alias instanade nade4;"
alias nade4 "slot4; use weapon_smokegrenade; alias instanade nade5;"
alias nade5 "slot4; alias instanade nade1;"
//The bind
bind 4 instanade
//==========================
//Nade selector version 2
//==========================
This version will always select your preferred grenade, if available.
If not, it will select your second preference, and so on.
Bind the 4 key to the preference you wish to use.
//The 3 different grenade preferences
alias preference1 "slot4; use weapon_smokegrenade; use weapon_flashbang; use weapon_hegrenade;"
alias preference2 "slot4; use weapon_flashbang; use weapon_hegrenade; use weapon_smokegrenade;"
alias preference3 "slot4; use weapon_hegrenade; use weapon_smokegrenade; use weapon_flashbang; "
//Bind your choice of key to your chosen preference number
bind 4 preference1
//Note
The last item in each preference list is the highest priority.