Category:Cvars: Difference between revisions

From Jedi Knight Wiki | JKHub
(Created page with "Short for Console Variable or Client Variable, a cvar is a variable that can be set via typing it into the console, followed by a valid value. (For example "g_game...")
 
m (Protected "Category:Cvars" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Short for [[Console]] [[Variable]] or [[Client]] Variable, a cvar is a variable that can be set via typing it into the console, followed by a valid value. (For example "g_gametype 0" would set the [[Category:Gametypes|gametype]] to [[FFA]])
Short for [[Console]] Variable, a cvar is a variable that can be set via typing it into the console, followed by a valid value. (For example "g_gametype 0" would set the gametype to [[FFA]]).
Cvars can be set with a number of different modifiers. Just typing the cvar defaults to "set":
 
'''set''': change the cvar value.
 
'''seta''': set the cvar as having the Archive flag, meaning it gets stored in the configuration.
 
'''setu''': set the cvar as having the [[User Info]] flag, which has no real noted effect.
 
'''sets''': set the cvar as having the [[Server Info]] flag, meaning the cvar is displayed in the Advanced Info section of the server browser.
 
[[Category:Modding_categories]]

Latest revision as of 11:46, 6 June 2015

Short for Console Variable, a cvar is a variable that can be set via typing it into the console, followed by a valid value. (For example "g_gametype 0" would set the gametype to FFA). Cvars can be set with a number of different modifiers. Just typing the cvar defaults to "set":

set: change the cvar value.

seta: set the cvar as having the Archive flag, meaning it gets stored in the configuration.

setu: set the cvar as having the User Info flag, which has no real noted effect.

sets: set the cvar as having the Server Info flag, meaning the cvar is displayed in the Advanced Info section of the server browser.

Pages in category "Cvars"

The following 8 pages are in this category, out of 8 total.