Console Command List/T: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(created (standardization: see Console Command List))
 
m (removed all red links)
Line 2: Line 2:
! Command !! Default !! Cheat? !! Help Text  
! Command !! Default !! Cheat? !! Help Text  
|-
|-
|valign="top"|[[template_debug]]||0||||None
|valign="top"|template_debug||0||No||None
|-
|-
|valign="top"|[[Test_CreateEntity]]||||||None
|valign="top"|test_CreateEntity||||Yes||None
|-
|-
|valign="top"|[[test_dispatcheffect]]||||||Test a client-side dispatch effect.
|valign="top"|test_dispatcheffect||||Yes||Test a client-side dispatch effect.
;Usage: <code>test_dispatcheffect <effect name> <distance away> <flags> <magnitude> <scale></code>
;Defaults: <code><distance 1024> <flags 0> <magnitude 0> <scale 0></code>
|-
|-
|valign="top"|[[Test_EHandle]]||||||None
|valign="top"|test_EHandle||||Yes||None
|-
|-
|valign="top"|[[test_entity_blocker]]||||||Test command that drops an entity blocker out in front of the player.
|valign="top"|test_entity_blocker||||Yes||Test command that drops an entity blocker out in front of the player.
|-
|-
|valign="top"|[[Test_InitRandomEntitySpawner]]||||||None
|valign="top"|Test_InitRandomEntitySpawner||||Yes||None
|-
|-
|valign="top"|[[Test_Loop]]||||||<code>Test_Loop <loop name></code> - loop back to the specified loop start point unconditionally.
|valign="top"|test_Loop||||||<code>Test_Loop <loop name></code> - loop back to the specified loop start point unconditionally.
|-
|-
|valign="top"|[[Test_LoopCount]]||||||<code>Test_LoopCount <loop name> <count></code> - loop back to the specified loop start point the specified # of times.
|valign="top"|test_LoopCount||||||<code>Test_LoopCount <loop name> <count></code> - loop back to the specified loop start point the specified # of times.
|-
|-
|valign="top"|[[Test_LoopForNumSeconds]]||||||<code>Test_LoopForNumSeconds <loop name> <time></code> - loop back to the specified start point for the specified # of seconds.
|valign="top"|test_LoopForNumSeconds||||||<code>Test_LoopForNumSeconds <loop name> <time></code> - loop back to the specified start point for the specified # of seconds.
|-
|-
|valign="top"|[[test_nav_opt]]||1||||None
|valign="top"|test_nav_opt||1||||None
|-
|-
|valign="top"|[[Test_ProxyToggle_EnableProxy]]||||||None
|valign="top"|test_ProxyToggle_EnableProxy||||Yes||None
|-
|-
|valign="top"|[[Test_ProxyToggle_EnsureValue]]||||||None
|valign="top"|test_ProxyToggle_EnsureValue||||Yes||None
|-
|-
|valign="top"|[[Test_ProxyToggle_SetValue]]||||||None
|valign="top"|test_ProxyToggle_SetValue||||Yes||None
|-
|-
|valign="top"|[[Test_RandomChance]]||||||<code>Test_RandomChance <percent chance, 0-100> <token1> <token2...></code> - roll the dice and maybe run the command following the percentage chance.
|valign="top"|test_RandomChance||||Yes||<code>Test_RandomChance <percent chance, 0-100> <token1> <token2...></code> - roll the dice and maybe run the command following the percentage chance
|-
|-
|valign="top"|[[Test_RandomizeInPVS]]||||||None
|valign="top"|test_RandomizeInPVS||||Yes||None
|-
|-
|valign="top"|[[Test_RandomPlayerPosition]]||||||None
|valign="top"|test_RandomPlayerPosition||||Yes||None
|-
|-
|valign="top"|[[Test_RemoveAllRandomEntities]]||||||None
|valign="top"|test_RemoveAllRandomEntities||||Yes||None
|-
|-
|valign="top"|[[Test_RunFrame]]||||||None
|valign="top"|Test_RunFrame||||Yes||None
|-
|-
|valign="top"|[[Test_SendKey]]||||||None
|valign="top"|test_SendKey||||Yes||None
|-
|-
|valign="top"|[[Test_SpawnRandomEntities]]||||||None
|valign="top"|test_SpawnRandomEntities||||Yes||None
|-
|-
|valign="top"|[[Test_StartLoop]]||||||<code>Test_StartLoop <loop name></code> - denote the start of a loop. Really just defines a named point you can jump to.
|valign="top"|test_StartLoop||||||<code>Test_StartLoop <loop name></code> - denote the start of a loop (Defines a named point you can jump to)
|-
|-
|valign="top"|[[Test_StartScript]]||||||Start a test script running.
|valign="top"|test_StartScript||||||Start a test script
|-
|-
|valign="top"|[[Test_Wait]]||||||None
|valign="top"|test_Wait||||||None
|-
|-
|valign="top"|[[Test_WaitForCheckPoint]]||||||None
|valign="top"|test_WaitForCheckPoint||||||None
|-
|-
|valign="top"|[[testhudanim]]||||||Test a HUD element animation.  Arguments: <code><anim name></code>
|valign="top"|testhudanim||||Yes||Test a HUD element animation.  Arguments: <code><anim name></code>
|-
|-
|valign="top"|[[testscript_debug]]||0||||Debug test scripts.
|valign="top"|testscript_debug||0||No||Debug test scripts.
|-
|-
|valign="top"|[[texture_budget_background_alpha]]||128||||How translucent the budget panel is
|valign="top"|texture_budget_background_alpha||128||No||How translucent the budget panel is
|-
|-
|valign="top"|[[texture_budget_panel_bottom_of_history_fraction]]||0||||Number between 0 and 1
|valign="top"|texture_budget_panel_bottom_of_history_fraction]]||0||No||Number between 0 and 1
|-
|-
|valign="top"|[[texture_budget_panel_global]]||0||||Show global times in the texture budget panel.
|valign="top"|texture_budget_panel_global||0||No||Show global times in the texture budget panel.
|-
|-
|valign="top"|[[texture_budget_panel_height]]||284||||Height in pixels of the budget panel
|valign="top"|texture_budget_panel_height||284||No||Height in pixels of the budget panel
|-
|-
|valign="top"|[[texture_budget_panel_width]]||512||||Width in pixels of the budget panel
|valign="top"|texture_budget_panel_width||512||No||Width in pixels of the budget panel
|-
|-
|valign="top"|[[texture_budget_panel_x]]||0||||Number of pixels from the left side of the game screen to draw the budget panel
|valign="top"|texture_budget_panel_x||0||No||Number of pixels from the left side of the game screen to draw the budget panel
|-
|-
|valign="top"|[[texture_budget_panel_y]]||450||||Number of pixels from the top side of the game screen to draw the budget panel
|valign="top"|texture_budget_panel_y||450||No||Number of pixels from the top side of the game screen to draw the budget panel
|-
|-
|valign="top"|[[think_limit]]||0||||Maximum think time in milliseconds, warning is printed if this is exceeded.
|valign="top"|think_limit||0||No||Maximum think time in milliseconds, warning is printed if this is exceeded.
|-
|-
|valign="top"|[[Third Person Camera|thirdperson]]||||||Switch to third person camera.
|valign="top"|[[Thirdperson-OrangeBox|thirdperson]]||||Yes||Switch to third person camera
|-
|-
|valign="top"|[[timedemo]]||||||Play a demo and report performance info.
|valign="top"|timedemo||||No||Play a demo and report performance info.
|-
|-
|valign="top"|[[timedemoquit]]||||||Play a demo, report performance info, and then exit
|valign="top"|timedemoquit||||No||Play a demo, report performance info, and then exit
|-
|-
|valign="top"|[[timerefresh]]||||||Profile the renderer.
|valign="top"|timerefresh||||Yes||Profile the renderer.
|-
|-
|valign="top"|[[toggleconsole]]||||||Show/hide the console.
|valign="top"|toggleconsole||||No||Show/hide the console
|-
|-
|valign="top"|[[trace_report]]||0||||None
|valign="top"|trace_report||0||No||None
|-
|-
|valign="top"|[[tracer_extra]]||1||||None
|valign="top"|tracer_extra||1||No||None
|}
|}


[[Category:Console Commands]]
[[Category:Console Commands]]

Revision as of 15:44, 27 December 2013

Command Default Cheat? Help Text
template_debug 0 No None
test_CreateEntity Yes None
test_dispatcheffect Yes Test a client-side dispatch effect.
test_EHandle Yes None
test_entity_blocker Yes Test command that drops an entity blocker out in front of the player.
Test_InitRandomEntitySpawner Yes None
test_Loop Test_Loop <loop name> - loop back to the specified loop start point unconditionally.
test_LoopCount Test_LoopCount <loop name> <count> - loop back to the specified loop start point the specified # of times.
test_LoopForNumSeconds Test_LoopForNumSeconds <loop name> - loop back to the specified start point for the specified # of seconds.
test_nav_opt 1 None
test_ProxyToggle_EnableProxy Yes None
test_ProxyToggle_EnsureValue Yes None
test_ProxyToggle_SetValue Yes None
test_RandomChance Yes Test_RandomChance <percent chance, 0-100> <token1> <token2...> - roll the dice and maybe run the command following the percentage chance
test_RandomizeInPVS Yes None
test_RandomPlayerPosition Yes None
test_RemoveAllRandomEntities Yes None
Test_RunFrame Yes None
test_SendKey Yes None
test_SpawnRandomEntities Yes None
test_StartLoop Test_StartLoop <loop name> - denote the start of a loop (Defines a named point you can jump to)
test_StartScript Start a test script
test_Wait None
test_WaitForCheckPoint None
testhudanim Yes Test a HUD element animation. Arguments: <anim name>
testscript_debug 0 No Debug test scripts.
texture_budget_background_alpha 128 No How translucent the budget panel is
texture_budget_panel_bottom_of_history_fraction]] 0 No Number between 0 and 1
texture_budget_panel_global 0 No Show global times in the texture budget panel.
texture_budget_panel_height 284 No Height in pixels of the budget panel
texture_budget_panel_width 512 No Width in pixels of the budget panel
texture_budget_panel_x 0 No Number of pixels from the left side of the game screen to draw the budget panel
texture_budget_panel_y 450 No Number of pixels from the top side of the game screen to draw the budget panel
think_limit 0 No Maximum think time in milliseconds, warning is printed if this is exceeded.
thirdperson Yes Switch to third person camera
timedemo No Play a demo and report performance info.
timedemoquit No Play a demo, report performance info, and then exit
timerefresh Yes Profile the renderer.
toggleconsole No Show/hide the console
trace_report 0 No None
tracer_extra 1 No None