Page 1 of 1

Source developer console settings

Posted: Sat Apr 20, 2013 12:52 pm
by lnrrgb
In the wiki, there are specific console commands for some games. Do I have to enter those commands each time I fire up a game, or can I save those somehow with another command? Just thought I'd ask first, and now go try to find an answer - which I will come back an edit in, once I know for sure.

Cuz I am just following directions that I find. I can't tell what those commands are doing, and so can't tell if they stay valid from one game to the next.

edit: well I found this --

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

I guess that is how it is done??? Is there a better way?