Cvarlist: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
Example:For instance, 
 
Bug:All (or most) console variables will have its description cut off if it is longer than ~128 characters. However, this is not an issue if the 
		
	
 (Little cleanup. Added separate syntax for gldsrc and src.)  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
{{LanguageBar}}  | {{LanguageBar}}  | ||
{{this is a|console command|name=cvarlist|engine=  | {{this is a|console command|name=cvarlist|engine=GoldSrc|engine1=Source}}    | ||
This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file.  | This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file.  | ||
Latest revision as of 11:35, 11 May 2025
cvarlist  is a   console command  available in all 
 GoldSrc and 
 Source games. 
This console command generates a list of all console commands for the game it is run from. Parameters allow the generation of a partial list and saving the list to a file.
Not all games have this command, however, or even if, it might be non-functional.
Syntax
cvarlist : List all cvars cvarlist ? : Shows this help cvarlist <prefix> : List cvars starting with 'prefix' cvarlist log <prefix> : Logs cvars to file "cvarlist.txt" in the gamedir
cvarlist cvarlist <prefix> cvarlist <prefix> log <filename>
cvarlist ai log ai_commands.txt will display a list of all console commands beginning with "ai", and will record that list to "ai_commands.txt" in the game's root directory.
help command was used instead. This issue affects most Source 1 games, but was fixed in some games such as Counter-Strike: Source, and in all Source 2 games such as Counter-Strike 2.
From 
 Postal III - console.log:
From 
 Counter-Strike: Global Offensive - using cvarlist log command:
From 
 Counter-Strike: Source - console.log:
See also
- Developer console
 - Console Command List
- Category:Lists of console commands and variables - List of console commands and variables for specific games.
 
 
Categories: 
- GoldSrc base console commands
 - Source base console commands
 - Pages with Source 2004 bugs
 - Pages with Source 2006 bugs
 - Pages with Source 2007 bugs
 - Pages with Source 2009 bugs
 - Pages with Left 4 Dead engine branch bugs
 - Pages with Alien Swarm engine branch bugs
 - Pages with Portal 2 engine branch bugs
 - Pages with CS:GO engine branch bugs