Friday November 27 2009
Counter-Strike
Official Design Partner
Story Header

Counter-Strike: CS101: Making a UserConfig

By: David Light - Published January 31, 2006 at 5:37 PM EST - Writer Archive
Counter Strike 101 continues with an introduction on how to make a user configuration.

What is a userconfig?

Before we can delve into what a userconfig is, we have to understand what a config is. In Counter-Strike, this is the file in which all your key binds and commands are stored. If you were to bind “x” to make you jump, and exit CS, “x” would be in your config file as a bind for jumping. The config file itself is labeled “config.cfg”, cfg standing for configuration.

A user config is very similar to a config in that it is a location in which commands and binds can be stored. It is a separate entity to config.cfg, labeled as userconfig.cfg.

Why do I need one?

The difference between a userconfig and a config is that a userconfig is executed separately and can not be modified by the server. Many players make a habit of putting all of their controls (movement binds) into a userconfig and taking it with them to LAN events.

How do I make one?

Making one is pretty simple; it’s merely a 7 step process.

1) Go to Start -> All Programs -> Accessories -> Notepad.

2) Enter in your desired commands and binds one line at a time.

3) Save the file as “userconfig.cfg” without the quotations.

4) Move the file to your default cstrike folder. Your folder may vary, but for most people the folder can be found here (C:\Program Files\Steam\SteamApps\YOUR-EMAIL\counter-strike\cstrike).

5) Go into your config.cfg, which is located in your cstrike folder. Right click the file and select “open with”. From the list provided, choose Notepad.

6) Your config.cfg should now be open and your in-game binds should be visible. From here, navigate to the bottom of the document and add the following line without the quotations.

“exec userconfig.cfg”

This forces your game to automatically execute your userconfig file upon game launch (You can also do this manually by opening the console and typing “exec userconfig.cfg”).

7) Save and exit the config file. You’re now ready to launch CS with your newly created userconfig set to automatically launch.

I don't see the .cfg extension! What's going on?

If you can't see the .cfg extension, don't worry! This is a common issue, and in fact it's not a problem at all; it's just a difference in folder view types. Three steps should solve this little qualm.

1) Open up your cstrike folder and select "Tools" from the top navigation bar.

2) Once you select "Tools" a drop down box should appear. Select "Folder Options" from that drop down list.

3) Select the "View" TAB on the top, scroll down to "Hidden files and folders" and uncheck the box that says "Hide extensions for known file types".

You should now be able to see not only the userconfig and config extensions, but extensions in general as well, such as .jpg or .bmp for picture files or .mp3 for music.

Continued (1/2) »
Page:

User Comments

- 80 Comments

» This story has had 80 comments posted since January 31, 2006 at 5:37 PM EST.

Latest Poll