Difference between revisions of "Console Command List/C"

From Valve Developer Community
Jump to: navigation, search
(No need to shout.)
(Added console filter commands to the list.)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
! Command !! Default !! Cheat? !! Help Text  
 
! Command !! Default !! Cheat? !! Help Text  
 
|-
 
|-
|valign="top"|[[c_maxdistance]]||200||||None
+
|valign="top"|c_maxdistance||200||Yes||None
 
|-
 
|-
|valign="top"|[[c_maxpitch]]||90||||None
+
|valign="top"|c_maxpitch||90||No||None
 
|-
 
|-
|valign="top"|[[c_maxyaw]]||135||||None
+
|valign="top"|c_maxyaw||135||No||None
 
|-
 
|-
|valign="top"|[[c_mindistance]]||30||||None
+
|valign="top"|c_mindistance||30||Yes||None
 
|-
 
|-
|valign="top"|[[c_minpitch]]||0||||None
+
|valign="top"|c_minpitch||0||Yes||None
 
|-
 
|-
|valign="top"|[[c_minyaw]]||-135||||None
+
|valign="top"|c_minyaw||-135||Yes||None
 
|-
 
|-
|valign="top"|[[c_orthoheight]]||100||||None
+
|valign="top"|c_orthoheight||100||Yes||None
 
|-
 
|-
|valign="top"|[[c_orthowidth]]||100||||None
+
|valign="top"|c_orthowidth||100||Yes||None
 
|-
 
|-
|valign="top"|[[cache_print]]||||||Print out contents of cache memory.
+
|valign="top"|cache_print||||No||Print out contents of cache memory.
 
|-
 
|-
|valign="top"|[[cam_command]]||0||Yes||Changes camera view, first/third person
+
|valign="top"|cam_command||0||Yes||Changes camera view, first/third person
 
|-
 
|-
|valign="top"|[[cam_idealdist]]||64||||Cam distance from player
+
|valign="top"|cam_idealdist||150||Yes||Cam distance from player
 
|-
 
|-
|valign="top"|[[cam_idealdistup]]||0||||Cam above/below player
+
|valign="top"|cam_idealdistup||0||Yes||Cam above/below player
 
|-
 
|-
|valign="top"|[[cam_idealdistright]]||0||||Cam left/right of player  
+
|valign="top"|cam_idealdistright||0||Yes||Cam left/right of player  
 
|-
 
|-
|valign="top"|[[cam_idealpitch]]||0||||None
+
|valign="top"|cam_idealpitch||0||Yes||None
 
|-
 
|-
|valign="top"|[[cam_idealyaw]]||90||||0=Behind player, 90=Right arm
+
|valign="top"|cam_idealyaw||90||Yes||0=Behind player, 90=Right arm
 
|-
 
|-
|valign="top"|[[cam_snapto]]||0||||None
+
|valign="top"|cam_snapto||0||Yes||None
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[camdistance]]||||||None
+
|valign="top"|<nowiki>+</nowiki>camdistance||||No||None
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[camdistance]]||||||None
+
|valign="top"|<nowiki>-</nowiki>camdistance||||No||None
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[camin]]||||||None
+
|valign="top"|<nowiki>+</nowiki>cammousemove||||No||None
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[camin]]||||||None
+
|valign="top"|<nowiki>-</nowiki>cammousemove||||No||None
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[cammousemove]]||||||None
+
|valign="top"|camortho||||No||Switch to orthographic camera.
|-
+
'''There is currently no known way to exit this mode without restarting the engine.'''
|valign="top"|<nowiki>-</nowiki>[[cammousemove]]||||||None
 
 
|-
 
|-
|valign="top"|[[camortho]]||||||Switch to orthographic camera.
+
|valign="top"|<nowiki>+</nowiki>camin||||No||None
'''There is currently no known way to exit this mode without restarting the engine.'''
 
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[camout]]||||||None
+
|valign="top"|<nowiki>-</nowiki>camin||||No||None
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[camout]]||||||None
+
|valign="top"|<nowiki>+</nowiki>camout||||No||None
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[campitchdown]]||||||None
+
|valign="top"|<nowiki>-</nowiki>camout||||No||None
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[campitchdown]]||||||None
+
|valign="top"|<nowiki>+</nowiki>campitchdown||||No||None
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[campitchup]]||||||None
+
|valign="top"|<nowiki>-</nowiki>campitchdown||||No||None
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[campitchup]]||||||None
+
|valign="top"|<nowiki>+</nowiki>campitchup||||No||None
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[camyawleft]]||||||None
+
|valign="top"|<nowiki>-</nowiki>campitchup||||No||None
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[camyawleft]]||||||None
+
|valign="top"|<nowiki>+</nowiki>camyawleft||||No||None
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[camyawright]]||||||None
+
|valign="top"|<nowiki>-</nowiki>camyawleft||||No||None
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[camyawright]]||||||None
+
|valign="top"|<nowiki>+</nowiki>camyawright||||No||None
 
|-
 
|-
|valign="top"|[[cancelselect]]||||||None
+
|valign="top"|<nowiki>-</nowiki>camyawright||||No||None
 
|-
 
|-
|valign="top"|[[cast_hull]]||||||Tests hull collision detection
+
|valign="top"|cancelselect||||No||None
 
|-
 
|-
|valign="top"|[[cast_ray]]||||||Tests collision detection
+
|valign="top"|cast_hull||||No||Tests hull collision detection
 
|-
 
|-
|valign="top"|[[cc_captiontrace]]||1||||Show missing closecaptions: (0 = no, 1 = devconsole, 2 = show in hud)
+
|valign="top"|cast_ray||||No||Tests collision detection
 
|-
 
|-
|valign="top"|[[cc_emit]]||||||Emits a closed caption
+
|valign="top"|cc_captiontrace||1||No||Show missing closecaptions: (0 = no, 1 = devconsole, 2 = show in HUD)
 
|-
 
|-
|valign="top"|[[cc_lang]]||0||||Current close caption language (emtpy = use game UI language)
+
|valign="top"|cc_emit||||No||Emits a closed caption
 
|-
 
|-
|valign="top"|[[cc_linger_time]]||1||||Close caption linger time.
+
|valign="top"|cc_lang||0||No||Current close caption language (empty = use game UI language)
 
|-
 
|-
|valign="top"|[[cc_lookup_crc]]||||||For tracking down missing CC token strings
+
|valign="top"|cc_linger_time||1||No||Close caption linger time
 
|-
 
|-
|valign="top"|[[cc_predisplay_time]]||0||||Close caption delay before showing caption.
+
|valign="top"|cc_lookup_crc||||No||For tracking down missing CC token strings
 
|-
 
|-
|valign="top"|[[cc_sentencecaptionnorepeat]]||4||||How often a sentence can repeat.
+
|valign="top"|cc_predisplay_time||0||No||Close caption delay before showing caption
 
|-
 
|-
|valign="top"|[[cc_subtitles]]||0||||If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players).
+
|valign="top"|cc_sentencecaptionnorepeat||4||No||How often a sentence can repeat
 
|-
 
|-
|valign="top"|[[cd]]||||||Play or stop a cd track.
+
|valign="top"|cc_subtitles||0||No||If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players)
 
|-
 
|-
|valign="top"|[[centerview]]||||||None
+
|valign="top"|cd||||No||Play or stop a CD track
 
|-
 
|-
|valign="top"|[[ch_createairboat]]||||||Spawn airboat in front of the player.
+
|valign="top"|centerview||||No||None
 
|-
 
|-
|valign="top"|[[ch_createjeep]]||||||Spawn jeep in front of the player.
+
|valign="top"|ch_createairboat||||No||Spawn airboat in front of the player
 
|-
 
|-
|valign="top"|[[changelevel]]||||||Change server to the specified map
+
|valign="top"|ch_createjeep||||No||Spawn jeep in front of the player
 
|-
 
|-
|valign="top"|[[changelevel2]]||||||Transition to the specified map in single player
+
|valign="top"|[[changelevel]]||||No||Change server to the specified map
 
|-
 
|-
|valign="top"|[[cl_allowdownload]]||1||||Client downloads customization files
+
|valign="top"|changelevel2||||No||Transition to the specified map in single player
 
|-
 
|-
|valign="top"|[[cl_allowupload]]||1||||Client uploads customization files
+
|valign="top"|cl_allowdownload||1||No||Client downloads customization files
 
|-
 
|-
|valign="top"|[[cl_anglespeedkey]]||0||||None
+
|valign="top"|cl_allowupload||1||No||Client uploads customization files
 
|-
 
|-
|valign="top"|[[cl_animationinfo]]||||||Hud element to examine.
+
|valign="top"|cl_anglespeedkey||0||No||None
 
|-
 
|-
|valign="top"|[[cl_backspeed]]||400||||None
+
|valign="top"|cl_animationinfo||||No||HUD element to examine
 
|-
 
|-
|valign="top"|[[cl_bob]]||0||||None
+
|valign="top"|cl_backspeed||400||No||None
 
|-
 
|-
|valign="top"|[[cl_bobcycle]]||0||||None
+
|valign="top"|cl_bob||0.2||No||None
 
|-
 
|-
|valign="top"|[[cl_bobup]]||0||||None
+
|valign="top"|cl_bobcycle||0||No||None
 
|-
 
|-
|valign="top"|[[cl_class]]||0||||Default class when joining a game
+
|valign="top"|cl_bobup||0||No||None
 
|-
 
|-
|valign="top"|[[cl_clock_correction]]||1||Yes||Enable/disable clock correction on the client.
+
|valign="top"|cl_class||0||No||Default class when joining a game
 
|-
 
|-
|valign="top"|[[cl_clock_correction_adjustment_max_amount]]||200||Yes||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.
+
|valign="top"|cl_clock_correction||1||Yes||Enable/disable clock correction on the client
 
|-
 
|-
|valign="top"|[[cl_clock_correction_adjustment_max_offset]]||90||Yes||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.
+
|valign="top"|cl_clock_correction_adjustment_max_amount||200||Yes||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
 
|-
 
|-
|valign="top"|[[cl_clock_correction_adjustment_min_offset]]||10||Yes||If the clock offset is less than this amount (in milliseconds), then no clock correction is applied.
+
|valign="top"|cl_clock_correction_adjustment_max_offset||90||Yes||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
 
|-
 
|-
|valign="top"|[[cl_clock_correction_force_server_tick]]||999||Yes||Force clock correction to match the server tick + this offset (-999 disables it).
+
|valign="top"|cl_clock_correction_adjustment_min_offset||10||Yes||If the clock offset is less than this amount (in milliseconds), then no clock correction is applied
 
|-
 
|-
|valign="top"|[[cl_clock_showdebuginfo]]||0||Yes||Show debugging info about the clock drift.
+
|valign="top"|cl_clock_correction_force_server_tick||999||Yes||Force clock correction to match the server tick + this offset (-999 disables it).
 
|-
 
|-
|valign="top"|[[cl_clockdrift_max_ms]]||150||Yes||Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's.
+
|valign="top"|cl_clock_showdebuginfo||0||Yes||Show debugging info about the clock drift.
 
|-
 
|-
|valign="top"|[[cl_cmdbackup]]||2||||For each command packet, how many additional history commands are sent ( helps in case of packet loss ) (This command no longer exists)
+
|valign="top"|cl_clockdrift_max_ms||150||Yes||Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's.
 
|-
 
|-
|valign="top"|[[cl_cmdrate]]||30||||Max number of command packets sent to server per second
+
|valign="top"|cl_cmdbackup||2||No||For each command packet, how many additional history commands are sent ( helps in case of packet loss ) (This command no longer exists)
 
|-
 
|-
|valign="top"|[[cl_customsounds]]||0||||Enable customized player sound playback
+
|valign="top"|cl_cmdrate||30||No||Max number of command packets sent to server per second
 
|-
 
|-
|valign="top"|[[cl_demoviewoverride]]||0||||Override view during demo playback
+
|valign="top"|cl_customsounds||0||No||Enable customized player sound playback
 
|-
 
|-
|valign="top"|[[cl_detaildist]]||1200||||Distance at which detail props (e.g. grass) are shown.
+
|valign="top"|cl_demoviewoverride||0||No||Override view during demo playback
 
|-
 
|-
|valign="top"|[[cl_detailfade]]||400||||Distance 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.
+
|valign="top"|cl_detaildist||1200||No||Distance at which detail props (e.g. grass) are shown.
 
|-
 
|-
|valign="top"|[[cl_draw_airboat_wake]]||1||Yes||None
+
|valign="top"|cl_detailfade||400||No||Distance 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.
 
|-
 
|-
|valign="top"|[[cl_drawhud]]||1||Yes||Enable the rendering of the hud
+
|valign="top"|[[cl_drawhud]]||1||Yes||Enable the rendering of the HUD
 
|-
 
|-
|valign="top"|[[cl_drawleaf]]||-1||Yes||None
+
|valign="top"|cl_drawleaf||-1||Yes||None
 
|-
 
|-
|valign="top"|[[cl_drawmaterial]]||0||Yes||Draw a particular material over the frame
+
|valign="top"|cl_drawmaterial||0||Yes||Draw a particular material over the frame
 
|-
 
|-
|valign="top"|[[cl_drawmonitors]]||1||||None
+
|valign="top"|cl_drawmonitors||1||No||None
 
|-
 
|-
|valign="top"|[[cl_drawshadowtexture]]||0||Yes||None
+
|valign="top"|cl_drawshadowtexture||0||Yes||None
 
|-
 
|-
|valign="top"|[[cl_ejectbrass]]||1||||Determines whether spent shells are shown ejecting from a gun.
+
|valign="top"|cl_ejectbrass||1||No||Determines whether spent shells are shown ejecting from a gun
 
|-
 
|-
|valign="top"|[[cl_ent_absbox]]||||||Displays the client's absbox for the entity under the crosshair.
+
|valign="top"|cl_ent_absbox||||No||Displays the client's absbox for the entity under the crosshair.
 
|-
 
|-
|valign="top"|[[cl_ent_bbox]]||||||Displays the client's bounding box for the entity under the crosshair.
+
|valign="top"|cl_ent_bbox||||No||Displays the client's bounding box for the entity under the crosshair.
 
|-
 
|-
|valign="top"|[[cl_ent_rbox]]||||||Displays the client's render box for the entity under the crosshair.
+
|valign="top"|cl_ent_rbox||||No||Displays the client's render box for the entity under the crosshair.
 
|-
 
|-
|valign="top"|[[cl_entityreport]]||0||Yes||For debugging, draw entity states to console
+
|valign="top"|cl_entityreport||0||Yes||For debugging, draw entity states to console
 
|-
 
|-
|valign="top"|[[cl_extrapolate]]||1||Yes||Enable/disable extrapolation if interpolation history runs out.
+
|valign="top"|cl_extrapolate||1||Yes||Enable/disable extrapolation if interpolation history runs out.
 
|-
 
|-
|valign="top"|[[cl_extrapolate_amount]]||0||Yes||Set how many seconds the client will extrapolate entities for.
+
|valign="top"|cl_extrapolate_amount||0||Yes||Set how many seconds the client will extrapolate entities for.
 
|-
 
|-
|valign="top"|[[cl_flushentitypacket]]||0||Yes||For debugging. Force the engine to flush an entity packet.
+
|valign="top"|cl_flushentitypacket||0||Yes||For debugging. Force the engine to flush an entity packet.
 
|-
 
|-
|valign="top"|[[cl_forcehighendmonitors]]||1||||None
+
|valign="top"|cl_forcehighendmonitors||1||No||None
 
|-
 
|-
|valign="top"|[[cl_forcepreload]]||0||||Whether 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.
+
|valign="top"|cl_forcepreload||0||No||Whether 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
 
|-
 
|-
|valign="top"|[[cl_forwardspeed]]||400||||None
+
|valign="top"|cl_forwardspeed||400||Yes||None
 
|-
 
|-
|valign="top"|[[cl_fullupdate]]||||||Forces the server to send a full update packet
+
|valign="top"|cl_fullupdate||||No||Forces the server to send a full update packet
 
|-
 
|-
|valign="top"|[[cl_idealpitchscale]]||0||||None
+
|valign="top"|cl_idealpitchscale||0||No||None
 
|-
 
|-
|valign="top"|[[cl_ignorepackets]]||0||Yes||Force client to ignore packets (for debugging).
+
|valign="top"|cl_ignorepackets||0||Yes||Force client to ignore packets (for debugging).
 
|-
 
|-
|valign="top"|[[cl_interp]]||0||||Interpolate object positions starting this many seconds in past
+
|valign="top"|cl_interp||0||No||Interpolate object positions starting this many seconds in past
 
|-
 
|-
|valign="top"|[[cl_interp_npcs]]||0||||Interpolate NPC positions starting this many seconds in past (or cl_interp, if greater)
+
|valign="top"|cl_interp_npcs||0||No||Interpolate NPC positions starting this many seconds in past (or cl_interp, if greater)
 
|-
 
|-
|valign="top"|[[cl_interpolate]]||1||||Interpolate entities on the client.
+
|valign="top"|cl_interpolate||1||No||Interpolate entities on the client.
 
|-
 
|-
|valign="top"|[[cl_lagcomp_errorcheck]]||0||||Player index of other player to check for position errors.
+
|valign="top"|cl_lagcomp_errorcheck||0||No||Player index of other player to check for position errors.
 
|-
 
|-
|valign="top"|[[cl_lagcompensation]]||1||||Perform server side lag compensation of weapon firing events.
+
|valign="top"|cl_lagcompensation||1||No||Perform server side lag compensation of weapon firing events.
 
|-
 
|-
|valign="top"|[[cl_leveloverview]]||0||Yes||None
+
|valign="top"|cl_leveloverview||0||Yes||None
 
|-
 
|-
|valign="top"|[[cl_localnetworkbackdoor]]||1||||Enable network optimizations for single player games.
+
|valign="top"|cl_localnetworkbackdoor||1||No||Enable network optimizations for single player games.
 
|-
 
|-
|valign="top"|[[cl_logofile]]||0||||Spraypoint logo decal.
+
|valign="top"|cl_logofile||0||No||Spraypoint logo decal.
 
|-
 
|-
|valign="top"|[[cl_maxrenderable_dist]]||3000||Yes||Max distance from the camera at which things will be rendered
+
|valign="top"|cl_maxrenderable_dist||3000||Yes||Max distance from the camera at which things will be rendered
 
|-
 
|-
|valign="top"|[[cl_mouseenable]]||1||||None
+
|valign="top"|cl_mouseenable||1||No||None
 
|-
 
|-
|valign="top"|[[cl_observercrosshair]]||1||||None
+
|valign="top"|cl_observercrosshair||1||No||None
 
|-
 
|-
|valign="top"|[[cl_overdraw_test]]||0||Yes||None
+
|valign="top"|cl_overdraw_test||0||Yes||None
 
|-
 
|-
|valign="top"|[[cl_panelanimation]]||||||Shows panel animation variables: &lt;panelname | blanak for all panels&gt;.
+
|valign="top"|cl_panelanimation||||No||Shows panel animation variables
 
|-
 
|-
|valign="top"|[[cl_particleeffect_aabb_buffer]]||2||Yes||Add 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.
+
|valign="top"|cl_particleeffect_aabb_buffer||2||Yes||Add 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
 
|-
 
|-
|valign="top"|[[cl_pclass]]||0||Yes||Dump entity by prediction classname.
+
|valign="top"|cl_pclass||0||Yes||Dump entity by prediction classname
 
|-
 
|-
|valign="top"|[[cl_pdump]]||-1||Yes||Dump info about this entity to screen.
+
|valign="top"|cl_pdump||-1||Yes||Dump info about this entity to screen.
 
|-
 
|-
|valign="top"|[[cl_phys_props_enable]]||1||||Disable clientside physics props (must be set before loading a level).
+
|valign="top"|cl_phys_props_enable||1||No||Disable clientside physics props (must be set before loading a level)
 
|-
 
|-
|valign="top"|[[cl_phys_props_max]]||300||||Maximum clientside physic props
+
|valign="top"|cl_phys_props_max||300||No||Maximum clientside physics props
 
|-
 
|-
|valign="top"|[[cl_phys_timescale]]||1||Yes||Sets the scale of time for client-side physics (ragdolls)
+
|valign="top"|cl_phys_timescale||1||Yes||Sets the scale of time for client-side physics (ragdolls)
 
|-
 
|-
|valign="top"|[[cl_pitchdown]]||89||||None
+
|valign="top"|cl_pitchdown||89||No||None
 
|-
 
|-
|valign="top"|[[cl_pitchspeed]]||225||||None
+
|valign="top"|cl_pitchspeed||225||No||None
 
|-
 
|-
|valign="top"|[[cl_pitchup]]||89||||None
+
|valign="top"|cl_pitchup||89||No||None
 
|-
 
|-
|valign="top"|[[cl_playback_screenshots]]||0||||Allows the client to playback screenshot and jpeg commands in demos.
+
|valign="top"|cl_playback_screenshots||0||No||Allows the client to playback screenshot and jpeg commands in demos.
 
|-
 
|-
|valign="top"|[[cl_precacheinfo]]||||||Show precache info (client).
+
|valign="top"|cl_precacheinfo||||No||Show precache info (client).
 
|-
 
|-
|valign="top"|[[cl_pred_optimize]]||2||||Optimize for not copying data if didn't receive a network update (1), and also for not repredicting if there were no errors (2).
+
|valign="top"|cl_pred_optimize||2||No||Optimize for not copying data if didn't receive a network update (1), and also for not repredicting if there were no errors (2).
 
|-
 
|-
|valign="top"|[[cl_predict]]||0||||Perform client side prediction.
+
|valign="top"|cl_predict||0||No||Perform client side prediction.
 
|-
 
|-
|valign="top"|[[cl_predictionlist]]||0||Yes||Show which entities are predicting
+
|valign="top"|cl_predictionlist||0||Yes||Show which entities are predicting
 
|-
 
|-
|valign="top"|[[cl_predictweapons]]||1||||Perform client side prediction of weapon effects.
+
|valign="top"|cl_predictweapons||1||No||Perform client side prediction of weapon effects.
 
|-
 
|-
|valign="top"|[[cl_ragdoll_collide]]||0||||None
+
|valign="top"|[[cl_ragdoll_collide]]||0||No||None
 
|-
 
|-
|valign="top"|[[cl_rate]]||10000||||Max bytes/sec the host can send data (This command no longer exists)
+
|valign="top"|cl_rate||10000||No||Max bytes/sec the host can send data (This command no longer exists)
 
|-
 
|-
|valign="top"|[[cl_removedecals]]||||||Remove the decals from the entity under the crosshair.
+
|valign="top"|cl_removedecals||||No||Remove the decals from the entity under the crosshair.
 
|-
 
|-
|valign="top"|[[cl_resend]]||6||||Delay in seconds before the client will resend the 'connect' attempt
+
|valign="top"|cl_resend||6||No||Delay in seconds before the client will resend the 'connect' attempt
 
|-
 
|-
|valign="top"|[[cl_restrict_server_commands]]||1||||Prevents 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:
+
|valign="top"|cl_restrict_server_commands||1||No||Prevents 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.
 
;0:Don't restrict any server commands.
 
;1:Restrict server commands in Valve multiplayer games.
 
;1:Restrict server commands in Valve multiplayer games.
 
;2:Restrict server commands in all multiplayer games.
 
;2:Restrict server commands in all multiplayer games.
 
|-
 
|-
|valign="top"|[[cl_SetupAllBones]]||0||||None
+
|valign="top"|cl_SetupAllBones||0||No||None
|-
 
|valign="top"|[[cl_show_bloodspray]]||1||||None
 
 
|-
 
|-
|valign="top"|[[cl_show_splashes]]||1||||None
+
|valign="top"|cl_show_bloodspray||1||No||None
 
|-
 
|-
|valign="top"|[[cl_showanimstate]]||-1||Yes||Show the (client) animation state for the specified entity (-1 for none).
+
|valign="top"|cl_show_splashes||1||No||None
 
|-
 
|-
|valign="top"|[[cl_showanimstate_log]]||0||Yes||1 to output cl_showanimstate to Msg(). 2 to store in AnimState.log. 3 for both.
+
|valign="top"|cl_showanimstate||-1||Yes||Show the (client) animation state for the specified entity (-1 for none).
 
|-
 
|-
|valign="top"|[[cl_showents]]||||||Dump entity list to console.
+
|valign="top"|cl_showanimstate_log||0||Yes||1 to output cl_showanimstate to Msg(). 2 to store in AnimState.log. 3 for both.
 
|-
 
|-
|valign="top"|[[cl_showerror]]||0||Yes||Show prediction errors, 2 for above plus detailed field deltas.
+
|valign="top"|cl_showents||||No||Dump entity list to console.
 
|-
 
|-
|valign="top"|[[cl_showevents]]||0||Yes||Print event firing info in the console
+
|valign="top"|cl_showerror||0||Yes||Show prediction errors, 2 for above plus detailed field deltas.
 
|-
 
|-
|valign="top"|[[Optimization_Commands|cl_showfps]]||0||||See [[Optimization Commands]].
+
|valign="top"|cl_showevents||0||Yes||Print event firing info in the console
 
|-
 
|-
|valign="top"|[[cl_showpos]]||0||||Draw current position at top of screen
+
|valign="top"|[[Optimization_Commands|cl_showfps]]||0||No||See [[Optimization Commands]]
 
|-
 
|-
|valign="top"|[[cl_ShowSunVectors]]||0||||None
+
|valign="top"|cl_showpos||0||No||Draw current position at top of screen
 
|-
 
|-
|valign="top"|[[cl_showtextmsg]]||1||||Enable/disable text messages printing on the screen.
+
|valign="top"|cl_ShowSunVectors||0||No||None
 
|-
 
|-
|valign="top"|[[cl_sidespeed]]||400||||None
+
|valign="top"|cl_showtextmsg||1||No||Enable/disable text messages printing on the screen.
 
|-
 
|-
|valign="top"|[[cl_slist]]||10||||Number of seconds to wait for server ping responses when checking for server on your lan
+
|valign="top"|cl_sidespeed||400||No||None
 
|-
 
|-
|valign="top"|[[cl_smooth]]||1||||Smooth view/eye origin after prediction errors
+
|valign="top"|cl_slist||10||No||Number of seconds to wait for server ping responses when checking for server on your lan
 
|-
 
|-
|valign="top"|[[cl_smoothtime]]||0||||Smooth client's view after prediction error over this many seconds
+
|valign="top"|cl_smooth||1||No||Smooth view/eye origin after prediction errors
 
|-
 
|-
|valign="top"|[[cl_soundemitter_flush]]||||||Flushes the sounds.txt system (client only)
+
|valign="top"|cl_smoothtime||0||No||Smooth client's view after prediction error over this many seconds
 
|-
 
|-
|valign="top"|[[cl_soundfile]]||0||||Jingle sound file.
+
|valign="top"|cl_soundemitter_flush||No||No||Flushes the sounds.txt system (client only)
 
|-
 
|-
|valign="top"|[[cl_soundscape_flush]]||||||Flushes the client side soundscapes
+
|valign="top"|cl_soundfile||0||No||Jingle sound file.
 
|-
 
|-
|valign="top"|[[cl_soundscape_printdebuginfo]]||||||print soundscapes
+
|valign="top"|cl_soundscape_flush||||No||Flushes the client side soundscapes
 
|-
 
|-
|valign="top"|[[cl_starfield_diameter]]||128||||None
+
|valign="top"|cl_soundscape_printdebuginfo||||No||print soundscapes
 
|-
 
|-
|valign="top"|[[cl_starfield_distance]]||256||||None
+
|valign="top"|cl_sun_decay_rate||0||Yes||None
 
|-
 
|-
|valign="top"|[[cl_sun_decay_rate]]||0||Yes||None
+
|valign="top"|cl_team||0||No||Default team when joining a game
 
|-
 
|-
|valign="top"|[[cl_team]]||0||||Default team when joining a game
+
|valign="top"|cl_timeout||30||No||After this many seconds without receiving a packet from the server, the client will disconnect itself
 
|-
 
|-
|valign="top"|[[cl_timeout]]||30||||After this many seconds without receiving a packet from the server, the client will disconnect itself
+
|valign="top"|cl_updaterate||20||No||Number of packets per second of updates you are requesting from the server
 
|-
 
|-
|valign="top"|[[cl_updaterate]]||20||||Number of packets per second of updates you are requesting from the server
+
|valign="top"|cl_upspeed||320||Yes||None
 
|-
 
|-
|valign="top"|[[cl_upspeed]]||320||||None
+
|valign="top"|cl_view||||No||Set the view entity index.
 
|-
 
|-
|valign="top"|[[cl_view]]||||||Set the view entity index.
+
|valign="top"|cl_winddir||0||No||Weather effects wind direction angle
 
|-
 
|-
|valign="top"|[[cl_winddir]]||0||||Weather effects wind direction angle
+
|valign="top"|cl_windspeed||0||No||Weather effects wind speed scalar
 
|-
 
|-
|valign="top"|[[cl_windspeed]]||0||||Weather effects wind speed scalar
+
|valign="top"|cl_yawspeed||210||No||None
 
|-
 
|-
|valign="top"|[[cl_yawspeed]]||210||||None
+
|valign="top"|clear||||No||Clear all console output
 
|-
 
|-
|valign="top"|[[clear]]||||||Clear all console output.
+
|valign="top"|clear_debug_overlays||||No||clears debug overlays
 
|-
 
|-
|valign="top"|[[clear_debug_overlays]]||||||clears debug overlays
+
|valign="top"|clientport||27005||No||Host game client port
 
|-
 
|-
|valign="top"|[[clientport]]||27005||||Host game client port
+
|valign="top"|closecaption||0||No||Enable close captioning
 
|-
 
|-
|valign="top"|[[closecaption]]||0||||Enable close captioning.
+
|valign="top"|cmd||||No||Forward command to server
 
|-
 
|-
|valign="top"|[[cmd]]||||||Forward command to server.
+
|valign="top"|collision_shake_amp||0||No||None
 
|-
 
|-
|valign="top"|[[collision_shake_amp]]||0||||None
+
|valign="top"|collision_shake_freq||0||No||None
 
|-
 
|-
|valign="top"|[[collision_shake_freq]]||0||||None
+
|valign="top"|collision_shake_time||0||No||None
 
|-
 
|-
|valign="top"|[[collision_shake_time]]||0||||None
+
|valign="top"|combine_guard_spawn_health||1||No||None
 
|-
 
|-
|valign="top"|[[combine_guard_spawn_health]]||1||||None
+
|valign="top"|combine_spawn_health||1||No||None
 
|-
 
|-
|valign="top"|[[combine_spawn_health]]||1||||None
+
|valign="top"|<nowiki>+</nowiki>commandmenu||||No||GoldSrc Command Menu
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[commandermousemove]]||||||None
+
|valign="top"|<nowiki>-</nowiki>commandmenu||||No||None
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[commandermousemove]]||||||None
+
|valign="top"|con_drawnotify||1||No||Disables drawing of notification area (for taking screenshots)
 
|-
 
|-
|valign="top"|<nowiki>+</nowiki>[[commandmenu]]||||||Gold Source Command Menu
+
|valign="top"|con_enable||1||No||Allows the console to be activated.
 
|-
 
|-
|valign="top"|<nowiki>-</nowiki>[[commandmenu]]||||||None
+
|valign="top"|con_filter_enable||0||No||Enables the console filter.
 
|-
 
|-
|valign="top"|[[con_drawnotify]]||1||||Disables drawing of notification area (for taking screenshots).
+
|valign="top"|con_filter_text|| ||No||Filters out everything except lines containing the specified text.
 
|-
 
|-
|valign="top"|[[con_enable]]||1||||Allows the console to be activated.
+
|valign="top"|con_filter_text_out|| ||No||Filters out lines with the specified text.
 
|-
 
|-
|valign="top"|[[con_notifytime]]||8||||How long to display recent console text to the upper part of the game window
+
|valign="top"|con_notifytime||8||No||How long to display recent console text to the upper part of the game window
 
|-
 
|-
|valign="top"|[[con_nprint_bgalpha]]||50||||Con_NPrint background alpha.
+
|valign="top"|con_nprint_bgalpha||50||No||Con_NPrint background alpha.
 
|-
 
|-
|valign="top"|[[con_nprint_bgborder]]||5||||Con_NPrint border size.
+
|valign="top"|con_nprint_bgborder||5||No||Con_NPrint border size.
 
|-
 
|-
|valign="top"|[[con_trace]]||0||||Print console text to low level printout.
+
|valign="top"|con_trace||0||No||Print console text to low level printout.
 
|-
 
|-
|valign="top"|[[connect]]||||||Connect to specified server.
+
|valign="top"|connect||||No||Connect to specified server.
 
|-
 
|-
|valign="top"|[[contimes]]||8||||Number of console lines to overlay for debugging.
+
|valign="top"|contimes||8||No||Number of console lines to overlay for debugging.
 
|-
 
|-
|valign="top"|[[coop]]||0||||Cooperative play.
+
|valign="top"|coop||0||No||Cooperative play.
 
|-
 
|-
|valign="top"|[[CreateHairball]]||||||None
+
|valign="top"|[[CreateHairball]]||||No||None
 
|-
 
|-
|valign="top"|[[creditsdone]]||||||None
+
|valign="top"|creditsdone||||No||None
 
|-
 
|-
|valign="top"|[[crosshair]]||1||||None
+
|valign="top"|crosshair||1||No||None
 
|-
 
|-
|valign="top"|[[curve_bias]]||0||||None
+
|valign="top"|curve_bias||0||No||None
 
|-
 
|-
|valign="top"|[[cvarlist]]||||||Show the list of convars/concommands.
+
|valign="top"|[[cvarlist]]||||No||Show the list of convars/concommands.
 
|}
 
|}
  
 
[[Category:Console Commands]]
 
[[Category:Console Commands]]

Latest revision as of 14:01, 8 June 2015

Command Default Cheat? Help Text
c_maxdistance 200 Yes None
c_maxpitch 90 No None
c_maxyaw 135 No None
c_mindistance 30 Yes None
c_minpitch 0 Yes None
c_minyaw -135 Yes None
c_orthoheight 100 Yes None
c_orthowidth 100 Yes None
cache_print No Print out contents of cache memory.
cam_command 0 Yes Changes camera view, first/third person
cam_idealdist 150 Yes Cam distance from player
cam_idealdistup 0 Yes Cam above/below player
cam_idealdistright 0 Yes Cam left/right of player
cam_idealpitch 0 Yes None
cam_idealyaw 90 Yes 0=Behind player, 90=Right arm
cam_snapto 0 Yes None
+camdistance No None
-camdistance No None
+cammousemove No None
-cammousemove No None
camortho No Switch to orthographic camera.

There is currently no known way to exit this mode without restarting the engine.

+camin No None
-camin No None
+camout No None
-camout No None
+campitchdown No None
-campitchdown No None
+campitchup No None
-campitchup No None
+camyawleft No None
-camyawleft No None
+camyawright No None
-camyawright No None
cancelselect No None
cast_hull No Tests hull collision detection
cast_ray No Tests collision detection
cc_captiontrace 1 No Show missing closecaptions: (0 = no, 1 = devconsole, 2 = show in HUD)
cc_emit No Emits a closed caption
cc_lang 0 No Current close caption language (empty = use game UI language)
cc_linger_time 1 No Close caption linger time
cc_lookup_crc No For tracking down missing CC token strings
cc_predisplay_time 0 No Close caption delay before showing caption
cc_sentencecaptionnorepeat 4 No How often a sentence can repeat
cc_subtitles 0 No If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players)
cd No Play or stop a CD track
centerview No None
ch_createairboat No Spawn airboat in front of the player
ch_createjeep No Spawn jeep in front of the player
changelevel No Change server to the specified map
changelevel2 No Transition to the specified map in single player
cl_allowdownload 1 No Client downloads customization files
cl_allowupload 1 No Client uploads customization files
cl_anglespeedkey 0 No None
cl_animationinfo No HUD element to examine
cl_backspeed 400 No None
cl_bob 0.2 No None
cl_bobcycle 0 No None
cl_bobup 0 No None
cl_class 0 No Default class when joining a game
cl_clock_correction 1 Yes Enable/disable clock correction on the client
cl_clock_correction_adjustment_max_amount 200 Yes 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 Yes 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 Yes If the clock offset is less than this amount (in milliseconds), then no clock correction is applied
cl_clock_correction_force_server_tick 999 Yes Force clock correction to match the server tick + this offset (-999 disables it).
cl_clock_showdebuginfo 0 Yes Show debugging info about the clock drift.
cl_clockdrift_max_ms 150 Yes Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's.
cl_cmdbackup 2 No For each command packet, how many additional history commands are sent ( helps in case of packet loss ) (This command no longer exists)
cl_cmdrate 30 No Max number of command packets sent to server per second
cl_customsounds 0 No Enable customized player sound playback
cl_demoviewoverride 0 No Override view during demo playback
cl_detaildist 1200 No Distance at which detail props (e.g. grass) are shown.
cl_detailfade 400 No Distance 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_drawhud 1 Yes Enable the rendering of the HUD
cl_drawleaf -1 Yes None
cl_drawmaterial 0 Yes Draw a particular material over the frame
cl_drawmonitors 1 No None
cl_drawshadowtexture 0 Yes None
cl_ejectbrass 1 No Determines whether spent shells are shown ejecting from a gun
cl_ent_absbox No Displays the client's absbox for the entity under the crosshair.
cl_ent_bbox No Displays the client's bounding box for the entity under the crosshair.
cl_ent_rbox No Displays the client's render box for the entity under the crosshair.
cl_entityreport 0 Yes For debugging, draw entity states to console
cl_extrapolate 1 Yes Enable/disable extrapolation if interpolation history runs out.
cl_extrapolate_amount 0 Yes Set how many seconds the client will extrapolate entities for.
cl_flushentitypacket 0 Yes For debugging. Force the engine to flush an entity packet.
cl_forcehighendmonitors 1 No None
cl_forcepreload 0 No Whether 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_forwardspeed 400 Yes None
cl_fullupdate No Forces the server to send a full update packet
cl_idealpitchscale 0 No None
cl_ignorepackets 0 Yes Force client to ignore packets (for debugging).
cl_interp 0 No Interpolate object positions starting this many seconds in past
cl_interp_npcs 0 No Interpolate NPC positions starting this many seconds in past (or cl_interp, if greater)
cl_interpolate 1 No Interpolate entities on the client.
cl_lagcomp_errorcheck 0 No Player index of other player to check for position errors.
cl_lagcompensation 1 No Perform server side lag compensation of weapon firing events.
cl_leveloverview 0 Yes None
cl_localnetworkbackdoor 1 No Enable network optimizations for single player games.
cl_logofile 0 No Spraypoint logo decal.
cl_maxrenderable_dist 3000 Yes Max distance from the camera at which things will be rendered
cl_mouseenable 1 No None
cl_observercrosshair 1 No None
cl_overdraw_test 0 Yes None
cl_panelanimation No Shows panel animation variables
cl_particleeffect_aabb_buffer 2 Yes Add 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_pclass 0 Yes Dump entity by prediction classname
cl_pdump -1 Yes Dump info about this entity to screen.
cl_phys_props_enable 1 No Disable clientside physics props (must be set before loading a level)
cl_phys_props_max 300 No Maximum clientside physics props
cl_phys_timescale 1 Yes Sets the scale of time for client-side physics (ragdolls)
cl_pitchdown 89 No None
cl_pitchspeed 225 No None
cl_pitchup 89 No None
cl_playback_screenshots 0 No Allows the client to playback screenshot and jpeg commands in demos.
cl_precacheinfo No Show precache info (client).
cl_pred_optimize 2 No Optimize for not copying data if didn't receive a network update (1), and also for not repredicting if there were no errors (2).
cl_predict 0 No Perform client side prediction.
cl_predictionlist 0 Yes Show which entities are predicting
cl_predictweapons 1 No Perform client side prediction of weapon effects.
cl_ragdoll_collide 0 No None
cl_rate 10000 No Max bytes/sec the host can send data (This command no longer exists)
cl_removedecals No Remove the decals from the entity under the crosshair.
cl_resend 6 No Delay in seconds before the client will resend the 'connect' attempt
cl_restrict_server_commands 1 No Prevents 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_SetupAllBones 0 No None
cl_show_bloodspray 1 No None
cl_show_splashes 1 No None
cl_showanimstate -1 Yes Show the (client) animation state for the specified entity (-1 for none).
cl_showanimstate_log 0 Yes 1 to output cl_showanimstate to Msg(). 2 to store in AnimState.log. 3 for both.
cl_showents No Dump entity list to console.
cl_showerror 0 Yes Show prediction errors, 2 for above plus detailed field deltas.
cl_showevents 0 Yes Print event firing info in the console
cl_showfps 0 No See Optimization Commands
cl_showpos 0 No Draw current position at top of screen
cl_ShowSunVectors 0 No None
cl_showtextmsg 1 No Enable/disable text messages printing on the screen.
cl_sidespeed 400 No None
cl_slist 10 No Number of seconds to wait for server ping responses when checking for server on your lan
cl_smooth 1 No Smooth view/eye origin after prediction errors
cl_smoothtime 0 No Smooth client's view after prediction error over this many seconds
cl_soundemitter_flush No No Flushes the sounds.txt system (client only)
cl_soundfile 0 No Jingle sound file.
cl_soundscape_flush No Flushes the client side soundscapes
cl_soundscape_printdebuginfo No print soundscapes
cl_sun_decay_rate 0 Yes None
cl_team 0 No Default team when joining a game
cl_timeout 30 No After this many seconds without receiving a packet from the server, the client will disconnect itself
cl_updaterate 20 No Number of packets per second of updates you are requesting from the server
cl_upspeed 320 Yes None
cl_view No Set the view entity index.
cl_winddir 0 No Weather effects wind direction angle
cl_windspeed 0 No Weather effects wind speed scalar
cl_yawspeed 210 No None
clear No Clear all console output
clear_debug_overlays No clears debug overlays
clientport 27005 No Host game client port
closecaption 0 No Enable close captioning
cmd No Forward command to server
collision_shake_amp 0 No None
collision_shake_freq 0 No None
collision_shake_time 0 No None
combine_guard_spawn_health 1 No None
combine_spawn_health 1 No None
+commandmenu No GoldSrc Command Menu
-commandmenu No None
con_drawnotify 1 No Disables drawing of notification area (for taking screenshots)
con_enable 1 No Allows the console to be activated.
con_filter_enable 0 No Enables the console filter.
con_filter_text No Filters out everything except lines containing the specified text.
con_filter_text_out No Filters out lines with the specified text.
con_notifytime 8 No How long to display recent console text to the upper part of the game window
con_nprint_bgalpha 50 No Con_NPrint background alpha.
con_nprint_bgborder 5 No Con_NPrint border size.
con_trace 0 No Print console text to low level printout.
connect No Connect to specified server.
contimes 8 No Number of console lines to overlay for debugging.
coop 0 No Cooperative play.
CreateHairball No None
creditsdone No None
crosshair 1 No None
curve_bias 0 No None
cvarlist No Show the list of convars/concommands.