Home Β» CS 1.6 Binding Guide
CS 1.6 Binding Guide
A few words about config.cfg
The config.cfg file is automatically loaded after autoexec.cfg and contains the default player settings. It is this file that is constantly overwritten and changes its values if you change any indicators in the game itself. The userconfig.cfg file is player configuration file. The execution link is in the last line of the config.cfg file: exec userconfig.cfg
userconfig.cfg, unlike config.cfg, can take any name, even numeric, for example:
exec 123.cfg
123.cfg file will be executed
BIND β A command that binds a specific command or series of commands to a specific key. To assign several commands to a key, use the β;β to separate them.
Β
BINDTOGGLE β On / Off command When assigned to a key, assigns the command value 0 or 1 in turn.
Β
TOGGLE β A variable entered before the console command to assign a key to alternate enumerated values.
Β
INCREMENTVAR β A variable entered before the console command to assign the key to sequentially toggle values with a certain step from the specified minimum to the specified maximum.
Β
ALIAS β A command that creates an alias for a specific command or set of commands.
Β
Important:
The BIND command (reserved keyword) binds (assigns) a key to execute a console command or a group of commands.
The ALIAS command (reserved keyword) creates a new console command from an existing command or group of commands.
Since the commands βBINDTOGGLE, TOGGLE, and INCREMENTVARβ no longer support CS1.6 I will use the scripts.
bind βmβ βteammenuβ
The βmβ key will execute the βteammenuβ console command.
bind βF10β βdrop; say bb all; quitβ
The F10 key will execute a sequence of three commands:
a weapon will be thrown (1-drop), a message to the general chat
βbb allβ (2-say bb all), the game will be quit (3-quit).
bind βnβ βnet_graph 3β
The βnβ key will execute the βnet_graphβ console command with a value of 3.
By the way if you just make a bind you can write it without quotes like this: bind n net_graprh 3
bindtoggle βF3β βcl_righthandβ
no longer support CS1.6 I will use the scripts
The script:
alias left βcl_righthand 0; bind F3 rightβ
alias right βcl_righthand 1; bind F3 leftβ
bind βF3β βleftβ
The βF3β key will enable / disable the cl_righthand command (will switch your hand)
bind βF4β βtoggle volume 0.1 0.5 1β
The script:
alias first βvolume 0.1; bind F4 secondβ
alias second βvolume 0.5; bind F4 thirdβ
alias third βvolume 1; bind F4 firstβ
bind βF4β βfirstβ
The βF4β key will toggle the value of the volume command 0.1 / 0.5 / 1
By the way: You may not use quotes if you are using a single command
bind βF4β βfirstβ == Right
bind F4 first == Right
bind βF4β βfirst; secondβ == Right
bind βF4β first; second == Wrong
bind F4 first; second == Wrong
bind βmouse3β βincrementvar sensitivity 1.0 5.0 0.2β
The same like #4 and #5 Try to write yourself
Pressing the mouse wheel (mouse3) will increase the sensitivity
value in increments of 0.2 starting from the current value in the config
and increasing by 0.2 each time you press mouse3 in the range of values from 1 to