Console Command List
From Valve Developer Community
The following list is comprised of console commands common to all Source-engine games.
Table of Contents
Commands are sorted alphabetically: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Commands starting with letter "A"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
| _fov | 0 | Automates fov command to server. | |
| _restart | Shutdown and restart the engine. | ||
| addip | Add an IP address to the ban list. | ||
| adsp_alley_min | 122 | None | |
| adsp_courtyard_min | 126 | None | |
| adsp_debug | 0 | None | |
| adsp_door_height | 112 | None | |
| adsp_duct_min | 106 | None | |
| adsp_hall_min | 110 | None | |
| adsp_low_ceiling | 108 | None | |
| adsp_opencourtyard_min | 126 | None | |
| adsp_openspace_min | 130 | None | |
| adsp_openstreet_min | 118 | None | |
| adsp_openwall_min | 130 | None | |
| adsp_room_min | 102 | None | |
| adsp_street_min | 118 | None | |
| adsp_tunnel_min | 114 | None | |
| adsp_wall_height | 128 | None | |
| ai_actbusy_search_time | 10 | None | |
| ai_ally_manager_debug | 0 | None | |
| ai_auto_contact_solver | 1 | None | |
| ai_citizen_debug_commander | 1 | None | |
| ai_clear_bad_links | Clears bits set on nav links indicating link is unusable | ||
| ai_debug_actbusy | 0 | Yes | Used to debug actbusy behavior. Usage:
|
| ai_debug_assault | 0 | None | |
| ai_debug_directnavprobe | 0 | None | |
| ai_debug_doors | 0 | None | |
| ai_debug_efficiency | 0 | None | |
| ai_debug_enemies | 0 | None | |
| ai_debug_expressions | 0 | Show random expression decisions for NPCs. | |
| ai_debug_follow | 0 | None | |
| ai_debug_loners | 0 | None | |
| ai_debug_looktargets | 0 | None | |
| ai_debug_los | 0 | Yes | NPC Line-Of-Sight debug mode.
|
| ai_debug_nav | 0 | None | |
| ai_debug_node_connect | Debug the attempted connection between two nodes | ||
| ai_debug_ragdoll_magnets | 0 | None | |
| ai_debug_readiness | 0 | None | |
| ai_debug_shoot_positions | 0 | None | |
| ai_debug_speech | 0 | None | |
| ai_debug_squads | 0 | None | |
| ai_debug_think_ticks | 0 | None | |
| ai_debugscriptconditions | 0 | None | |
| ai_disable | Bi-passes all AI logic routines and puts all NPCs into their idle animations. Can be used to get NPCs out of your way and to test effect of AI logic routines on frame rate | ||
| ai_drawbattlelines | 0 | Yes | None |
| ai_dump_hints | None | ||
| ai_efficiency_override | 0 | None | |
| ai_follow_move_commands | 1 | None | |
| ai_follow_use_points | 1 | None | |
| ai_follow_use_points_when_moving | 1 | None | |
| ai_lead_time | 0 | None | |
| ai_LOS_mode | 0 | None | |
| ai_moveprobe_debug | 0 | None | |
| ai_moveprobe_jump_debug | 0 | None | |
| ai_moveprobe_usetracelist | 0 | None | |
| ai_new_aiming | 1 | None | |
| ai_newgroundturret | 0 | None | |
| ai_next_hull | Cycles through the various hull sizes. Currently selected hull size is written to the screen. Controls which connections are shown when ai_show_hull or ai_show_connect commands are used | ||
| ai_no_local_paths | 0 | None | |
| ai_no_node_cache | 0 | None | |
| ai_no_select_box | 0 | None | |
| ai_no_steer | 0 | None | |
| ai_no_talk_delay | 0 | None | |
| ai_nodes | Toggles node display. First call displays the nodes for the given network as green objects. Second call displays the nodes and their IDs. Nodes are color coded as follows:
| ||
| ai_norebuildgraph | 0 | None | |
| ai_path_adjust_speed_on_immediate_turns | 1 | None | |
| ai_path_insert_pause_at_est_end | 1 | None | |
| ai_path_insert_pause_at_obstruction | 1 | None | |
| ai_reaction_delay_alert | 0 | None | |
| ai_reaction_delay_idle | 0 | None | |
| ai_readiness_decay | 120 | None | |
| ai_rebalance_thinks | 1 | None | |
| ai_reloadresponsesystems | Reload all response system scripts. | ||
| ai_report_task_timings_on_limit | 0 | None | |
| ai_resume | If NPC is stepping through tasks (see ai_step ) will resume normal processing. | ||
| ai_sequence_debug | 0 | None | |
| ai_set_move_height_epsilon | Set how high AI bumps up ground walkers when checking steps | ||
| ai_shot_bias | 1 | None | |
| ai_shot_bias_max | 1 | None | |
| ai_shot_bias_min | -1 | None | |
| ai_shot_stats | 0 | None | |
| ai_shot_stats_term | 1000 | None | |
| ai_show_connect | Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
| ||
| ai_show_connect_fly | Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
| ||
| ai_show_connect_jump | Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
| ||
| ai_show_graph_connect | Toggles graph connection display for the node that the player is looking at. Nodes that are connected to the selected node by the net graph will be drawn in red with magenta lines connecting to the selected node. Nodes that are not connected via the net graph from the selected node will be drawn in blue. | ||
| ai_show_grid | Draw a grid on the floor where looking. | ||
| ai_show_hints | Displays all hints as small boxes
| ||
| ai_show_hull | Displays the allowed hulls between each node for the currently selected hull type. Hulls are color code as follows:
| ||
| ai_show_hull_attacks | 0 | None | |
| ai_show_node | Highlight the specified node | ||
| ai_show_think_tolerance | 0 | None | |
| ai_show_visibility | Toggles visibility display for the node that the player is looking at. Nodes that are visible from the selected node will be drawn in red with yellow lines connecting to the selected node. Nodes that are not visible from the selected node will be drawn in blue. | ||
| ai_simulate_task_overtime | 0 | None | |
| ai_spread_cone_focus_time | 0 | None | |
| ai_spread_defocused_cone_multiplier | 3 | None | |
| ai_spread_pattern_focus_time | 0 | None | |
| ai_step | NPCs will freeze after completing their current task. To complete the next task, use 'ai_step' again. To resume processing normally use 'ai_resume' | ||
| ai_think_limit_label | 0 | None | |
| ai_use_clipped_paths | 1 | None | |
| ai_use_efficiency | 1 | None | |
| ai_use_frame_think_limits | 1 | None | |
| ai_use_readiness | 1 | None | |
| ai_use_think_optimizations | 1 | None | |
| ainet_generate_report | Generate a report to the console. | ||
| ainet_generate_report_only | Generate a report to the console. | ||
| air_density | Changes the density of air for drag computations. | ||
| airboat_fatal_stress | 5000 | Amount of stress in kg that would kill the airboat driver. | |
| alias | Alias a command. | ||
| +alt1 | None | ||
| -alt1 | None | ||
| +attack | Launches the selected weapons primary attack. | ||
| -attack | None | ||
| +attack2 | Launches the selected weapons secondary attack. | ||
| -attack2 | None | ||
| autosave | None |
Commands starting with letter "B"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
| +back | Start moving player backward (button down) | ||
| -back | Stop moving player backward (button up) | ||
| banid | Add a user ID to the ban list. | ||
| bench_end | Ends gathering of info. | ||
| bench_showstatsdialog | Shows a dialog displaying the most recent benchmark results. | ||
| bench_start | Starts gathering of info. Arguments: filename to write results into | ||
| bench_upload | Uploads most recent benchmark stats to the Valve servers. | ||
| benchframe | Takes a snapshot of a particular frame in a time demo. | ||
| bgmvolume | 1 | CD sound playback volume. | |
| bind | Bind a key. E.g Bind "y" "noclip" Will bind the key 'y' when pressed to turn on 'noclip'. When typing into the console include the "" before and after the key and the console command. | ||
| BindToggle | None | ||
| birds_debug | 0 | None | |
| blink_duration | 0 | How many seconds an eye blink will last. | |
| bloodspray | blood | ||
| bot_add | Yes | (Counter-Strike: Source only) Adds a bot onto either the Counter-Terrorist team or the Terrorist team, by random. If the server is hosted online the an rcon login is required. | |
| bot_add_ct | Yes | (Counter-Strike: Source only) Adds a bot onto the Counter-Terrorist team. If the server is hosted online the an rcon login is required. | |
| bot_add_t | Yes | (Counter-Strike: Source only) Adds a bot onto the Terrorist team.I f the server is hosted online the an rcon login is required. | |
| bot_kick | Yes | (Counter-Strike: Source only) Kick's all of the bots from the server. If the server is hosted online the an rcon login is required. | |
| bot_kick ct | Yes | (Counter-Strike: Source only) Kicks a bot from the Counter-Terrorist team by random. If the server is hosted online the an rcon login is required. | |
| bot_kick t | Yes | (Counter-Strike:Source only) Kicks a bot from the Terrorist team by random. If the server is hosted online the an rcon login is required. | |
| bot_kill | Yes | (Counter-Strike:Source only) Kills all of the bots on the server. If the server is hosted online the an rcon login is required. | |
| box | Draw a debug box. | ||
| +break | None | ||
| -break | None | ||
| breakable_disable_gib_limit | 0 | None | |
| breakable_multiplayer | 1 | None | |
| buddha | Toggle. Player takes damage but won't die. (Shows red cross when health is zero) | ||
| budget_averages_window | 30 | number of frames to look at when figuring out average frametimes | |
| budget_background_alpha | 128 | how translucent the budget panel is | |
| budget_bargraph_background_alpha | 128 | how translucent the budget panel is | |
| budget_bargraph_range_ms | 16 | budget bargraph range in milliseconds | |
| budget_history_numsamplesvisible | 100 | number of samples to draw in the budget history window. The lower the better as far as rendering overhead of the budget panel | |
| budget_history_range_ms | 66 | budget history range in milliseconds | |
| budget_panel_bottom_of_history_fraction | 0 | number between 0 and 1 | |
| budget_panel_height | 384 | height in pixels of the budget panel | |
| budget_panel_width | 512 | width in pixels of the budget panel | |
| budget_panel_x | 0 | number of pixels from the left side of the game screen to draw the budget panel | |
| budget_panel_y | 50 | number of pixels from the top side of the game screen to draw the budget panel | |
| budget_peaks_window | 30 | number of frames to look at when figuring out peak frametimes | |
| budget_show_averages | 0 | enable/disable averages in the budget panel | |
| budget_show_history | 1 | turn history graph off and on. . good to turn off on low end | |
| budget_show_peaks | 1 | enable/disable peaks in the budget panel | |
| bug | Show/hide the bug reporting UI. | ||
| bug_swap | Automatically swaps the current weapon for the bug bait and back again. | ||
| bugbait_distract_time | 5 | None | |
| bugbait_grenade_radius | 150 | None | |
| bugbait_hear_radius | 2500 | None | |
| bugbait_radius | 512 | None | |
| bugreporter_includebsp | 1 | Include .bsp for internal bug submissions. | |
| buildcubemaps | Rebuild cubemaps. | ||
| building_cubemaps | 0 | None | |
| bulletspeed | 6000 | None |
Commands starting with letter "C"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
| c_maxdistance | 200 | None | |
| c_maxpitch | 90 | None | |
| c_maxyaw | 135 | None | |
| c_mindistance | 30 | None | |
| c_minpitch | 0 | None | |
| c_minyaw | -135 | None | |
| c_orthoheight | 100 | None | |
| c_orthowidth | 100 | None | |
| cache_print | Print out contents of cache memory. | ||
| cam_command | 0 | Yes | None |
| cam_idealdist | 64 | None | |
| cam_idealpitch | 0 | None | |
| cam_idealyaw | 90 | None | |
| cam_snapto | 0 | None | |
| +camdistance | None | ||
| -camdistance | None | ||
| +camin | None | ||
| -camin | None | ||
| +cammousemove | None | ||
| -cammousemove | None | ||
| camortho | Switch to orthographic camera. | ||
| +camout | None | ||
| -camout | None | ||
| +campitchdown | None | ||
| -campitchdown | None | ||
| +campitchup | None | ||
| -campitchup | None | ||
| +camyawleft | None | ||
| -camyawleft | None | ||
| +camyawright | None | ||
| -camyawright | None | ||
| cancelselect | None | ||
| cast_hull | Tests hull collision detection | ||
| cast_ray | Tests collision detection | ||
| cc_captiontrace | 1 | Show missing closecaptions: (0 = no, 1 = devconsole, 2 = show in hud) | |
| cc_emit | Emits a closed caption | ||
| cc_lang | 0 | Current close caption language (emtpy = use game UI language) | |
| cc_linger_time | 1 | Close caption linger time. | |
| cc_lookup_crc | For tracking down missing CC token strings | ||
| cc_predisplay_time | 0 | Close caption delay before showing caption. | |
| cc_sentencecaptionnorepeat | 4 | How often a sentence can repeat. | |
| cc_subtitles | 0 | If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players). | |
| cd | Play or stop a cd track. | ||
| centerview | None | ||
| ch_createairboat | Spawn airboat in front of the player. | ||
| ch_createjeep | Spawn jeep in front of the player. | ||
| changelevel | Change server to the specified map | ||
| changelevel2 | Transition to the specified map in single player | ||
| cl_allowdownload | 1 | Client downloads customization files | |
| cl_allowupload | 1 | Client uploads customization files | |
| cl_anglespeedkey | 0 | None | |
| cl_animationinfo | Hud element to examine. | ||
| cl_backspeed | 400 | None | |
| cl_bob | 0 | None | |
| cl_bobcycle | 0 | None | |
| cl_bobup | 0 | None | |
| cl_class | 0 | 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 | 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 | Max number of command packets sent to server per second | |
| cl_customsounds | 0 | Enable customized player sound playback | |
| cl_demoviewoverride | 0 | Override view during demo playback | |
| cl_detaildist | 1200 | Distance at which detail props (e.g. grass) are shown. | |
| 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. | |
| cl_draw_airboat_wake | 1 | Yes | None |
| 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 | None | |
| cl_drawshadowtexture | 0 | Yes | None |
| cl_ejectbrass | 1 | Determines whether spent shells are shown ejecting from a gun. | |
| cl_ent_absbox | Displays the client's absbox for the entity under the crosshair. | ||
| cl_ent_bbox | Displays the client's bounding box for the entity under the crosshair. | ||
| cl_ent_rbox | 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 | None | |
| 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. | |
| cl_forwardspeed | 400 | None | |
| cl_fullupdate | Forces the server to send a full update packet | ||
| cl_idealpitchscale | 0 | None | |
| cl_ignorepackets | 0 | Yes | Force client to ignore packets (for debugging). |
| cl_interp | 0 | Interpolate object positions starting this many seconds in past | |
| cl_interp_npcs | 0 | Interpolate NPC positions starting this many seconds in past (or cl_interp, if greater) | |
| cl_interpolate | 1 | Interpolate entities on the client. | |
| cl_lagcomp_errorcheck | 0 | Player index of other player to check for position errors. | |
| cl_lagcompensation | 1 | Perform server side lag compensation of weapon firing events. | |
| cl_leveloverview | 0 | Yes | None |
| cl_localnetworkbackdoor | 1 | Enable network optimizations for single player games. | |
| cl_logofile | 0 | Spraypoint logo decal. | |
| cl_maxrenderable_dist | 3000 | Yes | Max distance from the camera at which things will be rendered |
| cl_mouseenable | 1 | None | |
| cl_observercrosshair | 1 | None | |
| cl_overdraw_test | 0 | Yes | None |
| cl_panelanimation | blanak for all panels>. | ||
| 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 | Disable clientside physics props (must be set before loading a level). | |
| cl_phys_props_max | 300 | Maximum clientside physic props | |
| cl_phys_timescale | 1 | Yes | Sets the scale of time for client-side physics (ragdolls) |
| cl_pitchdown | 89 | None | |
| cl_pitchspeed | 225 | None | |
| cl_pitchup | 89 | None | |
| cl_precacheinfo | Show precache info (client). | ||
| 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). | |
| cl_predict | 0 | Perform client side prediction. | |
| cl_predictionlist | 0 | Yes | Show which entities are predicting |
| cl_predictweapons | 1 | Perform client side prediction of weapon effects. | |
| cl_ragdoll_collide | 0 | None | |
| cl_rate | 10000 | Max bytes/sec the host can send data (This command no longer exists) | |
| cl_removedecals | Remove the decals from the entity under the crosshair. | ||
| cl_resend | 6 | Delay in seconds before the client will resend the 'connect' attempt | |
| 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:
| |
| cl_SetupAllBones | 0 | None | |
| cl_show_bloodspray | 1 | None | |
| cl_show_splashes | 1 | 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 | 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 | See Optimization Commands. | |
| cl_showpos | 0 | Draw current position at top of screen | |
| cl_ShowSunVectors | 0 | None | |
| cl_showtextmsg | 1 | Enable/disable text messages printing on the screen. | |
| cl_sidespeed | 400 | None | |
| cl_slist | 10 | Number of seconds to wait for server ping responses when checking for server on your lan | |
| cl_smooth | 1 | Smooth view/eye origin after prediction errors | |
| cl_smoothtime | 0 | Smooth client's view after prediction error over this many seconds | |
| cl_soundemitter_flush | Flushes the sounds.txt system (client only) | ||
| cl_soundfile | 0 | Jingle sound file. | |
| cl_soundscape_flush | Flushes the client side soundscapes | ||
| cl_soundscape_printdebuginfo | print soundscapes | ||
| cl_starfield_diameter | 128 | None | |
| cl_starfield_distance | 256 | None | |
| cl_sun_decay_rate | 0 | Yes | None |
| cl_team | 0 | Default team when joining a game | |
| cl_timeout | 30 | After this many seconds without receiving a packet from the server, the client will disconnect itself | |
| cl_updaterate | 20 | Number of packets per second of updates you are requesting from the server | |
| cl_upspeed | 320 | None | |
| cl_view | Set the view entity index. | ||
| cl_winddir | 0 | Weather effects wind direction angle | |
| cl_windspeed | 0 | Weather effects wind speed scalar | |
| cl_yawspeed | 210 | None | |
| clear | Clear all console output. | ||
| clear_debug_overlays | clears debug overlays | ||
| clientport | 27005 | Host game client port | |
| closecaption | 0 | Enable close captioning. | |
| cmd | Forward command to server. | ||
| collision_shake_amp | 0 | None | |
| collision_shake_freq | 0 | None | |
| collision_shake_time | 0 | None | |
| combine_guard_spawn_health | 1 | None | |
| combine_spawn_health | 1 | None | |
| +commandermousemove | None | ||
| -commandermousemove | None | ||
| con_drawnotify | 1 | Disables drawing of notification area (for taking screenshots). | |
| con_enable | 1 | Allows the console to be activated. | |
| con_notifytime | 8 | How long to display recent console text to the upper part of the game window | |
| con_nprint_bgalpha | 50 | Con_NPrint background alpha. | |
| con_nprint_bgborder | 5 | Con_NPrint border size. | |
| con_trace | 0 | Print console text to low level printout. | |
| connect | Connect to specified server. | ||
| contimes | 8 | Number of console lines to overlay for debugging. | |
| coop | 0 | Cooperative play. | |
| CreateHairball | None | ||
| creditsdone | None | ||
| crosshair | 1 | None | |
| curve_bias | 0 | None | |
| cvarlist | Show the list of convars/concommands. |
Commands starting with letter "D"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
| deathmatch | 0 | Running a deathmatch server. | |
| debug_physimpact | 0 | None | |
| decalfrequency | 10 | None | |
| default_fov | 75 | Yes | None |
| demo_debug | 0 | Demo debug info. | |
| demo_fastforwardfinalspeed | 20 | Go this fast when holding FF button for a set amount of time (see below). | |
| demo_fastforwardramptime | 5 | How many seconds it takes to get to full FF speed. | |
| demo_fastforwardstartspeed | 2 | Go this fast when starting to hold FF button. | |
| demo_interpolateview | 1 | Do view interpolation during dem playback. | |
| demo_pauseatservertick | 0 | Pauses demo playback at server tick | |
| demo_quitafterplayback | 0 | Quits game after demo playback. | |
| demo_recordcommands | 1 | Record commands typed at console into .dem files. | |
| demogototick | Skips to a tick in demo. | ||
| demolist | Print demo sequence list. | ||
| demopause | Pauses demo playback. | ||
| demoresume | Resumes demo playback. | ||
| demos | Demo demo file sequence. | ||
| demotimescale | Sets demo replay speed. | ||
| demotogglepause | Toggles demo playback. | ||
| demoui | Show/hide the demo player UI. | ||
| developer | 0 | Show developer messages. | |
| differences | Show all convars which are not at their default values. | ||
| disconnect | Disconnect game from server. | ||
| disp_dynamic | 0 | None | |
| disp_modlimit | 80 | None | |
| disp_modlimit_down | 20 | None | |
| disp_modlimit_up | 80 | None | |
| disp_numiterations | 1 | Yes | None |
| dispcoll_drawplane | 0 | None | |
| displaysoundlist | 0 | None | |
| dog_debug | 0 | None | |
| dog_max_wait_time | 7 | None | |
| drawcross | Draws a cross at the given location. Arguments: x y z | ||
| drawline | Draws line between two 3D Points.
| ||
| dropprimary | dropprimary: Drops the primary weapon of the player. | ||
| dsp_automatic | 0 | None | |
| dsp_db_min | 80 | None | |
| dsp_db_mixdrop | 0 | None | |
| dsp_dist_max | 1440 | None | |
| dsp_dist_min | 0 | None | |
| dsp_enhance_stereo | 1 | None | |
| dsp_facingaway | 0 | None | |
| dsp_mix_max | 0 | None | |
| dsp_mix_min | 0 | None | |
| dsp_off | 0 | Yes | None |
| dsp_player | 0 | None | |
| dsp_reload | None | ||
| dsp_room | 0 | None | |
| dsp_slow_cpu | 0 | None | |
| dsp_spatial | 40 | None | |
| dsp_speaker | 50 | None | |
| dsp_vol_2ch | 1 | None | |
| dsp_vol_4ch | 0 | None | |
| dsp_vol_5ch | 0 | None | |
| dsp_volume | 1 | None | |
| dsp_water | 14 | None | |
| dti_flush | Write out the datatable instrumentation files (you must run with -dti for this to work). | ||
| dtwarning | 0 | Print data table warnings? | |
| dtwatchent | -1 | Watch this entities data table encoding. | |
| dtwatchvar | 0 | Watch the named variable. | |
| +duck | Start player ducking (button down) | ||
| -duck | Stop player ducking (button up) | ||
| dump_globals | Dump all global entities/states | ||
| dumpstringtables | Print string tables to console. |
Commands starting with letter "E"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
| echo | Echo text to console. | ||
| editdemo | Edit a recorded demo file (.dem ). | ||
| endmovie | Stop recording movie frames. | ||
| english | 1 | If set to 1, running the english language set of assets. | |
| ent_absbox | Displays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays.
| ||
| ent_bbox | Displays the movement bounding box for the given entity(ies) in orange. Some entites will also display entity specific overlays.
| ||
| ent_debugkeys | 0 | None | |
| ent_dump | Usage: ent_dump <entity name></pre> | ||
| ent_fire | Usage: ent_fire <target> [action] [value] [delay] | ||
| ent_info | Usage: ent_info <class name></pre> | ||
| ent_messages | Toggles input/output message display for the selected entity(ies). The name of the entity will be displayed as well as any messages that it sends or receives.
| ||
| ent_messages_draw | 0 | Yes | Visualizes all entity input/output activity. |
| ent_name | None | ||
| ent_pause | Toggles pausing of input/output message processing for entities. When turned on processing of all message will stop. Any messages displayed with 'ent_messages' will stop fading and be displayed indefinitely. To step through the messages one by one use 'ent_step'. | ||
| ent_pivot | Displays the pivot for the given entity(ies). (y=up=green, z=forward=blue, x=left=red).
| ||
| ent_rbox | Displays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays.
| ||
| ent_remove | Removes the given entity(s)
| ||
| ent_remove_all | Removes all entities of the specified type;Arguments: {entity_name} / {class_name} | ||
| ent_setname | Sets the targetname of the given entity(s)
| ||
| ent_show_response_criteria | Print, to the console, an entity's current criteria set used to select responses.
| ||
| ent_step | When 'ent_pause' is set this will step through one waiting input / output message at a time. | ||
| ent_text | Displays text debugging information about the given entity(ies) on top of the entity (See Overlay Text)
| ||
| envmap | None | ||
| escape | Escape key pressed. | ||
| exec | Execute script file. | ||
| exit | Exit the engine. |
Commands starting with letter "F"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
| fadein | fadein {time r g b}: Fades the screen in from black or from the specified color over the given number of seconds. | ||
| fadeout | fadeout {time r g b}: Fades the screen to black or to the specified color over the given number of seconds. | ||
| find | Find concommands with the specified string in their name/help text. | ||
| fire_absorbrate | 3 | None | |
| fire_dmgbase | 1 | None | |
| fire_dmginterval | 1 | None | |
| fire_dmgscale | 0 | None | |
| fire_extabsorb | 5 | None | |
| fire_extscale | 12 | None | |
| fire_growthrate | 1 | None | |
| fire_heatscale | 1 | None | |
| fire_incomingheatscale | 0 | None | |
| fire_maxabsorb | 50 | None | |
| firetarget | None | ||
| firstperson | Switch to firstperson camera. | ||
| flex_expression | 0 | None | |
| flex_looktime | 5 | None | |
| flex_maxawaytime | 1 | None | |
| flex_maxplayertime | 7 | None | |
| flex_minawaytime | 0 | None | |
| flex_minplayertime | 5 | None | |
| flex_rules | 1 | Allow flex animation rules to run. | |
| flex_smooth | 1 | Applies smoothing/decay curve to flex animation controller changes. | |
| flex_talk | 0 | None | |
| flush | Flush cache memory. | ||
| flush_unlocked | Flush unlocked cache memory. | ||
| fog_color | -1 | None | |
| fog_colorskybox | -1 | None | |
| fog_enable | 1 | None | |
| fog_enable_water_fog | 1 | None | |
| fog_enableskybox | 1 | None | |
| fog_end | -1 | None | |
| fog_endskybox | -1 | None | |
| fog_override | 0 | Yes | None |
| fog_start | -1 | None | |
| fog_startskybox | -1 | None | |
| force_centerview | Positions the player's view straight ahead | ||
| +forward | Start moving player forward (button down) | ||
| -forward | Stop moving player forward (button up) | ||
| fov | Change players FOV | ||
| fps_max | 300 | Frame rate limiter | |
| free_pass_peek_debug | 0 | None | |
| fs_printopenfiles | Show all files currently opened by the engine. | ||
| fs_warning_level | Set the filesystem warning level. | ||
| func_break_max_pieces | 15 | None | |
| func_breakdmg_bullet | 0 | None | |
| func_breakdmg_club | 1 | None | |
| func_breakdmg_explosive | 1 | None |
Commands starting with letter "G"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
| g_ai_citizen_show_enemy | 0 | None | |
| g_antlion_maxgibs | 16 | None | |
| g_debug_antlion | 0 | None | |
| g_debug_antlionguard | 0 | None | |
| g_debug_antlionmaker | 0 | Yes | None |
| g_debug_basehelicopter | 0 | Yes | None |
| g_debug_combine_camera | 0 | None | |
| g_debug_cscanner | 0 | None | |
| g_debug_doors | 0 | None | |
| g_debug_dropship | 0 | None | |
| g_debug_dynamicresupplies | 0 | Debug item_dynamic_resupply spawning. Set to 1 to see text printouts of the spawning. Set to 2 to see lines drawn to other items factored into the spawning. | |
| g_debug_gunship | 0 | Yes | None |
| g_debug_headcrab | 0 | Yes | None |
| g_debug_physcannon | 0 | None | |
| g_debug_ragdoll_removal | 0 | Yes | None |
| g_debug_ragdoll_visualize | 0 | Yes | None |
| g_debug_trackpather | 0 | Yes | None |
| g_debug_transitions | 0 | Set to 1 and restart the map to be warned if the map has no trigger_transition volumes. Set to 2 to see a dump of all entities & associated results during a transition. | |
| g_debug_turret | 0 | None | |
| g_debug_turret_ceiling | 0 | None | |
| g_debug_vehiclebase | 0 | Yes | None |
| g_debug_vehicledriver | 0 | Yes | None |
| g_debug_vehicleexit | 0 | Yes | None |
| g_debug_vehiclesound | 0 | Yes | None |
| g_helicopter_bullrush_bomb_enemy_distance | 0 | None | |
| g_helicopter_bullrush_bomb_speed | 850 | The maximum distance the player can be from the chopper before it stops firing | |
| g_helicopter_bullrush_bomb_time | 10 | None | |
| g_helicopter_bullrush_distance | 5000 | None | |
| g_helicopter_bullrush_mega_bomb_health | 0 | Fraction of the health of the chopper before it mega-bombs | |
| g_helicopter_bullrush_shoot_height | 650 | The maximum distance the player can be from the chopper before it stops firing | |
| g_helicopter_chargetime | 2 | How much time we have to wait (on average) between the time we start hearing the charging sound + the chopper fires | |
| g_helicopter_idletime | 3 | How much time we have to wait (on average) after we fire before we can charge up again | |
| g_helicopter_maxfiringdist | 2500 | The maximum distance the player can be from the chopper before it stops firing | |
| g_jeepexitspeed | 100 | Yes | None |
| g_Language | 0 | None | |
| g_ragdoll_fadespeed | 600 | None | |
| g_ragdoll_maxcount | 8 | None | |
| g_test_new_antlion_jump | 1 | None | |
| gameui_hide | None | ||
| getpos | dump position and angles to the console | ||
| give | Give item to player. Arguments: <item_name> | ||
| gl_clear | 0 | None | |
| god | Yes | Toggle. Player becomes invulnerable. (Suit will still take damage.) | |
| +graph | None | ||
| -graph | None | ||
| groundlist | Display ground entity list <index> |
Commands starting with letter "H"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
| heartbeat | None | ||
| help | Find help about a convar/concommand. | ||
| hideconsole | Hide the console. | ||
| hidehud | 0 | Yes | None |
| hidepanel | Hides a viewport panel <name> | ||
| hl2_normspeed | 190 | None | |
| hl2_sprintspeed | 320 | None | |
| hl2_walkspeed | 150 | None | |
| hltv_autorecord | 0 | Automatically records all games as HLTV demos. | |
| hltv_cam_distance | 96 | Default HLTV chase camera distance | |
| hltv_cam_fov | 90 | Default HLTV chase camera FOV | |
| hltv_cam_inertia | 100 | Default HLTV chase camera inertia | |
| hltv_cam_offset | 64 | Default HLTV chase camera offset | |
| hltv_cam_phi | 0 | Default HLTV chase camera phi angle | |
| hltv_cam_theta | 0 | Default HLTV chase camera theta angle | |
| hltv_connect | Connect to specified HLTV server. | ||
| hltv_debug | 0 | HLTV debug info. | |
| hltv_delay | 10 | HLTV broadcast delay in seconds | |
| 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 | Starts HLTV demo recording. | ||
| hltv_retry | Reconnects the HLTV relay proxy. | ||
| hltv_snapshotinterval | 2 | Take game snapshot every nth tick | |
| hltv_status | Connect to specified HLTV server. | ||
| hltv_stop | Stops the HLTV broadcast. | ||
| hltv_stoprecord | Stops HLTV demo recording. | ||
| hltv_viewent | 0 | HLTV camera entity index | |
| host_framerate | 0 | Set to lock per-frame time elapse. | |
| host_limitlocal | 0 | Apply cl_cmdrate and cl_updaterate to loopback connection | |
| host_map | 0 | Current map name. | |
| host_profile | 0 | None | |
| host_runofftime | Run off some time without rendering/updating sounds | ||
| host_showcachemiss | 0 | Print a debug message when the client or server cache is missed. | |
| host_sleep | 0 | Yes | Force the host to sleep a certain number of milliseconds each frame. |
| host_speeds | 0 | Show general system running times. | |
| host_timescale | 1 | Prescale the clock by this amount. | |
| host_writeconfig | Store current settings to config.cfg (or specified .cfg file). | ||
| hostname | 0 | Hostname for server. | |
| hostport | 27015 | Host game server port | |
| hud_airboathint_numentries | 10 | None | |
| hud_autoreloadscript | 0 | Automatically reloads the animation script each time one is ran | |
| hud_deathnotice_time | 6 | None | |
| hud_drawhistory_time | 5 | None | |
| hud_fastswitch | 0 | None | |
| hud_jeephint_numentries | 10 | None | |
| hud_quickinfo | 0 | None | |
| hud_reloadscheme | Reloads hud layout and animation scripts. | ||
| hud_saytext_time | 12 | None | |
| hurtme | Hurts the player. Arguments: <health to lose> |
Commands starting with letter "I"
| Command | Default | Cheat? | Help Text |
|---|---|---|---|
