CFG: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(update)
Line 1: Line 1:
[[category:Glossary]]
{{wrongtitle|title=cfg}}
'''CFG''' files can be found everywhere and are not specific to Source. In this case it is an abbreviation of "Configuration"<br/>
 
.'''cfg''' files can be found everywhere and are not specific to [[Source]]. It is an abbreviation of ''configuration''.


In Source games, a .cfg file can be executed to perform a list of console commands.
In Source games, a .cfg file can be executed to perform a list of console commands. CFG files can be written in Notepad or any other plain text editor.
CFG files can be written in Notepad or any other simple text editor.


They must be placed in the game's cfg folder. E.g:<br/>
They must be placed in the game's cfg folder, for example <code>\steam\SteamApps\[user name]\half-life 2\hl2\cfg</code>.
<code>\steam\SteamApps\[user name]\half-life 2\hl2\cfg</code>


They can be run from the console using <code>exec filename</code> where filename is the name of the config file, excluding its .cfg extention.
They can be run from the console using <code>exec [filename]</code> where filename is the name of the config file, excluding its .cfg extention.


==See also==
==See also==


[[Mini-mod tutorial]]
* [[Mini-mod tutorial]]
* [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]]

Revision as of 14:03, 22 April 2006

Template:Wrongtitle

.cfg files can be found everywhere and are not specific to Source. It is an abbreviation of configuration.

In Source games, a .cfg 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 \steam\SteamApps\[user name]\half-life 2\hl2\cfg.

They can be run from the console using exec [filename] where filename is the name of the config file, excluding its .cfg extention.

See also