XHost Services   
site web

Make your own config file

The config file is a file with .cfg extension which contains some parameters/settings that will be used during the game. It may contains some commands from the for example, which are associated with some keys from the keyboard for easy of use during the game.
The game is loading initially all those parameters from the config.cfg file which is loaded when the game starts. This config.cfg file may be loaded at any time from the console and it can be personalized. The command which loads a config file is /exec name.cfg [where "name" can have any value]. If you encounter problems to config file execution, be sure that the path where it is placed is C:/SIERRA/Half-Life/cstrike/name.cfg.

There are two ways to save a config file:

- configure the game settings from the meniu and after that you enter in console and save the settings with the following command: /writecfg name [this file will be saved in C:/SIERRA/Half-Life/cstrike/nume.cfg path]
- access the nume.cfg file and edit every option manually.

The manually file editing is the most efficient way because there are parameters that dows not appear in the game menu [see the Console Commands section].
If you want to automatically load a config file when the game starts, you have to create a nre file called autoexec.cfg in C:/SIERRA/Half-Life/cstrike/ directory, which should contain the following line: exec name.cfg

* In order to have access to the game console and to enter directly to the Half-Life Counter-Strike Mod, you have to create a shortcut to the hl.exe file from the Half-Life directory. After the creation of the shortcut on the Desktop, right click on it and select Properties. Write down the following string in the Target field:
C:/SIERRA/Half-Life/hl.exe -console -game cstrike
where C:/SIERRA/Half-Life is the path to your Half-Life installation directory.