Console variable: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(badly moved multipage rest of history at Archived Page History/Console variable/en)
m (Not really stub; just a small page that covers everything it needs to)
 
Line 9: Line 9:


[[Category:Glossary]]
[[Category:Glossary]]
{{stub}}

Latest revision as of 19:30, 31 July 2024

English (en)Türkçe (tr)Translate (Translate)

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.