Source developer console settings

The place for all discussion of the Oculus Rift compatible open source 3D drivers.
Post Reply
lnrrgb
Binocular Vision CONFIRMED!
Posts: 294
Joined: Sat Jun 02, 2007 1:29 pm
Location: Wenatchee, WA.

Source developer console settings

Post 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?
Post Reply

Return to “Development / General Discussion”