Valve.rc: Difference between revisions
Jump to navigation
Jump to search
Craziestdan (talk | contribs) (Created page with 'Valve.rc is a file that lies inside the game / mod's cfg folder. It is a file that automatically executes convars on game launch, identical to that of the autoexec.cfg. …') |
Craziestdan (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
To create one simply create a text document and save it with a .rc extension. | To create one simply create a text document and save it with a .rc extension. | ||
Example syntax: | |||
<pre> | <pre> | ||
// load the base configuration | // load the base configuration |
Revision as of 22:33, 4 July 2009
Valve.rc is a file that lies inside the game / mod's cfg folder. It is a file that automatically executes convars on game launch, identical to that of the autoexec.cfg.
To create one simply create a text document and save it with a .rc extension. Example syntax:
// load the base configuration //exec default.cfg // Setup custom controller exec joystick.cfg // run a user script file if present exec autoexec.cfg // // stuff command line statements // stuffcmds // display the startup level startupmenu