CFG

From Valve Developer Community
Revision as of 14:03, 22 April 2006 by Jupix (talk | contribs) (update)
Jump to navigation Jump to search

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