CFG: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Correction, the .cfg extension is not needed, I have just confirmed this.)
mNo edit summary
Line 10: Line 10:
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]

Revision as of 01:30, 30 August 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 filename is the name of the config file, excluding its .cfg extention.

See also

Mini-mod tutorial

External info on .cfg