最后:
bind "ins" "go"
bind "alt" "+metaradio"
则当平时按下ins键(即方向键上方的Insert键)因为ins键分配给go命令,所以执行第一句:使用语音信息:Go!
Go! Go!
当按下alt键后(按住)执行第三句:ins键分配给了fal命令,此时再按下ins键则使用语音信息:Team,Fall
Back!
当松开alt键后执行第四句:ins键又重新分配给了go命令,所以此时再按下ins键则使用语音信息:Go!
Go! Go!
大家还可以参考我在打包购买脚本里的变位购买脚本那一部分来熟悉变位分配式脚本
综合运用的例子:
综合运用以上的6种模式的脚本,能使你的CS功能更强大。以下是一些例子:
文件://----------------------------------------
文件://| 快速拔刀,松开收刀 |按下&松开式脚本
文件://----------------------------------------
alias +quickstab "weapon_knife;wait;+attack2"
alias -quickstab "-attack2;lastinv"
文件://------------------------
文件://| 蹲跳,超级跳开关 |按下&松开的开关式脚本
文件://------------------------
alias +cjump "+jump; +duck"
alias -cjump "-jump; -duck"
alias cjump "cjump_on"
alias cjump_on "bind space +cjump; alias cjump cjump_off"
alias cjump_off "bind space +jump; alias cjump cjump_on"
文件://----------------------------------------
文件://| 自动完成安装C4炸药 |按下&松开式脚本
文件://----------------------------------------
alias +plant_c4 "weapon_c4;wait;wait;+attack;+duck;radio1;menuselect 1;say_team
I am Planting C4 , cover!;slot10"
alias -plant_c4 "-attack;-duck;lastinv;slot10"
文件://---------------------------------------------
文件://| 开火模式 单发/3发/连发 |循环式脚本
文件://---------------------------------------------
alias burstch mode1
alias single "unbind mouse1; +attack; wait; -attack; bind mouse1 single"
alias burst "unbind mouse1; single; single; single; single; single; single;
single; bind mouse1 burst"
alias mode1 "bind mouse1 burst; dvon; echo Burst Fire; dvoff; alias burstch
mode2"
alias mode2 "bind mouse1 +attack; dvon; echo Standard Fire; dvoff; alias
burstch mode3"
alias mode3 "bind mouse1 single; dvon; echo Single Fire; dvoff; alias
burstch mode1"
文件://--------------------------------
文件://| 改变夜视仪对比度 |基本式脚本
文件://--------------------------------
alias nvg_u "+nvgadjust; wait; +nvgadjust; wait; +nvgadjust"
alias nvg_d "-nvgadjust; wait; -nvgadjust; wait; -nvgadjust"
文件://-----------------------------
文件://| 开/关雷达显示 |开关式脚本
文件://-----------------------------
alias radar_t radar_off
alias radar_off "alias radar_t radar_on; hideradar"
alias radar_on "alias radar_t radar_off; drawradar"
文件://-----------------------------
文件://| 换左/右手持木仓 |开关式脚本
文件://-----------------------------
alias changehand hand_left
alias hand_left "setinfo lefthand 1;alias changehand
hand_right;wait;wait;wait;weapon_knife;lastinv;dvon;echo LEFT HANDED;dvoff"
alias hand_right "setinfo lefthand 0;alias changehand
hand_left;wait;wait;wait;weapon_knife;lastinv;dvon;echo RIGHT HANDED;dvoff"
文件://----------------------------------------------------------
文件://| 开/关武器模型的显示,消除杂点 |开关式脚本
文件://----------------------------------------------------------
alias tg_alpha alpha_on
alias alpha_on "gl_alphamin 0.999;r_drawviewmodel 0;alias tg_alpha
alpha_off;dvon;echo Clear View;dvoff"
alias alpha_off "gl_alphamin 0.25;r_drawviewmodel 1;alias tg_alpha
alpha_on;dvon;echo Normal View;dvoff"
文件://--------------------------------------------------------
文件://| 切换显示FPS,PING等其它信息 |循环式脚本
文件://--------------------------------------------------------
alias tsn shownet1
alias shownet1 "net_graph 1;cl_showfps 0;net_graphsolid 1;alias tsn shownet2"
alias shownet2 "net_graphsolid 0;alias tsn shownet3"
alias shownet3 "net_graph 2;alias tsn shownet4"
alias shownet4 "net_graph 3;alias tsn shownet5"
alias shownet5 "net_graph 0;cl_showfps 1;alias tsn shownetoff"
alias shownetoff "net_graph 0;cl_showfps 0;alias tsn shownet1"
文件://--------------------------------
文件://| 模拟上网的PING |循环式脚本
文件://--------------------------------
alias sim_lag FL100
alias FL100 "fakelag 50;dvon;echo Your PING is 100 now..;dvoff;alias sim_lag
FL200"
alias FL200 "fakelag 100;dvon;echo Your PING is 200 now..;dvoff;alias sim_lag
FL300"
alias FL300 "fakelag 150;dvon;echo Your PING is 300 now..;dvoff;alias sim_lag
FL400"
alias FL400 "fakelag 200;dvon;echo Your PING is 400 now..;dvoff;alias sim_lag
FL0"
alias FL0 "fakelag 0;dvon;echo Your PING is 0 now;dvoff;alias sim_lag FL100"
文件://--------------------
文件://| 显示时间 |基本式脚本
文件://--------------------
alias timer "dvon; echo This s cript Edited by Nick; dvoff;timeleft"
文件://----------------------------
文件://| 改变准星颜色 |基本式脚本
文件://----------------------------
alias ccc "dvon; echo Crosshair Color Changed ; dvoff;adjust_crosshair"
文件://-----------------------------
文件://| 普通功能通知队友版|按下&松开式脚本
文件://-----------------------------
alias "+rls" "+reload;say_team [Reload]"//换弹夹并通知队友
alias "-rls" "-reload"
alias "+dr" "+use;say_team [Defusing Bomb/Rescuing
Hostage]"//拆炸弹或救人质并通知队友
alias "-dr" "-use"
文件://-----------------------------
文件://| 打包购买|购买式脚本和变位分配式脚本
文件://-----------------------------
alias "SMG1" "buyequip;menuselect 1;buy;menuselect 3;menuselect
1;wammo;buyequip;menuselect 4; clmenu;say_team I am Buy [MP5 value
Pack]"//买防弹衣MP5、满的主弹夹、和手雷
alias "SMG1F" "buyequip;menuselect 2;buy;menuselect 3;menuselect
1;wammo;buyequip;menuselect 4;buy;menuselect 1;menuselect 3;
sammo;buyequip;menuselect 3;buyequip;menuselect 6;buyequip;menuselect
3;buyequip;menuselect 5; clmenu;say_team I am Buy [MP5 Navy Full
Pack]"//买防弹衣和头盔、MP5、Desert Eagle
.50AE沙漠之鹰、满的所有弹夹和三种手雷、拆弹器
alias "AR1" "buyequip;menuselect 2;buy;menuselect 4;menuselect 3;buy;menuselect
4;menuselect 1;wammo;buyequip;menuselect 4;buyequip;menuselect
3;buyequip;menuselect 6;buyequip;menuselect 3;clmenu;say_team I am Buy
[M4A1/AK47 Normal
Pack]"//买防弹衣和头盔、M4A1或AK47、满的主弹夹、手雷和2个闪光弹、拆弹器
alias "AR1F" "buyequip;menuselect 2;buy;menuselect 4;menuselect 3;buy;menuselect
4;menuselect 1;wammo;buyequip;menuselect 4;buyequip;menuselect
3;buyequip;menuselect 6;buy;menuselect 1;menuselect 3;buyequip;menuselect
3;sammo;clmenu;say_team I am Buy [M4A1/AK47 Full
Pack]"//买防弹衣和头盔、M4A1或AK47、沙漠之鹰、满的所有弹夹、手雷和2个闪光弹、拆弹器
alias "ARA1" "buyequip;menuselect 1;buy;menuselect 4;menuselect 4;buy;menuselect
4;menuselect 2;wammo;buyequip;menuselect 4;buyequip;menuselect
3;buyequip;menuselect 6; clmenu;say_team I am Buy [SG552/Aug Normal
Pack]"//买防弹衣、SG552或Aug、满的主弹夹、手雷和1个闪光弹、拆弹器
alias "ARA1F" "buyequip;menuselect 2;buy;menuselect 4;menuselect
4;buy;menuselect 4;menuselect 2;wammo;buyequip;menuselect 4;buy;menuselect
1;menuselect 3;bs2;buyequip;menuselect 3;buyequip;menuselect
6;buyequip;menuselect 3;clmenu;say_team I am Buy [SG552/Aug Full
Pack]"//买防弹衣和头盔、SG552或Aug、满的主弹夹、沙漠之鹰、2个手木仓弹夹、手雷和2个闪光弹、拆弹器
alias "SNFS" "buyequip;menuselect 1;buy;menuselect 4;menuselect
6;wammo;buyequip;menuselect 4; clmenu;say_team I am Buy [AWM/P value
Pack]"//买防弹衣、AWM/P、满的主弹夹、手雷
alias "SNFF" "buyequip;menuselect 2;buy;menuselect 4;menuselect
6;wammo;buy;menuselect 1;menuselect 3;sammo;buyequip;menuselect
4;buyequip;menuselect 3;buyequip;menuselect 6;buyequip;menuselect
3;buyequip;menuselect 5; clmenu;say_team I am Buy [AWM/P Full
Pack]"//买防弹衣和头盔、AWM/P、沙漠之鹰、满的所有弹夹、和三种手雷、拆弹器
alias +metabuy "bind DEL SMG1F;bind END AR1F;bind PGDN SNFF;bind HOME
ARA1F"//变位购买增强包
alias -metabuy "bind DEL SMG1;bind END AR1;bind PGDN SNFS;bind HOME
ARA1"//还原变位购买普通包
文件://----------------------------
文件://| 快速切换手雷 |变位分配式脚本+循环式脚本
文件://----------------------------
alias +metasw "bind MOUSE2 qgsw"
alias -metasw "bind MOUSE2 +attack2;alias qgsw qgswhg"
alias qrgsw "weapon_hegrenade;weapon_flashbang;weapon_smokegrenade"
alias qgsw qgswhg
alias qgswhg "qrgsw;weapon_hegrenade;dvon; echo Quick Select HE Grenade;
dvoff;alias qgsw qb"
alias qb "qrgsw;weapon_flashbang;dvon; echo Quick Select FlashBang;
dvoff;alias qgsw qgswsg"
alias qgswsg "qrgsw;weapon_smokegrenade;dvon; echo Quick Select Smoke Grenade;
dvoff;alias qgsw qgswhg"