cvarlist
Jump to navigation
Jump to search

Warning:The {{{engine}}} parameter is inconsistent with the name defined by the {{gldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc.
Warning:The {{{engine1}}} parameter is inconsistent with the name defined by the {{src}} template. This can most likely be fixed by setting the value of the {{{engine1}}} parameter to Source.
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


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:
- Gldsrc base console commands
- Src 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