Simple HUD Add-ons [Updated March 26, 2021]

For high-res texture/sprite projects, sprite-fix patches, music add-ons, music randomizers, and other graphic/sound-only projects.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.

Re: Simple HUD Add-ons [Updated March 5, 2021]

Postby m8f » Fri Mar 19, 2021 8:58 am

There is a niche purpose for universal key display: a mapset or a game has custom keys and a HUD that displays them, but player wants to play with a different HUD instead, which can't display those custom keys.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit

Re: Simple HUD Add-ons [Updated March 5, 2021]

Postby Adamast0r » Fri Mar 19, 2021 12:45 pm

If you ever get around to it, color me interested.
User avatar
Adamast0r
UAC Employee ID #1992
 
Joined: 22 May 2020
Location: Phobos
Discord: Adamast0r#1899
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

Re: Simple HUD Add-ons [Updated March 5, 2021]

Postby dmslr » Fri Mar 19, 2021 4:17 pm

I'm interested too.
dmslr
 
Joined: 06 Aug 2019

Re: Simple HUD Add-ons [Updated March 25, 2021]

Postby Tekish » Thu Mar 25, 2021 8:42 pm

I've created a new add-on (PlayerInfo) to address this, rather than creating a HUD. It retains all of the dynamic features as the other add-ons. Per m8f's suggestion, it also includes an independent key display which should dynamically show custom keys from mods and various games. Its positioning and sizing options are a bit different (and separate) since its rendered in ZScript.
Tekish
 
Joined: 28 Jun 2016

Re: Simple HUD Add-ons [Updated March 25, 2021]

Postby Adamast0r » Fri Mar 26, 2021 2:00 am

Tekish wrote:I've created a new add-on (PlayerInfo) to address this, rather than creating a HUD. It retains all of the dynamic features as the other add-ons. Per m8f's suggestion, it also includes an independent key display which should dynamically show custom keys from mods and various games. Its positioning and sizing options are a bit different (and separate) since its rendered in ZScript.

This is awesome. I set the screen size to twelve and use the ammo, player and level info as a whole HUD. Thanks for taking the time to do this.
User avatar
Adamast0r
UAC Employee ID #1992
 
Joined: 22 May 2020
Location: Phobos
Discord: Adamast0r#1899
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

Re: Simple HUD Add-ons [Updated March 25, 2021]

Postby Adamast0r » Fri Mar 26, 2021 6:30 am

Additionally, and not wanting to push my luck but, if you ever feel like doing a power-ups info of sorts, probably only the timed ones though (excluding the berserk, of course) that would just be the cherry on top.
User avatar
Adamast0r
UAC Employee ID #1992
 
Joined: 22 May 2020
Location: Phobos
Discord: Adamast0r#1899
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

Re: Simple HUD Add-ons [Updated March 25, 2021]

Postby m8f » Fri Mar 26, 2021 7:51 am

Awesome, thanks!

Suggestion: use BaseStatusBar.GetInventoryIcon instead of getkey.althudicon and getkey.icon, like this (with icon priority adjusted to your taste):
Spoiler:
Reason: The Adventures of Square keys. Only four of them have icons, others can be displayed only as spawn sprites.
User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit

Re: Simple HUD Add-ons [Updated March 25, 2021]

Postby dmslr » Fri Mar 26, 2021 7:57 am

Adamast0r wrote:Additionally, and not wanting to push my luck but, if you ever feel like doing a power-ups info of sorts, probably only the timed ones though (excluding the berserk, of course) that would just be the cherry on top.

Please, read the OP carefully.
dmslr
 
Joined: 06 Aug 2019

Re: Simple HUD Add-ons [Updated March 25, 2021]

Postby Tekish » Fri Mar 26, 2021 9:39 am

m8f wrote:Suggestion: use BaseStatusBar.GetInventoryIcon instead of getkey.althudicon and getkey.icon. Reason: The Adventures of Square keys. Only four of them have icons, others can be displayed only as spawn sprites.

Thanks, I probably should have tested this beforehand. Since the sprites and icons tend to look different, I've added this as an option.

Adamast0r wrote:Additionally, and not wanting to push my luck but, if you ever feel like doing a power-ups info of sorts, probably only the timed ones though (excluding the berserk, of course) that would just be the cherry on top.

As dmslr hinted, this stuff already exists in LevelInfo. Look for the "Show Active Powerups" option.
Tekish
 
Joined: 28 Jun 2016

Re: Simple HUD Add-ons [Updated March 25, 2021]

Postby Adamast0r » Fri Mar 26, 2021 11:33 am

Tekish wrote:
m8f wrote:Suggestion: use BaseStatusBar.GetInventoryIcon instead of getkey.althudicon and getkey.icon. Reason: The Adventures of Square keys. Only four of them have icons, others can be displayed only as spawn sprites.

Thanks, I probably should have tested this beforehand. Since the sprites and icons tend to look different, I've added this as an option.

Adamast0r wrote:Additionally, and not wanting to push my luck but, if you ever feel like doing a power-ups info of sorts, probably only the timed ones though (excluding the berserk, of course) that would just be the cherry on top.

As dmslr hinted, this stuff already exists in LevelInfo. Look for the "Show Active Powerups" option.

You're right. Sorry about that. The HUD is great as is.
User avatar
Adamast0r
UAC Employee ID #1992
 
Joined: 22 May 2020
Location: Phobos
Discord: Adamast0r#1899
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

Re: Simple HUD Add-ons [Updated March 26, 2021]

Postby Ezper » Sun Apr 04, 2021 3:00 am

This is great, however, a problem I encountered is that none of these are compatible with Zandronum :((
Ezper
 
Joined: 04 Apr 2021
Discord: Ezper#5878
Operating System: Other OS Not Listed Here
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Not Listed

Re: Simple HUD Add-ons [Updated March 26, 2021]

Postby Tekish » Sun Apr 04, 2021 10:50 am

Zandronum doesn't currently support ZScript. Until it does, these add-ons will unfortunately not be compatible.
Tekish
 
Joined: 28 Jun 2016

Previous

Return to Graphic/Audio Patches

Who is online

Users browsing this forum: jimmydange and 1 guest