Half-Life 2 / Counter-Strike Source Cvar List

Cvar / Command Default Type Descriptsion
_restart cmd  Shutdown and restart the engine. 
addip cmd  Add an IP address to the ban list. 
alias cmd  Alias a command. 
banid cmd  Add a user ID to the ban list. 
bench_end cmd  Ends gathering of info. 
bench_start cmd  Starts gathering of info. Arguments filename to write results into 
bench_upload cmd  Uploads most recent benchmark stats to the Valve servers. 
BindToggle cmd   
cache_print cmd  Print out contents of cache memory. 
changelevel cmd  Change server to the specified map 
changelevel2 cmd  Transition to the specified map in single player 
cl_clock_correction cheat Enable/disable clock correction on the client. 
cl_clock_correction_adjustment_max_amount 200 cheat Sets the maximum number of milliseconds per second it is allowed to correct the client clock. It will only correct this amount if the difference between the client and server clock is equal to or larger than cl_clock_correction_adjustment_max_offset. 
cl_clock_correction_adjustment_max_offset 90 cheat As the clock offset goes from cl_clock_correction_adjustment_min_offset to this value (in milliseconds), it moves towards applying cl_clock_correction_adjustment_max_amount of adjustment. That way, the response is small when the offset is small. 
cl_clock_correction_adjustment_min_offset 10 cheat If the clock offset is less than this amount (in milliseconds), then no clock correction is applied. 
cl_clock_correction_force_server_tick 999 cheat Force clock correction to match the server tick + this offset (-999 disables it). 
cl_clock_showdebuginfo cheat Show debugging info about the clock drift. 
cl_clockdrift_max_ms 150 cheat Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's. 
cl_resend  unused 
clientport 27005  Host game client port 
cmd cmd  Forward command to server. 
coop nf Cooperative play. 
cvarlist cmd  Show the list of convars/concommands. 
deathmatch nf Running a deathmatch server. 
developer  Show developer messages. 
differences cmd  Show all convars which are not at their default values. 
disconnect cmd  Disconnect game from server. 
disp_dynamic   
disp_modlimit 80   
disp_modlimit_down 20   
disp_modlimit_up 80   
disp_numiterations cheat  
dti_flush cmd  Write out the datatable instrumentation files (you must run with -dti for this to work). 
dtwarning  Print data table warnings? 
dtwatchent -1  Watch this entities data table encoding. 
dtwatchvar  Watch the named variable. 
dumpstringtables cmd  Print string tables to console. 
echo cmd  Echo text to console. 
exec cmd  Execute script file. 
exit cmd  Exit the engine. 
find cmd  Find concommands with the specified string in their name/help text. 
flush cmd  Flush cache memory. 
flush_unlocked cmd  Flush unlocked cache memory. 
fog_enable_water_fog   
fps_max 300  Frame rate limiter 
fs_printopenfiles cmd  Show all files currently opened by the engine. 
fs_warning_level cmd  Set the filesystem warning level. 
heartbeat cmd   
help cmd  Find help about a convar/concommand. 
hltv_autorecord  Automatically records all games as HLTV demos. 
hltv_connect cmd  Connect to specified HLTV server. 
hltv_debug  HLTV debug info. 
hltv_maxclients 128  Maximum client number on HLTV server. 
hltv_maxrate 3500  Max client bandwidth rate allowed, 0 == unlimited 
hltv_port 27020  Host HLTV port 
hltv_record cmd  Starts HLTV demo recording. 
hltv_retry cmd  Reconnects the HLTV relay proxy. 
hltv_snapshotinterval  Take game snapshot every nth tick 
hltv_status cmd  Connect to specified HLTV server. 
hltv_stop cmd  Stops the HLTV broadcast. 
hltv_stoprecord cmd  Stops HLTV demo recording. 
host_framerate  Set to lock per-frame time elapse. 
host_limitlocal  Apply cl_cmdrate and cl_updaterate to loopback connection 
host_map  Current map name. 
host_profile   
host_runofftime cmd  Run off some time without rendering/updating sounds 
host_showcachemiss  Print a debug message when the client or server cache is missed. 
host_sleep cheat Force the host to sleep a certain number of milliseconds each frame. 
host_speeds  Show general system running times. 
host_timescale  Prescale the clock by this amount. 
hostname  Hostname for server. 
hostport 27015  Host game server port 
incrementvar cmd  Increment specified convar value. 
ip  Overrides IP for multihomed hosts 
kick cmd  Kick a player by name. 
kickid cmd  Kick a player by userid or uniqueid, with a message. 
killserver cmd  Shutdown the server. 
listid cmd  Lists banned users. 
listip cmd  List IP addresses on the ban list. 
listmodels cmd  List loaded models. 
log cmd  Enables logging to file, console, and udp < on | off >. 
logaddress_add cmd  Set address and port for remote host
logaddress_del cmd  Remove address and port for remote host
logaddress_delall cmd  Remove all udp addresses being logged to 
logaddress_list cmd  List all addresses currently being used by logaddress. 
map cmd  Start playing on specified map. 
map_background cmd  Runs a map as the background to the main menu. 
map_noareas  Disable area to area connection testing. 
maps cmd  Displays list of maps. 
mat_bumpbasis   
mat_configcurrent cmd  show the current video control panel config for the material system 
mat_depthbias_normal cheat  
mat_envmapsize 128   
mat_envmaptgasize 32   
mat_fastspecular  Enable/Disable specularity for visual testing. Will not reload materials and will not affect perf. 
mat_forcedynamic cheat  
mat_fullbright cheat  
mat_leafvis  Draw wireframe of current leaf 
mat_levelflush   
mat_loadtextures   
mat_luxels cheat  
mat_maxframelatency   
mat_monitorgamma  monitor gamma (typically 2.2 for CRT and 1.7 for LCD) 
mat_norendering   
mat_normals cheat  
mat_reloadallmaterials cmd   
mat_reloadmaterial cmd   
mat_reloadtextures cmd   
mat_savechanges cmd  saves current video configuration to the registry 
mat_setvideomode cmd  sets the width, height, windowed state of the material system 
mat_shadowstate   
mat_showlightmappage -1   
mat_softwareskin   
mat_wireframe cheat  
maxplayers cmd  Change the maximum number of players allowed on this server. 
mem_dump cmd  dump memory stats. 
mem_dumpstats  Dump current and max heap usage info to console at end of frame ( set to 2 for continuous output ) 
mem_force_flush  Force cache flush of unlocked resources on every alloc 
mod_forcedata  Forces all model file data into cache on model load. 
mp_decals 200  
name  unused 
net_blockmsg cheat Discards incoming message <0|1|name> 
net_channels cmd  Shows net channel info 
net_chokeloop  Apply bandwidth choke to loopback packets 
net_drawslider  Draw completion slider during signon 
net_droppackets cheat Drops next n packets on client 
net_fakelag cheat Lag all incoming network data (including loopback) by this many milliseconds. 
net_fakeloss cheat Simulate packet loss as a percentage (negative means drop 1/n packets) 
net_maxfilesize 16  Maximum allowed file size for uploading in MB 
net_maxfragments 1280  Max fragment bytes per packet 
net_showdrop  Show dropped packets in console 
net_showevents  Print game event infos to console. 
net_showfragments  Show netchannel fragments 
net_showmsg  Show incoming message <0|1|name> 
net_showpeaks  Show messages for large packets only  
net_showsplits  Show info about packet splits 
net_showtcp  Dump TCP stream summary to console 
net_showudp  Dump UPD packets summary to console 
net_start cmd  Inits multiplayer network sockets 
net_synctags cheat Insert tokens into the net stream to find client/server mismatches. 
next cheat Set to 1 to advance to next frame ( when singlestep == 1 ) 
password  Current server access password 
path cmd  Show the engine filesystem path. 
pause cmd  Toggle the server pause state. 
ping cmd  Display ping to server. 
plugin_load cmd  plugin_load loads a plugin 
plugin_pause cmd  plugin_pause pauses a loaded plugin 
plugin_pause_all cmd  pauses all loaded plugins 
plugin_print cmd  Prints details about loaded plugins 
plugin_unload cmd  plugin_unload unloads a plugin 
plugin_unpause cmd  plugin_unpause unpauses a disabled plugin 
plugin_unpause_all cmd  unpauses all disabled plugins 
prop_crosshair cmd  Shows name for prop looking at 
quit cmd  Exit the engine. 
quti cmd  Exit the engine. 
r_3dnow cmd   
r_colorstaticprops cheat  
r_debugrandomstaticlighting cheat Set to 1 to make all static lighting red for debugging. Must restart for change to take affect. 
r_decal_cullsize  Decals under this size in pixels are culled 
r_decals 2048   
r_decalstaticprops  Decal static props test 
r_DispBuildable cheat  
r_DispDrawAxes   
r_DispEnableLOD   
r_DispFullRadius 400  Radius within which a displacement will stay at its highest LOD 
r_DispLockLOD   
r_DispRadius 500   
r_DispSetLOD   
r_DispTolerance   
r_DispUpdateAll   
r_DispUseStaticMeshes cheat High end machines use static meshes. Low end machines use temp meshes. 
r_DispWalkable cheat  
r_drawbatchdecals  Render decals batched. 
r_drawbrushmodels cheat Render brush models. 
r_drawdecals cheat Render decals. 
r_DrawDisp cheat Toggles rendering of displacment maps 
r_drawentities cheat  
r_drawleaf -1 cheat Draw the specified leaf. 
r_drawmodeldecals   
r_DrawModelLightOrigin cheat  
r_drawmodelstatsoverlay cheat  
r_drawmodelstatsoverlaydistance 500 cheat  
r_drawmodelstatsoverlaymax time in milliseconds beyond which a model overlay is fully red in r_drawmodelstatsoverlay 2 
r_drawmodelstatsoverlaymin time in milliseconds that a model must take to render before showing an overlay in r_drawmodelstatsoverlay 2 
r_DrawSpecificStaticProp -1   
r_drawstaticprops cheat  
r_drawtranslucentworld cheat  
r_drawworld cheat Render the world. 
r_dynamic   
r_eyeglintlodpixels 20  The number of pixels wide an eyeball has to be before rendering an eyeglint. Is a floating point value. 
r_eyegloss  
r_eyemove  
r_eyes   
r_eyeshift_x  
r_eyeshift_y  
r_eyeshift_z  
r_eyesize  
r_fastzreject  Activate/deactivates a fast z-setting algorithm to take advantage of hardware with fast z reject. Use -1 to default to hardware settings 
r_flex   
r_flushlod cmd  Flush and reload LODs. 
r_ForceRestore   
r_lightaverage  Activates/deactivate light averaging 
r_lightinterp  Controls the speed of light interpolation, 0 turns off interpolation 
r_lightmap -1   
r_lightstyle -1   
r_lockpvs cheat Lock the PVS so you can fly around and inspect what is being drawn. 
r_lod -1   
r_lod_noupdate   
r_maxmodeldecal 50   
r_mmx cmd   
r_modellodscale studio 1.0 is the default, set to a lower value (ie 0.5) to tend towards simpler models 
r_modelwireframedecal cheat  
r_newproplighting   
r_nohw cheat  
r_norefresh   
r_nosw cheat  
r_novis cheat Turn off the PVS. 
r_occludeemaxarea  Prevents occlusion testing for entities that take up more than X% of the screen. 0 means use whatever the level said to use. 
r_occluderminarea  Prevents this occluder from being used if it takes up less than X% of the screen. 0 means use whatever the level said to use. 
r_occludermincount  At least this many occluders will be used, no matter how big they are. 
r_occlusion  Activate/deactivate the occlusion system. 
r_occlusionspew  Activate/deactivates spew about what the occlusion system is doing. 
r_printdecalinfo cmd   
r_rootlod  Root LOD 
r_shadowrendertotexture   
r_showenvcubemap cheat  
r_skin   
r_sse cmd   
r_sse2 cmd   
r_staticpropinfo   
r_teeth   
r_visocclusion  Activate/deactivate wireframe rendering of what the occlusion system is doing. 
r_waterforceexpensive   
r_waterforcereflectentities   
rcon_password  remote console password. 
recompute_speed cmd  Recomputes clock speed (for debugging purposes). 
reload cmd  Reload the most recent saved game (add setpos to jump to current view position on reload). 
removeid cmd  Remove a user ID from the ban list. 
removeip cmd  Remove an IP address from the ban list. 
restart cmd  Restart the game on the same level (add setpos to jump to current view position on restart). 
revert cmd  Revert convars to their default values. 
setmaster cmd   
setpause cmd  Set the pause state of the server. 
singlestep cheat Run engine in single step mode ( set next to 1 to advance a frame ) 
skill Game skill level (1-3). 
snd_foliage_db_loss   
snd_gain   
snd_gain_max   
snd_gain_min   
snd_refdb 60   
snd_refdist 36   
snd_restart cmd  Restart sound system. 
snd_vox_captiontrace  Shows sentence name for sentences which are set not to show captions. 
snd_vox_globaltimeout 300   
snd_vox_sectimetout 300   
snd_vox_seqtimetout 300   
spike cmd  generates a fake spike 
status cmd  Display map and connection status. 
stuffcmds cmd  Parses and stuffs command line + commands to command buffer. 
sv_allowdownload  Allow clients to download files 
sv_allowupload  Allow clients to upload customizations files 
sv_cacheencodedents  If set to 1, does an optimization to prevent extra SendTable_Encode calls. 
sv_cheats nf, rep Allow cheats on server 
sv_contact  Contact email for server sysop 
sv_debugmanualmode  Make sure entities correctly report whether or not their network data has changed. 
sv_deltaprint  Print accumulated CalcDelta profiling data (only if sv_deltatime is on) 
sv_deltatime  Enable profiling of CalcDelta calls 
sv_filterban  Set packet filtering by IP mode 
sv_forcepreload Force server side preloading. 
sv_hltv  Enables HLTV on this server. 
sv_instancebaselines  Enable instanced baselines. Saves network overhead. 
sv_lan  Server is a lan server ( no heartbeat, no authentication, no non-class C addresses, 9999.0 rate, etc. ) 
sv_log_onefile Log server information to only one file 
sv_logbans   
sv_logdownloadlist   
sv_logecho Echo log information to the console. 
sv_logfile Log server information in the log file. 
sv_logsdir Folder in the game directory where server logs will be stored. 
sv_maxrate  Max bandwidth rate allowed on server, 0 == unlimited 
sv_maxupdaterate 60  Maximum updates per second that the server will allow 
sv_minrate  Min bandwidth rate allowed on server, 0 == unlimited 
sv_minupdaterate 10  Minimum updates per second that the server will allow 
sv_password nf, prot Server password for entry into multiplayer games 
sv_pausable nf Is the server pausable. 
sv_precachegeneric cmd  Usage sv_precachegeneric [ preload ] Add file to precache list. 
sv_precacheinfo cmd  Show precache info. 
sv_precachemodel cmd  Usage sv_precachemodel [ preload ] Add model to precache list. 
sv_precachesound cmd  Usage sv_precachesound [ preload ] Add sound to precache list. 
sv_rcon_banpenalty  Number of minutes to ban users who fail rcon authentication 
sv_rcon_maxfailures 10  Max number of times a user can fail rcon authentication before being banned 
sv_rcon_minfailures  Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned 
sv_rcon_minfailuretime 30  Number of seconds to track failed rcon authentications 
sv_region -1  The region of the world to report this server in. 
sv_sendtables  Force full sendtable sending path. 
sv_stats  Collect CPU usage stats 
sv_stressbots  If set to 1, the server calculates data and fills packets to bots. Used for perf testing. 
sv_timeout 65  After this many seconds without a message from a client, the client is dropped 
sv_voicecodec  Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension. 
sv_voiceenable a, nf  
Test_Loop cmd  Test_Loop - loop back to the specified loop start point unconditionally. 
Test_LoopCount cmd  Test_LoopCount - loop back to the specified loop start point the specified # of times. 
Test_LoopForNumSeconds cmd  Test_LoopForNumSeconds
Test_RandomChance cmd  Test_RandomChance - Roll the dice and maybe run the command following the percentage chance. 
Test_RunFrame cmd   
Test_SendKey cmd   
Test_StartLoop cmd  Test_StartLoop - Denote the start of a loop. Really just defines a named point you can jump to. 
Test_StartScript cmd  Start a test script running.. 
Test_Wait cmd   
Test_WaitForCheckPoint cmd   
testscript_debug  Debug test scripts. 
unpause cmd  Unpause the game. 
user cmd  Show user data. 
users cmd  Show user info for players on server. 
vcollide_wireframe cheat  
version cmd  Print version info string. 
violence_ablood  Draw alien blood 
violence_agibs  Show alien gib entities 
violence_hblood  Draw human blood 
violence_hgibs  Show human gib entities 
voice_inputfromfile  Get voice input from 'voice_input.wav' rather than from the microphone. 
voice_recordtofile  Record mic data and decompressed voice data into 'voice_micdata.wav' and 'voice_decompressed.wav' 
vox_reload cmd  Reload sentences.txt file 
vprof cmd  Toggle VProf profiler 
vprof_cachemiss cmd  Toggle VProf cache miss checking 
vprof_cachemiss_off cmd  Turn off VProf cache miss checking 
vprof_cachemiss_on cmd  Turn on VProf cache miss checking 
vprof_counters   
vprof_dump_groupnames cmd  Write the names of all of the vprof groups to the console. 
vprof_dump_spikes  Framerate at which vprof will begin to dump spikes to the console. 0 = disabled. 
vprof_generate_report cmd  Generate a report to the console. 
vprof_generate_report_AI cmd  Generate a report to the console. 
vprof_generate_report_AI_only cmd  Generate a report to the console. 
vprof_generate_report_hierarchy cmd  Generate a report to the console. 
vprof_generate_report_map_load cmd  Generate a report to the console. 
vprof_off cmd  Turn off VProf profiler 
vprof_on cmd  Turn on VProf profiler 
vprof_playback_start cmd  Start playing back a recorded .vprof file. 
vprof_playback_step cmd  While playing back a .vprof file, step to the next tick. 
vprof_playback_stop cmd   
vprof_record_start cmd  Start recording vprof data for playback later. 
vprof_record_stop cmd   
vprof_reset cmd  Reset the stats in VProf profiler 
vprof_reset_peaks cmd  Reset just the peak time in VProf profiler 
vprof_vtune_group cmd  enable vtune for a particular vprof group ('disable' to disable)