Sunday, October 4, 2009

Counter Strike 1.6 Userconfig.cfg Commands

Firstly, let me explain what the userconfig.cfg file is,

The .cfg files contains list of console commands which should be executed before showing the console even. Counter Strike game when loads accesses a config.cfg file which contains all the required settings of the game. The Config.cfg file contains "exec userconfig.cfg" as its last line to enable Userconfig.cfg file too. So, the Config.cfg contains general settings and Userconfig.cfg file contains user settings. The users commands can also be dumped in the config.cfg file, but it looks nice to have two seperate files.

Also, if number of players are playing on same PC, they can manage their own userconfig files to change all the settings for themselves. These may appear like this,

Userconfig_Temp.cfg
name "Temp"
con_color "25 255 25"
bind "F3" "exec lsmain.cfg"
bind "F4" "exec lsplugins.cfg"
bind "F5" "snapshot"
bind "F6" "save quick"
bind "F7" "load quick"
bind "F8" "exec sensitivity.cfg"
bind "F10" "quit prompt"
bind "F11" "exec demorecord.cfg"
bind "F12" "exec demoplay.cfg"
Userconfig_Toph.cfg

name "Toph"
con_color "50 255 50"

bind "F3" "exec lsmain.cfg"
bind "F4" "exec tophbuy.cfg"
bind "F5" "snapshot"
bind "F6" "save quick"
bind "F7" "load quick"
bind "F8" "exec sensitivity.cfg"
bind "F10" "quit prompt"
bind "F11" "exec demorecord.cfg"
bind "F12" "exec demoplay.cfg"

Userconfig_MAC.cfg
name "Temp"
con_color "25 255 25"

bind "F3" "exec lsmain.cfg"
bind "F4" "exec macbuy.cfg"
bind "F5" "snapshot"
bind "F6" "save quick"
bind "F7" "load quick"
bind "F8" "exec sensitivity.cfg"
bind "F10" "quit prompt"
bind "F11" "exec demorecord.cfg"
bind "F12" "exec demoplay.cfg"
Now each user when starts playing, executes his config first and then proceeds.

No comments:

Post a Comment