Console command list

From Valve Developer Community

(Redirected from Console commands)

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

Image:note.png Note: Commands with "Yes" in "Cheat?" column require sv_cheats 1 to be active before working.

Commands starting with letter "A"

Command Default Cheat? Help Text
_fov0Automates fov command to server.
_restartShutdown and restart the engine.
addipAdd an IP address to the ban list.
adsp_alley_min122None
adsp_courtyard_min126None
adsp_debug0None
adsp_door_height112None
adsp_duct_min106None
adsp_hall_min110None
adsp_low_ceiling108None
adsp_opencourtyard_min126None
adsp_openspace_min130None
adsp_openstreet_min118None
adsp_openwall_min130None
adsp_room_min102None
adsp_street_min118None
adsp_tunnel_min114None
adsp_wall_height128None
ai_actbusy_search_time10None
ai_ally_manager_debug0None
ai_auto_contact_solver1None
ai_citizen_debug_commander1None
ai_clear_bad_linksClears bits set on nav links indicating link is unusable
ai_debug_actbusy0YesUsed to debug actbusy behavior. Usage:
1
Constantly draw lines from NPCs to the actbusy nodes they've chosen to actbusy at.
2
Whenever an NPC makes a decision to use an actbusy, show which actbusy they've chosen.
3
Selected NPCs (with npc_select) will report why they're not choosing actbusy nodes.
4
Display debug output of actbusy logic.
ai_debug_assault0None
ai_debug_directnavprobe0None
ai_debug_doors0None
ai_debug_efficiency0None
ai_debug_enemies0None
ai_debug_expressions0Show random expression decisions for NPCs.
ai_debug_follow0None
ai_debug_loners0None
ai_debug_looktargets0None
ai_debug_los0YesNPC Line-Of-Sight debug mode.
1
Solid entities that block NPC LOC will be highlighted with white bounding boxes.
2
It'll show non-solid entities that would do it if they were solid.
ai_debug_nav0None
ai_debug_node_connectDebug the attempted connection between two nodes
ai_debug_ragdoll_magnets0None
ai_debug_readiness0None
ai_debug_shoot_positions0None
ai_debug_speech0None
ai_debug_squads0None
ai_debug_think_ticks0None
ai_debugscriptconditions0None
ai_disableBi-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_drawbattlelines0YesNone
ai_dump_hintsNone
ai_efficiency_override0None
ai_follow_move_commands1None
ai_follow_use_points1None
ai_follow_use_points_when_moving1None
ai_lead_time0None
ai_LOS_mode0None
ai_moveprobe_debug0None
ai_moveprobe_jump_debug0None
ai_moveprobe_usetracelist0None
ai_new_aiming1None
ai_newgroundturret0None
ai_next_hullCycles 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_paths0None
ai_no_node_cache0None
ai_no_select_box0None
ai_no_steer0None
ai_no_talk_delay0None
ai_nodesToggles 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:
Green
Ground node
Cyan
Air node
Magenta
Climb node
Grey
Node not available for selected hull size
Orange
Node currently locked
ai_norebuildgraph0None
ai_path_adjust_speed_on_immediate_turns1None
ai_path_insert_pause_at_est_end1None
ai_path_insert_pause_at_obstruction1None
ai_reaction_delay_alert0None
ai_reaction_delay_idle0None
ai_readiness_decay120None
ai_rebalance_thinks1None
ai_reloadresponsesystemsReload all response system scripts.
ai_report_task_timings_on_limit0None
ai_resumeIf NPC is stepping through tasks (see ai_step ) will resume normal processing.
ai_sequence_debug0None
ai_set_move_height_epsilonSet how high AI bumps up ground walkers when checking steps
ai_shot_bias1None
ai_shot_bias_max1None
ai_shot_bias_min-1None
ai_shot_stats0None
ai_shot_stats_term1000None
ai_show_connectDisplays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green
Ground movement
Blue
Jumping movement
Cyan
Flying movement
Magenta
Climbing movement
Red
Connection disabled
ai_show_connect_flyDisplays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green
Ground movement
Blue
Jumping movement
Cyan
Flying movement
Magenta
Climbing movement
Red
Connection disabled
ai_show_connect_jumpDisplays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green
Ground movement
Blue
Jumping movement
Cyan
Flying movement
Magenta
Climbing movement
Red
Connection disabled
ai_show_graph_connectToggles 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_gridDraw a grid on the floor where looking.
ai_show_hintsDisplays all hints as small boxes
Blue
Hint is available for use
Red
Hint is currently being used by an NPC
Orange
Hint not being used by timed out
Grey
Hint has been disabled
ai_show_hullDisplays the allowed hulls between each node for the currently selected hull type. Hulls are color code as follows:
Green
Ground movement
Blue
Jumping movement
Cyan
Flying movement
Magenta
Climbing movement
ai_show_hull_attacks0None
ai_show_nodeHighlight the specified node
ai_show_think_tolerance0None
ai_show_visibilityToggles 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_overtime0None
ai_spread_cone_focus_time0None
ai_spread_defocused_cone_multiplier3None
ai_spread_pattern_focus_time0None
ai_stepNPCs 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_label0None
ai_use_clipped_paths1None
ai_use_efficiency1None
ai_use_frame_think_limits1None
ai_use_readiness1None
ai_use_think_optimizations1None
ainet_generate_reportGenerate a report to the console.
ainet_generate_report_onlyGenerate a report to the console.
air_densityChanges the density of air for drag computations.
airboat_fatal_stress5000Amount of stress in kg that would kill the airboat driver.
aliasAlias a command.
+alt1None
-alt1None
+attackLaunches the selected weapons primary attack.
-attackNone
+attack2Launches the selected weapons secondary attack.
-attack2None
autosaveNone

Commands starting with letter "B"

Command Default Cheat? Help Text
+backStart moving player backward (button down)
-backStop moving player backward (button up)
banidAdd a user ID to the ban list.
bench_endEnds gathering of info.
bench_showstatsdialogShows a dialog displaying the most recent benchmark results.
bench_startStarts gathering of info. Arguments: filename to write results into
bench_uploadUploads most recent benchmark stats to the Valve servers.
benchframeTakes a snapshot of a particular frame in a time demo.
bgmvolume1CD sound playback volume.
bindBind 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.
BindToggleNone
birds_debug0None
blink_duration0How many seconds an eye blink will last.
bloodsprayblood
bot_addYes(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_ctYes(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_tYes(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_kickYes(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 ctYes(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 tYes(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_killYes(Counter-Strike:Source only) Kills all of the bots on the server. If the server is hosted online the an rcon login is required.
boxDraw a debug box.
+breakNone
-breakNone
breakable_disable_gib_limit0None
breakable_multiplayer1None
buddhaToggle. Player takes damage but won't die. (Shows red cross when health is zero)
budget_averages_window30number of frames to look at when figuring out average frametimes
budget_background_alpha128how translucent the budget panel is
budget_bargraph_background_alpha128how translucent the budget panel is
budget_bargraph_range_ms16budget bargraph range in milliseconds
budget_history_numsamplesvisible100number 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_ms66budget history range in milliseconds
budget_panel_bottom_of_history_fraction0number between 0 and 1
budget_panel_height384height in pixels of the budget panel
budget_panel_width512width in pixels of the budget panel
budget_panel_x0number of pixels from the left side of the game screen to draw the budget panel
budget_panel_y50number of pixels from the top side of the game screen to draw the budget panel
budget_peaks_window30number of frames to look at when figuring out peak frametimes
budget_show_averages0enable/disable averages in the budget panel
budget_show_history1turn history graph off and on. . good to turn off on low end
budget_show_peaks1enable/disable peaks in the budget panel
bugShow/hide the bug reporting UI.
bug_swapAutomatically swaps the current weapon for the bug bait and back again.
bugbait_distract_time5None
bugbait_grenade_radius150None
bugbait_hear_radius2500None
bugbait_radius512None
bugreporter_includebsp1Include .bsp for internal bug submissions.
buildcubemapsRebuild cubemaps.
building_cubemaps0None
bulletspeed6000None

Commands starting with letter "C"

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.

Commands starting with letter "D"

Command Default Cheat? Help Text
deathmatch0Running a deathmatch server.
debug_physimpact0None
decalfrequency10None
default_fov75YesNone
demo_debug0Demo debug info.
demo_fastforwardfinalspeed20Go this fast when holding FF button for a set amount of time (see below).
demo_fastforwardramptime5How many seconds it takes to get to full FF speed.
demo_fastforwardstartspeed2Go this fast when starting to hold FF button.
demo_interpolateview1Do view interpolation during dem playback.
demo_pauseatservertick0Pauses demo playback at server tick
demo_quitafterplayback0Quits game after demo playback.
demo_recordcommands1Record commands typed at console into .dem files.
demogototickSkips to a tick in demo.
demolistPrint demo sequence list.
demopausePauses demo playback.
demoresumeResumes demo playback.
demosDemo demo file sequence.
demotimescaleSets demo replay speed.
demotogglepauseToggles demo playback.
demouiShow/hide the demo player UI.
developer0Show developer messages.
differencesShow all convars which are not at their default values.
disconnectDisconnect game from server.
disp_dynamic0None
disp_modlimit80None
disp_modlimit_down20None
disp_modlimit_up80None
disp_numiterations1YesNone
dispcoll_drawplane0None
displaysoundlist0None
dog_debug0None
dog_max_wait_time7None
drawcrossDraws a cross at the given location. Arguments: x y z
drawlineDraws line between two 3D Points.
Green
If no collision
Red
Is collided with something
Arguments
x1 y1 z1 x2 y2 z2
dropprimarydropprimary: Drops the primary weapon of the player.
dsp_automatic0None
dsp_db_min80None
dsp_db_mixdrop0None
dsp_dist_max1440None
dsp_dist_min0None
dsp_enhance_stereo1None
dsp_facingaway0None
dsp_mix_max0None
dsp_mix_min0None
dsp_off0YesNone
dsp_player0None
dsp_reloadNone
dsp_room0None
dsp_slow_cpu0None
dsp_spatial40None
dsp_speaker50None
dsp_vol_2ch1None
dsp_vol_4ch0None
dsp_vol_5ch0None
dsp_volume1None
dsp_water14None
dti_flushWrite out the datatable instrumentation files (you must run with -dti for this to work).
dtwarning0Print data table warnings?
dtwatchent-1Watch this entities data table encoding.
dtwatchvar0Watch the named variable.
+duckStart player ducking (button down)
-duckStop player ducking (button up)
dump_globalsDump all global entities/states
dumpstringtablesPrint string tables to console.

Commands starting with letter "E"

Command Default Cheat? Help Text
echoEcho text to console.
editdemoEdit a recorded demo file (.dem ).
endmovieStop recording movie frames.
english1If set to 1, running the english language set of assets.
ent_absboxDisplays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays.
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_bboxDisplays the movement bounding box for the given entity(ies) in orange. Some entites will also display entity specific overlays.
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_debugkeys0None
ent_dumpUsage: ent_dump <entity name></pre>
ent_fireUsage: ent_fire <target> [action] [value] [delay]
ent_infoUsage: ent_info <class name></pre>
ent_messagesToggles 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.
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_messages_draw0YesVisualizes all entity input/output activity.
ent_nameNone
ent_pauseToggles 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_pivotDisplays the pivot for the given entity(ies). (y=up=green, z=forward=blue, x=left=red).
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_rboxDisplays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays.
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_removeRemoves the given entity(s)
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_remove_allRemoves all entities of the specified type;Arguments: {entity_name} / {class_name}
ent_setnameSets the targetname of the given entity(s)
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_show_response_criteriaPrint, to the console, an entity's current criteria set used to select responses.
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_stepWhen 'ent_pause' is set this will step through one waiting input / output message at a time.
ent_textDisplays text debugging information about the given entity(ies) on top of the entity (See Overlay Text)
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
envmapNone
escapeEscape key pressed.
execExecute script file.
exitExit the engine.

Commands starting with letter "F"

Command Default Cheat? Help Text
fadeinfadein {time r g b}: Fades the screen in from black or from the specified color over the given number of seconds.
fadeoutfadeout {time r g b}: Fades the screen to black or to the specified color over the given number of seconds.
findFind concommands with the specified string in their name/help text.
fire_absorbrate3None
fire_dmgbase1None
fire_dmginterval1None
fire_dmgscale0None
fire_extabsorb5None
fire_extscale12None
fire_growthrate1None
fire_heatscale1None
fire_incomingheatscale0None
fire_maxabsorb50None
firetargetNone
firstpersonSwitch to firstperson camera.
flex_expression0None
flex_looktime5None
flex_maxawaytime1None
flex_maxplayertime7None
flex_minawaytime0None
flex_minplayertime5None
flex_rules1Allow flex animation rules to run.
flex_smooth1Applies smoothing/decay curve to flex animation controller changes.
flex_talk0None
flushFlush cache memory.
flush_unlockedFlush unlocked cache memory.
fog_color-1None
fog_colorskybox-1None
fog_enable1None
fog_enable_water_fog1None
fog_enableskybox1None
fog_end-1None
fog_endskybox-1None
fog_override0YesNone
fog_start-1None
fog_startskybox-1None
force_centerviewPositions the player's view straight ahead
+forwardStart moving player forward (button down)
-forwardStop moving player forward (button up)
fovChange players FOV
fps_max300Frame rate limiter
free_pass_peek_debug0None
fs_printopenfilesShow all files currently opened by the engine.
fs_warning_levelSet the filesystem warning level.
func_break_max_pieces15None
func_breakdmg_bullet0None
func_breakdmg_club1None
func_breakdmg_explosive1None

Commands starting with letter "G"

Command Default Cheat? Help Text
g_ai_citizen_show_enemy0None
g_antlion_maxgibs16None
g_debug_antlion0None
g_debug_antlionguard0None
g_debug_antlionmaker0YesNone
g_debug_basehelicopter0YesNone
g_debug_combine_camera0None
g_debug_cscanner0None
g_debug_doors0None
g_debug_dropship0None
g_debug_dynamicresupplies0Debug 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_gunship0YesNone
g_debug_headcrab0YesNone
g_debug_physcannon0None
g_debug_ragdoll_removal0YesNone
g_debug_ragdoll_visualize0YesNone
g_debug_trackpather0YesNone
g_debug_transitions0Set 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_turret0None
g_debug_turret_ceiling0None
g_debug_vehiclebase0YesNone
g_debug_vehicledriver0YesNone
g_debug_vehicleexit0YesNone
g_debug_vehiclesound0YesNone
g_helicopter_bullrush_bomb_enemy_distance0None
g_helicopter_bullrush_bomb_speed850The maximum distance the player can be from the chopper before it stops firing
g_helicopter_bullrush_bomb_time10None
g_helicopter_bullrush_distance5000None
g_helicopter_bullrush_mega_bomb_health0Fraction of the health of the chopper before it mega-bombs
g_helicopter_bullrush_shoot_height650The maximum distance the player can be from the chopper before it stops firing
g_helicopter_chargetime2How much time we have to wait (on average) between the time we start hearing the charging sound + the chopper fires
g_helicopter_idletime3How much time we have to wait (on average) after we fire before we can charge up again
g_helicopter_maxfiringdist2500The maximum distance the player can be from the chopper before it stops firing
g_jeepexitspeed100YesNone
g_Language0None
g_ragdoll_fadespeed600None
g_ragdoll_maxcount8None
g_test_new_antlion_jump1None
gameui_hideNone
getposdump position and angles to the console
giveGive item to player. Arguments: <item_name>
gl_clear0None
godYesToggle. Player becomes invulnerable. (Suit will still take damage.)
+graphNone
-graphNone
groundlistDisplay ground entity list <index>

Commands starting with letter "H"

Command Default Cheat? Help Text
hammer_update_entityOrange Box replacement for wc_update_entity.
heartbeatNone
helpFind help about a convar/concommand.
hideconsoleHide the console.
hidehud0YesNone
hidepanelHides a viewport panel <name>
hl2_normspeed190None
hl2_sprintspeed320None
hl2_walkspeed150None
hltv_autorecord0Automatically records all games as HLTV demos.
hltv_cam_distance96Default HLTV chase camera distance
hltv_cam_fov90Default HLTV chase camera FOV
hltv_cam_inertia100Default HLTV chase camera inertia
hltv_cam_offset64Default HLTV chase camera offset
hltv_cam_phi0Default HLTV chase camera phi angle
hltv_cam_theta0Default HLTV chase camera theta angle
hltv_connectConnect to specified HLTV server.
hltv_debug0HLTV debug info.
hltv_delay10HLTV broadcast delay in seconds
hltv_maxclients128Maximum client number on HLTV server.
hltv_maxrate3500Max client bandwidth rate allowed, 0 == unlimited
hltv_port27020Host HLTV port
hltv_recordStarts HLTV demo recording.
hltv_retryReconnects the HLTV relay proxy.
hltv_snapshotinterval2Take game snapshot every nth tick
hltv_statusConnect to specified HLTV server.
hltv_stopStops the HLTV broadcast.
hltv_stoprecordStops HLTV demo recording.
hltv_viewent0HLTV camera entity index
host_framerate0Set to lock per-frame time elapse.
host_limitlocal0Apply cl_cmdrate and cl_updaterate to loopback connection
host_map0Current map name.
host_profile0None
host_runofftimeRun off some time without rendering/updating sounds
host_showcachemiss0Print a debug message when the client or server cache is missed.
host_sleep0YesForce the host to sleep a certain number of milliseconds each frame.
host_speeds0Show general system running times.
host_timescale1Prescale the clock by this amount.
host_writeconfigStore current settings to config.cfg (or specified .cfg file).
hostname0Hostname for server.
hostport27015Host game server port
hud_airboathint_numentries10None
hud_autoreloadscript0Automatically reloads the animation script each time one is ran
hud_deathnotice_time6None
hud_drawhistory_time5None
hud_fastswitch0None
hud_jeephint_numentries10None
hud_quickinfo0None
hud_reloadschemeReloads hud layout and animation scripts.