Console Command List/C

From Valve Developer Community

Command Default Cheat? Help Text
c_maxdistance200None
c_maxpitch90None
c_maxyaw135None
c_mindistance30None
c_minpitch0None
c_minyaw-135None
c_orthoheight100None
c_orthowidth100None
cache_printPrint out contents of cache memory.
cam_command0YesNone
cam_idealdist64None
cam_idealpitch0None
cam_idealyaw90None
cam_snapto0None
+camdistanceNone
-camdistanceNone
+caminNone
-caminNone
+cammousemoveNone
-cammousemoveNone
camorthoSwitch to orthographic camera.
+camoutNone
-camoutNone
+campitchdownNone
-campitchdownNone
+campitchupNone
-campitchupNone
+camyawleftNone
-camyawleftNone
+camyawrightNone
-camyawrightNone
cancelselectNone
cast_hullTests hull collision detection
cast_rayTests collision detection
cc_captiontrace1Show missing closecaptions: (0 = no, 1 = devconsole, 2 = show in hud)
cc_emitEmits a closed caption
cc_lang0Current close caption language (emtpy = use game UI language)
cc_linger_time1Close caption linger time.
cc_lookup_crcFor tracking down missing CC token strings
cc_predisplay_time0Close caption delay before showing caption.
cc_sentencecaptionnorepeat4How often a sentence can repeat.
cc_subtitles0If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players).
cdPlay or stop a cd track.
centerviewNone
ch_createairboatSpawn airboat in front of the player.
ch_createjeepSpawn jeep in front of the player.
changelevelChange server to the specified map
changelevel2Transition to the specified map in single player
cl_allowdownload1Client downloads customization files
cl_allowupload1Client uploads customization files
cl_anglespeedkey0None
cl_animationinfoHud element to examine.
cl_backspeed400None
cl_bob0None
cl_bobcycle0None
cl_bobup0None
cl_class0Default class when joining a game
cl_clock_correction1YesEnable/disable clock correction on the client.
cl_clock_correction_adjustment_max_amount200YesSets 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_offset90YesAs 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_offset10YesIf the clock offset is less than this amount (in milliseconds), then no clock correction is applied.
cl_clock_correction_force_server_tick999YesForce clock correction to match the server tick + this offset (-999 disables it).
cl_clock_showdebuginfo0YesShow debugging info about the clock drift.
cl_clockdrift_max_ms150YesMaximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's.
cl_cmdbackup2For each command packet, how many additional history commands are sent ( helps in case of packet loss ) (This command no longer exists)
cl_cmdrate30Max number of command packets sent to server per second
cl_customsounds0Enable customized player sound playback
cl_demoviewoverride0Override view during demo playback
cl_detaildist1200Distance at which detail props (e.g. grass) are shown.
cl_detailfade400Distance it takes for detail props to go from transparent to opaque. If this value is >= cl_detaildist, it is treated as if it were 0.
cl_draw_airboat_wake1YesNone
cl_drawhud1YesEnable the rendering of the hud
cl_drawleaf-1YesNone
cl_drawmaterial0YesDraw a particular material over the frame
cl_drawmonitors1None
cl_drawshadowtexture0YesNone
cl_ejectbrass1Determines whether spent shells are shown ejecting from a gun.
cl_ent_absboxDisplays the client's absbox for the entity under the crosshair.
cl_ent_bboxDisplays the client's bounding box for the entity under the crosshair.
cl_ent_rboxDisplays the client's render box for the entity under the crosshair.
cl_entityreport0YesFor debugging, draw entity states to console
cl_extrapolate1YesEnable/disable extrapolation if interpolation history runs out.
cl_extrapolate_amount0YesSet how many seconds the client will extrapolate entities for.
cl_flushentitypacket0YesFor debugging. Force the engine to flush an entity packet.
cl_forcehighendmonitors1None
cl_forcepreload0Whether we should force preloading model and texture information to video memory at the beginning of a level. Makes level loads longer, but can reduce stuttering caused by loading information on the fly.
cl_forwardspeed400None
cl_fullupdateForces the server to send a full update packet
cl_idealpitchscale0None
cl_ignorepackets0YesForce client to ignore packets (for debugging).
cl_interp0Interpolate object positions starting this many seconds in past
cl_interp_npcs0Interpolate NPC positions starting this many seconds in past (or cl_interp, if greater)
cl_interpolate1Interpolate entities on the client.
cl_lagcomp_errorcheck0Player index of other player to check for position errors.
cl_lagcompensation1Perform server side lag compensation of weapon firing events.
cl_leveloverview0YesNone
cl_localnetworkbackdoor1Enable network optimizations for single player games.
cl_logofile0Spraypoint logo decal.
cl_maxrenderable_dist3000YesMax distance from the camera at which things will be rendered
cl_mouseenable1None
cl_observercrosshair1None
cl_overdraw_test0YesNone
cl_panelanimation blanak for all panels>.
cl_particleeffect_aabb_buffer2YesAdd this amount to a particle effect's bbox in the leaf system so if it's growing slowly, it won't have to be reinserted as often.
cl_pclass0YesDump entity by prediction classname.
cl_pdump-1YesDump info about this entity to screen.
cl_phys_props_enable1Disable clientside physics props (must be set before loading a level).
cl_phys_props_max300Maximum clientside physic props
cl_phys_timescale1YesSets the scale of time for client-side physics (ragdolls)
cl_pitchdown89None
cl_pitchspeed225None
cl_pitchup89None
cl_precacheinfoShow precache info (client).
cl_pred_optimize2Optimize for not copying data if didn't receive a network update (1), and also for not repredicting if there were no errors (2).
cl_predict0Perform client side prediction.
cl_predictionlist0YesShow which entities are predicting
cl_predictweapons1Perform client side prediction of weapon effects.
cl_ragdoll_collide0None
cl_rate10000Max bytes/sec the host can send data (This command no longer exists)
cl_removedecalsRemove the decals from the entity under the crosshair.
cl_resend6Delay in seconds before the client will resend the 'connect' attempt
cl_restrict_server_commands1Prevents the server from executing random console commands on the client. When cl_restrict_server_commands is enabled only concommands marked with FCVAR_SERVER_CAN_EXECUTE are allowed. Usage:
0
Don't restrict any server commands.
1
Restrict server commands in Valve multiplayer games.
2
Restrict server commands in all multiplayer games.
cl_SetupAllBones0None
cl_show_bloodspray1None
cl_show_splashes1None
cl_showanimstate-1YesShow the (client) animation state for the specified entity (-1 for none).
cl_showanimstate_log0Yes1 to output cl_showanimstate to Msg(). 2 to store in AnimState.log. 3 for both.
cl_showentsDump entity list to console.
cl_showerror0YesShow prediction errors, 2 for above plus detailed field deltas.
cl_showevents0YesPrint event firing info in the console
cl_showfps0See Optimization Commands.
cl_showpos0Draw current position at top of screen
cl_ShowSunVectors0None
cl_showtextmsg1Enable/disable text messages printing on the screen.
cl_sidespeed400None
cl_slist10Number of seconds to wait for server ping responses when checking for server on your lan
cl_smooth1Smooth view/eye origin after prediction errors
cl_smoothtime0Smooth client's view after prediction error over this many seconds
cl_soundemitter_flushFlushes the sounds.txt system (client only)
cl_soundfile0Jingle sound file.
cl_soundscape_flushFlushes the client side soundscapes
cl_soundscape_printdebuginfoprint soundscapes
cl_starfield_diameter128None
cl_starfield_distance256None
cl_sun_decay_rate0YesNone
cl_team0Default team when joining a game
cl_timeout30After this many seconds without receiving a packet from the server, the client will disconnect itself
cl_updaterate20Number of packets per second of updates you are requesting from the server
cl_upspeed320None
cl_viewSet the view entity index.
cl_winddir0Weather effects wind direction angle
cl_windspeed0Weather effects wind speed scalar
cl_yawspeed210None
clearClear all console output.
clear_debug_overlaysclears debug overlays
clientport27005Host game client port
closecaption0Enable close captioning.
cmdForward command to server.
collision_shake_amp0None
collision_shake_freq0None
collision_shake_time0None
combine_guard_spawn_health1None
combine_spawn_health1None
+commandermousemoveNone
-commandermousemoveNone
con_drawnotify1Disables drawing of notification area (for taking screenshots).
con_enable1Allows the console to be activated.
con_notifytime8How long to display recent console text to the upper part of the game window
con_nprint_bgalpha50Con_NPrint background alpha.
con_nprint_bgborder5Con_NPrint border size.
con_trace0Print console text to low level printout.
connectConnect to specified server.
contimes8Number of console lines to overlay for debugging.
coop0Cooperative play.
CreateHairballNone
creditsdoneNone
crosshair1None
curve_bias0None
cvarlistShow the list of convars/concommands.