Top HP Bars 1.04

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.

Top HP Bars 1.04

Postby coldcite » Thu Jun 15, 2017 1:16 pm

Image
In Action 1 In Action 2

Really simple mod to add HP bars on top or enemies and players.
Should work alongside any game and mod, let me know otherwise and I'll try to take care of it to the best of my still limited knowledge.
Used SpriteShadow - Duke3D-style Shadows as a base.

Requires GZDoom 3.1.0

Enjoy!

Known Issues
  • "Allow Stealth" setting might not update properly until next level on enemies with special rendering styles (like spectres)
  • Mods that change max HP dynamically may cause display issues


1.04
  • Fix: crashing issue with some sprites
1.03
  • Fix: positioning issues finally fixed (for real this time)
  • Add: setting to make bars FULLBRIGHT and ignore sector light
  • Add: setting to adjust vertical offset
  • Add: setting to enable/disable displaying bars on "stealth" enemies
1.02
  • Fix: vertical positioning should be more accurate
  • Fix: enemy renderstyle/alpha correctly applied now
  • Fix: elevators won't drop bars to the floor anymore
  • Add: settings menu under "Gameplay Options" (bar scale, style A and B)
1.01
  • Fix: scaling issue with high-resolution sprites
  • Fix: compatibility with Legendoom
Attachments
TopHPBars.pk3
(158 KiB) Downloaded 1626 times
Last edited by coldcite on Fri Jun 23, 2017 7:50 pm, edited 9 times in total.
User avatar
coldcite
 
Joined: 20 May 2017
Discord: coldcite#1711

Re: Top HP Bars 1.0

Postby ibm5155 » Thu Jun 15, 2017 2:04 pm

This is a Gameplay Mod and not a TC like mod
User avatar
ibm5155
Just Spooky
 
Joined: 20 Jul 2011

Re: Top HP Bars 1.0

Postby coldcite » Thu Jun 15, 2017 2:07 pm

ibm5155 wrote:This is a Gameplay Mod and not a TC like mod

Fair enough, I wasn't clear on what "Other Projects" really meant.
User avatar
coldcite
 
Joined: 20 May 2017
Discord: coldcite#1711

Re: Top HP Bars 1.0

Postby Spaceman333 » Thu Jun 15, 2017 3:05 pm

Heck yeah, I saw this on /vr/ and was waiting for its release. Thank you for sharing it! :D
User avatar
Spaceman333
 
Joined: 13 Oct 2016

Re: Top HP Bars 1.0

Postby Lime » Thu Jun 15, 2017 10:25 pm

for most Health bars that i've seen in zdoom, this is really good.
- bug: when an enemy is in a spot that it goes down (or up), the health bar goes down in his feet.
User avatar
Lime
(Staring........)
 
Joined: 07 May 2016
Location: Outside of an Abandoned Building

Re: Top HP Bars 1.0

Postby coldcite » Thu Jun 15, 2017 11:44 pm

Lime wrote:- bug: when an enemy is in a spot that it goes down (or up), the health bar goes down in his feet.

You mean like in an elevator?
User avatar
coldcite
 
Joined: 20 May 2017
Discord: coldcite#1711

Re: Top HP Bars 1.0

Postby Lime » Fri Jun 16, 2017 12:20 am

coldcite wrote:
Lime wrote:- bug: when an enemy is in a spot that it goes down (or up), the health bar goes down in his feet.

You mean like in an elevator?


-yes. I wasn't so specific about it.
User avatar
Lime
(Staring........)
 
Joined: 07 May 2016
Location: Outside of an Abandoned Building

Re: Top HP Bars 1.0

Postby coldcite » Fri Jun 16, 2017 12:27 am

Lime wrote:-yes. I wasn't so specific about it.

Okay I think I've found a way to replicate this issue, I'll take a look into it.
User avatar
coldcite
 
Joined: 20 May 2017
Discord: coldcite#1711

Re: Top HP Bars 1.04

Postby DarkkOne » Tue Jul 11, 2017 11:02 pm

Have to say I love this mod. Throw this and Xaser's Damnums on in Hexen, and it somehow feels like a whole new game. Feels like something that always should've been there.
DarkkOne
 
Joined: 07 Jun 2016

Re: Top HP Bars 1.04

Postby guineu » Mon Jul 17, 2017 11:07 pm

Nice mod.

A suggestion: Move the options to the main options menu instead of gameplay menu, first time I used the mod I missed it had options and only realized it after completely reading the first post (yes I know, I should have read first). DamNums does this, and makes it easier to notice the customization options. Great mod combo btw.

A report: Not sure if it's known or if it can be alleviated in any way; when I loaded the mod with HolyHell.wad (~6700 monsters) the fps dropped to <5. Probably can't be fixed, not a big deal. Tried on a 600 monster map and worked great with no impact on fps.
guineu
 
Joined: 06 Jul 2017

Re: Top HP Bars 1.04

Postby ShinyCrobat » Fri Jul 21, 2017 10:48 pm

You could try and fix the fps issues by only drawing the HP bar if the enemy is damaged. Would be nice as an option.
ShinyCrobat
 
Joined: 20 Jul 2013

Re: Top HP Bars 1.04

Postby Mere_Duke » Sun Dec 10, 2017 5:15 pm

guineu wrote:Nice mod.

A suggestion: Move the options to the main options menu instead of gameplay menu, first time I used the mod I missed it had options and only realized it after completely reading the first post (yes I know, I should have read first). DamNums does this, and makes it easier to notice the customization options. Great mod combo btw.

A report: Not sure if it's known or if it can be alleviated in any way; when I loaded the mod with HolyHell.wad (~6700 monsters) the fps dropped to <5. Probably can't be fixed, not a big deal. Tried on a 600 monster map and worked great with no impact on fps.


I've made custom version for myself and for you too
Changes:
1) Monsters doesn't show bars if at full HP (to increase the performance)
2) Bars for dead monsters are removed when they are dead (to increase the performance)

HolyHell.wad = no lags at all
Attachments
TopHPBars.pk3
(149.72 KiB) Downloaded 123 times
User avatar
Mere_Duke
Code Inspector
 
Joined: 28 Aug 2016
Location: Russia

Re: Top HP Bars 1.04

Postby wildweasel » Sun Dec 10, 2017 5:25 pm

Mere_Duke wrote:1) Monsters doesn't show bars if at full HP (to increase the performance)

Does this also take into account monsters who are above full (i.e. for LegenDoom)?
2) Bars for dead monsters are removed when they are dead (to increase the performance)

It's a bit strange to me that this was not already the case.

Either way, downloading, as this seems like a great improvement to a file I'm already using most of the time anyway.
User avatar
wildweasel
change o' pace.
Moderator Team Lead
 
Joined: 15 Jul 2003

Re: Top HP Bars 1.04

Postby Mere_Duke » Mon Dec 11, 2017 8:54 pm

wildweasel wrote:
Mere_Duke wrote:1) Monsters doesn't show bars if at full HP (to increase the performance)

Does this also take into account monsters who are above full (i.e. for LegenDoom)?

Oh, I didn't even know that "above full" is possible, can you help me find the exact place in LegenDoom where I can see "overhealthed" monster? It seems that as the monster is getting additional health, the HP bar will pop immediately, but I need to research this closer.
User avatar
Mere_Duke
Code Inspector
 
Joined: 28 Aug 2016
Location: Russia


Return to Graphic/Audio Patches

Who is online

Users browsing this forum: No registered users and 4 guests