Here's a program that can help you bind the purchase of your favorite weapons and equipment etc under a single key,
it is a very easy program to use. If you do not know how to write binds or you are too lazy to learn it, then I highly recommand this program.
Click here to download CStools 1.3 (3.79mb).
But if you really want to learn how to write binds,
then I urge you to read on!!
To use binds, the very first thing
you should do is to activate the console. The console can be brought
down by pressing the ` or ~ on your keyboard. If after you pressed
it, and nothing happens, this means your console is not activated
yet. To activate, first create a shortcut to counter strike, if
you haven't already done so. Right click on it and select properties.
Inside the target box, type "- console" (without the quotes) at
the end of the line. If you want the binds to load automatically
everytime you start the game (so that you don't have to type the
binds in the console everytime you play), type "-game cstrike -console"
at the end of the line.
A bind is when you assign a command
to a keypress. Open the file config.cfg using a text editor (eg.
notepad), inside you can write your own binds. The binds are written
in this format:
bind “key” “action”
if more then one action is being perform:
bind “key” “action1;action2;action3;…;actionx”
For example, if you want to bind the key "v" to switch to your knife,
here's what you should do:
bind "v" "weapon_knife"
To see a list of bindable keys and a command list, please scroll
down to the end of this page.
Alias is used for grouping a group of
action under a name, here's the format of an alias:
alias “aliasname” “action1;action2;action3;…;actionx”
For example, if you want to throw a grenade, and quickly switch
back to your previous weapon, here's how you would write your script:
alias "use_grenade" "weapon_hegrenade'+attack"
alias "use_weapon" "-attack;wait;lastinv"
bind "v" "use_grenade;use_weapon"
When you press the v button, it will throw an HE grenade and it
will pull out your previous weapon. You may have notice that I have
put "wait" in between, the reason is with a whole line of command,
sometimes it will cause lagging and, often times the command might
not perform at all.
Press and Release command
This command is when you add a + or
- sign in front of an action. For example, +attack will fire your
gun, and -attack will stop firing.
Menu Select And Slot
The menuselect command allows you to
select an item in the menu. For example, buying a gun, you would
select the gun in the buy menu. Or selecting a radio message. The
slot10 is the command to close the opened menu. Here's an example
on how you would write a script on buying a desert eagle by just
pressing the "v" button.
alias “buy_deagle” “buy; menuselect 1; menuselect 3; slot10”
bind "v" “buy_deagle”
The last command I'm going to introduce
is the wait command. This command is very helpful when you have
a long line of command, it is wise to put "wait" in between the
line, because when you have a whole line of command it will cause
lagging and, often times the command might not perform at all. In
this case, using the wait command will solve the problem.
||Counter Strike keys
||"mouse1" "mouse2" "mouse3"
||"enter" "space" "shift" "ctrl" "alt" "backspace"
||"ins" "del" "home" "end" "pgdn" "pgup"
||"leftarrow" "rightarrow" "uparrow" "downarrow"
||"kp_ins" "kp_del" "kp_end" "kp_downarrow" "kp_pgdn"
"kp_leftarrow" "kp_5" "kp_rightarrow" "kp_home" "kp_uparrow" "kp_pgup" "kp_slash" "kp_minus"
||"," "." "/" "\" ";" "’" "[" "]" "-" "="
|Buy equipment menu
||setinfo lefthand 1
||setinfo lefthand 0
|Public talking mode
|Radio menu 1
|Radio menu 2
|Radio menu 3
|Secondary weapon function
|Use a switch/hostage
|Wait one game tick
|Weapon slot select