Console variable/en

From Valve Developer Community
Jump to: navigation, search

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.