Template:Archived page history/Console variable/en: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎top: clean up, replaced: {{Language subpage → {{langsp)
Line 1: Line 1:
{{Language subpage}}
{{langsp}}
A '''console variable''', frequently shortened to '''cvar''', and occasionally '''[[ConVar]]''', is a runtime [[variable]] which can be modified by the user in the [[developer console]], in addition to being modifiable by game code.
A '''console variable''', frequently shortened to '''cvar''', and occasionally '''[[ConVar]]''', is a runtime [[variable]] which can be modified by the user in the [[developer console]], in addition to being modifiable by game code.



Revision as of 02:00, 4 January 2024

Flag-white.pngEnglish (en)

A console variable, frequently shortened to cvar, and occasionally ConVar, is a runtime variable which can be modified by the user in the developer console, in addition to being modifiable by game code.

In id Tech 2 id Tech 2 and GoldSrc GoldSrc, cvars use the C struct cvar_t.
Source Source replaces this with the C++ class ConVar.

For a list of cvars, see Category:Console variables.