List of CVARs
Enemy Territory: Legacy, just like the original Wolfenstein: Enemy Territory, offers a wide range of console variables, so-called CVARs. These are options that can be used to customize the game’s behaviour, setup and appearance to accommodate the player’s needs or preferences. Most can be set from the menu. But all can be set from inside a configuration file _(.cfg)_ , the command line or, in most cases from the console.
Version goes here:
Table of contents
Miscellaneous CVARS
CVAR Types
User cvars
dedicated
Type |
|
Default |
0 |
Description |
Specify if the server should be “dedicated” for LAN or Internet play (no client) |
Value |
Effect |
---|---|
0 |
Hidden |
1 |
LAN |
2 |
Internet |
etVersion
Type |
|
Default |
“” |
Description |
Read-only cvar to see the version of the game |
logfile
Type |
|
Default |
0 |
Description |
Enables logging of output to etconsole.log |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enable logging, buffer log |
2 |
Enable logging, flush after each print |
Not to be confused with the cvar cg_logfile
name
Type |
|
Default |
“ETLegacyPlayer” |
Description |
Used to set the name you play with. Colors can be used. See color guide |
rate
Type |
|
Default |
25000 |
Range |
any positive integer |
Description |
Rate by which resources are downloaded from the server when http/ftp is not available |
password
Type |
|
Default |
“” |
Description |
The value is send to the server when connecting to authenticate with password protected servers |
sensitivity
Type |
|
Default |
5 |
Range |
any positive decimal |
Description |
Defines the sensitivity of mouse movements. E.g. looking around. Higher is faster |
snaps
Type |
|
Default |
1.0 |
Range |
20 - server sv_fps value |
Description |
Determines how many times per second the server sends updates to your client |
timedemo
Type |
|
Default |
0 |
Description |
When enabled, enables benchmarking on demo playback by processing snapshots as fast as possible, and outputting statistics afterwards. |
Developer cvars
activeAction
Type |
|
Default |
“” |
Description |
For the first frame of active play, execute the contents of activeAction. This is to allow scripting a timedemo to start right after loading. |
developer
Type |
|
Default |
0 |
Description |
Toggles developer mode. Prints more info to console and provides more commands. |
fixedtime
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Modifies time for debugging purpose, in milliseconds. Effectively cant be lower than 1. |
journal
Type |
|
Default |
0 |
Description |
When enabled, writes events and its data to “journal.dat” and journaldata.dat” |
timescale
Type |
|
Default |
1.0 |
Range |
any positive decimal |
Description |
Scale of which time passes by |
showdrop
Type |
|
Default |
0 |
Description |
Toggles information of dropped packet traffic |
showpackets
Type |
|
Default |
0 |
Description |
Toggles information of packet traffic |
version
Type |
|
Default |
“ET 2.60b ” CPUSTRING ” May 8 2006” |
Description |
Contains the installed version. CPUSTRING is platform specific. |
viewlog
Type |
|
Default |
0 |
Description |
Used for dedicated server to control the state of viewlog |
Value |
Effect |
---|---|
0 |
Hidden / Disabled |
1 |
visible |
2 |
Minimized |
CG_ (Client Game)
CVAR Types
User cvars
cg_activateLean
Type |
|
Default |
0 |
Description |
Lean using left/right strafe keys when |
cg_allowGeoIP
Type |
|
Default |
1 |
Description |
Allows sending your geolocation based off your IP address to the server |
The location is used to display countryflags on scoreboard, and append country to connection message
cg_altHud
Type |
|
Default |
0 |
Description |
Choose from different premade HUD styles |
Value |
Effect |
---|---|
0 |
Default HUD |
1 |
Alternative hud 1 |
2 |
Alternative hud 2 |
3 |
Works in combination with cg_altHudFlags.
cg_altHudFlags
Type |
|
Default |
0 |
Description |
Move the spawn timer and mission timer and other HUD elements to an alternative location. |
Value |
Effect |
---|---|
0 |
Default HUD |
1 |
|
2 |
Removes ranks |
4 |
Moves popups to a alternative position |
This cvar will be removed in the future, see HUD Rework.
cg_announcer
Type |
|
Default |
1 |
Description |
Toggles the announcer voice on map start “FIGHT!” and “Prepare to Fight!” |
cg_atmosphericEffects
Type |
|
Default |
1 |
Description |
Toggles display of atmospheric map effects like rain and snow |
cg_autoAction
Type |
|
Default |
0 |
Description |
Automatically start the selected actions when a match starts |
Value |
Effect |
---|---|
0 |
No action |
1 |
Record demo at start of map / round |
2 |
Screenshot at end of map / round |
4 |
Save player stats to .txt file on disk |
See Path and File Structure for where to find the saved files.
cg_autoActivate
Type |
|
Default |
1 |
Description |
Toggles automatically picking up items such as ammo/health packs, weapons, objectives, etc |
cg_autoFolders
Type |
|
Default |
1 |
Description |
Store screenshots, stats and demos created by cg_autoAction to a subfolder
named |
Also applies to
autoScreenshot
command.
cg_autoMapZoom
Type |
|
Default |
5.159 |
Range |
any positive decimal |
Description |
Adjust the zoom level of the compass minimap. Menu is limited to 7.43. Higher value is more zoomed in. |
cg_autoReload
Type |
|
Default |
1 |
Description |
Automatically reload weapon when clip becomes empty. Keep in mind that reloading can’t be cancelled! |
cg_autoSwitch
Type |
|
Default |
0 |
Description |
Automatically switch to a new weapon when picking one up |
CAREFUL: Do not confuse with cg_noAmmoAutoSwitch!
cg_bloodDamageBlend
Type |
|
Default |
1.0 |
Range |
0.0 - 1.0 |
Description |
Opacity of on-screen blood splatter effect when you are being shot |
Menu entries are None, Light, Medium, Heavy, Full. Value increased by 0.25 per step respectively.
cg_bloodFlash
Type |
|
Default |
1.0 |
Range |
0.0 - 1.0 |
Description |
Opacity of blood flashes displayed at the edges of the screen when getting shot |
Menu entries are None, Light, Medium, Heavy, Full. Value increased by 0.25 per step respectively.
The flash position around the screen edges indicates the direction from which you are being shot from
cg_bloodFlashTime
Type |
|
Default |
1500 |
Range |
any positive decimal |
Description |
Duration of blood flashes, in milliseconds |
cg_bloodTime
Type |
|
Default |
120 |
Range |
any positive decimal |
Description |
Duration of blood puddle effects _(walls, floors, etc.)_ in seconds |
See also: cg_brassTime and cg_markTime
cg_bobbing
Type |
|
Default |
1 |
Description |
Toggle bobbing effect. Bobbing simulates head movement by bobbing the view when moving around. |
This combines the historical
cg_runpitch
,cg_runroll
,cg_bobup
,cg_bobpitch
andcg_bobroll
into one cvarAlso affects sniper scopes when moving around while scoped
cg_brassTime
Type |
|
Default |
2500 |
Range |
any positive decimal |
Description |
Duration ejected bullet shells last for, in milliseconds |
Menu entries are Off, Med, High. Values are 0, 2500 and 15000 respectively.
See also: cg_bloodTime and cg_markTime
cg_centerTime
Type |
|
Default |
5 |
Range |
any positive decimal |
Description |
Duration for which center print popups are displayed, in seconds |
See example
See also: cg_fontScaleCP
cg_chatAlpha
Type |
|
Default |
1.0 |
Range |
0.0 - 1.0 |
Description |
Set chat opacity |
cg_chatBackgroundAlpha
Type |
|
Default |
0.66 |
Range |
0.0 - 1.0 |
Description |
Set chat background opacity |
cg_chatFlags
Type |
|
Default |
1 |
Description |
Draw team flags on chat |
cg_chatLineWidth
Type |
|
Default |
70 |
Range |
any positive integer |
Description |
Set number of characters in chat before a line break (includes player name and possible location string) |
cg_chatScale
Type |
|
Default |
1.0 |
Range |
any positive decimal |
Description |
Set chat scale |
cg_chatShadow
Type |
|
Default |
0 |
Description |
Draw shadow on chat |
cg_chatX
Type |
|
Default |
160 |
Range |
any positive decimal |
Description |
Set chat x position, in pixels |
cg_chatY
Type |
|
Default |
478 |
Range |
any positive integer |
Description |
Set chat y position, in pixels |
cg_complaintPopUp
Type |
|
Default |
1 |
Description |
Display the UI popup to file complaints against teammates who teamkill you |
See example
When disabled, you’ll automatically send a “no” response
cg_coronaFarDist
Type |
|
Default |
1536 |
Range |
any positive integer |
Description |
Maximum distance coronas are displayed before fading from view |
Menu entries are Off, Near, Normal, Far. Values are 0, 800 and 1536, 4096, 16000 respectively.
See cg_coronas for toggling the effect.
cg_coronas
Type |
|
Default |
0 |
Description |
Toggles the display of coronas |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled |
2 |
Traces everything and ignores cg_coronaFarDist |
See cg_coronaFarDist for adjusting the draw distance of the effect.
cg_countryflags
Type |
|
Default |
1 |
Description |
Displays players’ country flags in scoreboard |
See example
If a player has cg_allowGeoIP disabled, their flag will be shown as a UN flag.
cg_crosshairAlpha
Type |
|
Default |
1.0 |
Range |
0.0 - 1.0 |
Description |
Transparency level for the primary crosshair image |
cg_crosshairAlphaAlt
Type |
|
Default |
1.0 |
Range |
0.0 - 1.0 |
Description |
Transparency level for the secondary crosshair image |
cg_crosshairColor
Type |
|
Default |
“white” |
Description |
Set the colour for the primary crosshair image. For menu values see Menu Colors. You can also use custom Hex colour codes in this format: 0xFF1E00 |
See example
cg_crosshairColorAlt
Type |
|
Default |
“white” |
Description |
Set the colour for the secondary crosshair image. For menu values see Menu Colors. You can also use custom Hex colour codes in this format: 0xFF1E00 |
See example
cg_crosshairHealth
Type |
|
Default |
0 |
Description |
Colors the crosshair based on current health. Overrides cg_crosshairColor settings |
See example
cg_crosshairPulse
Type |
|
Default |
1 |
Description |
Increases the crosshair spread/sizing while moving, shooting, etc. to provide a visual representation of actual weapon spread |
See example
cg_crosshairSize
Type |
|
Default |
48 |
Range |
any positive integer |
Description |
Size of the displayed crosshair, in pixels |
Menu entries are Tiny, Small, Medium, Large, Huge. Values are 24, 32, 48, 64 and 96 respectively.
See example
cg_crosshairX
Type |
|
Default |
0 |
Range |
any positive/negative integer |
Description |
Offset of the crosshair position on-screen, in pixels. Moves left or right. |
Max left value = (Your resolution / 2) * -1
Max right value = (Your resolution / 2)
See example
cg_crosshairY
Type |
|
Default |
0 |
Range |
any positive/negative integer |
Description |
Offset of the crosshair position on-screen, in pixels. Moves up or down. |
Max left value = (Your resolution / 2) * -1
Max right value = (Your resolution / 2)
See example
cg_cursorHints
Type |
|
Default |
1 |
Description |
Displays hint and information icons for certain actions when near interactive objects |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Size Pulse |
2 |
Strobe Pulse |
3 |
Alpha Pulse |
4 |
Solid |
See example
cg_cycleAllWeaps
Type |
|
Default |
1 |
Description |
When enabled loops around while cycling through inventory. Include non-weapon items when cycling through inventory. |
cg_drawBreathPuffs
Type |
|
Default |
1 |
Description |
Toggles drawing puffs of breath when standing on ‘snow’ surfaces |
cg_drawCompass
Type |
|
Default |
1 |
Description |
Display the HUD compass |
Value |
Effect |
---|---|
0 |
Disable compass |
1 |
Selects default compass |
2 |
Selects alternative compass |
cg_drawCompassIcons
Type |
|
Default |
7 |
Description |
Show icons on compass |
Value |
Effect |
---|---|
0 |
No icons |
1 |
All icons |
2 |
No secondary objective icons |
4 |
No primary objective icons |
cg_drawCrosshair
Type |
|
Default |
1 |
Description |
Choose from different premade crosshairs |
See Crosshairs
cg_drawCrosshairInfo
Type |
|
Default |
3 |
Description |
Displays player info when the crosshair is over a teammate |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Shows player class |
2 |
Shows player rank |
4 |
Shows player prestige |
See example
Flag 4 requires server to have
g_prestige
enabled
cg_drawCrosshairNames
Type |
|
Default |
1 |
Description |
Display names of teammates when hovering over them with your crosshair |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled, white names |
2 |
Enabled, coloured names |
See example
See also: cg_fontScaleCN
cg_drawCrosshairPickups
Type |
|
Default |
1 |
Description |
Give pickup items a highlight. Very subtle. |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled when aiming at objective |
2 |
Always enabled |
See example
Value 1 requires you to be within 255 in-game units of the objective for highlighting to be visible.
cg_drawEnvAwareness
Type |
|
Default |
7 |
Description |
Display objective icons on HUD |
Value |
Effect |
---|---|
0 |
No icons |
1 |
All icons |
2 |
No secondary objective icons |
4 |
No primary objective icons |
cg_drawFireteamOverlay
Type |
|
Default |
1 |
Description |
Display Fireteam HUD window. |
See example
cg_drawFPS
Type |
|
Default |
0 |
Description |
Display a FPS counter in the HUD below the compass. |
See example
cg_drawGun
Type |
|
Default |
1 |
Description |
Display equipped weapon |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled |
2 |
Don’t draw primary and secondary weapons |
See example
cg_drawNotifyText
Type |
|
Default |
1 |
Description |
Toggle prefixing certain messages with |
cg_drawPing
Type |
|
Default |
0 |
Description |
Display the ping in the HUD below the compass |
See example
cg_drawReinforcementTime
Type |
|
Default |
1 |
Description |
Display reinforcement(spawn) timer for your team in the HUD below the compass (in light blue) |
See example
See also: cg_drawRoundTimer
cg_drawRoundTimer
Type |
|
Default |
1 |
Description |
Display remaining mission time in the HUD below the compass |
See example
NOTE: Also disables cg_drawReinforcementTime
cg_drawSmallPopupIcons
Type |
|
Default |
1 |
Description |
Use small icons for obituary messages |
See example
See also: cg_fontScaleSP
cg_drawSnapshot
Type |
|
Default |
1 |
Description |
Display the snapshot counter in the HUD |
See example
cg_drawSpectatorNames
Type |
|
Default |
2 |
Description |
Display names of players when spectating or playing demos |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled, white names |
2 |
Enabled, coloured names |
cg_drawSpeed
Type |
|
Default |
0 |
Description |
Displays current player speed in the HUD below the compass |
See example
Unit of speed can be changed with cg_drawUnit
cg_drawSpreadScale
Type |
|
Default |
1 |
Description |
Displays a coloured bar on the left of the screen showing the current weapon spread. Increases when turning around, shooting, etc. |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled, for scoped weapons |
2 |
Enabled, for all weapons |
See example
cg_drawTime
Type |
|
Default |
0 |
Description |
Display local time |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled (required for other options) |
2 |
Draw seconds |
4 |
Use 12h clock |
See example
cg_drawUnit
Type |
|
Default |
0 |
Description |
Set unit system |
Value |
Effect |
---|---|
0 |
Unit |
1 |
Metric |
2 |
Imperial |
cg_drawWeaponIconFlash
Type |
|
Default |
1 |
Description |
Flashes the weapon icon on the bottom right during certain events |
See example
cg_descriptiveText
Type |
|
Default |
1 |
Description |
Displays help text about following other players while spectating/in limbo, or about tapping out when wounded and waiting for a medic |
See example
cg_draw2D
Type |
|
Default |
1 |
Description |
Display all UI and HUD elements |
See example
Crosshair is drawn even when disabled
cg_dynamicIcons
Type |
|
Default |
0 |
Description |
Toggle player icon scaling for command map |
cg_dynamicIconsDistance
Type |
|
Default |
400 |
Range |
any positive integer |
Description |
Distance between players when scaling down starts, in in-game units |
cg_dynamicIconsMaxScale
Type |
|
Default |
1.0 |
Range |
any positive decimal |
Description |
Max scale of icons. When ‘cg_dynamicIconsMaxScale’ and cg_dynamicIconsMinScale are equal the icons will stay the same size, allowing you to control just the size of the icons when enabling dynamic icons. |
cg_dynamicIconsMinScale
Type |
|
Default |
0.5 |
Range |
any positive decimal |
Description |
Max scale of icons. When ‘cg_dynamicIconsMinScale’ and cg_dynamicIconsMaxScale are equal the icons will stay the same size, allowing you to control just the size of the icons when enabling dynamic icons. |
cg_dynamicIconsSize
Type |
|
Default |
20 |
Range |
any positive integer |
Description |
Player icon size, in pixels |
cg_fireteamAlpha
Type |
|
Default |
1.0 |
Range |
any positive decimal |
Description |
Sets the opacity of the fireteam overlay including text etc. |
cg_fireteamBgAlpha
Type |
|
Default |
0.3 |
Range |
any positive decimal |
Description |
Sets the background opacity of the fireteam overlay |
cg_fireteamLatchedClass
Type |
|
Default |
1 |
Description |
Draw latched class of fireteam members in the fireteam overlay |
See example
cg_fireteamLocationAlign
Type |
|
Default |
0 |
Description |
Specifies alignment of location string in fireteam overlay |
Value |
Effect |
---|---|
-1 |
Left align (static) |
0 |
Left align (dynamic) |
1 |
Right align (static/dynamic) |
Combine this with cg_locationMaxChars to reserve space for location field in fireteam overlay. When cg_locationMaxChars is set, using -1 or 1 will force the location field to be staticly sized with the location string aligned to left or right respectively.
cg_fireteamNameAlign
Type |
|
Default |
0 |
Description |
ESpecifies alignment of player names in fireteam overlay |
Value |
Effect |
---|---|
-1 |
Left align (static) |
0 |
Left align (dynamic) |
1 |
Right align (static/dynamic) |
-Combine this with cg_fireteamNameMaxChars to reserve space for name field in fireteam overlay. When cg_fireteamNameMaxChars is set, using -1 or 1 will force the name field to be staticly sized with the player names aligned to left or right respectively.
cg_fireteamNameMaxChars
Type |
|
Default |
0 |
Range |
0 - 36 |
Description |
Specify a max amount of characters drawn per name in the fireteam overlay. 0 = no limit |
cg_fireteamSprites
Type |
|
Default |
1 |
Description |
Draw small triangles above players’ heads who are part of your fireteam |
cg_fontScaleCN
Type |
|
Default |
0.25 |
Range |
any positive decimal |
Description |
Font scale for entitiy/player names when aiming crosshair at them |
See example
cg_fontScaleCP
Type |
|
Default |
0.22 |
Range |
any positive decimal |
Description |
Font scale for center prints |
See example
See also: cg_centerTime
cg_fontScaleSP
Type |
|
Default |
0.22 |
Range |
any positive decimal |
Description |
Font scale for side prints |
See example
See also: cg_drawSmallPopupIcons and cg_graphicObituaries
cg_fontScaleTP
Type |
|
Default |
0.35 |
Range |
any positive decimal |
Description |
Font scale for top of the screen prints |
cg_etVersion
Type |
|
Default |
“” |
Description |
Shows client mod version when connected to a server |
cg_fov
Type |
|
Default |
90 |
Range |
75 - 160 |
Description |
Sets the Field of View |
Legacy mod uses Hor+ FOV calculation, while original ET (and most mods) use Vert-. See field of view scaling methods.
cg_gibs
Type |
|
Default |
1 |
Description |
When enabled, body parts are created when players get gibbed (exploded, crushed etc.) |
Also requires cg_showBlood to be enabled
cg_graphicObituaries
Type |
|
Default |
0 |
Description |
Display simple graphic kill messages instead of text-based messages |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Victim -> Weapon -> Killer |
2 |
Killer -> Weapon -> Victim |
See example
See also: cg_fontScaleSP
cg_gunX
Type |
|
Default |
0 (center) |
Range |
any positive or negative decimal |
Description |
Offset of equipped weapon on screen along the X-axis, in in-game units |
See example
cg_gunY
Type |
|
Default |
0 (center) |
Range |
any positive or negative decimal |
Description |
Offset of equipped weapon on screen along the Y-axis, in in-game units |
See example
cg_gunZ
Type |
|
Default |
0 (center) |
Range |
any positive or negative decimal |
Description |
Offset of equipped weapon on screen along the Z-axis, in in-game units |
See example
cg_healthDynamicColor
Type |
|
Default |
0 |
Description |
When enabled, health text on HUD will be colored dynamically based off your current health |
cg_hitSounds
Type |
|
Default |
1 |
Description |
Set active hit sounds. Current implementation does not adhere to default bitflag behaviour |
Value |
Effect |
---|---|
0 |
None |
1 |
All |
3 |
Disable body hitsounds |
5 |
Disable headshot hitsounds |
7 |
Disable body and headshot hitsounds |
11 |
Disable body and team hitsounds |
13 |
Disable headshot and team hitsounds |
25 |
Disable team hitsounds |
cg_instantTapOut
Type |
|
Default |
0 |
Description |
Puts you directly into the respawn queue without waiting for a revive. Only works in LMS game mode or on servers with limited lives set. |
cg_lagometer
Type |
|
Default |
0 |
Description |
Displays a lag’o’meter in the HUD below the compass checking for lag spikes |
See example
cg_letterbox
Type |
|
Default |
0 |
Description |
Adds an overlay to the game underneath the HUD at the bottom and top of the screen simulating widescreen |
See example
cg_locationMaxChars
Type |
|
Default |
0 |
Range |
0 - 128 |
Description |
Specify a max amount of characters drawn for locations. 0 = no limit |
cg_locations
Type |
|
Default |
3 |
Description |
Specifies how locations are displayed. Uses data from loc.dat file. |
Value |
Effect |
---|---|
0 |
Off |
1 |
Show locations in fireteam |
2 |
Show locations in team chat and fireteam chat |
4 |
Show location where landmines are spotted |
8 |
Substitute “Unknown” locations with coordinates |
16 |
Show only coordinates |
32 |
Show distance to other clients |
Team chat and fireteam chat will always display coordinates even when set to 0
Flag 32 cannot be combined with locations or coordinates
cg_logFile
Type |
|
Default |
“” |
Description |
If set, will write a logfile containing chat to |
Not to be confused with the engine cvar logfile
cg_markTime
Type |
|
Default |
20000 |
Range |
any positive integer |
Description |
Duration of bullet marks on walls, in milliseconds |
See also: cg_brassTime and cg_bloodTime
cg_muzzleFlash
Type |
|
Default |
1 |
Description |
Toggles display of muzzle flash when shooting |
See example
cg_noAmmoAutoSwitch
Type |
|
Default |
1 |
Description |
Automatically switch to a new weapon when out of ammunition |
This only takes effect when totally running out of ammo, see also cg_autoReload
CAREFUL: Do not confuse with cg_autoSwitch!
cg_optimizePrediction
Type |
|
Default |
1 |
Description |
Enables unlagged optimized prediction |
See unlagged page for technical information.
cg_popupFadeTime
Type |
|
Default |
2500 |
Range |
any positive integer |
Description |
Duration of the fading effect of popup messages, in milliseconds |
This is added on top of cg_popupStayTime
See also: cg_popupStayTime and cg_popupFilter
cg_popupBigFilter
Type |
|
Default |
0 |
Description |
Filter promotion popups |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Filter skill promotions |
2 |
Filter rank promotions |
4 |
Filter prestige promotions |
cg_popupFilter
Type |
|
Default |
0 |
Description |
Filter message popups |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Filter connect |
2 |
Filter team join |
4 |
Filter mission |
8 |
Filter pickup |
16 |
Filter death |
See also: cg_popupStayTime and cg_popupFadeTime
cg_popupShadow
Type |
|
Default |
0 |
Description |
Draw shadow on popups |
cg_popupStayTime
Type |
|
Default |
2000 |
Range |
any positive integer |
Description |
Duration for which popup messages stay active, in milliseconds |
See also: cg_popupFadeTime and cg_popupFilter
cg_popupTime
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Duration between popups appearing. A side effect is that it increases stay time as well. |
cg_predefinedDemoKeys
Type |
|
Default |
1 |
Description |
Use predefined key bindings to control actions in a demo such as fast forward. This way existing binds are ignored. |
cg_predictItems
Type |
|
Default |
1 |
Description |
Enables prediction for item pickups |
TODO: remove, item pickups are always predicted in ET (also remove from clientflags)
cg_printObjectiveInfo
Type |
|
Default |
1 |
Description |
Prints important game messages to the console |
cg_quickChat
Type |
|
Default |
0 |
Description |
Specify receiver of quick radio messages. Quick radio messages are triggered
when using |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Team chat |
2 |
Fireteam chat |
- List of possible quick chats:
Dynamite - Explore the area!
Smoke grenade - Go undercover/Infiltrate!
Airstrike can/grenades - Fire in the hole!
Pliers = Cover me/I need backup/Clear the path!
Satchel = Let’s go!
Medkit/syringe = I’m a medic.
Ammokit = I’m a field ops.
cg_quickMessageAlt
Type |
|
Default |
1 |
Description |
Toggles using numbers instead of letters for the quick chat menu |
See example
cg_scopedSensitivityScaler
Type |
|
Default |
0.6 |
Range |
any positive decimal |
Description |
Set scoped mouse sensitivity. The value is a scalar used to calculate the sensitivity depending on field of view when scoped(zoom value). This makes it possible to have a other sensitivity while scoped. |
cg_scoreboard
Type |
|
Default |
1 |
Description |
Used to cycle between XP and Skill Rating (SR) scoreboard |
Value |
Effect |
---|---|
0 |
XP |
1 |
Skill Rating |
2 |
Prestige |
Skill rating and Prestige scoreboards require server to have
g_skillRating
andg_prestige
enabled, respectivelyThis cvar is automatically cycled when double tapping
+scores`
See example
cg_shadows
Type |
|
Default |
1 |
Description |
Display player shadows underneath the player |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Blob |
2 |
Stencil |
3 |
Projection |
4 |
Polygon |
NOTE: Stencil, Projection and Polygon are currently disabled.
See example
cg_shoutcastDrawHealth
Type |
|
Default |
0 |
Description |
Display player health above them in shoutcaster mode |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Show health as text |
2 |
Show health as a bar |
cg_shoutcastDrawMinimap
Type |
|
Default |
1 |
Description |
Display minimap while in shoutcaster mode |
cg_shoutcastDrawPlayers
Type |
|
Default |
1 |
Description |
Display player lists while in shoutcaster mode |
cg_shoutcastDrawTeamNames
Type |
|
Default |
1 |
Description |
Display team names while in shoutcaster mode |
cg_shoutcastGrenadeTrail
Type |
|
Default |
0 |
Description |
Display red trail for grenades while in shoutcaster mode |
cg_shoutcastTeamNameBlue
Type |
|
Default |
“Allies” |
Description |
Set allies team name (‘allies’ if empty) while in shoutcaster mode |
cg_shoutcastTeamNameRed
Type |
|
Default |
“Axis” |
Description |
Set axis team name (‘Axis’ if empty) while in shoutcaster mode |
cg_showBlood
Type |
|
Default |
1 |
Description |
Toggles showing blood spurt effect when players are shot |
Must be enabled for cg_gibs to work.
cg_showMiss
Type |
|
Default |
0 |
Description |
Print faulty predictions into the console, for debugging purposes |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Generic prediction errors |
2 |
Display number of predicted/played back frames per snapshot |
4 |
Prints current cg_pmove servertime and local cgame time |
8 |
Prints information about prediction error return codes |
Flag 2 requires cg_optimizePrediction to be enabled
See example
cg_simpleItems
Type |
|
Default |
0 |
Description |
Use minimalistic icons for item pick-ups |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled except objectives |
2 |
Enabled for all items |
See example
cg_simpleItemsScale
Type |
|
Default |
1.0 |
Range |
0.25 - 1.50 |
Description |
Set scale of simple items |
cg_skybox
Type |
|
Default |
0 |
Description |
Toggle visibility of skyportal geometry, if a map has one. |
cg_specHelp
Type |
|
Default |
0 |
Description |
Toggle display of spectator help, only in multiview |
cg_stats
Type |
|
Default |
0 |
Description |
Prints client frame in the console, for debugging purposes |
See example
cg_teamChatHeight
Type |
|
Default |
8 |
Range |
0 - 8 |
Description |
Amount of lines of chat messages displayed at once (maximum) |
cg_teamChatMention
Type |
|
Default |
1 |
Description |
Prefixes messages with a yellow ‘> ‘ where you are mentioned. Mentioning someone is done through ‘@playername’, but is required to have a space before it. |
cg_teamChatsOnly
Type |
|
Default |
0 |
Description |
Filers global chat messages and only displays team and fireteam chat |
cg_teamChatTime
Type |
|
Default |
8000 |
Range |
any positive integer |
Description |
Duration of chat messages that are kept on display, in milliseconds |
cg_tracers
Type |
|
Default |
1 |
Description |
Choosing which tracers to display |
Value |
Effect |
---|---|
0 |
None |
1 |
All tracers |
2 |
Own tracers only |
3 |
Other’s tracers only |
cg_useWeapsForZoom
Type |
|
Default |
1 |
Description |
Weapon switch will zoom in and out while scoped, rather than switch weapons |
cg_visualEffects
Type |
|
Default |
1 |
Description |
Draws additional visual effects (airstrike planes, debris) |
See example
cg_voiceChats
Type |
|
Default |
1 |
Description |
Play voice chat sound file in-game when using quick chat e.g. v21 for Need a Medic! |
See also: cg_voiceText
cg_voiceText
Type |
|
Default |
1 |
Description |
Show voice text lines in-game when using quick chat e.g. v21 for Need a Medic! |
See also: cg_voiceChats
cg_voiceSpriteTime
Type |
|
Default |
6000 |
Range |
any positive integer |
Description |
Duration of chat icons shown above players their head, in milliseconds |
Ammo and medic request icons are displayed for twice the duration
See example
cg_weapAltReloads
Type |
|
Default |
0 |
Description |
Allows reloading weapons without alternate fire mode by pressing |
cg_weapaltSwitches
Type |
|
Default |
1 |
Description |
Provide an alternative way to use an alt weapon by pressing the respective weaponbank bind |
cg_weapAnims
Type |
|
Default |
15 |
Description |
Set which weapon animations to play |
Value |
Effect |
---|---|
0 |
None |
1 |
Move |
2 |
Firing |
4 |
Reload |
8 |
Switch |
cg_weaponCycleDelay
Type |
|
Default |
150 |
Range |
any positive integer |
Description |
Ignores additional weapon switches for the set duration after a weapon switch has begun, preventing accidental double weapon switches. Value in milliseconds. |
cg_zoomDefaultSniper
Type |
|
Default |
20 |
Range |
4 - 32 |
Description |
Set the default zoom level for sniper scopes and binoculars |
cg_zoomStepSniper
Type |
|
Default |
2 |
Range |
0 - 28 |
Description |
Specifies the amount of levels one key activation zooms in or out. |
Applies to scoped Garand/K43 and binoculars.
See cg_zoomDefaultSniper for the step range.
Developer cvars
A cheat protected cvar is usually used by developers to help during development.
cg_animSpeed
Type |
|
Default |
1 |
Description |
Display of player animations |
See also: cg_noPlayerAnims
cg_debugAnim
Type |
|
Default |
1 |
Description |
Used to debug player model and weapon animations by printing info |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Player animations |
2 |
Weapon animations |
3 |
Old and current weapon animations |
4 |
Print debug when time > lf->frameTime |
See example
cg_debugBullets
Type |
|
Default |
0 |
Description |
Displays a line from bullet start point to end point |
Works similar to
g_debugBullets
, but is client sided onlySee cg_railTrailTime
cg_debugEvents
Type |
|
Default |
0 |
Description |
Used to debug entity events. When enabled, prints debug information in the console. |
See example
cg_debugPlayerHitboxes
Type |
|
Default |
1 |
Description |
Used to debug player hitboxes |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Other players |
2 |
Self |
cg_debugPosition
Type |
|
Default |
0 |
Description |
Used to debug player entity yaw angle. When enabled, prints debug information in the console. |
See example
cg_debugSkills
Type |
|
Default |
0 |
Description |
Prints debug information to console when gaining a skill level and/or xp. Exact circumstances are unknown. |
cg_errorDecay
Type |
|
Default |
100 |
Range |
0 - 500 |
Description |
Decay prediction errors over several frames instead of correcting in one jerk, in frames |
cg_gun_frame
Type |
|
Default |
0 |
Range |
0 - Maximum frame of current gun animation |
Description |
Disable weapon animations and only display the animation frame specified |
cg_noPlayerAnims
Type |
|
Default |
0 |
Description |
Toggles display of player animations. If enabled, animation is fixed in a single frame. |
See also: cg_animSpeed
cg_noPredict
Type |
|
Default |
0 |
Description |
Toggles prediction of player actions e.g. movement |
cg_railTrailTime
Type |
|
Default |
750 |
Range |
any positive integer |
Description |
Specifies the time the trail a bullet takes is visualized, in milliseconds |
See also cg_debugBullets and cg_debugPlayerHitboxes
cg_swingSpeed
Type |
|
Default |
0.1 |
Range |
any positive decimal |
Description |
Speed at which the thirdperson player model turns around when looking around |
cg_thirdPerson
Type |
|
Default |
0 |
Description |
Enables a thirdperson perspective |
See example
cg_thirdPersonAngle
Type |
|
Default |
0 |
Range |
0 - 360 |
Description |
Specifies the angle of the thirdperson perspective, angle in degrees |
See example
cg_thirdPersonRange
Type |
|
Default |
80 |
Range |
any positive integer |
Description |
Specifies the distance from camera to player origin, in in-game units |
See example
cg_tracerChance
Type |
|
Default |
0.4 |
Range |
0.0 - 1.0 |
Description |
Probability that a shot creates a bullet tracer, % in decimal |
cg_tracerLength
Type |
|
Default |
160 |
Range |
any positive integer |
Description |
Length of bullet tracers, in in-game units |
cg_tracerSpeed
Type |
|
Default |
4500 |
Range |
any positive integer |
Description |
Speed of bullet tracers, in in-game units |
cg_tracerWidth
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Width of bullet tracers |
cg_uinfo
Type |
|
Default |
“0” |
Description |
Displays three numbers representing client flags, |
Client flags include cg_autoReload, cg_autoAction, cg_autoactivate, cg_predictItems and cg_activateLean.
CL_ (Client Engine)
CVAR Types
- CL_ related CVARS without prefix
User cvars
cl_allowDownload
Type |
|
Default |
1 |
Description |
Download missing files when available |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled |
2 |
Enabled, with sound suppressed |
See also: cl_wwwDownload
cl_angleSpeedKey
Type |
|
Default |
1.5 |
Range |
any positive decimal |
Description |
Adjust speed for turning when walking (+speed) |
cl_aviDemo
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Specifies framerate, must be a divisor of the audio rate |
cl_aviDemoType
Type |
|
Default |
0 |
Description |
Display names of players when spectating or playing demos |
Value |
Effect |
---|---|
0/1 |
Uses traditional avidemo. Takes screenshots at value of cl_avidemo per second. Results in an image sequence. |
2 |
Outputs directly into a video file. At value of cl_avidemo per second. |
cl_aviMotionJpeg
Type |
|
Default |
0 |
Description |
Enables motion JPEG codec for recording, instead of uncompressed capture |
Only works with cl_aviDemoType 2
cl_cacheGathering
Type |
|
Default |
0 |
Description |
Enables data caching in the renderer. Maps load faster when loaded again. |
cl_conXOffset
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Indents notify messages |
See also: con_drawNotify
cl_consoleKeys
Type |
|
Default |
“~ ` 0x7e 0x60” |
Description |
Bind opening the console to the specified key or key code |
See also: in_keyboardDebug
cl_debugMove
Type |
|
Default |
0 |
Description |
Display a bar on the bottom of the screen containing bar charts representing mouse movement |
See example
cl_doubleTapDelay
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Set the delay time between key presses required to be a double-tap, in milliseconds |
cl_extrapolationMargin
Type |
|
Default |
1 |
Range |
0 - 10 |
Description |
Margin between server and client time used for extrapolation |
cl_forceAviDemo
Type |
|
Default |
0 |
Description |
cl_freeLook
Type |
|
Default |
1 |
Description |
Enables ‘freelook’. When “disabled” only left/right camera movement is possible, up/down is deactivated. |
cl_freezeDemo
Type |
|
Default |
0 |
Description |
Lock or freeze a demo in its current frame. Useful for per frame advances. |
NOTE: This freezes both time and movement. Spectator camera can’t be moved around.
cl_lang
Type |
|
Default |
“en” |
Description |
Set the language of the game. See Supported Languages |
ET: Legacy comes with translations created by the community. In case you would like to contribute, please refer to “Transifex”:https://www.transifex.com/etlegacy/etlegacy/
cl_langDebug
Type |
|
Default |
0 |
Description |
Prints a list of missing translations for the selected language to console and also creates a text file with missing translations |
cl_maxPackets
Type |
|
Default |
125 |
Range |
15 - 125 |
Description |
Cap for upstream data packet transmissions |
cl_maxPing
Type |
|
Default |
800 |
Range |
100 - 999 |
Description |
Specify the max allowed ping to a server. Servers exceeding this ping will not be displayed in the server browser. |
cl_mouseAccel
Type |
|
Default |
0 |
Range |
any positive decimal |
Description |
Specifies how fast your mouse accelerates in-game. |
cl_noPrint
Type |
|
Default |
0 |
Description |
Disable printing of information in the console |
cl_packetDup
Type |
|
Default |
1 |
Range |
0 - 5 |
Description |
Number of duplicate packets for every packet sent upstream, decreases chance of packet loss at the cost of more bandwidth usage. |
cl_pitchSpeed
Type |
|
Default |
140 |
Range |
any positive integer |
Description |
Specify the speed of +up and +down keys |
cl_renderer
Type |
|
Default |
“opengl1” |
Description |
Set your desired renderer |
Possible values: “opengl1”; “opengl2”
NOTE: “opengl2” remains in experimental state for now.
cl_run
Type |
|
Default |
1 |
Description |
Toggle between walking and running |
cl_serverStatusResendTime
Type |
|
Default |
750 |
Range |
any positive decimal |
Description |
Time between resending server status requests if no response is received, in milliseconds |
cl_showMouseRate
Type |
|
Default |
0 |
Description |
Prints the speed of mouse movement to the console in ‘rate’ and effective ‘accelSensitivity’(sensitivity + rate * mouse accel * scaled by fov) |
See example
cl_showNet
Type |
|
Default |
0 |
Description |
Display names of players when spectating or playing demos |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Prints size of received messages to console |
2 |
Prints readcount of received message its type |
3 |
Prints delta from previously received message in addition to information from ‘cl_showNet 2’ |
4 |
Prints stats received message in addition to information from ‘cl_showNet 2’ |
See example
cl_showNumEnts
Type |
|
Default |
0 |
Description |
Prints the number of entities per packet to the console |
See example
cl_showSend
Type |
|
Default |
0 |
Description |
Prints each sent packet to the console |
See example
cl_showServerCommands
Type |
|
Default |
0 |
Description |
Print received server commands to console |
Only works if in debug mode e.g. developer = 1
cl_showTimeDelta
Type |
|
Default |
0 |
Description |
Prints the time delta of each packet to the console |
See example
cl_timeout
Type |
|
Default |
200 |
Range |
any positive integer |
Description |
Duration of receiving nothing from server for client to decide it must be disconnected, in seconds. Also acts as a max download time. |
cl_waveFileRecord
Type |
|
Default |
0 |
Description |
Start recording a .wav audio file upon loading a demo |
cl_wwwDownload
Type |
|
Default |
1 |
Description |
Enables faster downloads through http/ftp when configured correctly by the server |
See also: cl_allowDownload and sv_wwwBaseURL
cl_yawSpeed
Type |
|
Default |
140 |
Range |
any positive integer |
Description |
Specify the speed of +left and +right keys |
Developer cvars
cl_packetDelay
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Simulates packet delay, artificially increasing ping to server. Can be used to simulate ping on localhost |
See also: showpackets, cl_packetLoss, sv_packetloss and sv_packetdelay
cl_packetLoss
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Simulates packet loss |
See also: showpackets, cl_packetDelay, sv_packetloss and sv_packetdelay
cl_autoRecord
Type |
|
Default |
0 |
Description |
Toggles automatically recording a demo. This happens upon loading of a map instead of the start of a round like cg_autoAction does. |
cl_bypassMouseInput
Type |
|
Default |
0 |
Description |
Used to bypass mouse input in-game while menus are active. |
cl_defaultProfile
Type |
|
Default |
“” |
Description |
Read-only CVAR setting the default user profile. Go to the PROFILE section in the main menu to set a default profile. |
See also: cl_profile
cl_demoFileName
Type |
|
Default |
“” |
Description |
Read-only CVAR displaying currently recording demo name |
cl_demoOffset
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Read-only CVAR used to indicate size of the recording, in bytes. |
cl_demoRecording
Type |
|
Default |
0 |
Description |
Read-only CVAR internally used to know when the game is recording. e.g. used for showing to the player that a demo is being recorded. |
cl_downloadName
Type |
|
Default |
“” |
Description |
Stores name of file you’re downloading when connecting to a server |
See example
cl_guid
Type |
|
Default |
“” |
Description |
A GUID, sometimes also referred to as “etkey”, is an automatically generated alpha-numerical sequence used to uniquely identify players |
It is stored in the etkey file Path and File Structure and in-game in this read-only CVAR.
cl_noDelta
Type |
|
Default |
0 |
Description |
When enabled sets last snapshot / frame to NULL so there is nothing to delta from |
cl_paused
Type |
|
Default |
0 |
Description |
Read-only CVAR to toggle functionality of paused games |
cl_profile
Type |
|
Default |
“” |
Description |
Read-only CVAR specifying the currently selected profile. To change the profile, you need to go to the “PROFILE” section in the main menu. |
See also: cl_defaultProfile
cl_running
Type |
|
Default |
0 |
Description |
Can be used to check the status of the client game |
cl_waveFileName
Type |
|
Default |
“white” |
Description |
Read-only CVAR displaying currently recording demo name |
cl_waveOffset
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Read-only CVAR used for wave demo recording |
cl_waveRecording
Type |
|
Default |
0 |
Description |
Read-only CVAR used to indicate size of the recording, in bytes. |
COM_ (Common)
CVAR Types
- COM_related CVARS without prefix
User cvars
com_altivec
Type |
|
Default |
0 |
Description |
Toggle altivec support. Enables SIMD for specific processors. See altivec |
com_ansiColor
Type |
|
Default |
1 |
Description |
Enables color output in the system console |
com_buildScript
Type |
|
Default |
0 |
Description |
Force loading of all possible data and error on failures for automated data building scripts |
com_hunkMegs
Type |
|
Default |
128 |
Range |
64 and above. (1 if dedicated) |
Description |
Amount of memory (RAM) assigned to the hunk, in MB |
See also: com_soundMegs and com_zoneMegs
com_ignoreCrash
Type |
|
Default |
0 |
Description |
Let ET override CVAR_UNSAFE in case of crash |
See also: com_crashed
com_introPlayed
Type |
|
Default |
0 |
Description |
Was used to determine if the intro should be played or not |
com_maxFPS
Type |
|
Default |
125 |
Range |
20 -333 |
Description |
Specifies the maximum frames per second the game can reach for a stable render rate |
com_soundMegs
Type |
|
Default |
160 |
Range |
any positive integer |
Description |
Amount of memory (RAM) allocated for loading sound files, in MB |
See also: com_hunkMegs and com_zoneMegs
com_watchdog
Type |
|
Default |
60 |
Range |
any positive integer |
Description |
Handles server crashes. Check whether the game died with an ERR_DROP or any situation leading to server running with no map |
See also: com_watchdog_cmd
com_watchdog_cmd
Type |
|
Default |
“” |
Description |
CVAR specifying the actions in an event where com_watchdog triggers. When empty the default command used is quit. This is not reflected by the default value |
See also: com_watchdog
com_zoneMegs
Type |
|
Default |
64 |
Range |
64 and above |
Description |
Amount of memory (RAM) allocated for the random block zone, in MB |
NOTE: “com_zoneMegs” can only be set on the command line, and not in etconfig.cfg or Com_StartupVariable.
See also: com_hunkMegs and com_soundMegs
Developer cvars
com_crashed
Type |
|
Default |
0 |
Description |
Set in case of a crash, prevents CVAR_UNSAFE variables from being set from a cfg |
See also: com_ignoreCrash
com_downloadURL
Type |
|
Default |
|
Description |
Specifies the address which is used for the download command. Read-only. |
See the “download” command in commands
com_hunkUsed
Type |
|
Default |
0 |
Range |
0 - value of com_hunkMegs`_ * 1024 * 1024 |
Description |
Size of the currently used hunk, in bytes |
com_errorDiagnoseIP
Type |
|
Default |
“” |
Description |
Stores the address when connecting and gets cleared when connection is successful |
com_masterServer
Type |
|
Default |
“master.etlegacy.com” |
Description |
Sets the address for the master server. Default port 27950. |
See also: sv_master1 and sv_master2
com_minimized
Type |
|
Default |
0 |
Description |
Used to catch the state of the game. Is the window minimized or not? |
com_missingFiles
Type |
|
Default |
“” |
Description |
Storing information regarding missing files, used for displaying error messages to the user |
com_motd
Type |
|
Default |
1 |
Description |
Enables automatically requesting the message of the day to be able to display it |
com_motdServer
Type |
|
Default |
“motd.etlegacy.com” |
Description |
Allow to override the default motd server. Default port 27951. |
com_motdString
Type |
|
Default |
“” |
Description |
The official ET: Legacy “message of the day” string used to communicate news to players |
com_pid
Type |
|
Default |
No default |
Range |
any positive integer |
Description |
Read-only CVAR storing process id |
com_pidFile
Type |
|
Default |
“profiles/name/profile.pid” = client, “etlegacy_server.pid” = server |
Description |
Full path to the pid file (contains process id) |
com_recommendedSet
Type |
|
Default |
0 |
Description |
When enabled, the game uses default (recommended) values during profile creation |
com_showTrace
Type |
|
Default |
0 |
Description |
Prints trace information to the console. Used for debugging. |
See example
com_speeds
Type |
|
Default |
0 |
Description |
Prints speed information per frame to the console. Used for debugging. |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled, print frame speed information to console |
3 |
Enabled, print server packet time and frame speed information to console |
See example
com_unfocused
Type |
|
Default |
0 |
Description |
A state cvar to change behaviour when window is active or not. If unfocused, mouse cursor is not captured. |
com_updateAvailable
Type |
|
Default |
0 |
Description |
If there is a new version of the client available compared to the version installed, this CVAR is enabled. Read-only internally used. Feature is disabled. |
Value |
Effect |
---|---|
0 |
Signals no update available |
1 |
Signals update available |
2 |
Will set com_updatefiles with the files to update and when forceUpdate is enabled will auto-update |
com_updateFiles
Type |
|
Default |
“” |
Description |
Stores information regarding remaining files needed for the update |
See also: com_updateAvailable
com_updateMessage
Type |
|
Default |
“New version available. Do you want to update now?” |
Description |
Stores the string used for the pop-up when there is a new update |
com_updateServer
Type |
|
Default |
“update.etlegacy.com” |
Description |
Allow to override the default update server. Default port is 27951. |
CON_ (Console)
CVAR Types
User cvars
con_autoClear
Type |
|
Default |
1 |
Description |
When enabled clears not yet send console input after closing the console |
con_background
Type |
|
Default |
“” |
Description |
Console background color in normalized RGBA format, eg. “0.2 0.2 0.2 0.8”. Each number is between a range of 0.0 until 1.0. |
con_defaultHeight
Type |
|
Default |
0.5 |
Range |
0.0 - 1.0 |
Description |
Amount of height the console takes space over the screen. |
con_openspeed
Type |
|
Default |
3 |
Range |
any positive integer |
Description |
Speed at which the console opens |
con_drawNotify
Type |
|
Default |
0 |
Description |
Prints the last few lines of console output transparently on the top left of the screen |
See also: con_notifyTime, con_numNotifies
con_notifyTime
Type |
|
Default |
7 |
Range |
any positive integer |
Description |
Duration for which the notification prints on the top of the screen are displayed, in seconds |
See also: con_drawNotify, con_numNotifies
con_numNotifies
Type |
|
Default |
4 |
Range |
0 - 10 |
Description |
Number of drawable notifies |
See also: con_drawNotify, con_numNotifies
NET_ (Network)
CVAR Types
- NET_ related CVARS without prefix
User cvars
net_enabled
Type |
|
Default |
3 for client, 1 for server |
Description |
Enables specified network capabilities |
Value |
Effect |
---|---|
0 |
Disables network capabilities |
1 |
Enables use of ipv4 connections |
2 |
Enables use of ipv6 connections. Ipv4 will be used if available due to ping. |
4 |
Prioritizes ipv6 connections when possible |
8 |
Disables ipv6 multicast support |
net_ip
Type |
|
Default |
“0.0.0.0” |
Description |
Ipv4 address to bind to relay connection |
net_ip6
Type |
|
Default |
“::” |
Description |
Ipv6 address to bind to relay connection |
net_mcast6addr
Type |
|
Default |
“ff04::696f:7175:616b:6533” |
Description |
Multicast address for ipv6 |
net_mcast6iface
Type |
|
Default |
“0” on win32, “” on other platforms |
Description |
Multicast interace for ipv6 |
net_port
Type |
|
Default |
1.0 |
Range |
1 - 65535 |
Description |
Ipv4 address port to bind to relay connection |
net_port6
Type |
|
Default |
1.0 |
Range |
1 - 65535 |
Description |
Ipv6 address port to bind to relay connection |
net_socksEnabled
Type |
|
Default |
0 |
Description |
When enabled uses a secure socket connection to proxy to a gameserver |
net_socksPassword
Type |
|
Default |
“” |
Description |
Password used to authenticate with SOCKS server |
net_socksPort
Type |
|
Default |
1080 |
Range |
1 - 65535 |
Description |
Port used to connect to SOCKS server |
net_socksServer
Type |
|
Default |
“” |
Description |
Address used to connect to SOCKS server |
net_socksUsername
Type |
|
Default |
“” |
Description |
Username used to authenticate with SOCKS server |
net_qport
Type |
|
Default |
Random between range |
Range |
1 - 65535 |
Description |
Used to circumvent a bug with NAT routers. The value is a random number set when the client starts up. |
Qport was added to the NetChannel header to fix a bug. Before the qport, Quake server identified a client by the combination (remote IP,remote UDP port). This worked fine most of the time but certain NAT router can change their schema of port translation (remote UDP port) sporadically. UDP port being unreliable, John Carmack explained in one of his plans that he decided to identify a client by (remote IP, Qport in NetChannel header). This fixed the confusion and also allowed the server to adjust the target UDP response port on the fly.
Developer cvars
net_dropsim
Type |
|
Default |
0 |
Range |
0.0 - 1.0 |
Description |
Percentage in decimal value to simulate packet drops |
DEMO_ (Demo)
demo_autoTimeScale
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “1” = enabled| Possible values: “0” = disabled; “1” = enabled
Automatically adjust demo playback speed depending on currently active weapon?
demo_autoTimeScaleWeapons
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “0” = disabled| Possible values: “0” = disabled; “1” = enabled
Define timescales for different weapons?
demo_avifpsF1
Default: “0” | Possible values:
Presets for the rate of avi demos, in screenshots per second.
demo_avifpsF2
Default: “10” | Possible values:
Presets for the rate of avi demos, in screenshots per second.
demo_avifpsF3
Default: “15” | Possible values:
Presets for the rate of avi demos, in screenshots per second.
demo_avifpsF4
Default: “20” | Possible values:
Presets for the rate of avi demos, in screenshots per second.
demo_avifpsF5
Default: “24” | Possible values:
Presets for the rate of avi demos, in screenshots per second.
demo_drawTimeScale
{TODO} Only works if set before loading the demo. Can’t be changed during runtime of demo. Timescale pop-up only remains on-screen for a few seconds and then can’t be brought back.
Default: “1” = enabled| Possible values: “0” = disabled; “1” = enabled
Prints the current timescale (demo playback speed) on the screen.
demo_followDistance
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “50 0 20”| Possible values: integers for X Y Z
Specifies the distance from the player origin for all axes.
demo_freeCamSpeed
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “800”| Possible range: “0” = static [?]; < ?
Define the speed of the free camera, in in-game units per second
demo_infoWindow
{TODO} Only works if set before loading the demo. Can be activated if it was 0 before loading demo, but can’t be disabled/reactivated again.
Default: “1” = enabled| Possible values: “0” = disabled; “1” = enabled
Prints an infobox on the screen for useful keybinds.
demo_lookAt
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “-1”| Possible values:
Specify the number of the entity the camera should focus on.
demo_noPitch
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “1” = enabled| Possible values: “0” = disabled; “1” = enabled
Description needed.
demo_pvsHint
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “0” = disabled| Possible values: “0” = disabled; “1” = enabled
Description needed.
demo_teamOnlyMissileCam
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “0” = disabled| Possible values: “0” = disabled; “1” = enabled
Description needed.
demo_weaponCam
{TODO} Send kemon a screenshot of it in action please.
Default: “0” = disabled| Possible values: “0” = disabled; “1” = enabled
Triggers weapon cam view.
demo_yawPitchRollSpeed
{TODO} Check description and send kemon a screenshot of it in action please.
Default: “140 140 140”| Possible values: integers for yawturn-; pitchturn-; roll-speed
Specifies the yawturn-, pitchturn- and roll-speed values for demo playback.
FS_ (File System)
NOTE: File system CVARs need to be set before game start and can’t be changed during runtime
fs_baseGame
{TODO} Description needed
Default: ” “| Possible values:
Write-protected CVAR displaying exactly what?
fs_basePath
{TODO} Displays only a single dot and not a path to the installation folder, why is that?
Default: “.”| Possible values:
Write-protected CVAR specifying the path to the ET installation folder.
See also: [[Path_and_file_structure#Homepath-fs_basepath|Path and File Structure]]
fs_debug
Default: “0” = disabled| Possible values: “0” = disabled; “1” = enabled
Run the game in debug mode. Prints additional information regarding read files into the console.
fs_game
Default: “legacy”| Possible values: mod names _(aka folder names in fs_homepath)_
Run the game with this default mod.
fs_homePath
Default: “OS dependent”:https://dev.etlegacy.com/projects/etlegacy/wiki/Path_and_file_structure#Homepath-fs_homepath| Possible values: paths to directories
Contains all downloaded pk3, log, config and extracted binary files.
See also: [[Path_and_file_structure#Homepath-fs_homepath|Path and File Structure]]
fs_openedList
{TODO} Please add explanation of difference to fs_referencedList to the description.
Default: ” “| Possible values:
Prints a list of opened PK3 names and their path to the console.
fs_referencedList
{TODO} Please add explanation of difference to fs_openedList to the description.
Default: ” “| Possible values:
Prints a list of referenced PK3 names to the console.
fs_gameDirVar
{TODO} CVAR looks unused. Safe to remove?
Default: ” “| Possible values:
Description needed.
G_ (Game)
CVAR Types
User cvars
g_alliedMaxLives
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Specifies the amount of lives each Allied player has individually. These lives are not shared across the team. The HUD counter seen in the screenshot displays the amount of respawns you have left. |
See example
See also: g_axisMaxLives
g_alliedWins
Type |
|
Default |
0 |
Description |
Stores the amount of wins of the Allied team in the currently active campaign |
NOTE: For example the Allied team has three wins the CVAR has a value of 7 (1 + 2 + 4).
See also: g_axisWins
g_allowBotSwap
Type |
|
Default |
0 |
Description |
Allows players to control a omnibot they are spectating from their team |
g_altStopwatchMode
Type |
|
Default |
0 |
Description |
Switches from A-B-B-A format to A-B-A-B in stopwatch mode |
g_antiLag
Type |
|
Default |
1 |
Description |
Enables modem-friendly server support |
See example
g_antiwarp
Type |
|
Default |
1 |
Description |
TBA |
g_autoFireteams
Type |
|
Default |
1 |
Description |
Toggles players auto joining a fireteam |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled, provide the player with a popup asking to join a fireteam |
2 |
Enabled, automatically joins the player to a fireteam without a popup |
g_axisMaxLives
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Specifies the amount of lives each Axis player has individually. These lives are not shared across the team. The HUD counter seen in the screenshot displays the amount of respawns you have left. |
See example
See also: g_alliedMaxLives
g_axisWins
Type |
|
Default |
0 |
Description |
Stores the amount of wins of the Axis team in the currently active campaign |
NOTE: For example the Allied team has three wins the CVAR has a value of 7 (1 + 2 + 4).
See also: g_alliedWins
g_balancedTeams
Type |
|
Default |
0 |
Description |
When enabled, players are prevented from joining the team with more players. |
See example
g_banIPs
Type |
|
Default |
“” |
Description |
Prevents provided ip addresses from joining the server. List of ip addresses is separated by a space. Max length is 256 characters. Requires a trailing space. |
See commands: listip, addip, removeip
See g_filterBan
g_bluelimbotime
Type |
|
Default |
30000 |
Range |
any positive integer |
Description |
Respawn timer of allies, time in milliseconds |
g_campaignFile
Type |
|
Default |
“” |
Description |
Path location to the .campaign file to load the desired campaign |
g_complaintlimit
Type |
|
Default |
6 |
Range |
any positive integer |
Description |
The maximum number of complaints a player may receive before being kicked from a server |
g_corpses
Type |
|
Default |
0 |
Description |
Switches to dynamic queue system instead of a maximum body count of 8. This could theoretically cause a crash due to entity overflow. |
g_countryflags
Type |
|
Default |
1 |
Description |
Looks up country origin of connected ip addresses through geodata to be able to show country flags |
g_covertopsChargeTime
Type |
|
Default |
30000 |
Range |
any positive integer |
Description |
Specifies how long it takes to fully charge the charge bar for covert ops |
g_currentCampaign
Type |
|
Default |
“” |
Description |
Contains the name of the current campaign. Set internally, Read-only. |
g_currentCampaignMap
Type |
|
Default |
“” |
Description |
Contains the name of the current map when playing campaign. Set internally, Read-only. |
See also: g_currentCampaign
g_currentRound
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Contains the number of the current round. |
g_customConfig
Type |
|
Default |
“” |
Description |
Automatically configure server to specified default settings, e.g. ‘legacy3’ |
g_disableComplaints
Type |
|
Default |
0 |
Description |
Disables teamkill complaints of mines, airstrike and mortar |
Value |
Effect |
---|---|
0 |
Default HUD |
1 |
Disables complaints for teamkills through mines |
2 |
Disables complaints for teamkills through aistrikes |
4 |
Disables complaints for teamkills through mortar |
g_doWarmup
Type |
|
Default |
1 |
Description |
Whether the server should require players to be ready before a match can start |
See also: g_warmup
g_dropAmmo
Type |
|
Default |
0 |
Range |
0 - 5(-1) |
Description |
Number of ammo packs dropped on fieldop death |
g_dropHealth
Type |
|
Default |
0 |
Range |
0 - 5(-1) |
Description |
Number of health packs dropped on medic death |
g_dropObjDelay
Type |
|
Default |
3000 |
Range |
any positive integer |
Description |
Time to prevent the objective from being picked up after it has been dropped, in milliseconds |
See command: “dropObj”
g_enforcemaxlives
Type |
|
Default |
1 |
Description |
Temporarily ban players who don’t have any lives left between rounds |
g_engineerChargeTime
Type |
|
Default |
30000 |
Range |
any positive integer |
Description |
Specifies how long it takes to fully charge the charge bar for engineer |
g_excludedMaps
Type |
|
Default |
“” |
Description |
Excludes maps from being voted in intermission menu |
g_extendedNames
Type |
|
Default |
1 |
Description |
Allow extended ASCII characters in names. Extended ASCII chars have values between -128 and 0 |
g_fastres
Type |
|
Default |
0 |
Description |
Enables faster revives |
g_fastResMsec
Type |
|
Default |
1000 |
Range |
any positive integer |
Description |
Duration of revive animation / invincibility stage, in milliseconds |
Is currently not used anywhere
g_fieldopsChargeTime
Type |
|
Default |
40000 |
Range |
any positive integer |
Description |
Specifies how long it takes to fully charge the charge bar for fieldop |
g_filterBan
Type |
|
Default |
1 |
Description |
Ip addresses matching the current list will be prohibited from entering the game. The list of addresses is stored in g_banIPs |
See commands: listip, addip, removeip
g_filtercams
Type |
|
Default |
0 |
Description |
Prevents players from being shown in the objectives cam in the limbo menu |
g_fixedphysics
Type |
|
Default |
1 |
Description |
Force physics that is fps dependent to be fixed to the value of g_fixedphysicsfps |
g_fixedphysicsfps
Type |
|
Default |
125 |
Range |
any positive integer |
Description |
Fps number used to determine physics behaviour |
See also: g_fixedphysics
g_floodLimit
Type |
|
Default |
5 |
Range |
any positive integer |
Description |
Number of packets allowed before flood protection kicks in |
See also: g_floodWait and g_floodProtection
g_floodProtection
Type |
|
Default |
1 |
Description |
Enables flood protection, meaning clients get kicked when spamming commands to the server |
See also: g_floodWait and g_floodLimit
g_floodWait
Type |
|
Default |
1000 |
Range |
any positive integer |
Description |
Minimum required time between packets received per client before flood protection kicks in, in milliseconds |
See also: g_floodProtection and g_floodLimit
g_forcerespawn
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Time before you are automatically tapped out from wounded state, in seconds. Needs to be at least 1 to be enabled. |
g_friendlyFire
Type |
|
Default |
1 |
Description |
Enables teammates to hurt each other |
g_gametype
Type |
|
Default |
4 |
Description |
Defines one of the various game types to run on the server |
Value |
Effect |
---|---|
0 |
GT_SINGLE_PLAYER |
1 |
GT_COOP |
2 |
GT_WOLF |
3 |
GT_WOLF_STOPWATCH |
4 |
GT_WOLF_CAMPAIGN |
5 |
GT_WOLF_LMS |
6 |
GT_WOLF_MAPVOTE |
g_gravity
Type |
|
Default |
800 |
Range |
any positive integer |
Description |
Controls the gravity that affects players. Lower is less gravitational pull |
g_guidCheck
Type |
|
Default |
1 |
Description |
Checks guid validity of connecting players - “1” prevents 2.60b clients without PB from connecting |
g_heavyWeaponRestriction
Type |
|
Default |
100 |
Range |
0 - 100 |
Description |
Percentage of team that can have heavy weapons |
g_inactivity
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Max time (in sec) a player can remain idle before being kicked from the server (0 = disabled) |
g_intermissionReadyPercent
Type |
|
Default |
100 |
Range |
0 - 100 |
Description |
Percentage of ‘ready’ players required to start next map |
g_intermissionTime
Type |
|
Default |
60 |
Range |
any positive integer |
Description |
Duration of intermission, in seconds |
g_ipcomplaintlimit
Type |
|
Default |
3 |
Range |
0 - 5 |
Description |
Limit of individual complaints before a player is kicked - 0 is disabled |
g_knockback
Type |
|
Default |
1000 |
Range |
any positive integer |
Description |
force to be applied against a target as a result of damage |
g_landminetimeout
Type |
|
Default |
1 |
Description |
Remove landmines of the player that switches team or disconnects |
g_lms_currentMatch
Type |
|
Default |
0 |
Range |
0 - g_lms_matchlimit |
Description |
Read-only value that contains the current match in LMS |
g_lms_followTeamOnly
Type |
|
Default |
1 |
Description |
Restricts player to be only able to spectate their teammates |
g_lms_lockTeams
Type |
|
Default |
0 |
Description |
Locks both teams when the warmup period is done and a match is started |
g_lms_matchlimit
Type |
|
Default |
2 |
Range |
any positive integer |
Description |
Amount of matches to be played in LMS before going to the next map |
g_lms_roundlimit
Type |
|
Default |
3 |
Range |
any positive integer above 3 |
Description |
Maximum amount of rounds to be played to determine a team as winner or a draw to finnish a match. Winner is first to reach (round limit / 2) + 1 |
See also: g_currentRound, g_axisWins and g_alliedWins
g_lms_teamForceBalance
Type |
|
Default |
1 |
Description |
Enables team balancing |
See also: g_balancedTeams and g_teamForceBalance
g_log
Type |
|
Default |
“” |
Description |
Path of file where server logging is written to |
g_logSync
Type |
|
Default |
0 |
Description |
Toggles writing of server logs from buffered to synchronized |
g_mapConfigs
Type |
|
Default |
“” |
Description |
Path of folder where map configs are located. A map config must have the same name as the map bsp, but with a .cfg extension |
g_mapScriptDirectory
Type |
|
Default |
“” |
Description |
Path of folder where map scripts are located. A map config must have the same name as the map bsp, but with a .script extension |
g_mapVoteFlags
Type |
|
Default |
0 |
Description |
Used when map voting is enabled. Allows to choose specific behaviour when voting. |
Value |
Effect |
---|---|
0 |
No flags |
1 |
When the vote is tied the least played map is chosen |
2 |
MAPVOTE_ALT_INTERMISSION (Not implemented) |
4 |
Allows players to vote for multiple maps |
8 |
MAPVOTE_NO_RANDOMIZE (Not implemented) |
16 |
Allows next map vote to be called in MAPVOTE gamemode. When next map vote passes game continues to intermission and a other map can be voted. |
g_maxGameClients
Type |
|
Default |
0 (disabled) |
Range |
0 - sv_maxClients |
Description |
Limits the amount of clients that can join a team, regardless of how many can join the server |
See also: g_minGameClients
g_maxlives
Type |
|
Default |
0 (disabled) |
Range |
any positive integer |
Description |
Number of respawns a player has |
See also: g_axisMaxLives and g_alliedMaxLives
g_maxlivesRespawnPenalty
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
How many respawns a player has to sit through before respawning again |
g_maxMapsVotedFor
Type |
|
Default |
6 |
Range |
any positive integer |
Description |
How many maps are listed for a player to vote on |
g_maxWarp
Type |
|
Default |
4 |
Range |
any positive integer |
Description |
Reduces how many frames a player can skip that causes warping. Needs to be tweaked depending on the value of sv_fps |
If the value is too low it can cause high ping players to get stuck
g_medicChargeTime
Type |
|
Default |
45000 |
Range |
any positive integer |
Description |
Specifies how long it takes to fully charge the charge bar for medics |
g_minGameClients
Type |
|
Default |
8 |
Range |
0 - sv_maxClients |
Description |
Minimum amount of players needed to start a match |
See also: match_minPlayers and g_maxGameClients
g_minMapAge
Type |
|
Default |
3 |
Range |
any positive integer |
Description |
Minimum amount of different maps played before a map can appear in the map voting |
g_misc
Type |
|
Default |
0 |
Description |
Enables various miscellaneous effects on the server |
Value |
Effect |
---|---|
0 |
No effects |
1 |
Enables a upwards push that gives a little bit more velocity than a jump |
2 |
Not implemented |
4 |
Not implemented |
8 |
Shows who planted the dynamite that is being aimed at |
16 |
Shows who planted the landmine that is being aimed at |
See also: g_shove and g_shoveNoZ
g_motd
Type |
|
Default |
“” |
Description |
Define a message of the day for the server |
g_moverScale
Type |
|
Default |
1.0 |
Range |
any positive decimal |
Description |
Scale of speed of movers (truck, train, etc) |
g_movespeed
Type |
|
Default |
76 |
Range |
any positive integer |
Description |
How fast bots maximum speed is |
g_multiview
Type |
|
Default |
0 |
Description |
Enables multiview |
g_needpass
Type |
|
Default |
0 |
Description |
Read only server variable to enforce a password or not |
See also: g_password
g_nextTimeLimit
Type |
|
Default |
0 |
Range |
any positive decimal |
Description |
Variable used to store the time after a time is set in stopwatch mode. Value is used to update the timelimit. Time in minutes |
See also: timelimit and g_userTimeLimit
g_noTeamSwitching
Type |
|
Default |
0 |
Description |
Disallow players from joining a team with more players |
g_oss
Type |
|
Default |
31 |
Description |
Server variable to indicate supported client operating system architectures |
Value |
Effect |
---|---|
0 |
Vanilla / unknown / ET:L auto setup |
1 |
Windows |
2 |
Linux |
4 |
Linux 64 |
8 |
Mac OS X |
16 |
Android |
32 |
Raspberry Pi |
NOTE: These values are not updated to current existing architectures and the cvar is not fully implemented
g_password
Type |
|
Default |
“none” |
Description |
Sets the password required for players to join the server. “none” or “” are both valid values to not require a password. |
g_prestige
Type |
|
Default |
1 |
Description |
Toggles the prestige system |
g_pronedelay
Type |
|
Default |
0 |
Description |
Move the spawn timer and mission timer and other HUD elements to a alternative location. |
Value |
Effect |
---|---|
0 |
Default HUD |
1 |
Increase prone delay from 750ms to 1750ms |
2 |
Disables proning while jumping |
g_protect
Type |
|
Default |
0 |
Description |
Implements various protections for server behaviour |
Value |
Effect |
---|---|
0 |
Default HUD |
1 |
Prevents clients who are on localhost to automatically become referee |
2 |
Enforced max lives ban through GUID check instead of IP address |
See also: sv_protect
g_realHead
Type |
|
Default |
1 |
Description |
Matches playerhead hitbox with its animations, instead of being in the same place |
g_redlimbotime
Type |
|
Default |
30000 |
Range |
any positive integer |
Description |
Respawn timer of axis, time in milliseconds |
g_resetXPMapCount
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Amount of maps to be played before XP is reset in MAPVOTE game mode |
g_restarted
Type |
|
Default |
0 |
Description |
Read only variable to know if game is restarted, used for handling warmup |
g_scriptName
Type |
|
Default |
“” |
Description |
The name of the script to look for instead of the current map name |
See also: g_mapScriptDirectory
g_shove
Type |
|
Default |
60 |
Range |
any positive integer |
Description |
Amount of force applied by a shove |
See also: g_misc and g_shoveNoZ
g_shoveNoZ
Type |
|
Default |
0 |
Description |
Apply no force into the Z direction(up/down) when pushed / shoved |
g_skillRating
Type |
|
Default |
2 |
Description |
Enables skill rating system |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Enabled |
2 |
Enabled, map bias is considered when calculating rating to be rewarded |
g_skipCorrection
Type |
|
Default |
1 |
Description |
Does not apply correction when client has missed multiple frames |
g_soldierChargeTime
Type |
|
Default |
20000 |
Range |
any positive integer |
Description |
Specifies how long it takes to fully charge the charge bar for soldiers |
g_spectatorInactivity
Type |
|
Default |
0 (disabled) |
Range |
any positive integer |
Description |
Max time a spectator can remain idle before being kicked from the server, time in seconds |
g_speed
Type |
|
Default |
320 |
Range |
any positive integer |
Description |
Used to base speed of, in units per second. Multiply by 0.8 for running value and 1.1 for sprinting value. |
g_stickyCharge
Type |
|
Default |
2 |
Description |
Keep current charge after certain deaths |
Value |
Effect |
---|---|
0 |
Reset charge bar after death |
1 |
Keep current charge bar after any form of selfkill |
2 |
Keep current charge bar after any kind of death |
g_suddenDeath
Type |
|
Default |
0 |
Description |
Enables sudden death mechanic to maps where the objective must be blown by a dynamite. Excludes stopwatch game mode. This means when a dynamite is planted on the last objective before the time limit is reached the map continues until either the dynamite is blown or defused. |
g_swapteams
Type |
|
Default |
0 |
Description |
Read only variable used to swap players between teams |
g_teamForceBalance
Type |
|
Default |
0 |
Description |
Enforce balanced teams by forcing players to join the team with the lowest player count |
g_userAim
Type |
|
Default |
1 |
Description |
Uses client current spread scale instead of a flat number |
g_userAlliedRespawnTime
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Overrides g_bluelimbotime |
g_userAxisRespawnTime
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Overrides g_redlimbotime |
g_userTimeLimit
Type |
|
Default |
0 |
Range |
any positive decimal |
Description |
Overrides timelimit |
g_voiceChatsAllowed
Type |
|
Default |
5 |
Range |
any positive integer |
Description |
Amount of voice chats allowed within 30 seconds per player |
g_voting
Type |
|
Default |
0 |
Description |
Changes certain behaviour when voting |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Use total voters instead of total players to decide if a vote passes |
2 |
Successful votes do not count towards the vote limit per player, see vote_limit |
4 |
Shows who called the vote in the voting text |
g_warmup
Type |
|
Default |
60 |
Range |
any positive integer |
Description |
The length of time the warmup lasts prior to a match starting, time in seconds |
See also: g_doWarmup
g_xpSaver
Type |
|
Default |
0 |
Description |
Enables XP save between maps during campaign |
Developer cvars
g_debugAlloc
Type |
|
Default |
0 |
Description |
Debug prints allocation of memory on memory pool |
g_debugBullets
Type |
|
Default |
0 |
Description |
Draws various debug trails for bullets |
Value |
Effect |
---|---|
-2 |
None player entities hitbox |
0 |
Disabled |
1 |
Bullet rail trail |
2 |
Player hitbox |
3 |
Bullet rail trail, body and head hitbox |
g_debugConstruct
Type |
|
Default |
0 |
Description |
Cuts construction time in half to speed up testing constructing |
g_debugDamage
Type |
|
Default |
0 |
Description |
|
g_debugForSingleClient
Type |
|
Default |
-1 |
Description |
Takes the client num to enable or disable specific behaviour the given client |
Value |
Effect |
---|---|
-1 |
Disabled |
0 |
Debug behaviour for client 0 |
1 |
Debug behaviour for client 1 |
2 |
Debug behaviour for client 2 |
3 |
etc |
Client num can be found through the players command
g_debugHitboxes
Type |
|
Default |
0 |
Description |
Draws various visualizations of entities depending on the value |
Value |
Effect |
---|---|
0 |
Disabled |
3 |
Draws hitboxes for players and corpses. Entity types ‘ET_CORPSE’, ‘ET_PLAYER’ |
4 |
Draws hitboxes for missiles. Entity type ‘ET_MISSILE’. |
5 |
Draws hitboxes for objectives that can be exploded. Entity type ‘ET_EXPLOSIVES’ |
6 |
Draws hitboxes for items that can be dropped and picked up. Entity type ‘ET_ITEM’ |
7 |
ET_MOVER |
8 |
ET_MG42_BARREL |
9 |
ET_CONSTRUCTIBLE_INDICATOR, ET_CONSTRUCTIBLE, ET_CONSTRUCTIBLE_MARKER (not just cp, also wall on adler ?) |
10 |
ET_TELEPORT_TRIGGER ET_OID_TRIGGER ET_TRIGGER_MULTIPLE ET_TRIGGER_FLAGONLY ET_TRIGGER_FLAGONLY_MULTIPLE |
11 |
ET_CABINET_H ET_CABINET_A ET_HEALER ET_SUPPLIER |
12 |
ET_ALARMBOX ET_PROP ET_TRAP: |
13 |
ET_GAMEMODEL |
14 |
ET_GENERAL |
15 |
ET_AIRSTRIKE_PLANE |
g_debugMove
Type |
|
Default |
0 |
Description |
Printing movement information to the console like which surfaces touched |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Default movement details loging |
2 |
Default and extra detailed movement logging |
g_debugPlayerHitboxes
Type |
|
Default |
0 |
Description |
Draws hitboxes on all players |
Value |
Effect |
---|---|
0 |
Default HUD |
1 |
Hitbox calculated from “endframe” - Green head and body box |
2 |
Hitbox calculated from “clientthink” - Blue head and body box |
4 |
Bounding box for collision - Cyan body box |
g_debugSkills
Type |
|
Default |
0 |
Description |
Display names of players when spectating or playing demos. cg_debugSkills needs to be enabled in legacy mod. This may be different for other mods. |
Value |
Effect |
---|---|
0 |
Disabled |
1 |
Writes debug information for skills to console |
2 |
Writes the same information for value |
Example: “21:36:31 : ^5(SK: 0 XP: 3) Light Weapons: ^1HELLDEMBEZ gained 3XP, reason: bodyshot kill.”
g_scriptDebug
Type |
|
Default |
0 |
Description |
Prints script debug information |
g_scriptDebugLevel
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Defines the level or granularity of debug information to be printed |
g_scriptDebugTarget
Type |
|
Default |
“” |
Description |
Filters debug information for script name of entity |
SV_ (Server)
CVAR Types
Server Admin cvars
sv_fps
Type |
|
Default |
20 |
Range |
any positive integer where the result of dividing 1000 by the value results in a rounded number. E.g 1000 / 20 = 50 |
Description |
Amount of frames per second the server runs at. Higher is more smooth and precise, but also increases load. |
See also: snaps
sv_master1
Type |
|
Default |
“etmaster.idsoftware.com” |
Description |
Url of a master server that supplies the client with game servers known by it |
sv_master2
Type |
|
Default |
“master.etlegacy.com” |
Description |
Url of a master server that supplies the client with game servers known by it. Takes its value from com_masterServer by default. |
sv_wwwBaseUrl
Type |
|
Default |
“” |
Description |
Base url to redirect download of missing files through http protocol |
Developer cvars
sv_running
Type |
|
Default |
1 |
Description |
Lean while using the activate button |
Default: “0”| Possible values:
Non-user CVAR
sv_packetLoss
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Simulates packet loss. Server side. |
sv_packetDelay
Type |
|
Default |
0 |
Range |
any positive integer |
Description |
Simulates packet delay, which can lead to packet loss. Server side. |
IN_ (Input)
CVAR Types
Developer cvars
in_keyboardDebug
Type |
|
Default |
0 |
Description |
Prints keycode of pressed buttons to console |
R_ (Renderer)
User cvars
r_allowExtensions
Default: “1.2”| Possible values: “0” = disabled; “1” = enabled.
Enables/Disables global OpenGL extensions.
r_cache
Default: | Possible values:
Description needed.
r_cacheModels
Default: | Possible values:
Description needed.
r_cacheShaders
Default: | Possible values:
Description needed.
r_colorbits
Default: | Possible values:
Description needed.
r_colorMipLevels
Default: | Possible values:
Description needed.
r_customaspect
Default: | Possible values:
Description needed.
r_customheight
Default: | Possible values:
Description needed.
r_customwidth
Default: | Possible values:
Description needed.
r_depthbits
Default: | Possible values:
Description needed.
r_detailTextures
Default: | Possible values:
Description needed.
r_displayRefresh
Default: | Possible values:
Description needed.
r_drawSun
Default: | Possible values:
Description needed.
r_dynamiclight
Default: | Possible values:
Description needed.
r_ext_compressed_textures
Default: | Possible values:
Description needed.
r_ext_multitexture
Default: | Possible values:
Description needed.
r_ext_texture_env_add
Default: | Possible values:
Description needed.
r_ext_texture_filter_anisotropic
Default: | Possible values:
Description needed.
r_facePlaneCull
Default: | Possible values:
Description needed.
r_fastsky
Default: | Possible values:
Description needed.
r_finish
Default: | Possible values:
Description needed.
r_flares
Default: | Possible values:
Description needed.
r_fullscreen
Default: | Possible values:
Description needed.
r_gamma
Default: | Possible values:
Description needed.
r_ignoreFastPath
Default: | Possible values:
Description needed.
r_ignoreGLErrors
Default: | Possible values:
Description needed.
r_ignorehwgamma
Default: | Possible values:
Description needed.
r_intensity
Default: | Possible values:
Description needed.
r_lodbias
Default: | Possible values:
Description needed.
r_lodCurveError
Default: | Possible values:
Description needed.
r_mapOverBrightBits
Default: | Possible values:
Description needed.
r_maxpolys
Default: | Possible values:
Description needed.
r_maxpolyverts
Default: | Possible values:
Description needed.
r_mode
Default: | Possible values:
Description needed.
r_normallength
Default: | Possible values:
Description needed.
r_overBrightBits
Default: | Possible values:
Description needed.
r_picmip
Default: | Possible values:
Description needed.
r_printShaders
Default: | Possible values:
Description needed.
r_railCoreWidth
Default: | Possible values:
Description needed.
r_railSegmentLength
Default: | Possible values:
Description needed.
r_railWidth
Default: | Possible values:
Description needed.
r_shadows
Default: | Possible values:
Description needed.
r_showImages
Default: | Possible values:
Description needed.
r_stencilbits
Default: | Possible values:
Description needed.
r_subdivisions
Default: | Possible values:
Description needed.
r_swapInterval
Default: | Possible values:
Description needed.
r_texturebits
Default: | Possible values:
Description needed.
r_textureMode
Default: | Possible values:
Description needed.
r_trisColor
Default: | Possible values:
Description needed.
r_wolffog
Default: | Possible values:
Description needed.
Protected cvars
r_ambientScale
{TODO} Add images.
Default: “0.5”| Possible values: “0.0” = disabled; “2.0” = max.
Sets light intensity of dynamic game entities _(e.g. player models, construction crates and tanks)_.
r_clear
Default: | Possible values:
Description needed.
r_directedScale
Default: | Possible values:
Description needed.
r_drawfoliage
Default: | Possible values:
Description needed.
r_drawworld
Default: | Possible values:
Description needed.
r_flareFade
Default: | Possible values:
Description needed.
r_flareSize
Default: | Possible values:
Description needed.
r_lodscale
Default: | Possible values:
Description needed.
r_showsky
Default: | Possible values:
Description needed.
r_zfar
Default: | Possible values:
Description needed.
r_znear
Default: | Possible values:
Description needed.
Developer cvars
r_bonesDebug
{TODO} Seems to be under development. Value of “8” and “9” flood a todo message in console.
Default: | Possible values:
Description needed.
r_debugLight
Default: | Possible values:
Description needed.
r_debugSort
Default: | Possible values:
Description needed.
r_debugSurface
Default: | Possible values:
Description needed.
r_drawBuffer
Default: | Possible values:
Description needed.
r_drawentities
Default: | Possible values:
Description needed.
r_ignore
Default: | Possible values:
Description needed.
r_lightmap
Default: | Possible values:
Description needed.
r_lockpvs
Default: | Possible values:
Description needed.
r_logFile
Default: | Possible values:
Description needed.
r_measureOverdraw
Default: | Possible values:
Description needed.
r_nobind
Default: | Possible values:
Description needed.
r_nocull
Default: | Possible values:
Description needed.
r_nocurves
Default: | Possible values:
Description needed.
r_noportals
Default: | Possible values:
Description needed.
r_norefresh
Default: | Possible values:
Description needed.
r_novis
Default: | Possible values:
Description needed.
r_offsetFactor
Default: | Possible values:
Description needed.
r_offsetUnits
Default: | Possible values:
Description needed.
r_portalOnly
Default: | Possible values:
Description needed.
r_roundImagesDown
Default: | Possible values:
Description needed.
r_showcluster
Default: | Possible values:
Description needed.
r_shownormals
Default: | Possible values:
Description needed.
r_showtris
Default: | Possible values:
Description needed.
r_simpleMipMaps
Default: | Possible values:
Description needed.
r_singleShader
Default: | Possible values:
Description needed.
r_skipBackEnd
Default: | Possible values:
Description needed.
r_speeds
Default: | Possible values:
Description needed.
Internal cvars
r_oldMode
Default: | Possible values:
Description needed.
r_uiFullScreen
Default: | Possible values:
Description needed.
Removed cvars
CVAR
Reason
Replacement
cg_animState
Was not used
None
cg_bigFont
Was not used
None
cg_blinktime
Was not used
None
cg_bobYaw
Combined in 1 CVAR
cg_bobbing
cg_bobPitch
Combined in 1 CVAR
cg_bobbing
cg_bobRoll
Combined in 1 CVAR
cg_bobbing
cg_bobUp
Combined in 1 CVAR
cg_bobbing
cg_cameraMode
Was not used
None
cg_cameraOrbit
Was not used
None
cg_cameraOrbitDelay
Was not used
None
cg_clipboardName
Was not used
None
cg_deferPlayers
Was not used
None
cg_enableBreath
Was not used
None
cg_fastSolids
Was not used
None
cg_footsteps
Was not used
None
cg_ignore
Was not used
None
cg_fastSolids
Was not used
None
cg_message
Was not used
None
cg_messagePlayer
Was not used
None
cg_messagePlayerName
Was not used
None
cg_modVersion
Was not used
None
cg_movespeed
Was not used
None
cg_noRender
Was not used
None
cg_noTaunt
Was not used
None
cg_noVoiceChats
Was not used
None
cg_noVoiceText
Was not used
None
cg_recording_Statusline
Was not used
None
cg_runpitch
Bugged
None
cg_runroll
Bugged
None
cg_smallFont
Was not used
None
cg_specSwing
Was not used
None
cg_stereoSeparation
Was not used
None
cg_timescaleFadeEnd
Was not used
None
cg_timescaleFadeSpeed
Was not used
None
cg_viewsize
Was not used
None
cg_wolfparticles
Was not used
None
cg_zoomDefaultBinoc
Was not used
None
cg_zoomDefaultFG
Was not used
None
cg_zoomDefaultSnooper
Was not used
None
cg_zoomFOV
Was not used
None
cg_zoomStepBinoc
Was not used
None
cg_zoomStepFG
Was not used
None
cg_zoomStepSnooper
Was not used
None
cl_activateLean
Was not used
cg_activateLean
cl_anonymous
Was not used
None
cl_debugTranslation
Was not used
None
cl_inGameVideo
Was not used
None
cl_language
Was not used
cl_lang
cl_motd
Was not used
None
cl_motdString
Was not used
None
cl_punkbuster
Was not used
None
cl_updateAvailable
Was not used
None
cl_updateFiles
Was not used
None
cl_visibleClients
Was not used
None
cl_waitForFire
Was not used
None
com_cameraMode
Was not used
None
com_cleanWhiteList
Was not used
None
com_logosPlaying
Was not used
None
con_debug
Was not used
None
con_restricted
Was not used
None
fs_buildGame
Was not used
None
fs_buildPath
Was not used
None
fs_CDpath
Was not used
None
fs_copyFiles
Was not used
None
fs_restrict
Was not used
None
r_ati_fsaa_samples
Was not used
ENFORCED FOR VANILLA CLIENTS
r_ati_truform_normalmode
Was not used
None
r_ati_truform_pointmode
Was not used
None
r_ati_truform_tess
Was not used
ENFORCED FOR VANILLA CLIENTS
r_clampToEdge
Was not used
ENFORCED FOR VANILLA CLIENTS
r_dlightBacks
Was not used
None
r_ext_ATI_pntriangles
Was not used
ENFORCED FOR VANILLA CLIENTS
r_nv_fogdist_mode
Was not used
ENFORCED FOR VANILLA CLIENTS
r_portalsky
Was not used
None
r_primitives
Was not used
None