Shortcut key to enable/disable alternate HUD.

Moderator: GZDoom Developers

User avatar
salahmander2
Posts: 123
Joined: Wed Nov 19, 2014 7:20 pm

Shortcut key to enable/disable alternate HUD.

Post by salahmander2 »

Hiya, ususally I like to play using the Alternate HUD but there are a few mods that have custom HUDs and it feels somewhat clunky just to go into the menu to enable/disable it, is there any possibilities for a shortcut key?
User avatar
Rachael
Posts: 13726
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Shortcut key to enable/disable alternate HUD.

Post by Rachael »

This is a DIY though I admit it's not obvious how you do it.

You will need to find out the name of the key you wish to bind it to, then execute the following in the console (which is brought down by the tilde key (`)):

Code: Select all

bind key "toggle hud_althud"
except change key above to the name of the key.

If you don't know the name of the key, you can always bind it to something else in the options menu. Whatever key name appears when you bind it to something, that's its actual key name for the console.
User avatar
salahmander2
Posts: 123
Joined: Wed Nov 19, 2014 7:20 pm

Re: Shortcut key to enable/disable alternate HUD.

Post by salahmander2 »

I'm happy with that, though you did forget to put the "Toggle hud_althud" in quotes haha. I got it working now.
User avatar
Rachael
Posts: 13726
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Shortcut key to enable/disable alternate HUD.

Post by Rachael »

Oops sorry about that. Cool.

Return to “Closed Feature Suggestions [GZDoom]”