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
No edit summary
No edit summary
Line 1: Line 1:
{{this is a|console variable|name=hud_fastswitch|engine=Source}}<br>
{{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 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 is used, weapon will be also switched directly.
If set to 2, console weapon selection HUD is used, weapon will be also switched directly.


If set to 3, horizontal scrolling weapon selection HUD is used (default on {{p3|4}}), just like {{code|1}} and {{code|2}}, you will be switched to a weapon directly.
If set to 3, horizontal scrolling weapon selection HUD is used (default on {{p3|2}}), just like {{code|1}} and {{code|2}}, you will be switched to a weapon directly.


[[Category:HUD]]
[[Category:HUD]]

Revision as of 03:55, 19 June 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 is used, weapon will be also switched directly.

If set to 3, horizontal scrolling weapon selection HUD is used (default on Postal III Postal III), just like 1 and 2, you will be switched to a weapon directly.