Valve.rc: Difference between revisions
Jump to navigation
Jump to search
Note:stuffcmds runs command line arguments starting with
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
startupmenu | startupmenu | ||
}} | }} | ||
{{note|stuffcmds runs command line arguments starting with <code>+</code>}} | |||
[[Category:Plain text files]] | [[Category:Plain text files]] | ||
[[Category:Glossary]] | [[Category:Glossary]] |
Latest revision as of 04:33, 6 April 2025

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024
Valve.rc is a file that lies inside the game / mod's <game>/cfg/
folder. It is a file that automatically executes convars on game launch, like 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 if you're using background images instead of maps startupmenu

+