Valve.rc: Difference between revisions
Jump to navigation
Jump to search
Craziestdan (talk | contribs) mNo edit summary |
Craziestdan (talk | contribs) mNo edit summary |
||
Line 17: | Line 17: | ||
stuffcmds | stuffcmds | ||
// display the startup level | // display the startup level, remove this for background images instead of maps | ||
startupmenu | startupmenu | ||
</pre> | </pre> | ||
[[Category:Glossary]] | [[Category:Glossary]] |
Revision as of 22:37, 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 create a text document and save it with a .rc extension inside your cfg folder. Simply place your convars inside the file with each convar on a separate line. Your valve.rc should contain these convars if you're making one:
// 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, remove this for background images instead of maps startupmenu