什么是bind?
Bind就是分配一个命令到指定的键,它同样能够分配一个alias到指定的键。
比如:
bind "MOUSE1" "+attack"
表示分配+attack(攻击)这个命令到指定的键MOUSE1(鼠标左键)
有了 bind 我们自己就可以制作简单的脚本了!下面是一些命令:
"blank""=========================="
"blank"" 信 息 命 令 键 位 设 定 "
"blank""=========================="
"+voicerecord" "语音通讯"
"radio1" "团队指令(1)"
"radio2" "团队指令(2)"
"radio3" "团队指令(3)"
"+commandmenu" "服务器&个人设置菜单"
"messagemode" "公共聊天频道"
"messagemode2" "队内聊天频道"
"timeleft" "剩余时间查看"
"blank""=========================="
"blank"" 选 择 类 键 位 设 定 "
"blank""=========================="
"buy" "购买武器菜单"
"buyammo1" "购买主武器弹药"
"buyammo2""购买副武器弹药"
"buyequip" "购买附加装备"
"chooseteam" "选择队伍(警/匪)"
"slot10" "物品 0"
"slot1""物品 1"
"slot2""物品 2"
"slot3""物品 3"
"slot4""物品 4"
"slot5""物品 5"
"slot6""物品 6"
"slot7""物品 7"
"slot8""物品 8"
"slot9""物品 9"
"+showscores" "观看成绩列表"
"showbriefing" "观看任务说明"
"blank""=========================="
"blank"" 动 作 指 令 键 位 设 定"
"blank""=========================="
"+forward" "前移"
"+back""后移"
"+left""左转"
"+right" "右转"
"+moveleft" "左平移"
"+moveright" "右平移"
"+speed""走"
"+jump""跳跃"
"+duck""蹲下"
"+moveup" "游泳向上"
"+movedown" "游泳向下"
"+lookup" "向上看"
"+lookdown" "向下看"
"centerview" "快速将视角集中到屏幕中心"
"+strafe" "改变转动为平移"
"+mlook" "鼠标操纵视角"
"+klook" "键盘操纵视角"
"blank""=========================="
"blank"" 战 斗 键 位 设 定 "
"blank""=========================="
"+attack" "攻击"
"+attack2" "武器附加功能"
"+reload" "换弹夹"
"invprev" "上个武器"
"invnext" "下个武器"
"lastinv" "2个武器切换"
"nightvision" "夜视镜开关"
"drop" "丢掉当前装备"
"blank""=========================="
"blank"" 其 他 键 位 设 定 "
"blank""=========================="
"podbotmenu""PODBot机器人菜单"
"amxmodmenu""AMX MOD X插件菜单"
"+use""执行键(拆弹, 救人质, 开开关)"
"impulse 100" "战术手电开关"
"impulse 201" "涂鸦"
"snapshot" "抓图"
"cheer""喝彩(进入HLTV使用)"
"save quick" "存储游戏"
"load quick" "读取游戏"
"quit""退出游戏"
"blank" "=========================="
"blank" " 一 键 买 木仓 设 定 "
"blank" "=========================="
"usp" "USP+子弹"
"glock" "Glock+子弹"
"deagle""沙漠之鹰+子弹"
"p228" "SIG P228+子弹"
"m3" "半自动霰弹木仓+子弹"
"xm1014""自动霰弹木仓+子弹"
"b324" "Mac-10或TMP+子弹"
"mp5" "MP5+子弹"
"p90" "P90+子弹"
"ump45" "UMP+子弹"
"b413" "AK-47或M4A1 +子弹"
"b424" "SG552或AUG+子弹"
"scout" "Steyr Scout+子弹"
"awp" "AWP+子弹"
"b478" "SG1或SG550+子弹"
"m249" "M249+子弹"
"vest" "防弹衣"
"helm" "防弹衣+头盔"
"fb" "闪光弹x2"
"hegren""手榴弹"
"sgren" "烟雾弹"
"defuser""拆弹器"
"nvgs" "夜视镜"
有了这些命令我们就可以做套装脚本==了!