Save - Saves the current game under the savename specified. To disable all autosaving see the Conclusion section of this guide. If set to 0, game will not save whenever a new level starts, but may still save periodically at certain trigger points within a level. Sv_autosave - If set to 1, allows the game to automatically save your progress at level transitions. Will not work if autosave is completely disabled as per the instructions in the Conclusion section. Also shows the current build of the Source engine being used.Īutosave - Saves the current game to the autosave slot. The version number of the HL2 executable is effectively the version number for the entire game. Version - Shows the current version of the game. echo banana prints the text banana in the console). The file must be a plain text file with the name filename.cfg and reside in the same directory as config.cfg.Ĭlear - Clears all text from the console.Įcho - Outputs the specified string to the console (e.g. Help - Provides any available help text for the specified cvar.įind - Finds cvars with the specified string in their name or help text.ĭifferences - Shows all the cvars which are not at their default values, displaying which have been changed.Įxec - Executes all valid commands within the specified configuration file. If one or more characters are also entered, cvarlist will list all commands starting with those letter(s). In general the smoothed fps counter is best for viewing frameratesĬvarlist - If entered by itself this command generates a list of all the command variables (cvars).
#Half life console commands not working full
To save you time, you can download the full list (current as of HL2: Episode 2) from here: Source_Cvarlist.zip (50KB). To see specific command variables starting with a particular letter or letters, for example to see all cvars starting with 'a', type cvarlist a, or to see all cvars starting with mat_, type cvarlist mat_. In some cases I simply didn't know what a command variable does despite persistent testing, so I have left the command out rather than take an uneducated guess.įor a complete list of every command variable in the Source Engine go to the command console and type cvarlist. Many command variables are designed primarily for use by the developers in debugging the game for example, or appear to have no impact on the game at all, and so have been omitted. I've refined the list specifically to only include the most relevant and useful working commands. The list does not even remotely cover every command variable available in the Source Engine, as there are over 2600 of them. This section lists out all of the major command variables for HL2 and Source Engine games, grouped by general function, and provides descriptions for each of them.
Half Life 2 & Source Engine Tweak Guide Advanced Tweaking (Pt.2)