Skip to content

Latest commit

 

History

History
8312 lines (6400 loc) · 485 KB

cvars.rst

File metadata and controls

8312 lines (6400 loc) · 485 KB

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:


dedicated

Type :ref:`List <cvar-types>`
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 :ref:`String <cvar-types>`
Default ""
Description Read-only cvar to see the version of the game

logfile

Type :ref:`List <cvar-types>`
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

name

Type :ref:`String <cvar-types>`
Default "ETLegacyPlayer"
Description Used to set the name you play with. Colors can be used. See color guide

rate

Type :ref:`Range <cvar-types>`
Default 25000
Range any positive integer
Description Rate by which resources are downloaded from the server when http/ftp is not available

password

Type :ref:`String <cvar-types>`
Default ""
Description The value is send to the server when connecting to authenticate with password protected servers

sensitivity

Type :ref:`Range <cvar-types>`
Default 5
Range any positive decimal
Description Defines the sensitivity of mouse movements. E.g. looking around. Higher is faster

snaps

Type :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description When enabled, enables benchmarking on demo playback by processing snapshots as fast as possible, and outputting statistics afterwards.

activeAction

Type :ref:`String <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Toggles developer mode. Prints more info to console and provides more commands.

fixedtime

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Modifies time for debugging purpose, in milliseconds. Effectively cant be lower than 1.

journal

Type :ref:`Boolean <cvar-types>`
Default 0
Description When enabled, writes events and its data to "journal.dat" and journaldata.dat"

timescale

Type :ref:`Range <cvar-types>`
Default 1.0
Range any positive decimal
Description Scale of which time passes by

showdrop

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggles information of dropped packet traffic

showpackets

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggles information of packet traffic

version

Type :ref:`String <cvar-types>`
Default "ET 2.60b " CPUSTRING " May 8 2006"
Description Contains the installed version. CPUSTRING is platform specific.

viewlog

Type :ref:`List <cvar-types>`
Default 0
Description Used for dedicated server to control the state of viewlog
Value Effect
0 Hidden / Disabled
1 visible
2 Minimized

cg_activateLean

Type :ref:`Boolean <cvar-types>`
Default 0
Description Lean using left/right strafe keys when +activate is held

cg_allowGeoIP

Type :ref:`Boolean <cvar-types>`
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 :ref:`List <cvar-types>`
Default 0
Description Choose from different premade HUD styles
Value Effect
0 Default HUD
1 Alternative hud 1
2 Alternative hud 2
3 Alternative hud 3

cg_altHudFlags

Type :ref:`Bitflag <cvar-types>`
Default 0
Description Move the spawn timer and mission timer and other HUD elements to an alternative location.
Value Effect
0 Default HUD
1 Moves timers to a alternative position
2 Removes ranks
4 Moves popups to a alternative position
  • This cvar will be removed in the future, see HUD Rework.

cg_announcer

Type :ref:`Boolean <cvar-types>`
Default 1
Description Toggles the announcer voice on map start "FIGHT!" and "Prepare to Fight!"

cg_atmosphericEffects

Type :ref:`Boolean <cvar-types>`
Default 1
Description Toggles display of atmospheric map effects like rain and snow

cg_autoAction

Type :ref:`Bitflag <cvar-types>`
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

cg_autoActivate

Type :ref:`Boolean <cvar-types>`
Default 1
Description Toggles automatically picking up items such as ammo/health packs, weapons, objectives, etc

cg_autoFolders

Type :ref:`Boolean <cvar-types>`
Default 1
Description Store screenshots, stats and demos created by cg_autoAction to a subfolder named YYYY-MM
  • Also applies to autoScreenshot command.

cg_autoMapZoom

Type :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Automatically reload weapon when clip becomes empty. Keep in mind that reloading can't be cancelled!

cg_autoSwitch

Type :ref:`Boolean <cvar-types>`
Default 0
Description Automatically switch to a new weapon when picking one up

cg_bannerTime

Type :ref:`Range <cvar-types>`
Default 10000
Range any positive integer
Description Set the time a banner stays visible, in milliseconds

cg_bloodDamageBlend

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 1500
Range any positive decimal
Description Duration of blood flashes, in milliseconds

cg_bloodTime

Type :ref:`Range <cvar-types>`
Default 120
Range any positive decimal
Description Duration of blood puddle effects _(walls, floors, etc.)_ in seconds

cg_bobbing

Type :ref:`Boolean <cvar-types>`
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 and cg_bobroll into one cvar
  • Also affects sniper scopes when moving around while scoped

cg_brassTime

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 5
Range any positive decimal
Description Duration for which center print popups are displayed, in seconds

cg_chatAlpha

Type :ref:`Range <cvar-types>`
Default 1.0
Range 0.0 - 1.0
Description Set chat opacity

cg_chatBackgroundAlpha

Type :ref:`Range <cvar-types>`
Default 0.66
Range 0.0 - 1.0
Description Set chat background opacity

cg_chatFlags

Type :ref:`Boolean <cvar-types>`
Default 1
Description Draw team flags on chat

cg_chatLineWidth

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 1.0
Range any positive decimal
Description Set chat scale

cg_chatShadow

Type :ref:`Boolean <cvar-types>`
Default 0
Description Draw shadow on chat

cg_chatX

Type :ref:`Range <cvar-types>`
Default 160
Range any positive decimal
Description Set chat x position, in pixels

cg_chatY

Type :ref:`Range <cvar-types>`
Default 478
Range any positive integer
Description Set chat y position, in pixels

cg_complaintPopUp

Type :ref:`Boolean <cvar-types>`
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 :ref:`Range <cvar-types>`
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 :ref:`List <cvar-types>`
Default 0
Description Toggles the display of coronas
Value Effect
0 Disabled
1 Enabled
2 Traces everything and ignores cg_coronaFarDist

cg_countryflags

Type :ref:`Boolean <cvar-types>`
Default 1
Description Displays players' country flags in scoreboard

cg_crosshairAlpha

Type :ref:`Range <cvar-types>`
Default 1.0
Range 0.0 - 1.0
Description Transparency level for the primary crosshair image

cg_crosshairAlphaAlt

Type :ref:`Range <cvar-types>`
Default 1.0
Range 0.0 - 1.0
Description Transparency level for the secondary crosshair image

cg_crosshairColor

Type :ref:`String <cvar-types>`
Default "white"
Description Set the colour for the primary crosshair image. For menu values see :ref:`menu-colors`. You can also use custom Hex colour codes in this format: 0xFF1E00

cg_crosshairColorAlt

Type :ref:`String <cvar-types>`
Default "white"
Description Set the colour for the secondary crosshair image. For menu values see :ref:`menu-colors`. You can also use custom Hex colour codes in this format: 0xFF1E00

cg_crosshairHealth

Type :ref:`Boolean <cvar-types>`
Default 0
Description Colors the crosshair based on current health. Overrides cg_crosshairColor settings

cg_crosshairPulse

Type :ref:`Boolean <cvar-types>`
Default 1
Description Increases the crosshair spread/sizing while moving, shooting, etc. to provide a visual representation of actual weapon spread

cg_crosshairSize

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
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 :ref:`List <cvar-types>`
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

cg_cycleAllWeaps

Type :ref:`Boolean <cvar-types>`
Default 1
Description When enabled loops around while cycling through inventory. Include non-weapon items when cycling through inventory.

cg_drawBreathPuffs

Type :ref:`Boolean <cvar-types>`
Default 1
Description Toggles drawing puffs of breath when standing on 'snow' surfaces

cg_drawCompass

Type :ref:`List <cvar-types>`
Default 1
Description Display the HUD compass
Value Effect
0 Disable compass
1 Selects default compass
2 Selects alternative compass

cg_drawCompassIcons

Type :ref:`Bitflag <cvar-types>`
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 :ref:`List <cvar-types>`
Default 1
Description Choose from different premade crosshairs

cg_drawCrosshairInfo

Type :ref:`Bitflag <cvar-types>`
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 :ref:`List <cvar-types>`
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

cg_drawCrosshairPickups

Type :ref:`List <cvar-types>`
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 :ref:`Bitflag <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Display Fireteam HUD window.

cg_drawFPS

Type :ref:`Boolean <cvar-types>`
Default 0
Description Display a FPS counter in the HUD below the compass.

cg_drawGun

Type :ref:`List <cvar-types>`
Default 1
Description Display equipped weapon
Value Effect
0 Disabled
1 Enabled
2 Don't draw primary and secondary weapons

cg_drawNotifyText

Type :ref:`Boolean <cvar-types>`
Default 1
Description Toggle prefixing certain messages with [skipnotify]. Only applies to logfiles and TTY output.

cg_drawPing

Type :ref:`Boolean <cvar-types>`
Default 0
Description Display the ping in the HUD below the compass

cg_drawReinforcementTime

Type :ref:`Boolean <cvar-types>`
Default 1
Description Display reinforcement(spawn) timer for your team in the HUD below the compass (in light blue)

cg_drawRoundTimer

Type :ref:`Boolean <cvar-types>`
Default 1
Description Display remaining mission time in the HUD below the compass

cg_drawSmallPopupIcons

Type :ref:`Boolean <cvar-types>`
Default 1
Description Use small icons for obituary messages

cg_drawSnapshot

Type :ref:`Boolean <cvar-types>`
Default 1
Description Display the snapshot counter in the HUD

cg_drawSpectatorNames

Type :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Displays current player speed in the HUD below the compass

cg_drawSpreadScale

Type :ref:`List <cvar-types>`
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

cg_drawTime

Type :ref:`Bitflag <cvar-types>`
Default 0
Description Display local time
Value Effect
0 Disabled
1 Enabled (required for other options)
2 Draw seconds
4 Use 12h clock

cg_drawUnit

Type :ref:`List <cvar-types>`
Default 0
Description Set unit system
Value Effect
0 Unit
1 Metric
2 Imperial

cg_drawWeaponIconFlash

Type :ref:`Boolean <cvar-types>`
Default 1
Description Flashes the weapon icon on the bottom right during certain events

cg_descriptiveText

Type :ref:`Boolean <cvar-types>`
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

cg_draw2D

Type :ref:`Boolean <cvar-types>`
Default 1
Description Display all UI and HUD elements
  • See example
  • Crosshair is drawn even when disabled

cg_dynamicIcons

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggle player icon scaling for command map

cg_dynamicIconsDistance

Type :ref:`Range <cvar-types>`
Default 400
Range any positive integer
Description Distance between players when scaling down starts, in in-game units

cg_dynamicIconsMaxScale

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 20
Range any positive integer
Description Player icon size, in pixels

cg_fireteamAlpha

Type :ref:`Range <cvar-types>`
Default 1.0
Range any positive decimal
Description Sets the opacity of the fireteam overlay including text etc.

cg_fireteamBgAlpha

Type :ref:`Range <cvar-types>`
Default 0.3
Range any positive decimal
Description Sets the background opacity of the fireteam overlay

cg_fireteamLatchedClass

Type :ref:`Boolean <cvar-types>`
Default 1
Description Draw latched class of fireteam members in the fireteam overlay

cg_fireteamLocationAlign

Type :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
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 :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Draw small triangles above players’ heads who are part of your fireteam

cg_fontScaleCN

Type :ref:`Range <cvar-types>`
Default 0.25
Range any positive decimal
Description Font scale for entitiy/player names when aiming crosshair at them

cg_fontScaleCP

Type :ref:`Range <cvar-types>`
Default 0.22
Range any positive decimal
Description Font scale for center prints

cg_fontScaleSP

Type :ref:`Range <cvar-types>`
Default 0.22
Range any positive decimal
Description Font scale for side prints

cg_fontScaleTP

Type :ref:`Range <cvar-types>`
Default 0.35
Range any positive decimal
Description Font scale for top of the screen prints

cg_etVersion

Type :ref:`String <cvar-types>`
Default ""
Description Shows client mod version when connected to a server

cg_fov

Type :ref:`Range <cvar-types>`
Default 90
Range 75 - 160
Description Sets the Field of View

cg_gibs

Type :ref:`Boolean <cvar-types>`
Default 1
Description When enabled, body parts are created when players get gibbed (exploded, crushed etc.)

cg_graphicObituaries

Type :ref:`List <cvar-types>`
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

cg_gunX

Type :ref:`Range <cvar-types>`
Default 0 (center)
Range any positive or negative decimal
Description Offset of equipped weapon on screen along the X-axis, in in-game units

cg_gunY

Type :ref:`Range <cvar-types>`
Default 0 (center)
Range any positive or negative decimal
Description Offset of equipped weapon on screen along the Y-axis, in in-game units

cg_gunZ

Type :ref:`Range <cvar-types>`
Default 0 (center)
Range any positive or negative decimal
Description Offset of equipped weapon on screen along the Z-axis, in in-game units

cg_healthDynamicColor

Type :ref:`Boolean <cvar-types>`
Default 0
Description When enabled, health text on HUD will be colored dynamically based off your current health

cg_hitSounds

Type :ref:`Bitflag <cvar-types>`
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 :ref:`Boolean <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Displays a lag'o'meter in the HUD below the compass checking for lag spikes

cg_letterbox

Type :ref:`Boolean <cvar-types>`
Default 0
Description Adds an overlay to the game underneath the HUD at the bottom and top of the screen simulating widescreen

cg_locationMaxChars

Type :ref:`Range <cvar-types>`
Default 0
Range 0 - 128
Description Specify a max amount of characters drawn for locations. 0 = no limit

cg_locations

Type :ref:`Bitflag <cvar-types>`
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 :ref:`String <cvar-types>`
Default ""
Description If set, will write a logfile containing chat to fs_homepath/legacy folder with the name provided. If empty, logging is disabled.
  • Not to be confused with the engine cvar logfile

cg_markTime

Type :ref:`Range <cvar-types>`
Default 20000
Range any positive integer
Description Duration of bullet marks on walls, in milliseconds

cg_muzzleFlash

Type :ref:`Boolean <cvar-types>`
Default 1
Description Toggles display of muzzle flash when shooting

cg_noAmmoAutoSwitch

Type :ref:`Boolean <cvar-types>`
Default 1
Description Automatically switch to a new weapon when out of ammunition

cg_optimizePrediction

Type :ref:`Boolean <cvar-types>`
Default 1
Description Enables unlagged optimized prediction

cg_popupFadeTime

Type :ref:`Range <cvar-types>`
Default 2500
Range any positive integer
Description Duration of the fading effect of popup messages, in milliseconds

cg_popupBigFilter

Type :ref:`Bitflag <cvar-types>`
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 :ref:`Bitflag <cvar-types>`
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

cg_popupShadow

Type :ref:`Boolean <cvar-types>`
Default 0
Description Draw shadow on popups

cg_popupStayTime

Type :ref:`Range <cvar-types>`
Default 2000
Range any positive integer
Description Duration for which popup messages stay active, in milliseconds

cg_popupTime

Type :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Enables prediction for item pickups
  • TODO: remove, item pickups are always predicted in ET (also remove from clientflags)

cg_printObjectiveInfo

Type :ref:`Boolean <cvar-types>`
Default 1
Description Prints important game messages to the console

cg_quickChat

Type :ref:`List <cvar-types>`
Default 0
Description Specify receiver of quick radio messages. Quick radio messages are triggered when using weapalt and holding a specific weapon.
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 :ref:`Boolean <cvar-types>`
Default 1
Description Toggles using numbers instead of letters for the quick chat menu

cg_scopedSensitivityScaler

Type :ref:`Range <cvar-types>`
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 :ref:`List <cvar-types>`
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 and g_prestige enabled, respectively
  • This cvar is automatically cycled when double tapping +scores`
  • See example

cg_shadows

Type :ref:`List <cvar-types>`
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_sharetimerText

Type :ref:`String <cvar-types>`
Default ""
Description Specify a custom text to announce the next enemy spawn. Use ${nextspawn} and ${enemylimbotime} as variables. See the sharetimer :ref:`commands <commands>`

cg_shoutcastDrawHealth

Type :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Display minimap while in shoutcaster mode

cg_shoutcastDrawPlayers

Type :ref:`Boolean <cvar-types>`
Default 1
Description Display player lists while in shoutcaster mode

cg_shoutcastDrawTeamNames

Type :ref:`Boolean <cvar-types>`
Default 1
Description Display team names while in shoutcaster mode

cg_shoutcastGrenadeTrail

Type :ref:`Boolean <cvar-types>`
Default 0
Description Display red trail for grenades while in shoutcaster mode

cg_shoutcastTeamNameBlue

Type :ref:`String <cvar-types>`
Default "Allies"
Description Set allies team name ('allies' if empty) while in shoutcaster mode

cg_shoutcastTeamNameRed

Type :ref:`String <cvar-types>`
Default "Axis"
Description Set axis team name ('Axis' if empty) while in shoutcaster mode

cg_showBlood

Type :ref:`Boolean <cvar-types>`
Default 1
Description Toggles showing blood spurt effect when players are shot
  • Must be enabled for cg_gibs to work.

cg_showMiss

Type :ref:`Bitflag <cvar-types>`
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

cg_simpleItems

Type :ref:`List <cvar-types>`
Default 0
Description Use minimalistic icons for item pick-ups
Value Effect
0 Disabled
1 Enabled except objectives
2 Enabled for all items

cg_simpleItemsScale

Type :ref:`Range <cvar-types>`
Default 1.0
Range 0.25 - 1.50
Description Set scale of simple items

cg_skybox

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggle visibility of skyportal geometry, if a map has one.

cg_specHelp

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggle display of spectator help, only in multiview

cg_stats

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints client frame in the console, for debugging purposes

cg_teamChatHeight

Type :ref:`Range <cvar-types>`
Default 8
Range 0 - 8
Description Amount of lines of chat messages displayed at once (maximum)

cg_teamChatMention

Type :ref:`Boolean <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Filers global chat messages and only displays team and fireteam chat

cg_teamChatTime

Type :ref:`Range <cvar-types>`
Default 8000
Range any positive integer
Description Duration of chat messages that are kept on display, in milliseconds

cg_tracers

Type :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Weapon switch will zoom in and out while scoped, rather than switch weapons

cg_visualEffects

Type :ref:`Boolean <cvar-types>`
Default 1
Description Draws additional visual effects (airstrike planes, debris)

cg_voiceChats

Type :ref:`Boolean <cvar-types>`
Default 1
Description Play voice chat sound file in-game when using quick chat e.g. v21 for Need a Medic!

cg_voiceText

Type :ref:`Boolean <cvar-types>`
Default 1
Description Show voice text lines in-game when using quick chat e.g. v21 for Need a Medic!

cg_voiceSpriteTime

Type :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Allows reloading weapons without alternate fire mode by pressing weapalt

cg_weapaltSwitches

Type :ref:`Boolean <cvar-types>`
Default 1
Description Provide an alternative way to use an alt weapon by pressing the respective weaponbank bind

cg_weapAnims

Type :ref:`Bitflag <cvar-types>`
Default 15
Description Set which weapon animations to play
Value Effect
0 None
1 Move
2 Firing
4 Reload
8 Switch

cg_weaponCycleDelay

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 20
Range 4 - 32
Description Set the default zoom level for sniper scopes and binoculars

cg_zoomStepSniper

Type :ref:`Range <cvar-types>`
Default 2
Range 0 - 28
Description Specifies the amount of levels one key activation zooms in or out.

A cheat protected cvar is usually used by developers to help during development.

cg_animSpeed

Type :ref:`Boolean <cvar-types>`
Default 1
Description Display of player animations

cg_debugAnim

Type :ref:`List <cvar-types>`
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

cg_debugBullets

Type :ref:`Boolean <cvar-types>`
Default 0
Description Displays a line from bullet start point to end point
  • Works similar to g_debugBullets, but is client sided only
  • See cg_railTrailTime

cg_debugEvents

Type :ref:`Boolean <cvar-types>`
Default 0
Description Used to debug entity events. When enabled, prints debug information in the console.

cg_debugPlayerHitboxes

Type :ref:`Bitflag <cvar-types>`
Default 1
Description Used to debug player hitboxes
Value Effect
0 Disabled
1 Other players
2 Self

cg_debugPosition

Type :ref:`Boolean <cvar-types>`
Default 0
Description Used to debug player entity yaw angle. When enabled, prints debug information in the console.

cg_debugSkills

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints debug information to console when gaining a skill level and/or xp. Exact circumstances are unknown.

cg_errorDecay

Type :ref:`Range <cvar-types>`
Default 100
Range 0 - 500
Description Decay prediction errors over several frames instead of correcting in one jerk, in frames

cg_gun_frame

Type :ref:`Range <cvar-types>`
Default 0
Range 0 - Maximum frame of current gun animation
Description Disable weapon animations and only display the animation frame specified

cg_noPlayerAnims

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggles display of player animations. If enabled, animation is fixed in a single frame.

cg_noPredict

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggles prediction of player actions e.g. movement

cg_railTrailTime

Type :ref:`Range <cvar-types>`
Default 750
Range any positive integer
Description Specifies the time the trail a bullet takes is visualized, in milliseconds

cg_swingSpeed

Type :ref:`Range <cvar-types>`
Default 0.1
Range any positive decimal
Description Speed at which the thirdperson player model turns around when looking around

cg_thirdPerson

Type :ref:`Boolean <cvar-types>`
Default 0
Description Enables a thirdperson perspective

cg_thirdPersonAngle

Type :ref:`Range <cvar-types>`
Default 0
Range 0 - 360
Description Specifies the angle of the thirdperson perspective, angle in degrees

cg_thirdPersonRange

Type :ref:`Range <cvar-types>`
Default 80
Range any positive integer
Description Specifies the distance from camera to player origin, in in-game units

cg_tracerChance

Type :ref:`Range <cvar-types>`
Default 0.4
Range 0.0 - 1.0
Description Probability that a shot creates a bullet tracer, % in decimal

cg_tracerLength

Type :ref:`Range <cvar-types>`
Default 160
Range any positive integer
Description Length of bullet tracers, in in-game units

cg_tracerSpeed

Type :ref:`Range <cvar-types>`
Default 4500
Range any positive integer
Description Speed of bullet tracers, in in-game units

cg_tracerWidth

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Width of bullet tracers

cg_uinfo

Type :ref:`String <cvar-types>`
Default "0"
Description Displays three numbers representing client flags, cl_timenudge and cl_maxpackets. Client flags is a bitflag value consisting of various cvars.

CL_ related CVARS without prefix

cl_allowDownload

Type :ref:`List <cvar-types>`
Default 1
Description Download missing files when available
Value Effect
0 Disabled
1 Enabled
2 Enabled, with sound suppressed

cl_angleSpeedKey

Type :ref:`Range <cvar-types>`
Default 1.5
Range any positive decimal
Description Adjust speed for turning when walking (+speed)

cl_aviDemo

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Specifies framerate, must be a divisor of the audio rate

cl_aviDemoType

Type :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Enables motion JPEG codec for recording, instead of uncompressed capture

cl_cacheGathering

Type :ref:`Boolean <cvar-types>`
Default 0
Description Enables data caching in the renderer. Maps load faster when loaded again.

cl_conXOffset

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Indents notify messages

cl_consoleKeys

Type :ref:`String <cvar-types>`
Default "~ ` 0x7e 0x60"
Description Bind opening the console to the specified key or key code

cl_debugMove

Type :ref:`Boolean <cvar-types>`
Default 0
Description Display a bar on the bottom of the screen containing bar charts representing mouse movement

cl_doubleTapDelay

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 1
Range 0 - 10
Description Margin between server and client time used for extrapolation

cl_forceAviDemo

Type :ref:`Boolean <cvar-types>`
Default 0
Description  

cl_freeLook

Type :ref:`Boolean <cvar-types>`
Default 1
Description Enables 'freelook'. When "disabled" only left/right camera movement is possible, up/down is deactivated.

cl_freezeDemo

Type :ref:`Boolean <cvar-types>`
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 :ref:`String <cvar-types>`
Default "en"
Description Set the language of the game. See :ref:`Supported Languages <supported_languages>`

cl_langDebug

Type :ref:`Boolean <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 125
Range 15 - 125
Description Cap for upstream data packet transmissions

cl_maxPing

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 0
Range any positive decimal
Description Specifies how fast your mouse accelerates in-game.

cl_noPrint

Type :ref:`Boolean <cvar-types>`
Default 0
Description Disable printing of information in the console

cl_packetDup

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 140
Range any positive integer
Description Specify the speed of +up and +down keys

cl_renderer

Type :ref:`String <cvar-types>`
Default "opengl1"
Description Set your desired renderer
  • Possible values: "opengl1"; "opengl2"
  • NOTE: "opengl2" remains in experimental state for now.

cl_run

Type :ref:`Boolean <cvar-types>`
Default 1
Description Toggle between walking and running

cl_serverStatusResendTime

Type :ref:`Range <cvar-types>`
Default 750
Range any positive decimal
Description Time between resending server status requests if no response is received, in milliseconds

cl_showMouseRate

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints the speed of mouse movement to the console in 'rate' and effective 'accelSensitivity'(sensitivity + rate * mouse accel * scaled by fov)

cl_showNet

Type :ref:`List <cvar-types>`
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'

cl_showNumEnts

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints the number of entities per packet to the console

cl_showSend

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints each sent packet to the console

cl_showServerCommands

Type :ref:`Boolean <cvar-types>`
Default 0
Description Print received server commands to console
  • Only works if in debug mode e.g. developer = 1

cl_showTimeDelta

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints the time delta of each packet to the console

cl_timeNudge

Type :ref:`Range <cvar-types>`
Default 0
Range -30 - 30
Description Allows more or less latency to be added in the interest of better smoothness or better responsiveness. A better alternative is antilag.

cl_timeout

Type :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Start recording a .wav audio file upon loading a demo

cl_wwwDownload

Type :ref:`Boolean <cvar-types>`
Default 1
Description Enables faster downloads through http/ftp when configured correctly by the server

cl_yawSpeed

Type :ref:`Range <cvar-types>`
Default 140
Range any positive integer
Description Specify the speed of +left and +right keys

cl_packetDelay

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Simulates packet delay, artificially increasing ping to server. Can be used to simulate ping on localhost

cl_packetLoss

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Simulates packet loss

cl_autoRecord

Type :ref:`Boolean <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Used to bypass mouse input in-game while menus are active.

cl_defaultProfile

Type :ref:`String <cvar-types>`
Default ""
Description Read-only CVAR setting the default user profile. Go to the PROFILE section in the main menu to set a default profile.

cl_demoFileName

Type :ref:`String <cvar-types>`
Default ""
Description Read-only CVAR displaying currently recording demo name

cl_demoOffset

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Read-only CVAR used to indicate size of the recording, in bytes.

cl_demoRecording

Type :ref:`Boolean <cvar-types>`
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 :ref:`String <cvar-types>`
Default ""
Description Stores name of file you're downloading when connecting to a server

cl_guid

Type :ref:`String <cvar-types>`
Default ""
Description A GUID, sometimes also referred to as "etkey", is an automatically generated alpha-numerical sequence used to uniquely identify players

cl_noDelta

Type :ref:`Boolean <cvar-types>`
Default 0
Description When enabled sets last snapshot / frame to NULL so there is nothing to delta from

cl_paused

Type :ref:`Boolean <cvar-types>`
Default 0
Description Read-only CVAR to toggle functionality of paused games

cl_profile

Type :ref:`String <cvar-types>`
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.

cl_running

Type :ref:`Boolean <cvar-types>`
Default 0
Description Can be used to check the status of the client game

cl_waveFileName

Type :ref:`String <cvar-types>`
Default "white"
Description Read-only CVAR displaying currently recording demo name

cl_waveOffset

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Read-only CVAR used for wave demo recording

cl_waveRecording

Type :ref:`Boolean <cvar-types>`
Default 0
Description Read-only CVAR used to indicate size of the recording, in bytes.

COM_related CVARS without prefix

com_altivec

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggle altivec support. Enables SIMD for specific processors. See altivec

com_ansiColor

Type :ref:`Boolean <cvar-types>`
Default 1
Description Enables color output in the system console

com_buildScript

Type :ref:`Boolean <cvar-types>`
Default 0
Description Force loading of all possible data and error on failures for automated data building scripts

com_hunkMegs

Type :ref:`Range <cvar-types>`
Default 128
Range 64 and above. (1 if dedicated)
Description Amount of memory (RAM) assigned to the hunk, in MB

com_ignoreCrash

Type :ref:`Boolean <cvar-types>`
Default 0
Description Let ET override CVAR_UNSAFE in case of crash

com_introPlayed

Type :ref:`Boolean <cvar-types>`
Default 0
Description Was used to determine if the intro should be played or not

com_maxFPS

Type :ref:`Range <cvar-types>`
Default 125
Range 20 -333
Description Specifies the maximum frames per second the game can reach for a stable render rate

com_soundMegs

Type :ref:`Range <cvar-types>`
Default 160
Range any positive integer
Description Amount of memory (RAM) allocated for loading sound files, in MB

com_watchdog

Type :ref:`Range <cvar-types>`
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

com_watchdog_cmd

Type :ref:`String <cvar-types>`
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

com_zoneMegs

Type :ref:`Range <cvar-types>`
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

com_crashed

Type :ref:`Boolean <cvar-types>`
Default 0
Description Set in case of a crash, prevents CVAR_UNSAFE variables from being set from a cfg

com_downloadURL

Type :ref:`String <cvar-types>`
Default "http://mirror.etlegacy.com/etmain"
Description Specifies the address which is used for the download command. Read-only.

com_hunkUsed

Type :ref:`Range <cvar-types>`
Default 0
Range 0 - value of com_hunkMegs`_ * 1024 * 1024
Description Size of the currently used hunk, in bytes

com_errorDiagnoseIP

Type :ref:`String <cvar-types>`
Default ""
Description Stores the address when connecting and gets cleared when connection is successful

com_masterServer

Type :ref:`String <cvar-types>`
Default "master.etlegacy.com"
Description Sets the address for the master server. Default port 27950.

com_minimized

Type :ref:`Boolean <cvar-types>`
Default 0
Description Used to catch the state of the game. Is the window minimized or not?

com_missingFiles

Type :ref:`String <cvar-types>`
Default ""
Description Storing information regarding missing files, used for displaying error messages to the user

com_motd

Type :ref:`Boolean <cvar-types>`
Default 1
Description Enables automatically requesting the message of the day to be able to display it

com_motdServer

Type :ref:`String <cvar-types>`
Default "motd.etlegacy.com"
Description Allow to override the default motd server. Default port 27951.

com_motdString

Type :ref:`String <cvar-types>`
Default ""
Description The official ET: Legacy "message of the day" string used to communicate news to players

com_pid

Type :ref:`Range <cvar-types>`
Default No default
Range any positive integer
Description Read-only CVAR storing process id

com_pidFile

Type :ref:`String <cvar-types>`
Default "profiles/name/profile.pid" = client, "etlegacy_server.pid" = server
Description Full path to the pid file (contains process id)

com_recommendedSet

Type :ref:`Boolean <cvar-types>`
Default 0
Description When enabled, the game uses default (recommended) values during profile creation

com_showTrace

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints trace information to the console. Used for debugging.

com_speeds

Type :ref:`List <cvar-types>`
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

com_unfocused

Type :ref:`Boolean <cvar-types>`
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 :ref:`List <cvar-types>`
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 :ref:`String <cvar-types>`
Default ""
Description Stores information regarding remaining files needed for the update

com_updateMessage

Type :ref:`String <cvar-types>`
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 :ref:`String <cvar-types>`
Default "update.etlegacy.com"
Description Allow to override the default update server. Default port is 27951.

CVAR Types

con_autoClear

Type :ref:`Boolean <cvar-types>`
Default 1
Description When enabled clears not yet send console input after closing the console

con_background

Type :ref:`String <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 0.5
Range 0.0 - 1.0
Description Amount of height the console takes space over the screen.

con_openspeed

Type :ref:`Range <cvar-types>`
Default 3
Range any positive integer
Description Speed at which the console opens

con_drawNotify

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints the last few lines of console output transparently on the top left of the screen

con_notifyTime

Type :ref:`Range <cvar-types>`
Default 7
Range any positive integer
Description Duration for which the notification prints on the top of the screen are displayed, in seconds

con_numNotifies

Type :ref:`Range <cvar-types>`
Default 4
Range 0 - 10
Description Number of drawable notifies

NET_ related CVARS without prefix

net_enabled

Type :ref:`Bitflag <cvar-types>`
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 :ref:`String <cvar-types>`
Default "0.0.0.0"
Description Ipv4 address to bind to relay connection

net_ip6

Type :ref:`String <cvar-types>`
Default "::"
Description Ipv6 address to bind to relay connection

net_mcast6addr

Type :ref:`String <cvar-types>`
Default "ff04::696f:7175:616b:6533"
Description Multicast address for ipv6

net_mcast6iface

Type :ref:`String <cvar-types>`
Default "0" on win32, "" on other platforms
Description Multicast interace for ipv6

net_port

Type :ref:`Range <cvar-types>`
Default 1.0
Range 1 - 65535
Description Ipv4 address port to bind to relay connection

net_port6

Type :ref:`Range <cvar-types>`
Default 1.0
Range 1 - 65535
Description Ipv6 address port to bind to relay connection

net_socksEnabled

Type :ref:`Boolean <cvar-types>`
Default 0
Description When enabled uses a secure socket connection to proxy to a gameserver

net_socksPassword

Type :ref:`String <cvar-types>`
Default ""
Description Password used to authenticate with SOCKS server

net_socksPort

Type :ref:`Range <cvar-types>`
Default 1080
Range 1 - 65535
Description Port used to connect to SOCKS server

net_socksServer

Type :ref:`String <cvar-types>`
Default ""
Description Address used to connect to SOCKS server

net_socksUsername

Type :ref:`String <cvar-types>`
Default ""
Description Username used to authenticate with SOCKS server

net_qport

Type :ref:`Range <cvar-types>`
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.

net_dropsim

Type :ref:`Range <cvar-types>`
Default 0
Range 0.0 - 1.0
Description Percentage in decimal value to simulate packet drops

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.

https://i.imgur.com/RmA0Zl7.jpg


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.

https://i.imgur.com/eXvhfpu.jpg


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.

ETL logo 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.

https://i.imgur.com/ShVviJn.jpg


fs_game

  • Default: "legacy"| Possible values: mod names _(aka folder names in fs_homepath)_
  • Run the game with this default mod.

fs_homePath


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_related CVARS without prefix

g_alliedMaxLives

Type :ref:`Range <cvar-types>`
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.

g_alliedWins

Type :ref:`Bitflag <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Allows players to control a omnibot they are spectating from their team

g_altStopwatchMode

Type :ref:`Boolean <cvar-types>`
Default 0
Description Switches from A-B-B-A format to A-B-A-B in stopwatch mode

g_antiLag

Type :ref:`Boolean <cvar-types>`
Default 1
Description Enables modem-friendly server support

g_antiwarp

Type :ref:`Boolean <cvar-types>`
Default 1
Description TBA

g_autoFireteams

Type :ref:`List <cvar-types>`
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 :ref:`Range <cvar-types>`
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.

g_axisWins

Type :ref:`Bitflag <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description When enabled, players are prevented from joining the team with more players.

g_banIPs

Type :ref:`String <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 30000
Range any positive integer
Description Respawn timer of allies, time in milliseconds

g_campaignFile

Type :ref:`String <cvar-types>`
Default ""
Description Path location to the .campaign file to load the desired campaign

g_complaintlimit

Type :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Looks up country origin of connected ip addresses through geodata to be able to show country flags

g_covertopsChargeTime

Type :ref:`Range <cvar-types>`
Default 30000
Range any positive integer
Description Specifies how long it takes to fully charge the charge bar for covert ops

g_currentCampaign

Type :ref:`String <cvar-types>`
Default ""
Description Contains the name of the current campaign. Set internally, Read-only.

g_currentCampaignMap

Type :ref:`String <cvar-types>`
Default ""
Description Contains the name of the current map when playing campaign. Set internally, Read-only.

g_currentRound

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Contains the number of the current round.

g_customConfig

Type :ref:`String <cvar-types>`
Default ""
Description Automatically configure server to specified default settings, e.g. 'legacy3'

g_disableComplaints

Type :ref:`Bitflag <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Whether the server should require players to be ready before a match can start

g_dropAmmo

Type :ref:`Range <cvar-types>`
Default 0
Range 0 - 5(-1)
Description Number of ammo packs dropped on fieldop death

g_dropHealth

Type :ref:`Range <cvar-types>`
Default 0
Range 0 - 5(-1)
Description Number of health packs dropped on medic death

g_dropObjDelay

Type :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Temporarily ban players who don't have any lives left between rounds

g_engineerChargeTime

Type :ref:`Range <cvar-types>`
Default 30000
Range any positive integer
Description Specifies how long it takes to fully charge the charge bar for engineer

g_excludedMaps

Type :ref:`String <cvar-types>`
Default ""
Description Excludes maps from being voted in intermission menu

g_extendedNames

Type :ref:`Boolean <cvar-types>`
Default 1
Description Allow extended ASCII characters in names. Extended ASCII chars have values between -128 and 0

g_fastres

Type :ref:`Boolean <cvar-types>`
Default 0
Description Enables faster revives

g_fastResMsec

Type :ref:`Range <cvar-types>`
Default 1000
Range any positive integer
Description Duration of revive animation / invincibility stage, in milliseconds
  • Is currently not used anywhere

g_fieldopsChargeTime

Type :ref:`Range <cvar-types>`
Default 40000
Range any positive integer
Description Specifies how long it takes to fully charge the charge bar for fieldop

g_filterBan

Type :ref:`Boolean <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Prevents players from being shown in the objectives cam in the limbo menu

g_fixedphysics

Type :ref:`Boolean <cvar-types>`
Default 1
Description Force physics that is fps dependent to be fixed to the value of g_fixedphysicsfps

g_fixedphysicsfps

Type :ref:`Range <cvar-types>`
Default 125
Range any positive integer
Description Fps number used to determine physics behaviour

g_floodLimit

Type :ref:`Range <cvar-types>`
Default 5
Range any positive integer
Description Number of packets allowed before flood protection kicks in

g_floodProtection

Type :ref:`Boolean <cvar-types>`
Default 1
Description Enables flood protection, meaning clients get kicked when spamming commands to the server

g_floodWait

Type :ref:`Range <cvar-types>`
Default 1000
Range any positive integer
Description Minimum required time between packets received per client before flood protection kicks in, in milliseconds

g_forcerespawn

Type :ref:`Range <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Enables teammates to hurt each other

g_gametype

Type :ref:`List <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 800
Range any positive integer
Description Controls the gravity that affects players. Lower is less gravitational pull

g_guidCheck

Type :ref:`Boolean <cvar-types>`
Default 1
Description Checks guid validity of connecting players - "1" prevents 2.60b clients without PB from connecting

g_heavyWeaponRestriction

Type :ref:`Range <cvar-types>`
Default 100
Range 0 - 100
Description Percentage of team that can have heavy weapons

g_inactivity

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 100
Range 0 - 100
Description Percentage of 'ready' players required to start next map

g_intermissionTime

Type :ref:`Range <cvar-types>`
Default 60
Range any positive integer
Description Duration of intermission, in seconds

g_ipcomplaintlimit

Type :ref:`Range <cvar-types>`
Default 3
Range 0 - 5
Description Limit of individual complaints before a player is kicked - 0 is disabled

g_knockback

Type :ref:`Range <cvar-types>`
Default 1000
Range any positive integer
Description force to be applied against a target as a result of damage

g_landminetimeout

Type :ref:`Boolean <cvar-types>`
Default 1
Description Remove landmines of the player that switches team or disconnects

g_lms_currentMatch

Type :ref:`Range <cvar-types>`
Default 0
Range 0 - g_lms_matchlimit
Description Read-only value that contains the current match in LMS

g_lms_followTeamOnly

Type :ref:`Boolean <cvar-types>`
Default 1
Description Restricts player to be only able to spectate their teammates

g_lms_lockTeams

Type :ref:`Boolean <cvar-types>`
Default 0
Description Locks both teams when the warmup period is done and a match is started

g_lms_matchlimit

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
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

g_lms_teamForceBalance

Type :ref:`Boolean <cvar-types>`
Default 1
Description Enables team balancing

g_log

Type :ref:`String <cvar-types>`
Default ""
Description Path of file where server logging is written to

g_logSync

Type :ref:`Boolean <cvar-types>`
Default 0
Description Toggles writing of server logs from buffered to synchronized

g_mapConfigs

Type :ref:`String <cvar-types>`
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 :ref:`String <cvar-types>`
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 :ref:`Bitflag <cvar-types>`
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 :ref:`Range <cvar-types>`
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

g_maxlives

Type :ref:`Range <cvar-types>`
Default 0 (disabled)
Range any positive integer
Description Number of respawns a player has

g_maxlivesRespawnPenalty

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description How many respawns a player has to sit through before respawning again

g_maxMapsVotedFor

Type :ref:`Range <cvar-types>`
Default 6
Range any positive integer
Description How many maps are listed for a player to vote on

g_maxWarp

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 45000
Range any positive integer
Description Specifies how long it takes to fully charge the charge bar for medics

g_minGameClients

Type :ref:`Range <cvar-types>`
Default 8
Range 0 - sv_maxClients
Description Minimum amount of players needed to start a match

g_minMapAge

Type :ref:`Range <cvar-types>`
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 :ref:`Bitflag <cvar-types>`
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

g_motd

Type :ref:`String <cvar-types>`
Default ""
Description Define a message of the day for the server

g_moverScale

Type :ref:`Range <cvar-types>`
Default 1.0
Range any positive decimal
Description Scale of speed of movers (truck, train, etc)

g_movespeed

Type :ref:`Range <cvar-types>`
Default 76
Range any positive integer
Description How fast bots maximum speed is

g_multiview

Type :ref:`Boolean <cvar-types>`
Default 0
Description Enables multiview

g_needpass

Type :ref:`Boolean <cvar-types>`
Default 0
Description Read only server variable to enforce a password or not

g_nextTimeLimit

Type :ref:`Range <cvar-types>`
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

g_noTeamSwitching

Type :ref:`Boolean <cvar-types>`
Default 0
Description Disallow players from joining a team with more players

g_oss

Type :ref:`Bitflag <cvar-types>`
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 :ref:`String <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Toggles the prestige system

g_pronedelay

Type :ref:`Bitflag <cvar-types>`
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 :ref:`Bitflag <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Matches playerhead hitbox with its animations, instead of being in the same place

g_redlimbotime

Type :ref:`Range <cvar-types>`
Default 30000
Range any positive integer
Description Respawn timer of axis, time in milliseconds

g_resetXPMapCount

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Amount of maps to be played before XP is reset in MAPVOTE game mode

g_restarted

Type :ref:`Boolean <cvar-types>`
Default 0
Description Read only variable to know if game is restarted, used for handling warmup

g_scriptName

Type :ref:`String <cvar-types>`
Default ""
Description The name of the script to look for instead of the current map name

g_shove

Type :ref:`Range <cvar-types>`
Default 60
Range any positive integer
Description Amount of force applied by a shove

g_shoveNoZ

Type :ref:`Boolean <cvar-types>`
Default 0
Description Apply no force into the Z direction(up/down) when pushed / shoved

g_skillRating

Type :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 1
Description Does not apply correction when client has missed multiple frames

g_soldierChargeTime

Type :ref:`Range <cvar-types>`
Default 20000
Range any positive integer
Description Specifies how long it takes to fully charge the charge bar for soldiers

g_spectatorInactivity

Type :ref:`Range <cvar-types>`
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 :ref:`Range <cvar-types>`
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 :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Read only variable used to swap players between teams

g_teamForceBalance

Type :ref:`Boolean <cvar-types>`
Default 0
Description Enforce balanced teams by forcing players to join the team with the lowest player count

g_userAim

Type :ref:`Boolean <cvar-types>`
Default 1
Description Uses client current spread scale instead of a flat number

g_userAlliedRespawnTime

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Overrides g_bluelimbotime

g_userAxisRespawnTime

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Overrides g_redlimbotime

g_userTimeLimit

Type :ref:`Range <cvar-types>`
Default 0
Range any positive decimal
Description Overrides timelimit

g_voiceChatsAllowed

Type :ref:`Range <cvar-types>`
Default 5
Range any positive integer
Description Amount of voice chats allowed within 30 seconds per player

g_voting

Type :ref:`Bitflag <cvar-types>`
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 :ref:`Range <cvar-types>`
Default 60
Range any positive integer
Description The length of time the warmup lasts prior to a match starting, time in seconds

g_xpSaver

Type :ref:`Boolean <cvar-types>`
Default 0
Description Enables XP save between maps during campaign

g_debugAlloc

Type :ref:`Boolean <cvar-types>`
Default 0
Description Debug prints allocation of memory on memory pool

g_debugBullets

Type :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Cuts construction time in half to speed up testing constructing

g_debugDamage

Type :ref:`Boolean <cvar-types>`
Default 0
Description
Prints the client num, health before receiving damage, damage received and weapon
used against the player with given client num.

g_debugForSingleClient

Type :ref:`List <cvar-types>`
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 :ref:`List <cvar-types>`
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 :ref:`List <cvar-types>`
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 :ref:`Bitflag <cvar-types>`
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 :ref:`List <cvar-types>`
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 :ref:`Boolean <cvar-types>`
Default 0
Description Prints script debug information

g_scriptDebugLevel

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Defines the level or granularity of debug information to be printed

g_scriptDebugTarget

Type :ref:`String <cvar-types>`
Default ""
Description Filters debug information for script name of entity

sv_fps

Type :ref:`Range <cvar-types>`
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.

sv_master1

Type :ref:`String <cvar-types>`
Default "etmaster.idsoftware.com"
Description Url of a master server that supplies the client with game servers known by it

sv_master2

Type :ref:`String <cvar-types>`
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 :ref:`String <cvar-types>`
Default ""
Description Base url to redirect download of missing files through http protocol

sv_running

Type :ref:`Boolean <cvar-types>`
Default 1
Description Lean while using the activate button
  • Default: "0"| Possible values:
  • Non-user CVAR

sv_packetLoss

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Simulates packet loss. Server side.

sv_packetDelay

Type :ref:`Range <cvar-types>`
Default 0
Range any positive integer
Description Simulates packet delay, which can lead to packet loss. Server side.

CVAR Types

in_keyboardDebug

Type :ref:`Boolean <cvar-types>`
Default 0
Description Prints keycode of pressed buttons to console

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.

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