Autoexec

From Valve Developer Community
Revision as of 14:07, 23 January 2013 by Zhongyi1225 (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
简体中文

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