CFG: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(clean up)
Line 1: Line 1:
Cfg files can be found everywhere and are not specific to Source. In this case it is an abbreviation of "Configuration"<br/>
[[category:Glossary]]
[http://filext.com/detaillist.php?extdetail=cfg&goButton=Go external info on .cfg]
'''CFG''' files can be found everywhere and are not specific to Source. In this case it is an abbreviation of "Configuration"<br/>


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 simple 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. E.g:<br/>
<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>
They can be run from the console using <code>exec filename</code> where the filename is the name of the config file, including its .cfg  extention.


Would you like to know more? [[Mini-mod_tute|See the tutorial.]]
----
''See also''


[[category:Glossary]]
[[Mini-mod tutorial]]
 
[http://filext.com/detaillist.php?extdetail=cfg&goButton=Go External info on .cfg]

Revision as of 13:49, 2 July 2005

CFG files can be found everywhere and are not specific to Source. In this case 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 simple text editor.

They must be placed in the game's cfg folder. E.g:
\steam\SteamApps\[user name]\half-life 2\hl2\cfg

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


See also

Mini-mod tutorial

External info on .cfg