Console Command List/H: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(new)
 
mNo edit summary
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| border="1" cellspacing="0"
<noinclude>[[Category:Console commands|H]][[Category:Lists]][[Category:Lists of console commands and variables]]</noinclude>
{| border="1" cellspacing="0" style="width:100%"
|- style="position:-webkit-sticky; position:sticky; top:0; background-color: #262626;"
! Command !! Default !! Cheat? !! Help Text  
! Command !! Default !! Cheat? !! Help Text  
|-
|valign="top"|[[hammer_update_entity]]||||||Orange Box replacement for wc_update_entity
|-
|-
|valign="top"|[[heartbeat]]||||||None
|valign="top"|[[heartbeat]]||||||None
|-
|-
|valign="top"|[[help]]||||||Find help about a convar/concommand.
|valign="top"|help||||||Find help about a convar/concommand
|-
|-
|valign="top"|[[hideconsole]]||||||Hide the console.
|valign="top"|hideconsole||||||Hide the console
|-
|-
|valign="top"|[[hidehud]]||0||Yes||None
|valign="top"|hidehud||0||Yes||When set to 1 (or any value that is not 0 or 2) this disables the weapon changing hud, as well as the players ability to change weapons. When set to 4, this will remove the crosshair as well
|-
|-
|valign="top"|[[hidepanel]]||||||Hides a viewport panel &lt;name&gt;
|valign="top"|hidepanel||||||Hides a viewport panel <name>
|-
|-
|valign="top"|[[hl2_normspeed]]||190||||None
|valign="top"|hltv_autorecord||0||||Automatically records all games as HLTV demos
|-
|-
|valign="top"|[[hl2_sprintspeed]]||320||||None
|valign="top"|hltv_cam_distance||96||||Default HLTV chase camera distance
|-
|-
|valign="top"|[[hl2_walkspeed]]||150||||None
|valign="top"|hltv_cam_fov||90||||Default HLTV chase camera FOV
|-
|-
|valign="top"|[[hltv_autorecord]]||0||||Automatically records all games as HLTV demos.
|valign="top"|hltv_cam_inertia||100||||Default HLTV chase camera inertia
|-
|-
|valign="top"|[[hltv_cam_distance]]||96||||Default HLTV chase camera distance
|valign="top"|hltv_cam_offset||64||||Default HLTV chase camera offset
|-
|-
|valign="top"|[[hltv_cam_fov]]||90||||Default HLTV chase camera FOV
|valign="top"|hltv_cam_phi||0||||Default HLTV chase camera phi angle
|-
|-
|valign="top"|[[hltv_cam_inertia]]||100||||Default HLTV chase camera inertia
|valign="top"|hltv_cam_theta||0||||Default HLTV chase camera theta angle
|-
|-
|valign="top"|[[hltv_cam_offset]]||64||||Default HLTV chase camera offset
|valign="top"|hltv_connect||||||Connect to specified HLTV server
|-
|-
|valign="top"|[[hltv_cam_phi]]||0||||Default HLTV chase camera phi angle
|valign="top"|hltv_debug||0||||HLTV debug info
|-
|-
|valign="top"|[[hltv_cam_theta]]||0||||Default HLTV chase camera theta angle
|valign="top"|hltv_delay||10||||HLTV broadcast delay in seconds
|-
|-
|valign="top"|[[hltv_connect]]||||||Connect to specified HLTV server.
|valign="top"|hltv_maxclients||128||||Maximum client number on HLTV server
|-
|-
|valign="top"|[[hltv_debug]]||0||||HLTV debug info.
|valign="top"|hltv_maxrate||3500||||Max client bandwidth rate allowed, 0 == unlimited
|-
|-
|valign="top"|[[hltv_delay]]||10||||HLTV broadcast delay in seconds
|valign="top"|hltv_port||27020||||Host HLTV port
|-
|-
|valign="top"|[[hltv_maxclients]]||128||||Maximum client number on HLTV server.
|valign="top"|hltv_record||||||Starts HLTV demo recording
|-
|-
|valign="top"|[[hltv_maxrate]]||3500||||Max client bandwidth rate allowed, 0 == unlimited
|valign="top"|hltv_retry||||||Reconnects the HLTV relay proxy
|-
|-
|valign="top"|[[hltv_port]]||27020||||Host HLTV port
|valign="top"|hltv_snapshotinterval||2||||Take game snapshot every nth tick
|-
|-
|valign="top"|[[hltv_record]]||||||Starts HLTV demo recording.
|valign="top"|hltv_status||||||Connect to specified HLTV server
|-
|-
|valign="top"|[[hltv_retry]]||||||Reconnects the HLTV relay proxy.
|valign="top"|hltv_stop||||||Stops the HLTV broadcast
|-
|-
|valign="top"|[[hltv_snapshotinterval]]||2||||Take game snapshot every nth tick
|valign="top"|hltv_stoprecord||||||Stops HLTV demo recording
|-
|-
|valign="top"|[[hltv_status]]||||||Connect to specified HLTV server.
|valign="top"|hltv_viewent||0||||HLTV camera entity index
|-
|-
|valign="top"|[[hltv_stop]]||||||Stops the HLTV broadcast.
|valign="top"|host_framerate||0||||Set to lock per-frame time elapse
|-
|-
|valign="top"|[[hltv_stoprecord]]||||||Stops HLTV demo recording.
|valign="top"|host_limitlocal||0||||Apply cl_cmdrate and cl_updaterate to loopback connection
|-
|-
|valign="top"|[[hltv_viewent]]||0||||HLTV camera entity index
|valign="top"|host_map||0||||Current map name
|-
|-
|valign="top"|[[host_framerate]]||0||||Set to lock per-frame time elapse.
|valign="top"|host_profile||0||||None
|-
|-
|valign="top"|[[host_limitlocal]]||0||||Apply cl_cmdrate and cl_updaterate to loopback connection
|valign="top"|host_runofftime||||||Run off some time without rendering/updating sounds
|-
|-
|valign="top"|[[host_map]]||0||||Current map name.
|valign="top"|host_showcachemiss||0||||Print a debug message when the client or server cache is missed
|-
|-
|valign="top"|[[host_profile]]||0||||None
|valign="top"|host_sleep||0||Yes||Force the host to sleep a certain number of milliseconds each frame
|-
|-
|valign="top"|[[host_runofftime]]||||||Run off some time without rendering/updating sounds
|valign="top"|host_speeds||0||||Show general system running times
|-
|-
|valign="top"|[[host_showcachemiss]]||0||||Print a debug message when the client or server cache is missed.
|valign="top"|host_timescale||1||Yes||Prescale the clock by this amount
|-
|-
|valign="top"|[[host_sleep]]||0||Yes||Force the host to sleep a certain number of milliseconds each frame.
|valign="top"|host_writeconfig||||||Store current settings to configcfg (or specified cfg file)
|-
|-
|valign="top"|[[host_speeds]]||0||||Show general system running times.
|valign="top"|hostname||0||||Hostname for server
|-
|-
|valign="top"|[[host_timescale]]||1||||Prescale the clock by this amount.
|valign="top"|hostport||27015||||Host game server port
|-
|-
|valign="top"|[[host_writeconfig]]||||||Store current settings to config.cfg (or specified .cfg file).
|valign="top"|hud_airboathint_numentries||10||||None
|-
|-
|valign="top"|[[hostname]]||0||||Hostname for server.
|valign="top"|hud_autoreloadscript||0||||Automatically reloads the animation script each time one is ran
|-
|-
|valign="top"|[[hostport]]||27015||||Host game server port
|valign="top"|hud_deathnotice_time||6||||None
|-
|-
|valign="top"|[[hud_airboathint_numentries]]||10||||None
|valign="top"|hud_drawhistory_time||5||||None
|-
|-
|valign="top"|[[hud_autoreloadscript]]||0||||Automatically reloads the animation script each time one is ran
|valign="top"|[[hud_fastswitch]]||0||||0 disables fast weapon switch, 1 enables fast weapon switch with no hud, 2 enables console weapon switch HUD, 3 enables horizontal weapon switch HUD.
|-
|-
|valign="top"|[[hud_deathnotice_time]]||6||||None
|valign="top"|hud_jeephint_numentries||10||||None
|-
|-
|valign="top"|[[hud_drawhistory_time]]||5||||None
|valign="top"|hud_quickinfo||0||||Enable or disable the quickinfo ammo bars next to crosshair
|-
|-
|valign="top"|[[hud_fastswitch]]||0||||None
|valign="top"|hud_reloadscheme||||||Reloads hud layout and animation scripts
|-
|-
|valign="top"|[[hud_jeephint_numentries]]||10||||None
|valign="top"|[[hud_saytext_time]]||12||||None
|-
|-
|valign="top"|[[hud_quickinfo]]||0||||None
|valign="top"|hud_showemptyweaponslots ||0||||When set to 1 it shows weapon slots even when empty
|-
|valign="top"|[[hud_reloadscheme]]||||||Reloads hud layout and animation scripts.
|-
|valign="top"|[[hud_saytext_time]]||12||||None
|-
|-
|valign="top"|[[hurtme]]||||||Hurts the player. Arguments: &lt;health to lose&gt;
|valign="top"|hurtme||||||Hurts the player  <p>Arguments: <code><health to lose></code></p>
|}
|}

Latest revision as of 04:45, 28 April 2024

Command Default Cheat? Help Text
hammer_update_entity Orange Box replacement for wc_update_entity
heartbeat None
help Find help about a convar/concommand
hideconsole Hide the console
hidehud 0 Yes When set to 1 (or any value that is not 0 or 2) this disables the weapon changing hud, as well as the players ability to change weapons. When set to 4, this will remove the crosshair as well
hidepanel Hides a viewport panel <name>
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 Yes Prescale the clock by this amount
host_writeconfig Store current settings to configcfg (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 0 disables fast weapon switch, 1 enables fast weapon switch with no hud, 2 enables console weapon switch HUD, 3 enables horizontal weapon switch HUD.
hud_jeephint_numentries 10 None
hud_quickinfo 0 Enable or disable the quickinfo ammo bars next to crosshair
hud_reloadscheme Reloads hud layout and animation scripts
hud_saytext_time 12 None
hud_showemptyweaponslots 0 When set to 1 it shows weapon slots even when empty
hurtme Hurts the player

Arguments: <health to lose>