Console Command List/S

From Valve Developer Community

Command Default Cheat? Help Text
saveSaves current game.
sayDisplay player message
say_teamDisplay player message to team
scene_allowoverrides1When playing back a choreographed scene, allow per-model expression overrides.
scene_flatturn1None
scene_flushFlush all .vcds from the cache and reload from disk.
scene_forcecombined0When playing back, force use of combined .wav files even in english.
scene_maxcaptionradius1200Only show closed captions if recipient is within this many units of speaking actor (0==disabled).
scene_print0When playing back a scene, print timing and event info to console.
scene_showfaceto0When playing back, show the directions of faceto events.
scene_showlook0When playing back, show the directions of look events.
scene_showmoveto0When moving, show the end location.
+scoreNone
-scoreNone
scr_centertime2None
screenshotTake a screenshot.
sensitivity3Mouse sensitivity.
servercfgfile0None
setangSnap player eyes to specified pitch yaw <roll:optional> (must have sv_cheats).
setmasterNone
setmodelChanges's player's model
setpauseSet the pause state of the server.
setposMove player to specified origin (must have sv_cheats).
shakeShake the screen.
shake_show0Displays a list of the active screen shakes.
shake_stopStops all active screen shakes.
+showbudgetNone
-showbudgetNone
+showbudget_textureNone
-showbudget_textureNone
showbudget_texture0Enable the texture budget panel.
+showbudget_texture_globalNone
-showbudget_texture_globalNone
showhitlocation0None
showinfoShows a info panel: <type> <title> <message> [<command>]
showpanelShows a viewport panel <name>
showparticlecounts0Display number of particles drawn per frame
+showscoresNone
-showscoresNone
showsniperdist0None
showsniperlines0None
showtriggers0YesShows trigger brushes
showtriggers_toggleToggle show triggers
+showvprofNone
-showvprofNone
singlestep0YesRun engine in single step mode ( set next to 1 to advance a frame )
sk_airboat_drain_rate10None
sk_airboat_max_ammo100None
sk_airboat_recharge_rate15None
sk_allow_autoaim1None
sk_ally_regen_time0Time taken for an ally to regenerate a point of health.
sk_ammo_qty_scale11None
sk_ammo_qty_scale21None
sk_ammo_qty_scale30None
sk_antlion_health30None
sk_antlion_jump_damage5None
sk_antlion_swipe_damage5None
sk_antlionguard_dmg_charge20None
sk_antlionguard_dmg_shove10None
sk_antlionguard_health500None
sk_apc_health750None
sk_apc_missile_damage15None
sk_auto_reload_time3None
sk_autoaim_scale11None
sk_autoaim_scale20None
sk_barnacle_health35Barnacle spawn health.
sk_barney_health35None
sk_battery15None
sk_bullseye_health35None
sk_citizen_giveammo_player_delay10None
sk_citizen_heal_ally30None
sk_citizen_heal_ally_delay20None
sk_citizen_heal_ally_min_pct0None
sk_citizen_heal_player25None
sk_citizen_heal_player_delay25None
sk_citizen_heal_player_min_forced10None
sk_citizen_heal_player_min_pct0None
sk_citizen_health40None
sk_citizen_player_stare_dist72None
sk_citizen_player_stare_time1None
sk_citizen_stare_heal_time5None
sk_combine_ball_search_radius512None
sk_combine_guard_health70None
sk_combine_guard_kick15None
sk_combine_s_health50None
sk_combine_s_kick10None
sk_combineball_guidefactor1None
sk_combineball_seek_angle15None
sk_combineball_seek_kill0None
sk_crow_health1None
sk_crow_melee_dmg0None
sk_crowbar_lead_time0None
sk_dmg_homer_grenade20None
sk_dmg_inflict_scale11None
sk_dmg_inflict_scale21None
sk_dmg_inflict_scale30None
sk_dmg_pathfollower_grenade0None
sk_dmg_sniper_penetrate_npc0None
sk_dmg_sniper_penetrate_plr0None
sk_dmg_take_scale10None
sk_dmg_take_scale21None
sk_dmg_take_scale31None
sk_dropship_container_health750None
sk_dynamic_resupply_modifier1None
sk_env_headcrabcanister_shake_amplitude50None
sk_env_headcrabcanister_shake_radius1024None
sk_env_headcrabcanister_shake_radius_vehicle2500None
sk_fraggrenade_radius250None
sk_gunship_burst_dist768None
sk_gunship_burst_min800None
sk_gunship_burst_size15None
sk_gunship_health_increments5None
sk_headcrab_fast_health10None
sk_headcrab_health10None
sk_headcrab_melee_dmg5None
sk_headcrab_poison_health35None
sk_healthcharger50None
sk_healthkit25None
sk_healthvial10None
sk_helicopter_burstcount12How many shot bursts to fire after charging up. The bigger the number, the longer the firing is
sk_helicopter_drone_speed450How fast does the zapper drone move?
sk_helicopter_firingcone20The angle in degrees of the cone in which the shots will be fired
sk_helicopter_grenadedamage30The amount of damage the helicopter grenade deals.
sk_helicopter_grenadeforce55000The physics force that the helicopter grenade exerts.
sk_helicopter_grenaderadius275The damage radius of the helicopter grenade.
sk_helicopter_health5600None
sk_helicopter_roundsperburst5How many shots to fire in a single burst
sk_homer_grenade_radius100None
sk_ichthyosaur_health200None
sk_ichthyosaur_melee_dmg8None
sk_jeep_gauss_damage15None
sk_manhack_health25None
sk_manhack_melee_dmg20None
sk_manhack_v21None
sk_max_35712Size of clip
sk_max_alyxgun150Size of clip
sk_max_ar260Size of clip
sk_max_ar2_altfire3Size of clip
sk_max_buckshot30Size of clip
sk_max_crossbow10Max number of arrows
sk_max_gauss_round30None
sk_max_grenade5None
sk_max_pistol150Size of clip
sk_max_rpg_round3None
sk_max_smg1225Size of clip
sk_max_smg1_grenade3None
sk_max_sniper_round30None
sk_metropolice_health40None
sk_metropolice_simple_health26None
sk_metropolice_stitch_along_hitcount2None
sk_metropolice_stitch_at_hitcount1None
sk_metropolice_stitch_behind_hitcount3None
sk_metropolice_stitch_distance1000None
sk_metropolice_stitch_reaction1None
sk_metropolice_stitch_tight_hitcount2None
sk_npc_arm1None
sk_npc_chest1None
sk_npc_dmg_35730None
sk_npc_dmg_airboat3None
sk_npc_dmg_alyxgun3Damage done to NPCs from weapon_alyxgun
sk_npc_dmg_ar23None
sk_npc_dmg_buckshot3None
sk_npc_dmg_combineball15None
sk_npc_dmg_crossbow10None
sk_npc_dmg_crowbar5None
sk_npc_dmg_dropship2Dropship container cannon damage.
sk_npc_dmg_fraggrenade75None
sk_npc_dmg_grenade75None
sk_npc_dmg_gunship40None
sk_npc_dmg_gunship_to_plr3None
sk_npc_dmg_helicopter6Damage helicopter shots deal to everything but the player
sk_npc_dmg_helicopter_to_plr3Damage helicopter shots deal to the player
sk_npc_dmg_pistol3None
sk_npc_dmg_rpg_round50None
sk_npc_dmg_smg13None
sk_npc_dmg_smg1_grenade50None
sk_npc_dmg_sniper_round100None
sk_npc_dmg_stunstick40None
sk_npc_head3None
sk_npc_leg1None
sk_npc_stomach1None
sk_pathfollower_grenade_radius0None
sk_player_arm1None
sk_player_chest1None
sk_player_head3None
sk_player_leg1None
sk_player_stomach1None
sk_plr_dmg_35740None
sk_plr_dmg_airboat3None
sk_plr_dmg_alyxgun5Damage done to players from weapon_alyxgun
sk_plr_dmg_ar28None
sk_plr_dmg_buckshot8None
sk_plr_dmg_crossbow100None
sk_plr_dmg_crowbar10None
sk_plr_dmg_fraggrenade125None
sk_plr_dmg_grenade150None
sk_plr_dmg_pistol5None
sk_plr_dmg_rpg_round100None
sk_plr_dmg_smg14None
sk_plr_dmg_smg1_grenade100None
sk_plr_dmg_sniper_round20None
sk_plr_dmg_stunstick10None
sk_plr_grenade_drop_time30None
sk_plr_health_drop_time30None
sk_plr_num_shotgun_pellets7None
sk_rollermine_shock10None
sk_rollermine_stun_delay3None
sk_rollermine_vehicle_intercept1None
sk_scanner_dmg_dive25None
sk_scanner_health30None
sk_smg1_grenade_radius250None
sk_stalker_health50None
sk_stalker_melee_dmg5None
sk_strider_health350None
sk_strider_num_missiles15None
sk_strider_num_missiles27None
sk_strider_num_missiles37None
sk_suitcharger75Dedicated to both the func_recharge and the item_suitcharger entity.
sk_suitcharger_citadel500Dedicated to both the func_recharge and the item_suitcharger entity.
sk_suitcharger_citadel_maxarmor200Dedicated to both the func_recharge and the item_suitcharger entity.
sk_vortigaunt_armor_charge30None
sk_vortigaunt_dmg_claw10None
sk_vortigaunt_dmg_rake25None
sk_vortigaunt_dmg_zap50None
sk_vortigaunt_health100None
sk_weapon_ar2_alt_fire_duration2None
sk_weapon_ar2_alt_fire_mass150None
sk_weapon_ar2_alt_fire_radius10None
sk_zombie_dmg_both_slash25None
sk_zombie_dmg_one_slash10None
sk_zombie_health50None
sk_zombie_poison_dmg_spit20None
sk_zombie_poison_health175None
skill1Game skill level (1-3).
slistList servers on your LAN.
slot0None
slot1None
slot10None
slot2None
slot3None
slot4None
slot5None
slot6None
slot7None
slot8None
slot9None
smoke_trail1None
smoothstairs1Smooth player eye z coordinate when climbing stairs.
snaptoNone
snd_async_fullyasync0All playback is fully async (sound doesn't play until data arrives).
snd_async_spew_blocking0Spew message to console any time async sound loading blocks on file i/o.
snd_disable_mixer_duck0None
snd_duckerattacktime0None
snd_duckerreleasetime2None
snd_duckerthreshold0None
snd_ducktovolume0None
snd_flushasyncFlush all async .wav data
snd_foliage_db_loss4None
snd_gain1None
snd_gain_max1None
snd_gain_min0None
snd_memasyncShow async memory stats
spec_track0Tracks an entity in spec mode
snd_mixahead0None
snd_mixvolSet named Mixgroup to mix volume.
snd_musicvolume1Music volume
snd_noextraupdate0None
snd_obscured_gain_dB-2YesNone
snd_pitchquality1None
snd_profile0None
snd_rebuildaudiocacheRebuilds all audio caches (_other, _other_rebuild, _sharedprecache, level caches) from reslists
snd_refdb60None
snd_refdist36None
snd_restartRestart sound system.
snd_show0YesShow sounds info
snd_showclassname0None
snd_showmixer0None
snd_showstart0YesNone
snd_soundmixer0None
snd_surround_speakers0None
snd_visualize0YesShow sounds location in world
snd_vox_captiontrace0Shows sentence name for sentences which are set not to show captions.
snd_vox_globaltimeout300None
snd_vox_sectimetout300None
snd_vox_seqtimetout300None
snd_writemanifestIf running a game, outputs the precache manifest for the current level
sndplaydelayNone
sniperspeak0None
sniperviewdist35None
soundfadeFade client volume.
soundinfoDescribe the current sound device.
soundlistList all known sounds.
soundpatch_captionlength2How long looping soundpatch captions should display for.
soundscape_fadetime3Time to crossfade sound effects between soundscapes
soundscape_flushFlushes the server & client side soundscapes
speakPlay a constructed sentence.
spec_modeSet spectator mode
spec_nextSpectate next player
spec_playerSpectate player by name
spec_posdump position and angles to the console
spec_prevSpectate previous player
spec_scoreboard0None
+speedNone
-speedNone
spikegenerates a fake spike
startdemosPlay demos in demo sequence.
startmovieStart recording movie frames.
startupmenuOpens initial menu screen and loads the background bsp, but only if no other level is being loaded, and we're not in developer mode.
statusDisplay map and connection status.
step_spline0None
stopFinish recording demo.
stopdemoStop playing back a demo.
stopsoundStops all playing sounds
stopsoundscapeStops all soundscape processing and fades current looping sounds
+strafeNone
-strafeNone
strider_always_use_procedural_height0None
strider_ar2_altfire_dmg25None
strider_distributed_fire1None
strider_eyepositions0None
strider_free_knowledge0None
strider_free_pass_cover_dist120None
strider_free_pass_duration2None
strider_free_pass_move_tolerance320None
strider_free_pass_refill_rate0None
strider_free_pass_start_time3None
strider_idle_test0None
strider_immolate0None
strider_pct_height_no_crouch_move90None
strider_peek_eye_dist1None
strider_peek_eye_dist_z4None
strider_peek_time0None
strider_peek_time_after_damage4None
strider_show_cannonlos0None
strider_show_focus0None
strider_show_weapon_los_condition0None
strider_show_weapon_los_z0None
strider_test_height0None
stuffcmdsParses and stuffs command line + commands to command buffer.
suitvolume0None
surfacepropReports the surface properties at the cursor
sv_accelerate10None
sv_airaccelerate10None
sv_allowdownload1Allow clients to download files
sv_allowupload1Allow clients to upload customizations files
sv_alltalk0Players can hear all other players, no team restrictions
sv_alternateticks0None
sv_autojump0None
sv_autoladderdismount1Automatically dismount from ladders when you reach the end (don't have to +USE).
sv_autosave1Set to 1 to save game on level transition. Does not affect autosave triggers.
sv_backspeed0How much to slow down backwards motion
sv_bounce0Bounce multiplier for when physically simulated objects collide with other objects.
sv_cacheencodedents1If set to 1, does an optimization to prevent extra SendTable_Encode calls.
sv_cheats0Allow cheats on server if set to 1
sv_contact0Contact email for server sysop
sv_debug_player_use0Visualizes +use logic. Green cross=trace success, Red cross=trace too far, Green box=radius success
sv_debugmanualmode0Make sure entities correctly report whether or not their network data has changed.
sv_debugresponses0Show verbose matching output (1 for simple, 2 for rule scoring)
sv_deltaprint0Print accumulated CalcDelta profiling data (only if sv_deltatime is on)
sv_downloadurl0Allows Downloading of files via a webserver
sv_deltatime0Enable profiling of CalcDelta calls
sv_dumpresponses0Dump all response_rules.txt and rules (requires restart)
sv_filterban1Set packet filtering by IP mode
sv_findsoundnameFind sound names which reference the specified wave files.
sv_footsteps1Play footstep sound for players
sv_forcepreload0Force server side preloading.
sv_friction4World friction.
sv_gravity600World gravity.
sv_hltv0Enables HLTV on this server.
sv_infinite_aux_power0YesNone
sv_instancebaselines1Enable instanced baselines. Saves network overhead.
sv_ladderautomountdot0When auto-mounting a ladder by looking up its axis, this is the tolerance for looking now directly along the ladder axis.
sv_lan0Server is a lan server ( no heartbeat, no authentication, no non-class C addresses, 9999.0 rate, etc.
sv_logbans0None
sv_massreport0None
sv_maxrate0Max bandwidth rate allowed on server, 0 == unlimited
sv_maxspeed320None
sv_maxunlag1Maximum lag compensation in seconds
sv_maxupdaterate60Maximum updates per second that the server will allow
sv_maxvelocity3500Maximum speed any ballistically moving object is allowed to attain per axis.
sv_minrate0Min bandwidth rate allowed on server, 0 == unlimited
sv_minupdaterate10Minimum updates per second that the server will allow
sv_netvisdist10000YesTest networking visibility distance
sv_noclipaccelerate5None
sv_noclipduringpause0YesIf cheats are enabled, then you can noclip with the game paused (for doing screenshots, etc.).
sv_noclipspeed5None
sv_npc_talker_maxdist1024NPCs over this distance from the player won't attempt to speak.
sv_password0Server password for entry into multiplayer games
sv_pausable0Is the server pausable.
sv_precachegenericUsage: sv_precachegeneric <name> [ preload ]

Add file to precache list.

sv_precacheinfoShow precache info.
sv_precachemodelUsage: sv_precachemodel <name> [ preload ]

Add model to precache list.

sv_precachesoundUsage: sv_precachesound <name> [ preload ]

Add sound to precache list.

sv_pushaway_clientside_size15Minimum size of pushback objects
sv_rcon_banpenalty0Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures10Max number of times a user can fail rcon authentication before being banned
sv_rcon_minfailures5Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned
sv_rcon_minfailuretime30Number of seconds to track failed rcon authentications
sv_region-1The region of the world to report this server in.
sv_robust_explosions1None
sv_rollangle0Max view roll angle
sv_rollspeed200None
sv_sendtables0Force full sendtable sending path.
sv_show_crosshair_target0None
sv_showhitboxes-1YesSend server-side hitboxes for specified entity to client (NOTE: this uses lots of bandwidth, use on listen server only).
sv_showladders0Show bbox and dismount points for all ladders (must be set before level load.)
sv_skyname0Current name of the skybox texture
sv_soundemitter_filecheckReport missing wave files for sounds and game_sounds files.
sv_soundemitter_flushFlushes the sounds.txt system (server only)
sv_soundemitter_trace0Show all EmitSound calls including their symbolic name and the actual wave file they resolved to
sv_soundscape_printdebuginfoprint soundscapes
sv_specaccelerate5None
sv_specnoclip1None
sv_specspeed3None
sv_stats1Collect CPU usage stats
sv_stepsize18None
sv_stopspeed100Minimum stopping speed when on ground.
sv_stressbots0If set to 1, the server calculates data and fills packets to bots. Used for perf testing.
sv_strict_notarget0If set, notarget will cause entities to never think they are in the pvs
sv_suppress_viewpunch0None
sv_teststepsimulation1None
sv_thinktimecheck0Check for thinktimes all on same timestamp.
sv_timeout65After this many seconds without a message from a client, the client is dropped
sv_unlag1Enables player lag compensation
sv_unlockedchapters14Highest unlocked game chapter.
sv_visiblemaxplayers-1Overrides the max players reported to prospective clients.
sv_voicecodec0Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.
sv_voiceenable1None
sv_wateraccelerate10None
sv_waterdist12Vertical view fixup when eyes are near water plane.
sv_waterfriction1None