Skip to main content
Page under construction

This page is under active filling and correction.
There may be errors, inaccuracies and omissions, and lack of translation.
Follow the updates to receive up-to-date information.

Console variables

List of all console variables (ConVar) - description, default values.

Added
Modified
Removed

User Interface

NameDefaultMinMaxDescription
namePlayer--Sets the player's name
password---Sets the password for connecting to a protected server
cl_autowepswitch1--Automatically switch to a picked-up weapon (if it is more powerful).
0 Never switch
1 Always switch
2 Always switch, but not while firing
cl_logocolor
255 120 24
--Sets the color of the spray (logo)
cl_logofilelambda--Sets the spray (logo) file
sbind1--Enables 'shadow' keybindings when on a game server.
Any keybindings set by the server are not saved to the player's config

UI : Preferences

NameDefaultMinMaxDescription
cl_servers_history_lastplayed7776000--Removes servers from the server browser history that you played on more than the specified number of seconds ago.
Default is 3 months (7776000 seconds).
Set to 0 to disable auto-removal
ui_enable_menu_randomsrv1--Enables the 'Random Server' item in the main game menu
ui_password_entry1--Enables the display of the password entry window in the game settings for gaining privileges on servers
ui_taskbar_iconflash0--Enables notifications via a flashing game icon in the Windows taskbar, drawing attention to events such as connecting to a server, a new round starting, etc.
ui_window_bringfront_on_event0--Automatically maximizes and brings the game window to the foreground on events like connecting to a server, a new round starting, etc.
ui_window_sound_on_event0--Enables a sound notification to draw attention to events like connecting to a server, a new round starting, etc.
vgui_menus1--Enables the new VGUI style menu with images and descriptions

UI : Console

NameDefaultMinMaxDescription
dev_console0--Allows access to the in-game console without displaying the main menu (GameUI).
0 The console opens against the main menu background.
1 The console can open directly in-game (including over the loading dialog when connecting to a server)
console1--Enables/disables console access
con_color
255 180 30
--Sets the color of text in the console in RGB format
con_mono0--Enables monospaced font in the console
con_notifytime4--Time in seconds that console messages are displayed in the corner of the screen
con_shifttoggleconsole0--When set to 1, the console opens only when Shift + ~ (tilde) is pressed

HUD

NameDefaultMinMaxDescription
hud_draw1--Enables/disables the display of all HUD elements
hud_draw_only_deathnotices0--When set to 1, only death notices are displayed from all HUD elements (useful for recording videos)
hud_drawhistory_time5--Time in seconds that weapon and equipment icons remain in the HUD after being picked up
hud_fastswitch0--Enables fast weapon switching without needing an extra click. 1 - on, 0 - off
hud_takesshots0--Automatically takes a screenshot of the scoreboard before a map change
hud_centerid1--Displays a player's name when you aim at them.
0 in the bottom left corner.
1 in the center of the screen
hud_color
255 160 0
--Sets the primary color for HUD elements (health, armor, timer, etc.)
fov_lerp_in005Speed of smooth zoom-in (FOV change) when using a scope (e.g., on sniper rifles)
fov_lerp_out005Speed of smooth zoom-out (FOV change) when exiting scope view
fov_lerp_sniper_instant101Instant field of view (FOV) recovery after firing a sniper rifle.
Set to 0 for smooth FOV recovery (controlled by fov_lerp_in)
cl_demo_showkeys0--Show pressed movement keys (WASD, Jump, Duck) on screen while watching a first-person demo
cl_locationalpha1500255Sets the transparency of the location name text on the map
cl_weaponlistfix0--Fixes the weapon list display (in Half-Life)
cl_radartype1--Sets the radar type.
0 transparent
1 solid
showpause1--Displays a pause icon when the game is paused
scr_centertime2--Time in seconds that server messages are displayed in the center of the screen
scr_printspeed8--The print speed of text messages on the screen

HUD : Crosshair

NameDefaultMinMaxDescription
crosshair1--Enables/disables the display of the crosshair
cl_crosshair_drawoutline0--Adds a black outline around the crosshair for better visibility
cl_crosshair_dynamic_maxdist_splitratio0.350.01.0With cl_crosshairstyle 2, defines the length ratio of the inner and outer parts of the crosshair when it splits.
inner = cl_crosshairsize * (1 - cl_crosshair_dynamic_maxdist_splitratio)
outer = cl_crosshairsize * cl_crosshair_dynamic_maxdist_splitratio
cl_crosshair_dynamic_splitalpha_innermod10.01.0With cl_crosshairstyle 2, sets the transparency modifier for the INNER crosshair pips after they split
cl_crosshair_dynamic_splitalpha_outermod0.50.31.0With cl_crosshairstyle 2, sets the transparency modifier for the OUTER crosshair pips after they split
cl_crosshair_dynamic_splitdist7--With cl_crosshairstyle 2, sets the distance the crosshair pips will split
cl_crosshair_friendly_warning002Shows a warning icon ('X') when aiming at a teammate.
0 off
1 Only for default crosshair styles
2 Always on
cl_crosshair_outlinethickness10.13.0Sets the thickness of the crosshair outline (from 0.1 to 3.0)
cl_crosshair_recoverytime_on_fps1--Makes crosshair recovery time (after firing) dependent on FPS. 1 - dependent, 0 - independent
cl_crosshair_sniper_show_normal_inaccuracy0--Includes 'no-scope' inaccuracy when calculating the blur of the sniper scope crosshair
cl_crosshair_sniper_style0010 Classic static sniper scope
1 Accurate dynamic sniper scope
cl_crosshair_sniper_width1120Sets the thickness of the sniper scope lines.
1 is one pixel thick
cl_crosshair_t0--Enables a T-shaped crosshair (removes the top line)
cl_crosshairalpha255--Sets the crosshair transparency (0-255). The lower the value, the more transparent the crosshair. Requires cl_crosshairusealpha 1
cl_crosshaircolor
50 250 50
--Sets the crosshair color in RGB format
cl_crosshairdot0--Adds a dot to the center of the crosshair. If you set cl_crosshairsize 0, only the dot will remain
cl_crosshairgap1--Sets the size of the gap between the crosshair pips
cl_crosshairgap_useweaponvalue0--If 1, the crosshair gap will change dynamically based on the selected weapon
cl_crosshairscale003Adjusts the scaling of the crosshair size based on screen resolution. 0 = Auto (Proportional), or resolution values like 480, 640, 1024
cl_crosshairsize5--Sets the length of the crosshair pips
cl_crosshairstyle6060 DEFAULT
1 DEFAULT STATIC
2 ACCURATE SPLIT (accurate recoil/spread with a fixed inner part)
3 ACCURATE DYNAMIC (accurate recoil/spread)
4 CLASSIC STATIC
5 OLD CS STYLE (inaccurate recoil/feedback)
6 ORIGINAL CS 1.6
cl_crosshairthickness0--Adjusts the thickness of the crosshair lines
cl_crosshairusealpha0--Enables/disables the ability to set crosshair transparency with cl_crosshairalpha
cl_fixedcrosshairgap3--Sets the gap size for a static crosshair
weapon_debug_spread_gap0.67--Coefficient for weapon_debug_spread_show 3
weapon_debug_spread_show0--Enables debug display of weapon spread.
1 shows a spread square.
3 shows spread using a dynamic crosshair
cl_dynamiccrosshair1--Enables the dynamic crosshair (expands when moving and firing).
0 Off (static).
1 Standard behavior (based on actual accuracy).
2 Reacts only to firing recoil
cl_observercrosshair1--Displays the crosshair in spectator mode

HUD : Radar

NameDefaultMinMaxDescription
hud_radar0--Enables the HUD radar
hud_radar_alpha2550255
Adjusts radar transparency (0 - 255)
hud_radar_always_centered0--
If 0, the radar map is fully utilized. Otherwise, the player is always centered on the radar, even at the map edges
hud_radar_bgcolor
0 0 0 255
--
Background color of the radar (RGBA)
hud_radar_fgcolor
0 0 0 220
--
Foreground color of the radar (RGBA)
hud_radar_icon_scale_min0.30.051
Sets the minimum icon scale on the radar (valid values are 0.05 to 1.0)
hud_radar_map_outlinecolor
10 10 10 255
--
Sets the color of the map border outline on the radar (RGBA)
Only works if the outline thickness is set with hud_radar_map_outlinethickness
hud_radar_map_outlinethickness0--
Sets the thickness of the map border outline on the radar
hud_radar_map_shadecolor0--
Sets the map's shade color (RGB)
hud_radar_map_solidcolor0--
Sets a solid color for the map (RGB)
hud_radar_mapscale0.90.23.5
Sets the map scale on the radar
hud_radar_mapscale_dynamic0--
Enables dynamic map scaling to fit all available players on the radar.
hud_radar_mapscale_dynamic_min0.50.013.5Sets the minimum scale threshold to prevent the map from becoming too small with dynamic scaling. (A scale of 0.5 usually covers the entire map)

See hud_radar_mapscale_dynamic
hud_radar_objectives1--
Enables the display of objectives (e.g., bomb sites) on the radar
hud_radar_panel_pos0--Sets the position of the radar on the screen.
0 left
1 right
hud_radar_rotate1--
Enables map rotation along with the player
hud_radar_scale10.53Sets the overall scale of the radar (valid values from 0.5 to 3.0)
hud_radar_scale_with_scoreboard003Sets the radar scale when the scoreboard is open. If 0, scaling is disabled
hud_radar_shapecolor
158 158 158
--
Color of the module shape around the radar (RGB)

It is not recommended to use red shades, as the radar module pulses red when the bomb is planted
hud_radar_showhealth0--Show player health on the overview map
hud_radar_shownames0--Show player names on the overview map
hud_radar_showtracks0--Show player tracks on the overview map
hud_radar_square0--If 1, the radar will be square-shaped
hud_radar_square_with_scoreboard1--If 1, the radar will become square when the scoreboard is open
hud_radar_table_rotate0--Rotate the square radar when the scoreboard is open
hud_radar_takeshot1--Automatically create a map image and script for the radar if they are missing
hud_radar_takeshot_quality6510100Sets the quality (in percent) of the generated map image for the radar
hud_radar_x16--Radar position on the X-axis
hud_radar_y16--Radar position on the Y-axis
cl_radartype

HUD : Death Notice

NameDefaultMinMaxDescription
hud_deathnotice_draw1--Display kill notifications (killfeed)
hud_deathnotice_fade1--Enables smooth fade-in and fade-out of kill notifications
hud_deathnotice_gap40-Sets the gap between lines in the killfeed
hud_deathnotice_iconcolor0--Overrides RGBA colors for icons in the killfeed
hud_deathnotice_iconscale0.850.55Sets the scale of kill icons (valid values from 0.5 to 5.0)
hud_deathnotice_iconshd1--Sets the quality of kill icons.
0 low (classic)
1 high
hud_deathnotice_killrarity1--Display kill rarity icons.
0 Headshot icon only
1 Display all icons
hud_deathnotice_max61-Maximum number of kill notifications to display
hud_deathnotice_outlinethickness3-2020Sets the outline thickness for kill notifications
hud_deathnotice_panel_pos1--Sets the position of the killfeed.
0 left
1 right
hud_deathnotice_style3--Sets the style of kill notifications.
0 DEFAULT
1 CSO STYLE
2 CSGO STYLE (OUTLINE ONLY ON LOCAL PLAYER)
3 CSGO STYLE (OUTLINE AND BACKGROUND)
hud_deathnotice_time6--Time in seconds that kill notifications are displayed

HUD : Scoreboard

NameDefaultMinMaxDescription
scoreboard_shortheaders0--Use short headers in the scoreboard
scoreboard_showavatars1--Display player avatars in the scoreboard
scoreboard_showhealth1--Display player health in the scoreboard
scoreboard_showmoney1--Display player money in the scoreboard
scoreboard_players_linespacing22--Line spacing for players in the scoreboard
scoreboard_players_linespacing_fixed0--Use fixed line spacing
scoreboard_showspeaker1--Display a speaker icon for talking players in the scoreboard

HUD : Spectator

NameDefaultMinMaxDescription
spec_autodirector1--Auto-director: the camera automatically switches between players and views
spec_drawcone1--Displays a cone on the overview map showing the direction the spectated player is looking
spec_drawnames1--Enables/disables the display of player names on the overview map
spec_drawstatus1--Enables/disables game information (map, round time, etc.) in the top right corner of the screen in spectator mode
spec_movespeedkey3.55--Movement speed multiplier in spectator mode when holding the Shift key
spec_pip0--Enables 'Picture-in-Picture' spectator mode
spec_scoreboard0--Enables/disables the scoreboard display in spectator mode

HUD : Chat / Text

NameDefaultMinMaxDescription
hud_message1--Show HUD messages.
0 Disabled
1 All messages
2 HUD messages only
3 DHUD messages only
hud_headname1--Show the name above a teammate's head or a tracked player's head (with 'trackplayer' command)
hud_saytext1--Controls the display of in-game chat.
0 Disable chat
1 Display chat, input field on top
2 Display chat, input field below chat text
hud_saytext_fade1--Enables smooth fade-in and fade-out of chat messages
hud_saytext_gap10-Sets the gap between lines in the chat
hud_saytext_max5--Maximum number of simultaneously displayed chat messages
hud_saytext_time5--Time chat messages are displayed (in seconds)

HUD : Speedometer

NameDefaultMinMaxDescription
hud_speedometer0--Enable the speedometer
hud_speedometer_stayjump0--Do not update speed while the player is in the air (shows speed at the moment of the jump)
hud_speedometer_x-1--Speedometer position on the X-axis (-1 for center)
hud_speedometer_y-1--Speedometer position on the Y-axis

Movement

NameDefaultMinMaxDescription
cl_upspeed320--Speed of moving up ladders
cl_sidespeed400--Sideways (strafe) movement speed
cl_backspeed400--Backward movement speed
cl_pitchspeed225--Speed of changing the vertical view angle (up/down) with the keyboard
cl_anglespeedkey0.67--Turning speed multiplier when using the keyboard
cl_forwardspeed400--Forward movement speed
cl_movespeedkey0.52--Movement speed multiplier when walking slowly (walk)
cl_yawspeed210--Speed of changing the horizontal view angle (left/right) with the keyboard

Mouse Control

NameDefaultMinMaxDescription
sensitivity3--Sets mouse sensitivity
m_rawinput1--Use raw mouse input (bypassing OS settings)
m_customaccel0--Enables custom mouse acceleration
m_customaccel_exponent1--Exponent for the mouse acceleration curve
m_customaccel_max0--Maximum mouse acceleration value
m_customaccel_scale0.04--Mouse acceleration scale
m_filter0--Enables mouse movement filtering (smoothing)
m_forward1--Sets the mouse sensitivity multiplier for forward/backward movement
m_mousethread_sleep10--Mouse thread 'sleep' time in ms, affects polling rate
m_noforcemaccel0--Use Windows mouse acceleration settings
m_noforcemparms0--Use Windows mouse button parameters
m_noforcemspd0--Use Windows mouse speed settings
m_pitch0.022--Sets the mouse sensitivity multiplier for vertical view (up/down). A negative value inverts the axis
m_side0.8--Sets the mouse sensitivity multiplier for strafing
m_yaw0.022--Sets the mouse sensitivity multiplier for horizontal view (left/right)
zoom_sensitivity_ratio1.2--Mouse sensitivity multiplier when zoomed in (e.g., with sniper rifles)
cl_mousegrab1--Grab the mouse cursor inside the game window
cl_idealpitchscale0.8---
v_centermove0.15--The speed at which the view returns to the center after movement stops
v_centerspeed500---
edgefriction2--Friction on object edges, affects sliding
lookspring0--Enables automatic view centering
lookstrafe0--Enables automatic strafing when moving the mouse left/right
joyadvanced0--Enables advanced joystick settings
joyadvaxisr0--Joystick R-axis settings
joyadvaxisu0--Joystick U-axis settings
joyadvaxisv0--Joystick V-axis settings
joyadvaxisx0--Joystick X-axis settings
joyadvaxisy0--Joystick Y-axis settings
joyadvaxisz0--Joystick Z-axis settings
joyforwardsensitivity-1.0--Joystick sensitivity for forward movement
joyforwardthreshold0.15--Joystick deadzone for forward movement
joynamejoystick--Joystick name
joypitchsensitivity1.0--Joystick sensitivity for vertical view
joypitchthreshold0.15--Joystick deadzone for vertical view
joysidesensitivity-1.0--Joystick sensitivity for strafing
joysidethreshold0.15--Joystick deadzone for strafing
joystick0--Enables joystick support
joywwhack10.0---
joywwhack20.0---
joyyawsensitivity-1.0--Joystick sensitivity for horizontal view
joyyawthreshold0.15--Joystick deadzone for horizontal view

Camera

NameDefaultMinMaxDescription
c_maxdistance200.0--Maximum camera distance in third-person mode
c_maxpitch90.0--Maximum vertical camera pitch angle
c_maxyaw135.0--Maximum horizontal camera yaw angle
c_mindistance30.0--Minimum camera distance in third-person mode
c_minpitch0.0--Minimum vertical camera pitch angle
c_minyaw-135.0--Minimum horizontal camera yaw angle
cam_command0--Enables camera control (1 - third-person, 0 - first-person)
cam_idealdist64--Ideal camera distance
cam_idealpitch0--Ideal vertical camera pitch angle
cam_idealyaw0--Ideal horizontal camera yaw angle
cam_snapto0--Instantly snaps the camera to the ideal position
chase_active0--Activates chase camera mode (camera follows the player)
chase_back100--Distance from the camera to the player's back in chase camera mode
chase_right0--Camera offset to the right in chase camera mode
chase_up16--Camera offset upwards in chase camera mode
cl_chaseback15--Distance from the camera to the player's back
cl_chasedist112--Camera follow distance
cl_chaseright20--Camera offset to the right
cl_chaseup5--Camera offset upwards
cl_camera_follow_bone_index-2--Index of the model bone for the camera to follow.
-2 disabled
-1 root bone
0+ bone index

Viewmodel

NameDefaultMinMaxDescription
viewsize120--Sets the rendering area size. Obsolete, use viewmodel_fov
viewmodel_fov901179Field of View (FOV) for the weapon model in hand
viewmodel_lag_scale00100Sets the scale of the viewmodel sway
viewmodel_lag_scale_crouch0010Sets the scale of the viewmodel sway when crouching
viewmodel_lag_scale_jump005Sets the scale of the viewmodel sway when jumping
viewmodel_lag_scale_land0010Sets the scale of the viewmodel sway when landing
viewmodel_lag_speed80100Sets the speed of the viewmodel sway
viewmodel_offset_x0--Viewmodel offset on the X-axis (right/left)
viewmodel_offset_y0--Viewmodel offset on the Y-axis (forward/backward)
viewmodel_offset_z0--Viewmodel offset on the Z-axis (up/down)
viewmodel_retract0--Enables viewmodel retraction when approaching obstacles
viewmodel_rollangle0020Scale of the viewmodel roll angle when strafing
viewmodel_shift1--Controls viewmodel shift when looking up/down.
0 off
1 on (default)
2 auto-adjust
viewmodel_shift_left_amt1.5--Amount the viewmodel shifts to the left when firing accuracy increases
viewmodel_shift_right_amt0.75--Amount the viewmodel shifts to the right when firing accuracy decreases
scr_ofsx0--Obsolete version of viewmodel_offset_x
scr_ofsy0--Obsolete version of viewmodel_offset_y
scr_ofsz0--Obsolete version of viewmodel_offset_z
camera_movement_bone-1--Sets a specific viewmodel bone as the view camera
camera_movement_interp0.10.1-Smooths camera movement when switching weapons. 0 = disabled
camera_movement_scale1--Camera movement scale. 0 = disabled
cl_bob0.01--Overall multiplier for the weapon bobbing animation when walking
cl_bob_lower_amt6030How much the viewmodel lowers when running
cl_bob_sniper0--Enables bobbing for sniper rifles
cl_bobamt_lat0.402Amount the viewmodel moves side to side when running
cl_bobamt_vert0.1502Amount the viewmodel moves up and down when running
cl_bobcycle0.80.12Frequency of viewmodel bobbing when running
cl_bobstyle003Sets the weapon bobbing style.
0 Classic CS 1.6
1 Legacy Quakeworld
2 Improved (like CSGO)
cl_bobup0.5--Controls how long the viewmodel stays in the 'up' position during bobbing
cl_vsmoothing0.05--Vertical view smoothing
cl_minviewmodel0--Use the default weapon model (v_model) for all weapons
cl_righthand1-11Use right-handed (1) or left-handed (0) weapon model
cl_shieldweapon_handpreference0--Use the hand side determined by cl_righthand for the shield weapon model
r_drawviewmodel

Visual Effects

NameDefaultMinMaxDescription
cl_weather103Enables weather effects (rain, snow).
0 Disabled
1 Low intensity
2 Medium intensity
3 High intensity
cl_smokegren_color
175 175 175
--Color of smoke from a smoke grenade
cl_smokegren_debug0--Enables debug visualization for smoke grenades.
0 off
1 Visualize smoke cloud radius
2 Visualize smoke particles
3 Visualize the closest position of a line blocked by smoke
cl_smokegren_full_density0--Enables full density smoke from smoke grenades
cl_corpsefall1--Enables smooth falling of corpses through the ground after the cl_corpsestay time expires; otherwise, corpses fade out smoothly
cl_corpsestay600--Time in seconds before corpses disappear. 0 for instant disappearance
violence_ablood1--Display monster blood (for Half-Life mods)
violence_agibs1--Show monster gibs (for Half-Life mods)
violence_hblood1--Display player blood
violence_hgibs1--Show player gibs
violence_vfxblood0--Enables advanced blood visual effects
violence_vfxblood_bigdrops30-Number of large blood drops (only from explosions or headshots)
violence_vfxblood_burst_ratio40-Blood amount multiplier when a body explodes (multiplies splatter, drop effects, etc.)
violence_vfxblood_color
145 15 15
--Sets the color for advanced blood effects
violence_vfxblood_decal_lightness0.350.1100Lightness factor for blood decals. (Lower values make the blood darker)
violence_vfxblood_drops1.50-Number of blood drops
violence_vfxblood_gibs70-Number of scattered gibs (only from explosions or headshots)
violence_vfxblood_grenade1--Enables body explosion on grenade or bomb kills
violence_vfxblood_headshot1--Enables body explosion on headshot kills
violence_vfxblood_mist0.750-Number of blood mist effects
violence_vfxblood_small30-Number of small blood particles (can leave decals on surfaces)
violence_vfxblood_splat1.50-Number of blood splatters
traceralpha0.5--Tracer bullet transparency
tracerblue0.4--Blue component of tracer bullet color
tracergreen0.8--Green component of tracer bullet color
tracerlength0.8--Tracer bullet length
traceroffset30--Tracer bullet offset
tracerred0.8--Red component of tracer bullet color
tracerspeed6000--Tracer bullet speed
cl_gunsmoke0--Enables display of smoke from the weapon barrel upon firing
cl_guntracer0--Enables display of tracer bullets exiting the weapon barrel
cl_guntracer_color
255 255 255
--Sets the color of tracer bullets
cl_guntracer_offset48--Distance from the barrel at which tracer bullets start to display
cl_guntracer_speed36500-Speed of tracer bullets in units
cl_guntracer_speed_maxmul1.25--Maximum speed multiplier for tracer bullets based on distance
cl_fog_color0--Adjusts the fog color
cl_fog_density0--Sets the fog density
cl_fog_skybox1--Enables fog to extend to the skybox (sky)
egon_amplitude0--Amplitude of the gluon gun (Egon gun) beam oscillation in Half-Life
max_shells120--Maximum number of simultaneously visible shell casings
max_smokepuffs120--Maximum number of simultaneously visible smoke puffs (from grenades, bullet impacts)
r_decals

Video

NameDefaultMinMaxDescription
fps_max100--Frame rate limiter (FPS)
fps_override0--If 1, allows exceeding the engine's standard FPS limit
cl_showfps0--Show current FPS in the corner of the screen
default_fov90--Default Field of View
widescreen0--Enables widescreen mode (support for 16:9, 16:10)
stretchaspect0--Stretches the image to match the screen's aspect ratio (removes black bars)
engine_no_focus_sleep200-'Sleep' time (in ms) when the game window is not in focus.
Set to 0 to prevent the engine from 'sleeping', so frame rate will not drop
engine_no_render_minimized0--Do not update screen rendering when the game is minimized (reduces CPU and GPU load)
brightness1.0--Sets the brightness value
gamma2.5--Sets the gamma value
texgamma2.0--Sets the texture gamma
lightgamma2.5--Sets the lighting gamma
lambert1.5--Multiplier for diffuse lighting on models
direct0.9---
v_dark---Whether to darken the screen on death (in Half-Life)
gl_use_shaders0--Enables the use of the 'overbright' effect using shaders
gl_reduce_shader_changes1--Reduces the number of shader switches to improve performance
gl_vsync1-11Synchronizes frame rate with monitor refresh rate.
  0 Disabled
  1 Standard V-Sync
-1 Adaptive V-Sync
gl_affinemodels0--Enables affine transformation for models, may cause distortions
gl_alphamin0.25--Minimum alpha level for a pixel to be rendered
gl_ansio16--Level of anisotropic filtering
gl_clear0--If 1, clears the color buffer, which can help with some visual artifacts
gl_cull1--Enables culling of unseen polygons
gl_dither1--Enables dithering (smoothing of color transitions)
gl_envmapsize256--Size of the environment map (envmap)
gl_flashblend0--Enables blending for flashbang effects
gl_fog1--Enables fog effects
gl_keeptjunctions1--Keep T-junctions to avoid 'holes' in geometry
gl_lightholes1--Enables 'light holes'
gl_lowlatency0--Enables low input latency mode
gl_lowlatency_debugoutput0--Controls debug output for low latency mode
gl_lowlatency_maxslop_ms5--Sets the upper threshold for acceptable latency slop in milliseconds for low latency mode
gl_lowlatency_minslop_ms2--Sets the lower threshold for acceptable latency slop in milliseconds for low latency mode
gl_max_size512--Maximum texture size the engine can load
gl_monolights0--Use uniform lighting without lightmaps
gl_msaa204Sets the level of multisample anti-aliasing (MSAA).
0 Disabled
1 2x MSAA
2 4x MSAA
3 8x MSAA (recommended max)
4 16x MSAA (mostly for testing)

Higher values increase smoothing but can also blur edges and the entire screen.
8x MSAA is the practical limit; going higher (16x) offers almost no visual benefit but significantly hurts performance
gl_overbright0--Enables overbright mode, making bright areas even brighter
gl_palette_tex1--Use paletted textures
gl_picmip0031Sets the texture detail level (MIP level). The higher the value, the lower the texture quality
gl_polyoffset4--Polygon offset to prevent 'z-fighting' (flickering) of decals
gl_round_down3--Controls rounding of texture sizes. Lower values may improve quality
gl_spriteblend1--Enables blending (transparency) for sprites
gl_texturemodeGL_LINEAR_MIPMAP_LINEAR--Determines the texture filtering mode.
GL_NEAREST
GL_LINEAR
GL_NEAREST_MIPMAP_NEAREST
GL_LINEAR_MIPMAP_NEAREST
GL_NEAREST_MIPMAP_LINEAR
GL_LINEAR_MIPMAP_LINEAR
gl_wateramp0.3--Amplitude of water waves
gl_watersides0--Render the sides of water brushes
gl_wireframe0--Enables wireframe mode for geometry display
gl_zmax4096--Maximum Z-buffer (depth) value, affects rendering distance
r_bmodelinterp1--Enables interpolation for moving bmodel entities (doors, platforms)
r_cachestudio1--Cache studio models
r_cullsequencebox1--Use a precise bounding box for animation culling
r_decals4096--Maximum number of simultaneously visible decals (bullet holes, blood, sprays)
r_detailtextures0--Enables detail textures (if supported by the map)
r_drawentities1--Render game entities (players, weapons, etc.)
r_drawviewmodel1--Render the weapon model in hand
r_dynamic1--Enables dynamic lighting (e.g., from gunshots, flashlight)
r_fullbright0--Enables maximum brightness, ignoring lightmaps
r_glowshellfreq2.2--Glow shell frequency for certain objects
r_lightmap0--Debug mode for viewing lightmaps
r_lockcull0--Freeze culling of unseen objects at the current point (for debugging)
r_lockpvs0--Freeze the PVS (Potentially Visible Set) to fly around the map and see what is being rendered (for debugging)
r_maxbeams12804096Maximum number of visible beams
r_mirroralpha1--Enables transparency for mirrored surfaces
r_mmx0--Use MMX instructions to accelerate rendering
r_norefresh0--Disables screen refreshing (for debugging)
r_novis0--Disables VIS data processing, rendering the entire map
r_prefertexturefiltering1--Enables texture filtering
r_shadows0--Enables dynamic shadows from objects (obsolete feature). Use cl_shadows for player shadows
r_showinfo0--Show rendering/movement info
r_showparticles0--Show usage statistics for particles and beams
r_speeds0--Displays rendering performance information (wpoly, epoly, fps)
r_traceglow0--Debug tracing for glow effects
r_wadtextures0--Use textures from WAD files instead of those embedded in the BSP
r_wateralpha1--Enables transparency for water
cl_himodels0--Enables high-quality (HD) models. Not used in CS, relevant for Half-Life
cl_min_ct2--Controls which CT model is used when cl_minmodels 1 is active.
2 GIGN
4 GSG9
7 SAS
9 SEAL Team 6 (Urban)
cl_min_t1--Controls which T model is used when cl_minmodels 1 is active.
1 Phoenix Connexion (Leet)
5 Guerilla
6 Arctic
8 Midwest Militia (Terror)
cl_minmodels0--Use a single player model for each team to simplify recognition.
1 Enabled
0 Use all models
cl_shadows1--Enables player shadows (a simple black circle under the model)
cl_waterdist4--Rendering distance for water effects
fastsprites0--Sets the quality of smoke sprites.
0 high quality
1 medium quality
2 low quality
Lower quality improves performance

Audio/Voice

NameDefaultMinMaxDescription
volume0.7--Overall game volume
voice_autogain0--Automatic voice gain control
voice_avggain0.5--Average voice gain
voice_clientdebug0--Enables debug information for voice chat
voice_dsound1--Use DirectSound for voice
voice_enable1--Enable/disable voice chat (transmit and receive)
voice_fadeouttime0.1--Voice fade-out time
voice_fakeloss0--Simulate packet loss for voice chat
voice_forcemicrecord1--Force using microphone recording
voice_inputfromfile0--Read voice data from a file instead of the microphone
voice_loopback0--Enables loopback mode to hear your own microphone
voice_maxgain5--Maximum voice gain
voice_minabs0.15---
voice_minavg1.0---
voice_modenable1--Enables voice chat in the current mod
voice_outputdevice0--Selects the audio API.
0 Miles
1 XAudio2
voice_outputfile---Record voice system output to the specified file
voice_overdrive2--Factor by which other sounds are reduced when someone speaks in voice chat
voice_overdrivefadetime0.4--Fade time for other sounds when voice_overdrive is active
voice_preprocess0--Enables pre-processing (cleanup) of incoming microphone data
voice_profile0--Voice system profiling
voice_quality626Sets the audio codec quality.
2 Speex
3 Raw
4 Silk
5 Opus
6 Opus PLC
voice_recordtofile0--Record microphone data to a file
voice_scale1--Overall voice chat volume
voice_showchannels0--Show voice communication channels
voice_showincoming0--Show incoming voice data
mic_autogain16000--Automatic gain control level for microphone input
mic_inputfile---Read data from the specified file instead of the microphone
mic_outputfile---Record microphone data to the specified file
room_delay0.0--Delay for the reverb effect
room_dlylp2---
room_feedback0--Feedback for the reverb effect
room_left0.0---
room_lp0---
room_mod0---
room_off0--Disables reverb effects
room_refl0--Reflection level for the reverb effect
room_rvblp1.0---
room_size0.0--'Room' size for the reverb effect
room_type0029Reverb type for normal spaces (not underwater).
There are 10 base reverb presets such as
1 generic
2-4 metalic
5-7 tunnel
8-10 chamber
11-13 brite
14-16 water
17-19 concrete
20-22 outside
23-25 weird
26-29 weirdo
ambient_fade100--Distance at which ambient sounds fade out
ambient_level0.3--Volume of ambient sounds
nosound0--Completely disables sound
suitvolume0.25--Volume of HEV suit sounds (in Half-Life)
bgmvolume1--Enables/disables background music (CD audio)
hisound1--Enables high-quality (1 = 22kHz) or low-quality (0 = 11kHz) sound
waterroom_type14029Reverb type for underwater.
See room_type for reverb types
MP3FadeTime2.0--Fade time for MP3 tracks
MP3Volume0.8--Volume of MP3 tracks
snd_mixahead0.1--Buffer size for pre-mixing sound.
Increasing it may help with sound stuttering
snd_mute_losefocus1--Mute sound when the game window is not in focus (in the background)
snd_noextraupdate1--Disables extra sound system updates, may improve performance
snd_show0--Displays debug information about sounds
speak_enabled1--Enables speech synthesis support
s_show0---
loadas8bit0--Load sounds in 8-bit quality to save memory

Network

NameDefaultMinMaxDescription
iplocalhost--Overrides the IP address for hosts with multiple network interfaces
port27015--Default game port
hostport0--Port for hosting a game server
clientport27005--Default client port
multicastport27025---
ip_hostport0---
ip_clientport0---
fakelag0.0--Creates artificial lag for all incoming packets (in milliseconds)
fakeloss0.0--Simulates packet loss as a percentage
net_log0--Enables logging of network activity
net_address---Network address to bind to
net_chokeloop0--Apply bandwidth choke to loopback packets
net_drawslider0--Draw completion slider during signon
net_showdrop0--Show dropped packets in the console
net_showpackets0--Output packet summary to the console
max_queries_sec3.0--Maximum number of queries per second from a single IP
max_queries_sec_global30--Maximum number of queries per second globally
max_queries_window60--Time window for tracking query count
rcon_address---Address of the remote server for sending rcon commands
rcon_password---Password for remote server administration (rcon)
rcon_port0--Port of the remote server for sending rcon commands

Network : Client

NameDefaultMinMaxDescription
rate100000--Maximum bytes per second the client can receive from the server
cl_lw1--Enables client-side prediction of weapon effects (animation, sounds)
cl_lc1--Enables server-side hit calculation and lag compensation
cl_lm1--Enables client-side movement prediction to compensate for lag
cl_cmdbackup2--Number of additional commands sent with each packet (helps with packet loss)
cl_cmdrate6410-Maximum number of command packets sent to the server per second
cl_updaterate64--Number of update packets per second requested from the server
cl_fixtimerate7.5--Number of milliseconds per frame for 'clock drift' correction
cl_clockreset0.1--If the client clock drifts from the server's by more than this value, it is forcibly synchronized
cl_timeout60--Number of seconds without receiving packets from the server before the client disconnects
cl_resend6.01.520Delay in seconds before resending a connection attempt
cl_showmessages0--Output network traffic to the console for debugging
cl_shownet002Show network traffic information
cl_showerror0--Display prediction errors
cl_showevents0--Show events like gunshots. All events are listed in cstrike/events/
cl_nodelta0--Disables delta compression
cl_nosmooth0--Disables smoothing of prediction errors
cl_smoothtime0.1--Time in seconds over which the client's view is smoothed after a prediction error
cl_solid_players1--Whether the movement prediction engine should treat other players as solid
cl_needinstanced0--Debug info in the console about loaded models. Requires developer 1 and sv_instancedbaseline 1 on the server
cl_slist10.0--Number of seconds to wait for server ping responses when searching on the LAN
cl_pmove_version1.0--Sets the player movement code version for client-server prediction synchronization
cl_fixmodelinterpolationartifacts1--Fixes interpolation artifacts when animated models of non-players are moved by other entities
net_graph0--Displays the network usage graph (1, 2, or 3)
net_graphalpha1--Transparency of the net_graph
net_graphheight64--Height of the net_graph panel
net_graphheightfixed0--Fixed net_graph height
net_graphmsecs400--The latency graph represents this many milliseconds
net_graphpos1--Position of net_graph on the screen (1 - right, 2 - center, 0 - left)
net_graphproportionalfont1--Determines if the net_graph font is proportional or not
net_graphshowinterp1--Display the interpolation graph
net_graphshowlatency1--Display the ping/packet loss graph
net_graphsolid1--Makes the net_graph background opaque
net_graphtext1--Display text fields
net_graphwidth250--Width of the net_graph panel
net_scale3--Scale of the net_graph
ex_interp0.1--Time in seconds to interpolate object positions. A value of 1 / cl_updaterate is optimal
r_bmodelinterp

Network : Client : Connection

NameDefaultMinMaxDescription
cl_dlmax1024--Maximum fragment size (in bytes) for downloading player logos from the server during gameplay, as well as for downloading missing resources when connecting to the server
cl_download_delay_ms0010000Delay in milliseconds between HTTP file downloads
cl_download_demo_resources1--Enables downloading of missing resources during demo playback
cl_download_enable_gzip0--Enable Gzip compression support for fast downloads (FastDL)
cl_download_ingame1--Enables downloading of custom player sprays (logos) during gameplay
cl_download_multi5120Maximum number of simultaneous downloads
cl_download_retries3010Maximum number of download retry attempts
cl_filterstuffcmd1--Filtering level for commands the server can execute on your client.
0 off (no restrictions)
1 soft level (some commands allowed)
2 strict level (execution forbidden)
cl_filterstuffcmd_notify1--Enables notifications about blocked commands the server attempted to execute on your client
cl_allow_demorecord1--Allows the server to automatically start recording a demo
cl_allow_redirect0--Allow redirection to another server at the current server's request
cl_allowdownload1--Allow downloading maps, models, sounds, and other files when connecting to a server
cl_allowupload1--Allow uploading your custom spray to the server upon connection

Server

NameDefaultMinMaxDescription
hostnameHalf-Life--Server name
coop0--Cooperative game mode
skill113NPC difficulty level, used in Half-Life
deathmatch0--Run the server in deathmatch mode (instant respawn)
pausable1--Allows clients to pause the game
host_framerate0.0--Locks the time elapsed per server frame
host_killtime0--Time in seconds until server shutdown after the killserver command is executed
host_limitlocal0--Apply cl_cmdrate and cl_updaterate to loopback connections
host_profile0--Enables host profiling
host_speeds0--Show general system execution time information
host_timescale10.062516Multiplier for the flow of time on the server (slowdown/speedup)
sv_accelerate10--Player acceleration on the ground
sv_aim1--Enables auto-aim for players (single-player or co-op only)
sv_airaccelerate10--Player acceleration in the air (affects strafe-jumping)
sv_allow_dlfile1--Allow file downloading from the server
sv_allowdownload1--Allow clients to download files from the server
sv_allowupload1--Allow clients to upload files to the server (e.g., sprays)
sv_bounce1--Bounce multiplier for entity collisions
sv_cheats0--If 1, enables the use of 'cheat' commands like impulse 101 (16000 money) or god (god mode)
sv_clienttrace1--Maximum trace radius for client-side hits
sv_contact---Server contact information (e-mail)
sv_downloadurl---URL for fast file downloads (FastDL)
sv_enableoldqueries0--Enable support for old server query protocols
sv_failuretime0.5---
sv_filetransfercompression1--Use bzip2 compression for file transfers
sv_filetransfermaxsize10485760--Maximum file size for transfers (in bytes)
sv_filterban1--Enable IP filtering for bans
sv_friction4--Surface friction
sv_gravity800--Server gravity
sv_instancedbaseline1--Use instanced baselines for entities
sv_lan1--If 1, the server is considered a LAN server and is not announced to the internet
sv_lan_rate20000.0--Default rate for LAN servers
sv_language0--Server language
sv_log_onefile0--Write all logs to a single file
sv_log_singleplayer0--Log in single-player mode
sv_logbans0--Log bans
sv_logblocks0--Log blocks
sv_logrelay0--Relay logs to another address
sv_logsecret0---
sv_max_upload_count1---
sv_maxrate0--Maximum rate a client can set. 0 - no limit
sv_maxspeed320--Maximum player movement speed
sv_maxunlag0.5--Maximum time (in seconds) the server will rewind to compensate for lag. Higher values improve compensation but may cause unrealistic hits for high-ping players
sv_maxupdaterate30.0--Maximum update rate the server can send to clients
sv_maxvelocity2000--Maximum velocity of any moving object
sv_minrate0--Minimum rate a client can set
sv_minupdaterate10.0--Minimum update rate the server can send to clients
sv_newunit0---
sv_outofdatetime1800---
sv_password---Sets the server password
sv_proxies1--Number of proxies that can be on the server
sv_rcon_banpenalty00-Number of minutes to ban a user for failed rcon authentications
sv_rcon_maxfailures10120Maximum number of failed rcon authentication attempts before a ban
sv_rcon_minfailures5120Number of failed rcon authentication attempts within sv_rcon_minfailuretime before a ban is issued
sv_rcon_minfailuretime301-Number of seconds to track failed rcon authentications
sv_rcon_whitelist_address---If set, this IP address will never be banned for failed rcon attempts, e.g., 127.0.0.1
sv_rollangle0.0--Camera roll angle when strafing
sv_rollspeed200--Camera roll speed when strafing
sv_send_logos1--Allow sending of player logos
sv_send_resources1--Allow sending of the resource list to clients
sv_skycolor_b0--Blue component of the sky color
sv_skycolor_g0--Green component of the sky color
sv_skycolor_r0--Red component of the sky color
sv_skynamedesert--Name of the sky texture (skybox)
sv_skyvec_x0--X-axis direction for a moving sky
sv_skyvec_y0--Y-axis direction for a moving sky
sv_skyvec_z0--Z-axis direction for a moving sky
sv_spectatormaxspeed500--Maximum speed in spectator mode
sv_stats1--Collect CPU usage statistics
sv_stepsize18--Maximum height of a step a player can climb
sv_stopspeed100--Player stopping speed
sv_timeout60--If the server receives no packets from a client for this duration (in seconds), the client is disconnected
sv_unlag1--Enables or disables lag compensation. Set to 1 to allow the server to adjust player positions based on their latency
sv_unlagpush0.0--Adjusts compensation timing. Positive values add delay, negative values reduce it. Useful for fine-tuning accuracy based on server conditions
sv_unlagsamples1--Sets the number of frames used for lag compensation. Higher values can improve accuracy but increase server CPU load
sv_uploadmax0.5--Maximum upload file size (in MB)
sv_use_entity_file0--Use an external file for entity data
sv_userinfo_transmitted_fields---Which userinfo fields are transmitted to clients
sv_version1.1.2.7,48,10517--Server version
sv_visiblemaxplayers-1--Number of slots displayed in the server browser. -1 uses the actual number
sv_voicecodecvoice_speex--Voice codec used by the server
sv_voiceenable1--Enables voice chat on the server
sv_voicequality3--Voice chat quality
sv_wateraccelerate10--Acceleration in water
sv_wateramp0--Water wave amplitude (server-side)
sv_waterfriction1--Friction in water
sv_zmax4096--Maximum entity visibility distance on the server
clockwindow0.5---
logsdirlogs--Folder for storing logs
sys_ticrate100.0--Server tickrate (number of simulations per second)
syserror_logfilecrashdumps\sys_error.log--Log file for system errors
servercfgfileserver.cfg--Name of the main server configuration file
mapchangecfgfile---Name of the configuration file executed on every map change
mapcyclefilemapcycle.txt--Name of the file used for the map cycle
listipcfgfilelistip.cfg--Name of the configuration file for IP addresses
lservercfgfilelistenserver.cfg--Name of the configuration file for a listen server (created via the game menu)
bannedcfgfilebanned.cfg--Name of the configuration file for banned users
motdfilemotd.txt--Name of the file for the 'Message of the Day' (MOTD), displayed upon joining the server
hpk_maxsize4--Maximum size of the custom.hpk file (in MB)
HostMapC1A0--Internal variable for remembering the current map, used by the reload command
mp_consistency1--Verifies that critical files on the client and server match
mp_decals300--Maximum number of decals on the server
sp_decals4096--Maximum number of decals in single-player
mp_footsteps1--Enables footstep sounds
mp_logecho1--Output log messages to the server console
mp_logfile1--Log server activity to a file

Window & Input Settings

NameDefaultMinMaxDescription
sdl_double_click_size2--Area size (in pixels) for detecting a double-click
sdl_double_click_time400--Time (in ms) for detecting a double-click
sdl_minimize_on_focus_loss1--Minimize the game when it loses focus in fullscreen mode.
It is recommended to disable this outdated behavior to improve compatibility with window managers.
Note that if you disable this, the game will not minimize with a single Win key press; use Win + D or Alt + ESC instead
sdl_pollevent_no_timeout0--Enable immediate event polling, bypassing SDL_WaitEventTimeout with a zero timeout (for debugging)

Render Tweaks for Performance

CVars related to rendering that can impact game performance, both positively and negatively.
Adjust these settings to optimize FPS or control the number of visual effects like particles, laser beams, etc.

Developer / Debug

NameDefaultMinMaxDescription
developer003Sets the developer message level.
Developer mode can be used to display information on screen and output extended information to the console
dev_overview0--Enables a top-down map view mode for creating overview images
mem_show0--Show memory usage information
fs_lazy_precache0--Lazy resource precaching.
If 0 - all models, sounds, etc., are loaded immediately upon connecting to the server.
Startup will be longer, but there will be fewer stutters during gameplay.

If 1 - resources are loaded only on their first use in the game.
Connection is faster, but minor freezes may occur when new objects appear.
Use this if you want to join faster or have low RAM
fs_perf_warnings0--File system performance warnings.
If enabled, the game will output warnings to the console if file loading is slow or not as expected. Useful for debugging or identifying file issues
fs_precache_timings0--Show resource loading times.
Enables console output showing how many seconds it took to load each model or sound.
Useful for testing and finding 'heavy' resources that take a long time to load
fs_startup_timings0--Show client startup times.
When connecting to a server, outputs step-by-step client loading times (resource precaching, connection, etc.) to the console. Useful for understanding where delays occur
cl_pmanstats1--Show particle manager statistics