Console Command List/B: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (categorized)
mNo edit summary
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{| border="1" cellspacing="0"
<noinclude>[[Category:Console commands|B]][[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"|[[banid]]||||||Add a user ID to the ban list.
|valign="top"|<nowiki>+</nowiki>back|||| ||Start moving player backward (button down)
|-
|-
|valign="top"|[[bench_end]]||||||Ends gathering of info.
|valign="top"|<nowiki>-</nowiki>back|||| ||Stop moving player backward (button up)
|-
|-
|valign="top"|[[bench_showstatsdialog]]||||||Shows a dialog displaying the most recent benchmark results.
|valign="top"|banid|||| ||Add a user ID to the ban list.
|-
|-
|valign="top"|[[bench_start]]||||||Starts gathering of info. Arguments: filename to write results into
|valign="top"|bench_end|| ||Yes||Ends gathering of info.
|-
|-
|valign="top"|[[bench_upload]]||||||Uploads most recent benchmark stats to the Valve servers.
|valign="top"|bench_showstatsdialog|||| ||Shows a dialog displaying the most recent benchmark results.
|-
|-
|valign="top"|[[benchframe]]||||||Takes a snapshot of a particular frame in a time demo.
|valign="top"|bench_start|||| ||Starts gathering of info. <p>Arguments: <code><filename></code></p>
|-
|-
|valign="top"|[[bgmvolume]]||1||||CD sound playback volume.
|valign="top"|bench_upload|||| ||Uploads most recent benchmark stats to the Valve servers.
|-
|-
|valign="top"|[[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.
|valign="top"|benchframe|||| ||Takes a snapshot of a particular frame in a time demo.
|-
|-
|valign="top"|[[BindToggle]]||||||None
|valign="top"|bgmvolume||1|| ||CD sound playback volume.
|-
|-
|valign="top"|[[birds_debug]]||0||||None
|valign="top"|[[bind]]|||| ||Bind a key. <p>Arguments: <code><key> "<command>"</code></p>
|-
|-
|valign="top"|[[blink_duration]]||0||||How many seconds an eye blink will last.
|valign="top"|BindToggle|||| ||Performs a bind <key> "increment var <cvar> 0 1 1"
|-
|-
|valign="top"|[[bloodspray]]||||||blood
|valign="top"|birds_debug||0|| ||None
|-
|-
|valign="top"|[[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.
|valign="top"|blink_duration||0.2|| ||How many seconds an eye blink will last.
|-
|-
|valign="top"|[[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.
|valign="top"|bloodspray|||| ||blood
|-
|-
|valign="top"|[[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.
|valign="top"|[[box]]|||| ||Draw a debug box.
|-
|-
|valign="top"|[[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.
|valign="top"|<nowiki>+</nowiki>break|||| ||None
|-
|-
|valign="top"|[[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.
|valign="top"|<nowiki>-</nowiki>break|||| ||None
|-
|-
|valign="top"|[[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.
|valign="top"|breakable_disable_gib_limit||0|| ||None
|-
|-
|valign="top"|[[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.
|valign="top"|breakable_multiplayer||1|| ||None
|-
|-
|valign="top"|[[box]]||||||Draw a debug box.
|valign="top"|buddha||||| ||Toggle. Similar to <code>god</code>, Player takes damage but won't die. (If developer = 1 , shows red cross when health is zero or 1)
|-
|-
|valign="top"|<nowiki>+</nowiki>[[break]]||||||None
|valign="top"|budget_averages_window||30|| ||number of frames to look at when figuring out average frametimes
|-
|-
|valign="top"|<nowiki>-</nowiki>[[break]]||||||None
|valign="top"|budget_background_alpha||128|| ||how translucent the budget panel is
|-
|-
|valign="top"|[[breakable_disable_gib_limit]]||0||||None
|valign="top"|budget_bargraph_background_alpha||128|| ||how translucent the budget panel is
|-
|-
|valign="top"|[[breakable_multiplayer]]||1||||None
|valign="top"|budget_bargraph_range_ms||16|| ||budget bargraph range in milliseconds
|-
|-
|valign="top"|[[buddha]]||||||TogglePlayer takes damage but won't die. (Shows red cross when health is zero)
|valign="top"|budget_history_numsamplesvisible||100|| ||number of samples to draw in the budget history windowThe lower the better as far as rendering overhead of the budget panel
|-
|-
|valign="top"|[[budget_averages_window]]||30||||number of frames to look at when figuring out average frametimes
|valign="top"|budget_history_range_ms||66|| ||budget history range in milliseconds
|-
|-
|valign="top"|[[budget_background_alpha]]||128||||how translucent the budget panel is
|valign="top"|budget_panel_bottom_of_history_fraction||0|| ||number between 0 and 1
|-
|-
|valign="top"|[[budget_bargraph_background_alpha]]||128||||how translucent the budget panel is
|valign="top"|budget_panel_height||384|| ||height in pixels of the budget panel
|-
|-
|valign="top"|[[budget_bargraph_range_ms]]||16||||budget bargraph range in milliseconds
|valign="top"|budget_panel_width||512|| ||width in pixels of the budget panel
|-
|-
|valign="top"|[[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
|valign="top"|budget_panel_x||0|| ||number of pixels from the left side of the game screen to draw the budget panel
|-
|-
|valign="top"|[[budget_history_range_ms]]||66||||budget history range in milliseconds
|valign="top"|budget_panel_y||50|| ||number of pixels from the top side of the game screen to draw the budget panel
|-
|-
|valign="top"|[[budget_panel_bottom_of_history_fraction]]||0||||number between 0 and 1
|valign="top"|budget_peaks_window||30|| ||number of frames to look at when figuring out peak frametimes
|-
|-
|valign="top"|[[budget_panel_height]]||384||||height in pixels of the budget panel
|valign="top"|budget_show_averages||0|| ||enable/disable averages in the budget panel
|-
|-
|valign="top"|[[budget_panel_width]]||512||||width in pixels of the budget panel
|valign="top"|budget_show_history||1|| ||turn history graph off and on. . good to turn off on low end
|-
|-
|valign="top"|[[budget_panel_x]]||0||||number of pixels from the left side of the game screen to draw the budget panel
|valign="top"|budget_show_peaks||1|| ||enable/disable peaks in the budget panel
|-
|-
|valign="top"|[[budget_panel_y]]||50||||number of pixels from the top side of the game screen to draw the budget panel
|valign="top"|bug|||| ||Show/hide the bug reporting UI.
|-
|-
|valign="top"|[[budget_peaks_window]]||30||||number of frames to look at when figuring out peak frametimes
|valign="top"|bug_swap|||| ||Automatically swaps the current weapon for the bug bait and back again.
|-
|-
|valign="top"|[[budget_show_averages]]||0||||enable/disable averages in the budget panel
|valign="top"|bugreporter_includebsp||1|| ||Include .bsp for internal bug submissions.
|-
|-
|valign="top"|[[budget_show_history]]||1||||turn history graph off and on. . good to turn off on low end
|valign="top"|[[buildcubemaps]]|||| ||Rebuild cubemaps.<br>Requires -tools launch options to build cubemaps in {{source2|1}} games.
|-
|-
|valign="top"|[[budget_show_peaks]]||1||||enable/disable peaks in the budget panel
|valign="top"|building_cubemaps||0|| ||None
|-
|-
|valign="top"|[[bug]]||||||Show/hide the bug reporting UI.
|-
|valign="top"|[[bug_swap]]||||||Automatically swaps the current weapon for the bug bait and back again.
|-
|valign="top"|[[bugbait_distract_time]]||5||||None
|-
|valign="top"|[[bugbait_grenade_radius]]||150||||None
|-
|valign="top"|[[bugbait_hear_radius]]||2500||||None
|-
|valign="top"|[[bugbait_radius]]||512||||None
|-
|valign="top"|[[bugreporter_includebsp]]||1||||Include .bsp for internal bug submissions.
|-
|valign="top"|[[buildcubemaps]]||||||Rebuild cubemaps.
|-
|valign="top"|[[building_cubemaps]]||0||||None
|-
|valign="top"|[[bulletspeed]]||6000||||None
|}
|}
[[Category:Console Commands]]

Latest revision as of 04:41, 28 April 2024

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 Yes Ends gathering of info.
bench_showstatsdialog Shows a dialog displaying the most recent benchmark results.
bench_start Starts gathering of info.

Arguments: <filename>

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.

Arguments: <key> "<command>"

BindToggle Performs a bind <key> "increment var <cvar> 0 1 1"
birds_debug 0 None
blink_duration 0.2 How many seconds an eye blink will last.
bloodspray blood
box Draw a debug box.
+break None
-break None
breakable_disable_gib_limit 0 None
breakable_multiplayer 1 None
buddha Toggle. Similar to god, Player takes damage but won't die. (If developer = 1 , shows red cross when health is zero or 1)
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.
bugreporter_includebsp 1 Include .bsp for internal bug submissions.
buildcubemaps Rebuild cubemaps.
Requires -tools launch options to build cubemaps in Source 2 games.
building_cubemaps 0 None