Cvarlist

From Valve Developer Community
Revision as of 00:00, 5 October 2023 by Kr0tchet (talk | contribs) (This bug was probably never seen before or something, cvarlist generated on all engines except Source 2013 will have it's description cut off after ~128 characters.)
Jump to navigation Jump to search

Template:Entity[confirm] 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.

Icon-Bug.pngBug:All (or most) console variables with description longer than ~128 characters will get it's description cut-off. This issues affects all engines except Source 2013 Source 2013.  [todo tested in ?]

For instance:

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).