Nash's HP Bar - a minimalist HP bar mod

Mon May 17, 2021 10:27 pm




Requires GZDoom 4.6.0 and above

As seen in my StrifeCoop live streams! Made this for personal use and was quickly thrown together in the most simple and minimalistic way possible.

Just a HP bar. Nothing else!

Intentionally no customizability. I wanted to keep it clean and simple.

Can be toggled on and off. Useful in a coop game where some players may not want their screen to be cluttered, but all players must have the mod loaded to prevent desyncs.

The bar's position will always be drawn such so that it will never obscure your pickup messages. It also respects message scale settings and the number of lines as determined by the 'con_notifylines' CVAR.

MIT license (see LICENSE.txt).

Have fun!


26th May 2021:
- Rewrote target-finding system, it now ignores player auto-aim setting, and has unlimited distance
- Use white as the font colour

Spoiler: "Old updates"


> Download <
> Github <

Wanna chat about my mods? Join my studio's Discord server, Mischief Donut!
Image

I spend an uncountable amount of hours making mods. Consider supporting me on Patreon for cool benefits!
Image
Last edited by Nash on Sun Sep 19, 2021 7:41 pm, edited 6 times in total.

Re: Nash's HP Bar - a minimalist HP bar mod

Tue May 18, 2021 3:33 am

Can't launch this mod :
Code:
Script error, "NashHPBar.pk3:zscript/nashhpbar/nashhpbarhandler/nashhpbarhandler.zc" line 265:
Unknown function GetCharacterName
Script error, "NashHPBar.pk3:zscript/nashhpbar/nashhpbarhandler/nashhpbarhandler.zc" line 271:
Unknown identifier 'targName'
Script error, "NashHPBar.pk3:zscript/nashhpbar/nashhpbarhandler/nashhpbarhandler.zc" line 274:
Unknown identifier 'targName'

Re: Nash's HP Bar - a minimalist HP bar mod

Tue May 18, 2021 4:07 am

Ah crap, forgot to specify that the mod uses an in-development feature only available in devbuilds. But not to worry, GZDoom 4.6.0 is going to be released really soon which will rectify it.

In the mean time, this is only runnable on a devbuild. http://devbuilds.drdteam.org/

Re: Nash's HP Bar - a minimalist HP bar mod

Tue May 18, 2021 9:43 am

It's really time to release a new GZD version...

Re: Nash's HP Bar - a minimalist HP bar mod

Tue May 18, 2021 3:50 pm

NightFright wrote:It's really time to release a new GZD version...


Soon! :P Any moment now... !

Re: Nash's HP Bar - a minimalist HP bar mod

Sat May 22, 2021 11:36 am

Updated the mod to run only in GZDoom 4.6.0 (because it won't work in previous versions anyway).

Re: Nash's HP Bar - a minimalist HP bar mod

Tue May 25, 2021 6:57 am

It's ingenious. I like it even more than Xaser's "Universal Damage Numbers". Both mods serve similar purposes, but yours lets you also see how much damage you still have to inflict to down the enemy, which is even better. Simple and functional, a classic Nash!

I could imagine two more options (if there was supposed to be some customizability after all):
- Toggle between HP bar for all enemies and bosses only (could be part of the On/Off switch to minimize amount of needed CVARs)
- Override default text color with white in all games (especially Doom would profit from this since red letters don't look so good with red background)

Re: Nash's HP Bar - a minimalist HP bar mod

Tue May 25, 2021 1:04 pm

v1.2 has been released:

- Rewrote target-finding system, it now ignores player auto-aim setting, and has unlimited distance
- Use white as the font colour

Link in first post

Re: Nash's HP Bar - a minimalist HP bar mod

Tue May 25, 2021 11:29 pm

The font color change is definitely an improvement. Regarding that autoaim adjustment... it's a double-edged sword for me. On one hand, you now don't have HP bars popping up without actually having any enemy in your crosshair, but on the other hand, if you play with autoaim on and mouse aiming off (like I usually do), you now wouldn't get any bars for enemies located above or below you.
Last edited by NightFright on Wed May 26, 2021 1:20 am, edited 1 time in total.

Re: Nash's HP Bar - a minimalist HP bar mod

Wed May 26, 2021 12:02 am

Guess I'll have to add 1 more option for autoaim then. :P Was trying to avoid adding options on principle. :lol:

I'll take care of it for the next version.