Autoexec: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with 'Autoexec is a config file for launching a game with set convars that will get automatically executed on launch. To create an autoexec create a text document named 'autoe…')
 
mNo edit summary
Line 1: Line 1:
Autoexec is a [[config]] file for launching a game with set [[convar]]s that will get automatically executed on launch.
Autoexec is a [[CFG]] file for launching a game with set [[convar]]s that will get automatically executed on launch.


To create an autoexec create a text document named 'autoexec' and save it with a .cfg extension. Place it inside your game / mod's cfg folder. Place all the convars inside the file with each convar on a seperate line. For example:
To create an autoexec create a text document named 'autoexec' and save it with a .cfg extension. Place it inside your game / mod's cfg folder. Place all the convars inside the file with each convar on a seperate line. For example:

Revision as of 22:22, 4 July 2009

Autoexec is a CFG file for launching a game with set convars that will get automatically executed on launch.

To create an autoexec create a text document named 'autoexec' and save it with a .cfg extension. Place it inside your game / mod's cfg folder. Place all the convars inside the file with each convar on a seperate line. For example:

cl_showfps 1
maxplayers 1
sv_cheats 1