首先介绍脚本的基本知识:
1、什么是脚本(s cript)?
我们需要在CS游戏中执行了一系列命令,执行这一系列命令有一个过程。
用一个命令把这一过程定义(alias)好,最后分配(bind)一个键位给这个命令,以后只要按分配好的键位,就可以实现这一过程。脚本(s cript)就是含有bind和alias等命令的集合,你可以把这个集合存为一个独立的文件然后在需要的时候执行,所有的脚本都是通过这一方法实现的。这样就可以方便你在CS中的使用。脚本可以存为后缀名为.cfg的文件放在cstrike文件夹下,执行时在控制台输入:
exec 脚本文件名.cfg即可。比如将以上的脚本存为buys.cfg文件,则在控制台中输入:
exec buys.cfg则可以实现我们所需要的功能。
2、什么是bind?
Bind就是分配一个命令到指定的键,它同样能够分配一个alias到指定的键。
比如:
bind "MOUSE1" "+attack"
表示分配+attack(攻击)这个命令到指定的键MOUSE1(鼠标左键)
3、什么是alias?
Alias就是给一组命令定义一个名称,当你定义过后,CS就认为此alias为一个普通的命令,你可以用bind命令分配一个键给这个alias,也可以在其他的alias中使用它。
比如:
alias hw "say Hello World!"
则当你在控制台(console)中输入hw这条命令回车执行后你就对服务器里所有的玩家说了Hello
World!这句话,你还可以用bind命令:
bind v "hw"当你按过v键后你同样对服务器里所有的玩家说了Hello World!这句话。
又比如:
alias buym "buy;menuselect 3;menuselect 1"
alias buyv "buy;menuselect 8;menuselect 1"
alias buysay "buym;buyv;hw"
bind j "buysay"
则表示当你执行buysay命令(如按下由bind分配好的j键)后购买MP5和普通防弹衣然后对服务器里所有的玩家说Hello World!这句话。
此alias实现的方法为:
第一步执行buym命令,buym命令已经定义好为"打开购买菜单;选择菜单第3项;再选择菜单第1项"即实现了购买MP5的功能。
第二步执行buyv命令,buyv命令已经定义好为"打开购买菜单;选择菜单第8项;再选择菜单第1项"即实现了购买普通防弹衣的功能。
第三步执行之前已经定义好的hw命令:对服务器里所有的玩家说Hello World!这句话。
把这三步命令定义为一个新的命令buysay然后用bind命令分配一个键(此处为j键)给这个alias(此处为buysay)则当你按下j键后就实现了这三步命令的功能。
注意:alias语句不能超过259个字符或下面这行字符的长度在Half-Life:Counter-Strike里:
4、脚本的分类:
基本式脚本 购买式脚本 开关式脚本 循环式脚本
按下&松开式脚本 按下&松开的开关式脚本 变位分配式脚本
a、基本式脚本:
在脚本文件中//作用为注释,CS系统不会执行//后的文字。如在脚本中加入:
// 单身的至尊宝制作
系统并不会管理这行文字而是忽略掉//及之后的文字。
在脚本文件中" "作用为alias的开始和结束标志。
在脚本文件中;的作用是分开两条命令语句。
首先你必须了解developer这一命令这是关于调试信息的命令:在控制台输入developer
1后所有载控制台中显示的信息都会在游戏的屏幕上显示出来。相反输入developer
0则关闭显示信息。注意:这些信息只是你本身的客户端能看到,并不会发送的其他的玩家那里。
比如我想要在屏幕的上方显示This s cript Edited by
Nick这条信息,可以在控制台中用命令echo This s cript Edited by
Nick实现,但在游戏时是不可能看得到的(被控制台挡住了)怎样实现呢?我们可以用一个alias脚本实现:
alias nick "developer 1; echo This s cript Edited by Nick;developer 0"
然后bind v "nick" 关闭/隐藏控制台后在你按下v键后屏幕的上方就会显示This s cript
Edited by Nick这条信息。
其次你可以使用alias语句使一些系统默认的命令简化,如:
alias dvon "developer 1"
alias dvoff "developer 0"
则上一条脚本可以简化成:
alias nick "dvon; echo This s cript Edited by Nick;dvoff"
这对我们编辑较长的脚本时十分有用。
wait命令在脚本中也是十分常用的,它的作用是在执行脚本时做一个极小的暂停,当你的延迟情况不是很严重时可以只使用几个wait命令,当你的延迟情况比较糟糕时可以多用几个wait命令来使你的脚本得以完整/正确的执行。如:
alias clmenu "wait;wait;wait;slot10"
这条命令是用来清除屏幕上的菜单信息的,在开头的买木仓脚本中买完木仓后并没有清除购买菜单我们需要按0键来清除菜单,而如果使用了这里的clmenu命令则可以清除购买菜单,slot10的功能就是选择菜单上的0项。而前面的几个wait命令就是为了防止由网络延迟引起的系统忽略了slot10这条命令,还可以更保险一些把clmenu命令写成:
alias clmenu "wait;wait;wait;slot10;wait;wait;slot10"选两次0项来清除购买菜单。
如果你需要较多的延迟也可以写出下面的命令:
alias w1
"wait;wait;wait;wait;wait;wait;wait;wait;wait;wait"然后在需要时用w1命令代替wait命令。
b、购买式脚本:
首先了解购买式脚本的基本命令:
buy 打开武器购买菜单
buyequip 打开装备购买菜单
menuselect x 从菜单中选择项目x
buyammo1 购买一个弹夹的主武器子弹。默认为,键。
buyammo2 购买一个弹夹的手木仓子弹。默认为.键。
其次做一些准备工作:
file://------------------------------------------
file://| 设置买子弹、清除菜单等功能 |
file://------------------------------------------
alias nick "dvon; echo This s cript Edited by Nick; dvoff"
alias dvon "developer 1"
alias dvoff "developer 0"
alias "clmping" "clmenu400"
file://在控制台中输入clmping即可切换ping值高和低时清除菜单的速度
alias "clmenu400" "alias clmping
clmenu;wait;wait;wait;wait;slot10;wait;wait;wait;wait;wait;slot10;wait;wait;wait;wait;slot10;wait;wait;wait;wait;slot10;wait;wait;wait;wait;slot10;wait;wait;wait;wait;slot10;wait;wait;wait;wait;slot10"//选择菜单上的项目0,清除菜单(ping值>400时使用)
alias "clmenu" "alias clmping
clmenu400;wait;wait;wait;slot10;wait;wait;slot10"//选择菜单上的项目0,清除菜单(ping值<50时使用)
alias "fammo" "buy; menuselect 6; buy; menuselect 7;"//买满主武器和手木仓的弹夹,满的所有弹夹
alias "wammo" "buy; menuselect 6;"//买满主武器的弹夹
alias "sammo" "buy; menuselect 7;"//买满手木仓的弹夹
alias "b1" "buyammo1;"//1个主弹夹
alias "b2" "buyammo1; buyammo1;"//2个主弹夹
alias "b3" "buyammo1; buyammo1; buyammo1; "file://3个主弹夹
alias "b4" "buyammo1; buyammo1; buyammo1; buyammo1;"//4个主弹夹
alias "b5" "buyammo1; buyammo1; buyammo1; buyammo1; buyammo1;"//5个主弹夹
alias "b6" "buyammo1; buyammo1; buyammo1; buyammo1; buyammo1;
buyammo1;"//6个主弹夹
alias "b7" "buyammo1; buyammo1; buyammo1; buyammo1; buyammo1; buyammo1;
buyammo1;"//7个主弹夹
alias "b8" "buyammo1; buyammo1; buyammo1; buyammo1; buyammo1; buyammo1;
buyammo1; buyammo1"//8个主弹夹
alias "b9" "buyammo1; buyammo1; buyammo1; buyammo1; buyammo1; buyammo1;
buyammo1; buyammo1; buyammo1;"//9个主弹夹
alias "bs1" "buyammo2;"//1个手木仓弹夹
alias "bs2" "buyammo2; buyammo2;"//2个手木仓弹夹
alias "bs3;" "buyammo2; buyammo2; buyammo2;"//3个手木仓弹夹
alias "bs4" "buyammo2; buyammo2; buyammo2; buyammo2;"//4个手木仓弹夹
alias "bs5" "buyammo2; buyammo2; buyammo2; buyammo2; buyammo2;"//5个手木仓弹夹
这些alias使脚本编写时变得更方便也更简洁。
然后开始编写购买脚本:
file://-----------------------------
file://| 一键买木仓 |
file://-----------------------------
alias "ak/m4" "buy;menuselect 4;menuselect 1;buy;menuselect 4;menuselect
3;fammo;clmenu;say_team I am Take [Kalashnikov AK-47/Colt M4A1 Carbine]"
file://买AK47/M4A1和所有子弹
alias "sg552/aug" "buy;menuselect 4;menuselect 2;buy;menuselect 4;menuselect
4;fammo;clmenu;say_team I am Take [SG552 Commando/Steyr Aug]"
file://买SG552/Aug和所有子弹
alias "awp" "buy;menuselect 4;menuselect 6;fammo;clmenu;say_team I am Take
[AWM/P]" file://买AWM/P和所有子弹
alias "g3/sg550" "buy;menuselect 4;menuselect 7;buy;menuselect 4;menuselect
8;fammo;clmenu;say_team I am Take [G3SG-1/SG-550 Sniper Rifle]"
file://买G3SG-1/SG550和所有子弹
alias "mp5" "buy;menuselect 3;menuselect 1;fammo;clmenu;say_team I am Take [H&K
MP5 Navy]" file://买MP5和所有子弹
alias "TMP/Mac" "buy;menuselect 3;menuselect 2;buy;menuselect 3;menuselect
4;fammo;clmenu;say_team I am Take [Steyr TMP/Ingram MAC-10]"
file://买TMP/Mac-10和所有子弹
alias "p90" "buy;menuselect 3;menuselect 3;fammo;clmenu;say_team I am Take [FN
P90]" file://买P90和所有子弹
alias "ump45" "buy;menuselect 3;menuselect 5;fammo;clmenu;say_team I am Take
[UMP45]" file://买UMP45和所有子弹
alias "m3" "buy;menuselect 2;menuselect 1;fammo;clmenu;say_team I am Take [M3
Super 90 Entry]" file://买M3和所有子弹
alias "xm1014" "buy;menuselect 2;menuselect 2;fammo;clmenu;say_team I am Take
[XM 1014]" file://买xm1014和所有子弹
alias "m249" "buy;menuselect 5;menuselect 1;fammo;clmenu;say_team I am Take [FN
M249 Para]" file://买M249和所有子弹
alias "scout" "buy;menuselect 4;menuselect 5;fammo;clmenu;say_team I am Take
[Scout]" file://买scout和所有子弹
alias "usp" "buy;menuselect 1;menuselect 1;fammo;clmenu;say_team I am Take
[USP.45ACP Tactical]" file://买usp和所有子弹
alias "glock" "buy;menuselect 1;menuselect 2;fammo;clmenu;say_team I am Take
[Glock 18C]" file://买glock和所有子弹
alias "deagle" "buy;menuselect 1;menuselect 3;fammo;clmenu;say_team I am Take
[Desert Eagle .50AE]" file://买Desert Eagle .50AE沙漠之鹰和所有子弹
alias "p228" "buy;menuselect 1;menuselect 4;fammo;clmenu;say_team I am Take [Sig
P228]" file://买P228和所有子弹
alias "elite/57" "buy;menuselect 1;menuselect 5;buy;menuselect 1;menuselect
6;fammo;clmenu;say_team I am Take [FN Five-Seven/Dual 96G Elite Beretta's]"
file://买elite/57和所有子弹
file://-----------------------------
file://| 一键买装备|
file://-----------------------------
alias "armour" "buyequip;menuselect 1;clmenu;say_team I am Buy [Kevlar Vest]"
file://买防弹衣
alias "bh-armour" "buyequip;menuselect 2;clmenu;say_team I am Buy [Kevlar Vest &
Helmet]" file://买防弹衣和头盔
alias "n-g" "buyequip;menuselect 7;clmenu;say_team I am Buy [NightVision
Goggles]" file://买夜视仪
alias "flashbang" "buyequip;menuselect 3;buyequip;menuselect 3;clmenu;say_team I
am Buy [Flashbang]" file://买闪光弹
alias "HE-ge" "buyequip;menuselect 4;clmenu;say_team I am Buy [HE Grenade]"
file://买高爆手雷
alias "sm-ge" "buyequip;menuselect 5;clmenu;say_team I am Buy [Smoke Grenade]"
file://买烟雾弹
alias "defuser" "buyequip;menuselect 6;clmenu;say_team I am Take [Defuse Kit]"
file://买拆弹器
file://-----------------------------
file://| 打包购买|
file://-----------------------------
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"//还原变位购买普通包
以后把此脚本存为一个.cfg文件,然后在autoexec.cfg文件里调用(exec
文件名.cfg)在cstrike\gfx\shell\kb_act.lst做好预留键位,即可。此后就可以在CS的键盘设置中设好相应的键位,在游戏中就可以实现一键买木仓的功能了。此脚本除了买木仓之外还会通知你的队友你买木仓或的类型、或你在战斗途中拣到木仓后也可以用此功能来通知你的队友你的木仓的类型(由say_team命令实现),这在团队比赛时十分有用。
买木仓脚本的实现实际上就是打开菜单->选择要购买木仓支/装备的类型->再选择要购买的项目->关闭菜单这一过程。
c、开关式脚本:
开关式脚本的格式为:
alias "开关" "关闭"
alias "关闭" "alias 开关 打开;关闭的命令"
alias "打开" "alias 开关 关闭;打开的命令"
然后bind "键位" "开关"即可。
比如:
alias radar_t radar_off
alias radar_off "alias radar_t radar_on; hideradar"
alias radar_on "alias radar_t radar_off; drawradar"
然后bind "\" "radar_t"即可。以后按\键即可实现雷达的开关。
我们把每一行加上注解:
alias radar_t radar_off
(定义radar_t为开关命令,执行radar_t命令即执行radar_off命令)
alias radar_off "alias radar_t radar_on;
hideradar"(把radar_t重定义为命令radar_on,执行hideradar命令)
alias radar_on "alias radar_t radar_off;
drawradar"(把radar_t重定义为命令radar_off,执行drawradar命令)
当你bind了一个键后实际上已经执行了第一句alias radar_t
radar_off即定义radar_t到radar_off
当你按下\键后因为第一句已经定义了执行radar_t命令即执行radar_off命令,即执行了第二句alias
radar_off "alias radar_t radar_on;
hideradar"即定义radar_t到radar_on然后执行hideradar命令隐藏雷达。
当你再次按下\键后因为第二句已经定义了执行radar_t命令即执行radar_on命令,即执行了第三句alias
radar_on "alias radar_t radar_off;
drawradar"即定义radar_t到radar_off然后执行drawradar命令显示雷达。
如果你再按下\键即又执行了第二句alias radar_off "alias radar_t radar_on;
hideradar"即定义radar_t到radar_on然后执行hideradar命令隐藏雷达。如此雷达的开关功能就实现了。
d、循环式脚本:
循环式脚本实际上就是开关式脚本的多种选择项时的情况,其格式为:
alias "循环开关" "循环第一步"
alias "循环第一步" "alias 循环开关 循环第二步;循环第一步需执行的命令"
alias "循环第二步" "alias 循环开关 循环第三步;循环第二步需执行的命令"
alias "循环第三步" "alias 循环开关 循环第一步;循环第三步需执行的命令"
然后bind "键位" "循环开关"即可。
比如:
alias graph "graph1"
alias graph1 "net_graph 1; alias graph graph2"
alias graph2 "net_graph 2; alias graph graph3"
alias graph3 "net_graph 3; alias graph graph4"
alias graph4 "net_graph 0; alias graph graph1"
然后bind "v"
"graph"即可。以后按v键即可实现网络状况图形的切换显示:按一下执行第二句即net_graph
1还有alias graph graph2;再按一下执行第三句即net_graph 2还有alias graph
graph3,如此类推,当执行到最后一句时我们需要使循环开关回复到初始的状态所以最后一句net_graph
0执行完命令后,定义alias graph graph1这和第一句是一样的即回复到初始的状态。
e、按下&松开式脚本:
按下&松开式脚本的格式为:
alias "+按下松开命令" "第一条当按下时执行的命令;第二条当按下时执行的命令"
alias "-按下松开命令" "第一条当松开时执行的命令;第二条当松开时执行的命令"
然后bind "键位" "+按下松开命令"即可。
比如:
alias +qslash "weapon_knife; wait; +attack"
alias -qslash "-attack; lastinv"
然后bind "alt"
"+qslash"即可。以后当按下alt键时执行第一句:拿出刀子开始削,当松开alt键时执行第二句:停止削,并拿出上一次拿的武器。
f、按下&松开的开关式脚本:
按下&松开的开关式脚本实际上就是按下&松开式脚本和开关式脚本的合成,其格式为:
alias "+按下松开命令" "第一条当按下时执行的命令;第二条当按下时执行的命令"
alias "-按下松开命令" "第一条当松开时执行的命令;第二条当松开时执行的命令"
alias "按下松开命令开关" "按下松开命令关闭"
alias "按下松开命令关闭" "alias 按下松开命令开关 按下松开命令打开;bind 键位
原来的命令"
alias "按下松开命令打开" "alias 按下松开命令开关 按下松开命令关闭;bind 键位
+按下松开命令"
然后bind "键位" "按下松开开关"即可。
比如:
alias +qslash "weapon_knife; wait; +attack"
alias -qslash "-attack; lastinv"
alias qslash "qslash_on"
alias qslash_on "alias qslash qslash_off;bind alt +qslash"
alias qslash_off "alias qslash qslash_on;bind alt +strafe"
然后bind "v" "qslash"即可。
以后当按过一次v键后执行第四句:
当按下alt键时执行第一句:拿出刀子开始削,当松开alt键时执行第二句:停止削,并拿出上一次拿的武器。
当再按过一次v键后执行第五句:
alt键恢复为平移键当按下alt键时再按左右转向键则变成左右平移。
在此v键即为"按下松开命令开关"而alt键即为"+按下松开命令"
g、变位分配式脚本:
变位分配式脚本实际上就是按下&松开式脚本的变例形式,其格式为:
alias "命令a" "命令1;命令2"
alias "命令b" "命令1';命令2'"
bind "初始键位" "命令a"
alias +变位分配 "bind 初始键位 命令b"
alias -变位分配 "bind 初始键位 命令a"
然后bind "键位" "+变位分配"即可。
如:
alias go "radio2; wait;menuselect 1;clmenu"
alias fal "radio2; wait;menuselect 2;clmenu"
alias +metaradio "bind ins fal"
alias -metaradio "bind ins go"
最后:
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!
大家还可以参考我在打包购买脚本里的变位购买脚本那一部分来熟悉变位分配式脚本
最后这是我闲来无事时编写的一个综合型的脚本,您能看的懂么?(看懂了,应该就已经全学会了,呵呵。)
file://Quick AWP Attack
file://first You Must Bind a Key to "qawpsw"
file://second you must have a AWP (buy/pick)
file://than this key willtch your AWP fire Mode in Normal Attack / Quick AWP
Click Attack / Quick AWP Release Attack
file://Note: Not to use this s cript in the team match,it's important!
file://Create by Nick Cable,12/16/2001
alias qawpsw qawpm1
alias lw "wait;wait;wait;wait;wait;wait;wait;wait;wait;wait"
alias qawpt "bind MOUSE2 +attack2;bind MOUSE1 +attack"
alias +qawpa1 "+attack2;wait;-attack2"
alias -qawpa1 "+attack;wait;-attack;qawpmn;lastinv"
alias +qawpa2 "weapon_awp;wait"
alias -qawpa2 "+attack2;wait;-attack2;+attack;wait;-attack;qawpmn;lastinv"
alias +qawpa3 "weapon_awp;lw;lw;lw;lw"
alias -qawpa3 "+attack2;wait;-attack2;+attack;wait;-attack;qawpmn;lastinv"
alias +qawpa4
"weapon_awp;lw;lw;lw;wait;wait;wait;+attack2;wait;-attack2;+attack;wait;-attack"
alias -qawpa4 "qawpmn;lastinv"
alias qawpm1 "qawpt;weapon_awp;bind MOUSE1 +qawpa1; dvon; echo Quick AWP Release
Attack1; dvoff; alias qawpsw qawpm2"
alias qawpm2 "qawpt;bind MOUSE2 +qawpa2; dvon; echo Quick AWP Release Attack2;
dvoff; alias qawpsw qawpm3"
alias qawpm3 "qawpt;bind MOUSE1 +qawpa3; dvon; echo Quick AWP Click Attack1;
dvoff; alias qawpsw qawpm4"
alias qawpm4 "qawpt;bind MOUSE2 +qawpa4; dvon; echo Quick AWP Click Attack2;
dvoff; alias qawpsw qawpmn"
alias qawpmn "qawpt; dvon; echo Normal Attack; dvoff; alias qawpsw
几个常用的作弊脚本:
1、一键买木仓
//CT 按o买CT木仓
alias CT "buy;menuselect 8;menuselect 4;buy;menuselect 4;menuselect 3;buy;menuselect 8;menuselect 2;buy;menuselect 8;menuselect 3;buy;menuselect 8;menuselect 3;buy;menuselect 8;menuselect 4;buy;menuselect 6;buy;menuselect 7;buy;menuselect 8;menuselect 6;menuselect 0"
bind o "CT"
-----------------------------------------
//T 按p买T木仓
alias T "buy;menuselect 8;menuselect 4;buy;menuselect 4;menuselect 1;buy;menuselect 8;menuselect 2;buy;menuselect 8;menuselect 3;buy;menuselect 8;menuselect 3;buy;menuselect 8;menuselect 4;buy;menuselect 6;buy;menuselect 7;menuselect 0"
bind p T
-----------------------------------------
//通用 按i买常用物品
alias other "buy;menuselect 8;menuselect 3;buy;menuselect 8;menuselect 3;buy;menuselect 8;menuselect 4;buy;menuselect 8;menuselect 6;buy;menuselect 8;menuselect 2;menuselect 0"
bind i other
==========================================
2、//自动换木仓
alias wsec ".slot2"
alias nop ";"
alias tch0 "alias sitch nop ;txt :[ autotch off ]:;alias tch tch1;init tch tch0"
alias tch1 "alias sitch wsec;txt :[ autotch on ]:;alias tch tch0;init tch tch1"
tch1
==========================================
3、//复活 按 F10复活为T 按 F9复活为CTalias tspawn "kill; chooseteam; menuselect 6; chooseteam; menuselect 1; menuselect 1"
alias ctspawn "kill; chooseteam; menuselect 6; chooseteam; menuselect 2; menuselect 2"
alias randomspawn "kill; chooseteam; menuselect 6; chooseteam; menuselect 5; menuselect 5
alias revive "txt Respawning;chooseteam;menuselect 6;chooseteam;menuselect 5;randomskin"
alias randomskin "menuselect 5;later 0.1 #slot5;later 0.25 #slot5;later 0.5 slot5;later 1.0 slot5"
alias countdown3 "txt == 3 ==;later 1 txt == 2 ==;later 2 txt == 1 =="
alias waitrevive "countdown3;later 3 if is alive nop else revive"
alias respawn_on "alias respawn_t respawn_off;txt Respawn after dying ON; alias sigdead waitrevive"
alias respawn_off "alias respawn_t respawn_on ;txt Respawn after dying OFF; alias sigdead"
respawn_off
bind F10 tspawn
bind F9 ctspawn
==========================================
4、//变身脚本:
这个脚本可以让T穿上CT的服装,CT穿上T的服装,并且可以通过CD,但使用后准星和自己的状态(血和子弹数量)都不会显示了,也不能买木仓和切换武器,每局开始也不必买木仓,但要扔掉木仓后才能走动,扔木仓后再捡回来就可以了,而且不是每幅地图都支持这个脚本(目前炸弹、AZTEC和ITALY可以用),某些地图你只能以旁观者进入或者从不同的地方掉下摔死......
1、复制以下的代码保存成bs.cfg(文件名字随便你自己)文件复制到cstrike目录下,如果你用作弊器,直接把代码复制到作弊器的cfg文件里,按键也可以自己绑定(第二步就略过不看)
2、进入游戏,看到地图介绍后点OK,不要选择CT或T,按~呼出控制台,输入exec bs.cfg后回车,再按~关闭控制台。或者在cstrike目录下找到Autoexec.cfg,在其中添加一行exec bs.cfg也可以。
3、按[再按t你就会成为一名穿上CT服装的T,按]再按i你就会成为一名穿上T服装的CT。
本脚本通过一切反作弊检测,不用作弊器单独载入后木仓会没有准星,一局只能一开始用,如果想恢复,按M再选11或者22就可以了,如果想再变身,只能重连服务器
//skin script modified
alias ctskin "buyequip;wait;menuselect 1;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10"
bind t "ctskin"
alias tskin "buyequip;wait;menuselect 2;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect
10;wait;menuselect 10;wait;menuselect 10"
bind i "tskin"
bind "[" "chooseteam;menuselect 1;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10"
bind "]" "chooseteam;menuselect 2;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10;wait;menuselect 10"
==========================================
5、//超级跳
alias +sjump "+jump;+duck"
alias -sjump "-jump;-duck"
bind SPACE +sjump
==========================================
6、//自动改名 按j自动改名
alias defaultnickname "#name 垃圾|`Zhuan.Sha.ZwqBi.d`" //Change your default nickname
alias akname0 "defaultnickname"
alias akname1 "#name ~^垃圾|Ra41N4G$3-Rmz0B|^~;alias akname akname2;later 1 akname"
alias akname2 "#name ~^垃圾|Hq4-Xl0$R1-C4T|^~;alias akname akname3;later 1 akname"
alias akname3 "#name ~^垃圾|L3-n4K1N49RbN4G|^~;alias akname akname4;later 1 akname"
alias akname4 "#name ~^垃圾|C$H3x0T3R$z0|^~;alias akname akname5;later 1 akname"
alias akname5 "#name ~^垃圾|4DoM$1-NqK9R|^~;alias akname akname6;later 1 akname"
alias akname6 "#name ~^垃圾|$9UzX1N41I0RxK1|^~;alias akname akname7;later 1 akname"
alias akname7 "#name ~^垃圾|0$WuN4Z0RqN-$|^~;alias akname akname8;later 1 akname"
alias akname8 "#name ~^垃圾|PqW$N4Gm3M$1|^~;alias akname akname9;later 1 akname"
alias akname9 "#name ~^垃圾|4$zW$-K1CK0R|^~;alias akname akname10;later 1 akname"
alias akname10 "#name ~^垃圾|4Nt1-1N4C4T0R|^~;alias akname akname11;later 1 akname"
alias akname11 "#name ~^垃圾|$T30LzW$-TzH%|^~;alias akname akname12;later 1 akname"
alias akname12 "#name ~^垃圾|K1CxK1N4M3|^~;alias akname akname13;later 1 akname"
alias akname13 "#name ~^垃圾|N0O$zW$z0B1l|^~;alias akname akname14;later 1 akname"
alias akname14 "#name ~^垃圾|C0,qN-$0K1CL3|^~;alias akname akname15;later 1 akname"
alias akname15 "#name ~^垃圾|W4YzW$zP01N1T|^~;alias akname akname16;later 1 akname"
alias akname16 "#name ~^垃圾|41RzW$zW$0LF|^~;alias akname akname17;later 1 akname"
alias akname17 "#name ~^垃圾|G0NqZ1N44L3$|^~;alias akname akname18;later 1 akname"
alias akname18 "#name ~^垃圾|N0-F3#,xS5$4Rz|^~;alias akname akname19;later 1 akname"
alias akname19 "#name ~^垃圾|C0C4I1N42$N3|^~;alias akname akname20;later 1 akname"
alias akname20 "#name ~^垃圾|N0-N41N4M8$v|^~;alias akname akname21;later 1 akname"
alias akname21 "#name ~^垃圾|TzUm$2-m4L9RBq0|^~;alias akname akname22;later 1 akname"
alias akname22 "#name ~^垃圾|Gc!R4t$6NpDM4|^~;alias akname akname23;later 1 akname"
alias akname23 "#name ~^垃圾|P1$$2-m4L9-0Flf|^~;alias akname akname24;later 1 akname"
alias akname24 "#name ~^垃圾|L4UGH,xS51NG|^~;alias akname akname25;later 1 akname"
alias akname25 "#name ~^垃圾|J4C!KNpDM~@4$z$|^~;alias akname akname26;later 1 akname"
alias akname26 "#name ~^垃圾|Rc1$1N4ULNpDM*,0R|^~;alias akname akname27;later 1 akname"
alias akname27 "#name ~^垃圾|GR4N2-m4L9tDP6A|^~;alias akname akname28;later 1 akname"
alias akname28 "#name ~^垃圾|GNpDM^4YL0vRtD|^~;alias akname akname29;later 1 akname"
alias akname29 "#name ~^垃圾|PU$-$aY@)7NpDM|^~;alias akname akname30;later 1 akname"
alias akname30 "#name ~^垃圾|F*1t$6L,xS5X!b7.|^~;alias akname akname31;later 1 akname"
alias akname31 "#name ~^垃圾|Ca4B$21CK0-Om|^~;alias akname akname32;later 1 akname"
alias akname32 "#name ~^垃圾|Dq7-NNpDM~!l)$R|^~;alias akname akname33;later 1 akname"
alias akname33 "#name ~^垃圾|K2-m4L1CK09Wb|^~;alias akname akname34;later 1 akname"
alias akname34 "#name ~^垃圾|C&H2-m4L90x0U3P|^~;alias akname akname35;later 1 akname"
alias akname35 "#name ~^垃圾|4DoM$1CK01-Nq|^~;alias akname akname36;later 1 akname"
alias akname36 "#name ~^垃圾|$9Ut$6zX1I0R|^~;alias akname akname37;later 1 akname"
alias akname37 "#name ~^垃圾|0$WuN2-m4L94Z0R|^~;alias akname akname38;later 1 akname"
alias akname38 "#name ~^垃圾|PqW$t$6N4Gm3|^~;alias akname akname39;later 1 akname"
alias akname39 "#name ~^垃圾|4$-K1CX1It$K0R|^~;alias akname akname40;later 1 akname"
alias akname40 "#name ~^垃圾|34T-/WOLRT$|^~;alias akname akname41;later 1 akname"
alias akname41 "#name ~^垃圾|Ra1CK04G$3-Rm|^~;alias akname akname42;later 1 akname"
alias akname42 "#name ~^垃圾|Hq4-X2-m4L9l0$R|^~;alias akname akname43;later 1 akname"
alias akname43 "#name ~^垃圾|L3-t$6n4K9Rb|^~;alias akname akname44;later 1 akname"
alias akname44 "#name ~^垃圾|C$HDelx0T3R|^~;alias akname akname45;later 1 akname"
alias akname45 "#name ~^垃圾|Gans2-m4L9ini-Nq|^~;alias akname akname46;later 1 akname"
alias akname46 "#name ~^垃圾|$9UzX1It$60R|^~;alias akname akname47;later 1 akname"
alias akname47 "#name ~^垃圾|0$Wu2-m4L9N4Z0R|^~;alias akname akname48;later 1 akname"
alias akname48 "#name ~^垃圾|PqW$N4Gm3|^~;alias akname akname49;later 1 akname"
alias akname49 "#name ~^垃圾|4$-Kt$61CK0R|^~;alias akname akname50;later 1 akname"
alias akname50 "#name ~^垃圾|34T-M$h0RT$|^~;alias akname akname51;later 1 akname"
alias akname51 "#name ~^垃圾|Ra4G2-m4L9$3-Rm|^~;alias akname akname52;later 1 akname"
alias akname52 "#name ~^垃圾|Hq4t$6-Xl0$R|^~;alias akname akname53;later 1 akname"
alias akname53 "#name ~^垃圾|L3-nX1It$t$64K9Rb|^~;alias akname akname54;later 1 akname"
alias akname54 "#name ~^垃圾|C$HX1It$wuliaoT3R|^~;alias akname akname55;later 1 akname"
alias akname55 "#name ~^垃圾|4DoMX1It$$1-Nq|^~;alias akname akname56;later 1 akname"
alias akname56 "#name ~^垃圾|$9Uz2-m4L9XDel0R|^~;alias akname akname57;later 1 akname"
alias akname57 "#name ~^垃圾|0t$6$sp*|*|^~;alias akname akname58;later 1 akname"
alias akname58 "#name ~^垃圾|PqW$Nst$6hm3|^~;alias akname akname59;later 1 akname"
alias akname59 "#name ~^垃圾|4$-j2-m4L9ackK0R|^~;alias akname akname60;later 1 akname"
alias akname60 "#name ~^垃圾|kuk-X1It$M$h0RT$|^~;alias akname akname1;later 1 akname"
alias akname_t1 "akname1;alias akname akname1;alias akname_t akname_t0;text Antikick Name:ON"
alias akname_t0 "akname0;alias akname akname0;alias akname_t akname_t1;text Antikick Name:OFF"
alias akname_t "akname_t1"
bind j "akname_t"
==========================================
7、//开关式穿墙 按一下 x 开,再按一下关
alias auto_t auto_on
alias auto_on "alias auto_t auto_off; autowall 1; txt AutoWall On"
alias auto_off "alias auto_t auto_on; autowall 0; txt AutoWall OFF"
bind x auto_t
==========================================
8、//快速补充子弹 在自己基地按 E 可以补满所有子弹、手雷、闪光,也可以用在小步快走
alias i_ammo ".buyammo1;.buyammo1;.buyammo1;.buyammo1;.buyammo1;.buyammo2;.buyammo2;.buyammo2;.buyammo2;.buyammo2"
alias +reload1 "aspeed 1;i_ammo;#+reload;speed 1.8;wall 1;#cl_timeout 99999999999999"
alias -reload1 "#-reload;speed 1;aspeed 1"
bind e "+reload1"
==========================================
9、//大冲刺 按 v 可以调整自动开木仓的加速度;按 b 可以调整冲刺速度;按 q 可以加速冲刺并自动瞄准开木仓,放开后按之前设置的加速度并取消自瞄开木仓
alias sjsd1 "aspeed 6;#cl_timeout 99999999999999"
alias sjsd2 "aspeed 9;#cl_timeout 99999999999999"
alias sjsd3 "aspeed 12;#cl_timeout 99999999999999"
alias sjsd "sjsd1"
alias spoffjs1 "alias sjsd sjsd1;bind v spoffjs2;aspeed 6;#cl_timeout 99999999999999;txt ASpeed 6"
alias spoffjs2 "alias sjsd sjsd2;bind v spoffjs3;aspeed 9;#cl_timeout 99999999999999;txt ASpeed 9"
alias spoffjs3 "alias sjsd sjsd3;bind v spoffjs4;aspeed 12;#cl_timeout 99999999999999;txt ASpeed 12"
alias sd1 "speed 90.0"
alias sd2 "speed 128.0"
alias sd3 "speed 256.0"
alias sd "sd3"
alias ss1 "alias sd sd1;bind b ss2;speed 90.0;txt Speed 90"
alias ss2 "alias sd sd2;bind b ss3;speed 128.0;txt Speed 128"
alias ss3 "alias sd sd3;bind b ss1;speed 256.0;txt Speed 256"
alias jd "#+jump;#+duck;#+moveright;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#wait;#-jump;#-duck;#-moveright"
alias +rush "aspeed 1;sd;shoot 1;aim 1;aswitch1;#cl_timeout 999999999999990;txt:Rush On"
alias -rush "jd;sjsd;speed 1;shoot 0;aim 0;aswitch0;#cl_timeout 999999999999999;txt:Rush Off"
bind v "spoffjs4"
bind b "ss3"
bind q "+rush"
==========================================
10、// 按 r 键 开/关雷达显示
alias radar_t radar_off
alias radar_off “alias radar_t radar_on; hideradar“
alias radar_on “alias radar_t radar_off; drawradar“
bind r "radar_t"
==========================================
11、//按 l 键改变准星颜色
alias ccc "adjust_crosshair"
bind l ccc
==========================================
12、//无后坐力
alias dev1 "developer 1"
alias dev0 "developer 0"
alias att "+attack"
alias +on "+attack; +lookdown"
alias -on "-attack; -lookdown"
alias em ""
alias antion "bind / antioff; wait; bind mouse1 r0; wait; bind , r0; wait; bind .r0; wait; bind mwheelup r0; wait; bind mwheeldown r0; dev1; echo No-Recoil ON; dev0"
alias antioff "bind mouse1 +attack; wait; bind , em; wait; bind . em; wait; bind mwheelup em; wait; bind mwheeldown em; wait; bind / antion; wait; dev1; echo No-Recoil OFF; dev0"
alias cl0 "cl_pitchspeed 0"
alias cl1 "cl_pitchspeed 0.5"
alias cl2 "cl_pitchspeed 1"
alias cl3 "cl_pitchspeed 1.5"
alias cl4 "cl_pitchspeed 2"
alias cl5 "cl_pitchspeed 2.5"
alias cl6 "cl_pitchspeed 3"
alias cl7 "cl_pitchspeed 3.5"
alias cl8 "cl_pitchspeed 4"
alias cl9 "cl_pitchspeed 4.5"
alias cl10 "cl_pitchspeed 5"
alias cl11 "cl_pitchspeed 5.5"
alias cl12 "cl_pitchspeed 6"
alias cl13 "cl_pitchspeed 6.5"
alias cl14 "cl_pitchspeed 7"
alias cl15 "cl_pitchspeed 7.5"
alias cl16 "cl_pitchspeed 8"
alias cl17 "cl_pitchspeed 8.5"
alias cl18 "cl_pitchspeed 9"
alias cl19 "cl_pitchspeed 9.5"
alias cl20 "cl_pitchspeed 10"
alias cl21 "cl_pitchspeed 11"
alias cl22 "cl_pitchspeed 12"
alias cl23 "cl_pitchspeed 13"
alias cl24 "cl_pitchspeed 14"
alias cl25 "cl_pitchspeed 15"
alias cl26 "cl_pitchspeed 16"
alias cl27 "cl_pitchspeed 17"
alias cl28 "cl_pitchspeed 18"
alias cl29 "cl_pitchspeed 19"
alias cl30 "cl_pitchspeed 20"
alias cl31 "cl_pitchspeed 22"
alias cl32 "cl_pitchspeed 24"
alias cl33 "cl_pitchspeed 26"
alias cl34 "cl_pitchspeed 28"
alias cl35 "cl_pitchspeed 30"
alias cl36 "cl_pitchspeed 32"
alias cl37 "cl_pitchspeed 34"
alias cl38 "cl_pitchspeed 36"
alias cl39 "cl_pitchspeed 38"
alias cl40 "cl_pitchspeed 40"
alias ec0 "dev1; echo Recoil 0; dev0"
alias ec1 "dev1; echo Recoil 0+; dev0"
alias ec2 "dev1; echo Recoil 1; dev0"
alias ec3 "dev1; echo Recoil 1+; dev0"
alias ec4 "dev1; echo Recoil 2; dev0"
alias ec5 "dev1; echo Recoil 2+; dev0"
alias ec6 "dev1; echo Recoil 3; dev0"
alias ec7 "dev1; echo Recoil 3+; dev0"
alias ec8 "dev1; echo Recoil 4; dev0"
alias ec9 "dev1; echo Recoil 4+; dev0"
alias ec10 "dev1; echo Recoil 5; dev0"
alias ec11 "dev1; echo Recoil 5+; dev0"
alias ec12 "dev1; echo Recoil 6; dev0"
alias ec13 "dev1; echo Recoil 6+; dev0"
alias ec14 "dev1; echo Recoil 7; dev0"
alias ec15 "dev1; echo Recoil 7+; dev0"
alias ec16 "dev1; echo Recoil 8; dev0"
alias ec17 "dev1; echo Recoil 8+; dev0"
alias ec18 "dev1; echo Recoil 9; dev0"
alias ec19 "dev1; echo Recoil 9+; dev0"
alias ec20 "dev1; echo Recoil 10; dev0"
alias ec21 "dev1; echo Recoil 11; dev0"
alias ec22 "dev1; echo Recoil 12; dev0"
alias ec23 "dev1; echo Recoil 13; dev0"
alias ec24 "dev1; echo Recoil 14; dev0"
alias ec25 "dev1; echo Recoil 15; dev0"
alias ec26 "dev1; echo Recoil 16; dev0"
alias ec27 "dev1; echo Recoil 17; dev0"
alias ec28 "dev1; echo Recoil 18; dev0"
alias ec29 "dev1; echo Recoil 19; dev0"
alias ec30 "dev1; echo Recoil 20; dev0"
alias ec31 "dev1; echo Recoil 22; dev0"
alias ec32 "dev1; echo Recoil 24; dev0"
alias ec33 "dev1; echo Recoil 26; dev0"
alias ec34 "dev1; echo Recoil 28; dev0"
alias ec35 "dev1; echo Recoil 30; dev0"
alias ec36 "dev1; echo Recoil 32; dev0"
alias ec37 "dev1; echo Recoil 34; dev0"
alias ec38 "dev1; echo Recoil 36; dev0"
alias ec39 "dev1; echo Recoil 38; dev0"
alias ec40 "dev1; echo Recoil 40; dev0"
alias r0 "ec0; cl0; bind mouse1 +attack; bind , r1; bind mwheelup r1"
alias r1 "ec1; cl1; bind mouse1 +on; bind , r2; bind . r0; bind mwheelup r2; bind mwheeldown r0"
alias r2 "ec2; cl2; bind mouse1 +on; bind , r3; bind . r1; bind mwheelup r3; bind mwheeldown r1"
alias r3 "ec3; cl3; bind mouse1 +on; bind , r4; bind . r2; bind mwheelup r4; bind mwheeldown r2"
alias r4 "ec4; cl4; bind mouse1 +on; bind , r5; bind . r3; bind mwheelup r5; bind mwheeldown r3"
alias r5 "ec5; cl5; bind mouse1 +on; bind , r6; bind . r4; bind mwheelup r6; bind mwheeldown r4"
alias r6 "ec6; cl6; bind mouse1 +on; bind , r7; bind . r5; bind mwheelup r7; bind mwheeldown r5"
alias r7 "ec7; cl7; bind mouse1 +on; bind , r8; bind . r6; bind mwheelup r8; bind mwheeldown r6"
alias r8 "ec8; cl8; bind mouse1 +on; bind , r9; bind . r7; bind mwheelup r9; bind mwheeldown r7"
alias r9 "ec9; cl9; bind mouse1 +on; bind , r10; bind . r8; bind mwheelup r10; bind mwheeldown r8"
alias r10 "ec10; cl10; bind mouse1 +on; bind , r11; bind . r9; bind mwheelup r11; bind mwheeldown r9"
alias r11 "ec11; cl11; bind mouse1 +on; bind , r12; bind . r10; bind mwheelup r12; bind mwheeldown r10"
alias r12 "ec12; cl12; bind mouse1 +on; bind , r13; bind . r11; bind mwheelup r13; bind mwheeldown r11"
alias r13 "ec13; cl13; bind mouse1 +on; bind , r14; bind . r12; bind mwheelup r14; bind mwheeldown r12"
alias r14 "ec14; cl14; bind mouse1 +on; bind , r15; bind . r13; bind mwheelup r15; bind mwheeldown r13"
alias r15 "ec15; cl15; bind mouse1 +on; bind , r16; bind . r14; bind mwheelup r16; bind mwheeldown r14"
alias r16 "ec16; cl16; bind mouse1 +on; bind , r17; bind . r15; bind mwheelup r17; bind mwheeldown r15"
alias r17 "ec17; cl17; bind mouse1 +on; bind , r18; bind . r16; bind mwheelup r18; bind mwheeldown r16"
alias r18 "ec18; cl18; bind mouse1 +on; bind , r19; bind . r17; bind mwheelup r19; bind mwheeldown r17"
alias r19 "ec19; cl19; bind mouse1 +on; bind , r20; bind . r18; bind mwheelup r20; bind mwheeldown r18"
alias r20 "ec20; cl20; bind mouse1 +on; bind , r21; bind . r19; bind mwheelup r21; bind mwheeldown r19"
alias r21 "ec21; cl21; bind mouse1 +on; bind , r22; bind . r20; bind mwheelup r22; bind mwheeldown r20"
alias r22 "ec22; cl22; bind mouse1 +on; bind , r23; bind . r21; bind mwheelup r23; bind mwheeldown r21"
alias r23 "ec23; cl23; bind mouse1 +on; bind , r24; bind . r22; bind mwheelup r24; bind mwheeldown r22"
alias r24 "ec24; cl24; bind mouse1 +on; bind , r25; bind . r23; bind mwheelup r25; bind mwheeldown r23"
alias r25 "ec25; cl25; bind mouse1 +on; bind , r26; bind . r24; bind mwheelup r26; bind mwheeldown r24"
alias r26 "ec26; cl26; bind mouse1 +on; bind , r27; bind . r25; bind mwheelup r27; bind mwheeldown r25"
alias r27 "ec27; cl27; bind mouse1 +on; bind , r28; bind . r26; bind mwheelup r28; bind mwheeldown r26"
alias r28 "ec28; cl28; bind mouse1 +on; bind , r29; bind . r27; bind mwheelup r29; bind mwheeldown r27"
alias r29 "ec29; cl29; bind mouse1 +on; bind , r30; bind . r28; bind mwheelup r30; bind mwheeldown r28"
alias r30 "ec30; cl30; bind mouse1 +on; bind , r31; bind . r29; bind mwheelup r31; bind mwheeldown r29"
alias r31 "ec31; cl31; bind mouse1 +on; bind , r32; bind . r30; bind mwheelup r32; bind mwheeldown r30"
alias r32 "ec32; cl32; bind mouse1 +on; bind , r33; bind . r31; bind mwheelup r33; bind mwheeldown r31"
alias r33 "ec33; cl33; bind mouse1 +on; bind , r34; bind . r32; bind mwheelup r34; bind mwheeldown r32"
alias r34 "ec34; cl34; bind mouse1 +on; bind , r35; bind . r33; bind mwheelup r35; bind mwheeldown r33"
alias r35 "ec35; cl35; bind mouse1 +on; bind , r36; bind . r34; bind mwheelup r36; bind mwheeldown r34"
alias r36 "ec36; cl36; bind mouse1 +on; bind , r37; bind . r35; bind mwheelup r37; bind mwheeldown r35"
alias r37 "ec37; cl37; bind mouse1 +on; bind , r38; bind . r36; bind mwheelup r38; bind mwheeldown r36"
alias r38 "ec38; cl38; bind mouse1 +on; bind , r39; bind . r37; bind mwheelup r39; bind mwheeldown r37"
alias r39 "ec39; cl39; bind mouse1 +on; bind , r40; bind . r38; bind mwheelup r40; bind mwheeldown r38"
alias r40 "ec40; cl40; bind mouse1 +on; bind . r39; bind mwheeldown r39"
bind / "antion"
==========================================
13、//按 x 键狙击去掉AWP黑圈
sec1 是去掉黑圈
sec2 是恢复黑圈
alias dev1 "developer 1"
alias dev0 "developer 0"
alias snp "snp1"
alias snp1 "+attack2; wait; -attack2;hud_draw 0; alias snp snp2;dev1;echo -[Zoom 1]-;dev0"
alias snp2 "+attack2; wait; -attack2;alias snp snp3;dev1;echo -[Zoom 2]-;dev0"
alias snp3 "+attack2; wait; -attack2;hud_draw 1;weapon_knife;lastinv; alias snp snp1;dev1;echo -[Unzoom]-;dev0"
alias sec "sec1"
alias sec1 "bind mouse2 snp; alias sec sec2;dev1;echo Sniper Blackout LoadeD;dev0"
alias sec2 "bind mouse2 +attack2; alias sec sec1; hud_draw 1;dev1;echo Sniper Blackout UnLoaded;dev0"
bind X sec1
bind X sec2
==========================================
14、自动识别木仓支VEC
alias vec-pis "pistolvec"
alias vec-ump "umpvec"
alias vec-smg "mp5ve"
alias vec-ak "akvec"
alias vec-sig "sigvec"
alias vec-aug "augvec"
alias vec-colt "coltvec"
alias vec-scout "scoutvec"
alias vec-para "paravec"
alias vec-knife "knifevec"
alias vswitch-s "later 0.5 bammo"
alias vswitch-on "vec_switch 1;alias siground vswitch-s"
alias vswitch-off "vec_switch 0;alias siground"
你可以用记事本新建一个cheat.cfg文件,选择你所需要的脚本,复制粘贴到cheat.cfg中,再在作弊器的主cfg文件的最后加入exec cheat.cfg,或者直接复制到作弊器的主cfg里,就可以在游戏中按相应的健使用作弊功能了
怎样才能一木仓暴头
一、VEC(瞄准点)编写简介
在公开的作弊器中常常包含有几个“.CFG”的脚本文件,VEC的脚本定义放在其中。一般命名为vec.cfg,也就是作弊器的瞄准点文件,ogc类作弊器为aimbot.cfg
在此,我来说说如和使用作弊器的武器VEC自动识别功能(vectch设定为1)来加载你的自定义VEC脚本。(需作弊器支持,暴力作弊器一般都有该功能!)
下面以自定义的sg550(B48,CT专用快阻)来进行说明。
----------------------------------
alias sg550-vecSt "avadd 0 21.57 8.45 3.91;avadd 0 22.64 7.1 3"
alias sg550-vecDu "avadd 1 24.8 4.32 4.5;avadd 1 26.35 4.65 3.5"
alias sg550-vec "avclear;sg550-vecSt;sg550-vecDu; recoil 0; nospread 1; txt (B48) sg550's vec"
----------------------------------
第1行语句定义了敌人在站立的情况下,瞄准点的坐标。
第2行语句定义了敌人在蹲下的情况下,瞄准点的坐标。
第3行语句完整定义了sg550的射击参数。
要点:
1、sg550-vec名称不能变。否则,作弊器无法自动调用该VEC。
2、以上的瞄准点还需要recoil(反后坐)、nospread(反子弹散布)等参数的配合,才能达到良好的效果。
3、avclear命令,一定要写在最前面。用来清除你前面所使用武器的瞄准点参数。
4、txt命令是显示提示信息用的。你手中换成sg550,就会在屏幕左偏下的位置显示“(B48) sg550's vec”。如果你还想让其他人都知道,就加上“#say sg550's vec is ready!Be careful your Head!”。
完整语句:alias sg550-vec "avclear;sg550-vecSt;sg550-vecDu; recoil 0; nospread 1; txt (B48) sg550's vec; #say sg550's vec is ready! Be careful your Head!"
设置手动识别vec,也需作弊器支持
打开vec.cfg文件,查找vectch,确定为vectch 1。查找exec vecs,改成exec myvecs。并在后面加入以下脚本语句:
alias pingvecs0 "exec myvecs;bind f4 pingvecs1;txt my normal vecs"
alias pingvecs1 "exec vecs01-30;bind f4 pingvecs2;txt ping 01~30 vecs"
alias pingvecs2 "exec vecs31-60;bind f4 pingvecs3;txt ping 31~60 vecs"
alias pingvecs3 "exec vecs61-90;bind f4 pingvecs4;txt ping 61~90 vecs"
alias pingvecs4 "exec vecs91-120;bind f4 pingvecs5;txt ping 91~120 vecs"
alias pingvecs5 "exec vecs121-150;bind f4 pingvecs6;txt ping 121~150 vecs"
alias pingvecs6 "exec vecs151-180;bind f4 pingvecs0;txt ping 151~180 vecs"
bind f4 "pingvecs1"
这样,我就可以根据与CS服务器连接的PING值,按“F4”键切换我自己定义的针对不同PING速的VEC配置文件。其实PING<200时,差别不大!
二、VEC坐标定义:
1、height(Y轴): 人物高度。以胃部为原点0;0~30之间为有效值范围。
2、forward(Z轴): 前偏移。以人物的右肩相对平行的位置为原点0;0~15之间为有效值范围。
3、right(X轴): 右偏移。
4、duck: 是否蹲下。0处于站立状态,1处于蹲下状态。
例如:alias vec-name "avadd 0 21 6 0;avadd 1 27 4 0"
其中的各部分的定义如下:
avadd(Aim Vector Add):添加瞄准点命令
0 = 对手站立时的瞄准点
1 = 对手蹲下时的瞄准点
21(27) :高度(height)X轴
6(4) :前偏移(forward)Y轴
0(0) :右偏移(right)Z轴
暴头点的最佳范围分别如下:(仅供参考,不同作弊器、不同ping都是有差异的,可以在游戏中打开作弊器的控制台输入 avdraw 1 此时在人物上会出现1个红点,这就是瞄准点,你可以自行修改)
------------------------------------
高度:21.1~22.8(对手站立),26.8~27.4(对手蹲下)。
如果是JooLz系列的作弊器则有所不同,如下。
24.0~24.5(对手站立),28.3~29.5(对手蹲下)。
前偏移:6.3~7.3(对手站立),推荐值6.8。
3.3~4.9或者7.8~8.5(对手蹲下),推荐从7.8~8.5之间选择,推荐值8.3。
右偏移:1.5~2.3或者2.9~3.4(站、蹲都可),推荐值3.1。
------------------------------------
为什么“前偏移”和“右偏移”中有两个取值范围?
这是因为PING值对这两个坐标的影响很大。
第一个取值范围适合PING值低的使用,第二个取值范围适合PING值高的使用。
(具体的PING值分界点应该是多少,我也不太清楚。请大家自己试试!)
× × × × × ×
接下来我们再接着看这个样板。
------------------------------------
alias vec-num "avadd 0 21 6 0;avadd 1 27 4 0"
alias vec-name "avclear;vec_num;recoil 1.43;height_correction 0;cl_bob 0;cl_bobup 0;txt vec tutorial vec;#say Test Vec"
------------------------------------
avclear是用来清除掉你前面所选择的武器的VEC,否则新的VEC无法正常使用。
recoil反后坐力系数:
这个是一个好的VEC的精华之所在。和武器正确对应的recoil,使你所射出的子弹,能保持击中在目标的同一点上。一般取值为 1.5—2
著名的h34d有个比较详细的分段VEC,可以供大家参考:
站着时:
alias avSheadDoc "avadd 0 25 12 0" //standing head DOC
alias avSchest "avadd 0 12 3.5 0" //standing chest
alias avScrotch "avadd 0 -5 -2 0" //standing crotch
alias avSlthigh "avadd 0 -9 -2 6" //standing left thigh
alias avSrthigh "avadd 0 -9 2 -4" //standing right thigh
alias avSlshin "avadd 0 -24 -4 6.5" //standing left shin
alias avSrshin "avadd 0 -22 7 -4" //standing right shin
alias avSlfoot "avadd 0 -32 -7 5" //standing foot left
alias avSrfoot "avadd 0 -33 5 -4" //standing foot right
alias avSheadf "avadd 0 25 5 2" //standing head Abso F
alias avSrarm "avadd 0 13.5 6 6" //Standing right Arm
alias avSlarm "avadd 0 13.5 6 -6" //Standing left Arm
蹲着时:
alias avDheadDoc "avadd 1 30 3 0" //crouching headDoc
alias avDchest "avadd 1 15 -2 -4" //crouching chest
alias avDcrotch "avadd 1 8 -3.5 -2" //crouching crotch
alias avDlthigh "avadd 1 4 -16 2" //crouching left thigh
alias avDrthigh "avadd 1 5 0 -8" //crouching right thigh
alias avDlshin "avadd 1 -5 -12 11" //crouching left shin
alias avDrshin "avadd 1 -5 4 -7" //crouching right shin
alias avDlfoot "avadd 1 -13 -17 5" //crouching foot left
alias avDrfoot "avadd 1 -13 0 -7" //crouching foot right
alias avDheadf "avadd 1 26 3 0.75" //crouching head Abso F
alias avDrarm "avadd 1 17 -2 5" //crouching right Arm
alias avDlarm "avadd 1 17 -2 -5" //crouching left Arm
另一个著名的JOOLZ4.11的更详细
alias othervecs "avadd 0 20 6 2 13.5 6 -6 15 6 6 10 -3 0 -32 -7 5 -32 5 -4.5;avadd 1 20 3 2 17 -2 -5 15 -5 8 -17 0 -8 -15 -16 5"
alias neckhigh "avclear;avadd 0 15.6 5 -1;avadd 1 20 0 0;othervecs" alias neckmedium "avclear;avadd 0 13 6.5 -1;avadd 1 18.5 1 0;othervecs"
alias necklow "avclear;avadd 0 11.5 7 -1;avadd 1 17 2 0;othervecs"
alias chesthigh "avclear;avadd 0 8 8.5 0;avadd 1 10.5 1 0;othervecs"
alias chestmedium "avclear;avadd 0 6 7 0;avadd 1 9 0 0;othervecs"
alias chestlow "avclear;avadd 0 4 5.5 0;avadd 1 7.5 -1 0;othervecs"
alias stomachhigh "avclear;avadd 0 2 4.5 0;avadd 1 6 1 -1.5;othervecs"
alias stomachmedium "avclear;avadd -0.5 0 3.5 0;avadd 1 4.5 -0.5 -1.5;othervecs"
alias stomachlow "avclear;avadd 0 -3 2.5 0;avadd 1 3 -2 -1.5;othervecs"
alias testieshigh "avclear;avadd 0 -5 1.5 0;avadd 1 2 -6 -3;othervecs"
alias testiesmedium "avclear;avadd 0 -8 0.5 0;avadd 1 0 -8 -3;othervecs"
alias testieslow "avclear;avadd 0 -11 -0.5 0;avadd 1 -2 -10 -3;othervecs"
送上VEC编辑器一个:
[attachment=4358]
ΘΘΘ复活脚本类详解ΘΘΘ
BY cs_007
实现所有此类脚本的关键是CS菜单要选数字菜单
alias huo "later 5;.chooseteam;.menuselect 6;.chooseteam;.menuselect 5;.menuselect 5"
alias sigdead "later 2 huo"
放到作弊器的脚本文件里,懂脚本的自己加个开关
死后自动复活,我记的这个功能应该是,最早在点通俱乐部里见到过,放到CS下和作弊器下其实就那么简单.研究的人对比下就知道了,
还可以加入的功能还有很多一键,变过去杀人,变回来杀人,随时变换杀人,
上边的功能大多数老鸟都能实现,只不过个人实现起来的手段不太一样,可操作性也不一样了
以下脚本无需作弊器支持,可用在普通CS比赛中
用法 将下列单个或全部脚本用记事本编辑保存于 a.cfg ,注意按键绑定不要重复,放在CS的cstrike目录下游戏后按~呼出控制台后输入 exec a.cfg 就好了