CFG: Difference between revisions
Jump to navigation
Jump to search
(update) |
mNo edit summary |
||
Line 3: | Line 3: | ||
.'''cfg''' files can be found everywhere and are not specific to [[Source]]. It is an abbreviation of ''configuration''. | .'''cfg''' files can be found everywhere and are not specific to [[Source]]. It is an abbreviation of ''configuration''. | ||
In Source games, a | In Source games, a config file can be executed to perform a list of console commands. CFG files can be written in Notepad or any other plain text editor. | ||
They must be placed in the game's cfg folder, for example <code> | They must be placed in the game root's cfg folder, for example <code>cstrike\cfg</code>. | ||
They can be run from the console using <code>exec | They can be run from the console using <code>[[exec]] <cfgname></code> where filename is the name of the config file, excluding its .cfg extention. Config files can be placed in subdirectories of the cfg folder. The exec command would require you to include the subdirectories in the command. | ||
==See also== | ==See also== | ||
* [[Mini-mod tutorial]] | * [[Mini-mod tutorial]] | ||
* [[RC]] | |||
* [http://filext.com/detaillist.php?extdetail=cfg&goButton=Go External info on .cfg] | * [http://filext.com/detaillist.php?extdetail=cfg&goButton=Go External info on .cfg] | ||
[[category:Glossary]] | [[category:Glossary]] |
Revision as of 20:23, 15 May 2006
.cfg files can be found everywhere and are not specific to Source. It is an abbreviation of configuration.
In Source games, a config file can be executed to perform a list of console commands. CFG files can be written in Notepad or any other plain text editor.
They must be placed in the game root's cfg folder, for example cstrike\cfg
.
They can be run from the console using exec <cfgname>
where filename is the name of the config file, excluding its .cfg extention. Config files can be placed in subdirectories of the cfg folder. The exec command would require you to include the subdirectories in the command.