Cvarlist: Difference between revisions
Jump to navigation
Jump to search
Bug:All (or most) console variables with description longer than ~128 characters will get it's description cut-off. This issues affects in most Source games, but was fixed in some games such as Counter-Strike: Source, and in all Source 2 games (example: Counter-Strike 2)
mNo edit summary |
(Replaced entity template with this is a.) |
||
Line 1: | Line 1: | ||
{{ | {{This is a|cvar|name=cvarlist}}{{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. | ||
For instance: | For instance: |
Revision as of 00:36, 5 October 2023
cvarlist
is a cvar available in all Source games.[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.
For instance:
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). Not all games will have this however, or they might be non-functional.

See the issue below:
See the example from the game that was not affected:
[todo tested in ?]