Console Command List/C
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:
|
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. |