Introduction :
With Counter-Strike 1.5, if you wanted to automate your weapons and equipment purchases, you needed to write a long and complicated script. For example, to buy a M4A1 + his ammunitions + a Desert Eagle + his ammunitions + a Kevlar & helmet + an HE grenade + a defuse kit, the script to copy in the "autoexec.cfg" file could looks like that :
alias close "wait; wait; wait; slot10; wait; wait; wait; slot10; wait; wait; wait; slot10"
alias M4A1 "buy; menuselect 4; menuselect 3; close; buy; menuselect 6"
alias DEAGLE "buy; menuselect 1; menuselect 3; close; buy; menuselect 7"
alias M4A1DEAGLEGun "M4A1; DEAGLE; buyequip; menuselect 2; buyequip; menuselect 4; buyequip; menuselect 6; close"
Moreover, to assign the "F1" key to your script, you was due to write that into your "config.cfg" file :
bind F1 "M4A1DEAGLEGun"
The 1.6 version gives you the possibility to simplify considerably this routine work (and more bugs come too ). From now on, to buy the same equipment than previously, here is what you need to write in your "config.cfg" file :
bind F1 "m4a1; deagle; primammo; secammo; vesthelm; hegren; defuser"
It's easiest no ?
Commands list :
To simplify your job, here is a buy scripts list sorted by categories. Just choose the weapon or the equipment that you want a shortcut for, and copy the corresponding script into your "config.cfg" file, replacing [key] by the key which will be bound on. Radio messages can be bound too.
Example :
If you want to assign the purchase of a Desert Eagle to the "F1" key, type : "bind f1 "deagle"".
The same one with ammunitions will give : "bind f1 "deagle; secmammo"".
To ask to your teammates to cover you, the command is : "bind f1 "coverme""
Pistols :
Model
|
Cost
|
Script
|
Glock18 Select Fire
|
$ 400.00
|
bind [key] "glock"
|
H&K USP .45 Tactical
|
$ 500.00
|
bind [key] "usp"
|
SIG P228
|
$ 600.00
|
bind [key] "p228"
|
Desert Eagle .50AE
|
$ 650.00
|
bind [key] "deagle"
|
FN Five-Seven
|
$ 750.00
|
bind [key] "fn57"
|
Dual Beretta 96G Elite
|
$ 800.00
|
bind [key] "elites"
|
Shotguns :
Model
|
Cost
|
Script
|
Benelli M3 Super90
|
$ 1700.00
|
bind [key] "m3"
|
Benelli XM1014
|
$ 3000.00
|
bind [key] "xm1014"
|
Sub-Machine Guns:
Model
|
Cost
|
Script
|
Steyr Tactical Machine Pistol
|
$ 1250.00
|
bind [key] "tmp"
|
Ingram MAC-10
|
$ 1400.00
|
bind [key] "mac10"
|
H&K MP5-Navy
|
$ 1500.00
|
bind [key] "mp5"
|
H&K UMP45
|
$ 1700.00
|
bind [key] "ump45"
|
FN P90
|
$ 2350.00
|
bind [key] "p90"
|
Assault Riffles :
Model
|
Cost
|
Script
|
IMI Galil
|
$ 2000.00
|
bind [key] "galil"
|
GIAT Famas
|
$ 2250.00
|
bind [key] "famas"
|
Kalashnikov AK-47
|
$ 2500.00
|
bind [key] "ak47"
|
Colt M4A1 Carbine
|
$ 3100.00
|
bind [key] "m4a1"
|
Sig SG-552 Commando
|
$ 3500.00
|
bind [key] "sg552"
|
Steyr Aug
|
$ 3500.00
|
bind [key] "aug"
|
Precision Riffles:
Model
|
Cost
|
Script
|
Steyr Scout
|
$ 2750.00
|
bind [key] "scout"
|
Sig SG-550 Sniper
|
$ 4200.00
|
bind [key] "sg550"
|
AI Arctic Warfare/Magnum
|
$ 4750.00
|
bind [key] "awp"
|
H&K G3/SG-1 Sniper Rifle
|
$ 5000.00
|
bind [key] "g3sg1"
|
Machine Gun :
Model
|
Cost
|
Script
|
FN M249 Para
|
$ 5750.00
|
bind [key] "m249"
|
Ammunitions :
Model
|
Cost
|
Script
|
Primary
|
$ 50.00
|
bind [key] "primammo"
|
Secondary
|
$ 50.00
|
bind [key] "secammo"
|
Equipments :
Model
|
Cost
|
Script
|
Kevlar vest
|
$ 650.00
|
bind [key] "vest"
|
Kevlar vest & helmet
|
$ 1000.00
|
bind [key] "vesthelm"
|
Flash grenade
|
$ 200.00
|
bind [key] "flash"
|
High explosive grenade
|
$ 300.00
|
bind [key] "hegren"
|
Smoke grenade
|
$ 300.00
|
bind [key] "sgren"
|
Defuse kit
|
$ 200.00
|
bind [key] "defuser"
|
Night vision
|
$ 1250.00
|
bind [key] "nvg"
|
Tactical shield
|
$ 2200.00
|
bind [key] "shield"
|
Radio 1 :
Commands
Radio message
|
Script
|
Cover me
|
bind [key] "coverme"
|
You take the point
|
bind [key] "takepoint"
|
Hold this position
|
bind [key] "holdpos"
|
Regroup team
|
bind [key] "regroup"
|
Follow me
|
bind [key] "followme"
|
Taking fire, need assistance
|
bind [key] "takingfire"
|
Radio 2 :
Group commands
Radio message
|
Script
|
GO GO GO
|
bind [key] "go"
|
Team, fall back
|
bind [key] "fallback"
|
Stick together team
|
bind [key] "sticktog"
|
Get in position and wait for my GO
|
bind [key] "getinpos"
|
Storm the front
|
bind [key] "stormfront"
|
Report in, team
|
bind [key] "report"
|
Radio 3 :
Responses / reports
Radio message
|
Script
|
Affirmative / Roger
|
bind [key] "roger"
|
Enemy spotted
|
bind [key] "enemyspot"
|
Need backup
|
bind [key] "needbackup"
|
Sector clear
|
bind [key] "sectorclear"
|
I'm in position
|
bind [key] "inposition"
|
Reporting in
|
bind [key] "reportingin"
|
Team, let's go out of here
|
bind [key] "getout"
|
Negative
|
bind [key] "negative"
|
Enemy down
|
bind [key] "enemydown"
|
Scripts Optimization :
You can simplify your scripts setting up some aliases combined together. With the new Counter-Strike 1.6 buy menu, you don't need to write a whole page of aliases, because all goes in one line.
Here are two, which will make you save a lot of time :
alias "equip" "primammo; secammo; vesthelm; hegren; flash; flash; defuser"
To buy your equipment after you have chosen and bought your weapons.
alias "restock" "primammo, secammo; hegren; flash; flash; defuser"
For "restocking" yourself if you survive the last round.
Get back to our example, a M4A1 + his ammunitions + a Desert Eagle + his ammunitions + a kevlar vest & helmet + an explosive grenade + two flash grenades + a defuse kit :
bind f1 "m4a1; deagle; primammo; secammo; vesthelm; hegren; flash; flash; defuser"
That works good, but that gives you too much writing. There is more simply, using your new scripts will give :
bind f1 "m4a1; deagle; equip"
bind f2 "ak47; deagle; equip"
As you can see, doing that lines, saves typing later. But there is more simply.
Even if the M4A1 and the AK-47 are in different menus according you are Terrorist or Counter-Terrorist, you can regroup them in the same script :
bind f1 "m4a1; ak47; deagle; equip"
In this way, if you are Terrorist, you can't buy a M4A1, but by pressing the "F1" key, you will get an AK-47, a Desert Eagle and all the stuff to keep you alive.
On the other hand, if you are Counter-Terrorist, since you can't buy an AK-47, the M4A1 will be selected with all the needed equipment.
All binds must go in the "config.cfg" file, all aliases must go in the "userconfig.cfg" file, which replace the old "autoexec.cfg" file.
If you already have an "autoexec.cfg" file, you can keep it. If not, you have to make a new text file (with windows notepad) which you will name "userconfig.cfg". It is in this file that you will write your scripts, put it in the directory where is your "config.cfg" file.
You can find your "config.cfg" file in this directory : "[Drive]\Program Files\Steam\SteamApps\your_e-mail\Counter-Strike\Cstrike\"
or in this one : "[Drive]\Program Files\Steam\SteamApps\Your_e-mail\Counter-Strike\Cstrike_Your-Country\".
If in spite of all these explanations you still don't want to start scripts writing, try my script generator.
.../...
|