This article's documentation is for anything that uses the Source engine. Click here for more information.

Hud fastswitch: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(New page: If "1" is set, disable the weapon menu on the top of the HUD, and switch directly to a weapon, without the needing of left click for "confirmation".)
 
No edit summary
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
If "1" is set, disable the weapon menu on the top of the HUD, and switch directly to a weapon, without the needing of left click for "confirmation".
{{this is a|console variable|name=hud_fastswitch|engine=Source}} This command is used to enable and disable fast weapon switching, this command also have options to switch between console-styled or horizontal scrolling HUD for selecting weapons. <br>
 
[[File:Screenshot - hud fastswitch 0.png|thumb|right|{{code|hud_fastswitch 0}} (default setting)]]
[[File:Screenshot - hud fastswitch 2.png|thumb|right|{{code|hud_fastswitch 2}} - This will be enabled when gamepad/controller support is enabled in mouse settings.]]
[[File:Screenshot - hud fastswitch 3.png|thumb|right|{{code|hud_fastswitch 3}} in {{hl2|1}}.]]
 
If true/set to 1, disable the weapon menu on the top of the HUD, and switch directly to a weapon without waiting for +attack (default {{code|MOUSE1}}/{{key|LMB}} left click) "confirmation".
 
If set to 2, console weapon selection HUD (referred as "'''Cross Layout'''") is used, weapon will be also switched directly.
 
If set to 3, horizontal scrolling weapon selection HUD is used (referred as "'''Carousel Layout'''", which is used in {{p3}}). Just like {{code|1}} and {{code|2}}, you will be switched to a weapon directly.
 
[[Category:HUD]]

Latest revision as of 00:40, 16 November 2024

hud_fastswitch is a console variable available in all Source Source games. This command is used to enable and disable fast weapon switching, this command also have options to switch between console-styled or horizontal scrolling HUD for selecting weapons.

hud_fastswitch 0 (default setting)
hud_fastswitch 2 - This will be enabled when gamepad/controller support is enabled in mouse settings.
hud_fastswitch 3 in Half-Life 2.

If true/set to 1, disable the weapon menu on the top of the HUD, and switch directly to a weapon without waiting for +attack (default MOUSE1/LMB left click) "confirmation".

If set to 2, console weapon selection HUD (referred as "Cross Layout") is used, weapon will be also switched directly.

If set to 3, horizontal scrolling weapon selection HUD is used (referred as "Carousel Layout", which is used in Postal III). Just like 1 and 2, you will be switched to a weapon directly.