Peter's Sexy HUD

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 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.
User avatar
Gollgagh
Posts: 207
Joined: Thu Apr 16, 2015 8:24 am

Re: Peter's Sexy HUD

Post by Gollgagh »

Unlikely. What you want for that is to remove forcescaled from line 9 of SBARINFO for adjustable scaling.

This also has the side effect of allowing the aspect ratio option to work properly.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Peter's Sexy HUD

Post by NightFright »

Actually, my variation doesn't use forcescaled in sbarinfo at all. DTD's original version from the first post has it, though. I guess SiFi270 was referring to that one then, right?

In other news, I have uploaded my (hopefully) final variation of the HUD in my earlier post. The only difference is, as stated earlier, the level stats display in the upper right corner which does not use abbreviations any more and has the gapfiller zeroes removed since they messed with legibility a bit.
User avatar
SiFi270
Posts: 451
Joined: Tue Feb 10, 2015 2:51 am
Location: Does anyone put a serious answer here?

Re: Peter's Sexy HUD

Post by SiFi270 »

Oh, what a hilarious misunderstanding. Thanks for what you already did then. Especially since it turns out that the hud for Hexen in the same file is just as much what I wanted.
iw0rm3r
Posts: 2
Joined: Sat Jan 27, 2018 12:58 pm

Re: Peter's Sexy HUD

Post by iw0rm3r »

I really enjoy HUD variation from NightFright, but i've noticed a strange behavior of statusbar in Hexen: when second or fourth weapon is selected there is a blue mana symbol at the center of the status bar. Right on the selected item icon. Is it meant to be there? I've tried this awesome mod on GZDoom 2.2.0, 2.4.0 and 3.1.0 but the blue mana symbol is still there. I could correct this myself but i can't understand what stands for this blue mana symdol in the files.
Also it would be really nice if there will be a non-transparent version of this mod for those, who just want a retro-styled status bar, but without bars at the bottom corners. :wink:
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Peter's Sexy HUD

Post by NightFright »

I will take a look at the Hexen issue next week. In the meantime, a screenshot may help so I'll be able to locate the glitch faster (if there is any). Maybe I can also provide a variation with non-transparent statusbar, but then you'll have the problem that parts of the weapons will be hidden since they remain aligned to the bottom of the screen, not to the top edge of the statusbar. Also the visual gain like this is minimal since you only see the small parts to the left and right of the statusbar, the rest remains hidden just like before.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Peter's Sexy HUD

Post by NightFright »

And I found the issue in the Hexen statusbar. It was basically just one missing number for MANABRT1 that must have gotten lost during the copy/paste procedure (-8 +center instead of -83+center). Easy to fix. Thanks for finding it!
I have also created a version without any transparency (except for the level stats which are not part of the actual statusbars).

For comparison: Transparent vs. opaque
[imgur]https://i.imgur.com/X82PYoV.jpg[/imgur] [imgur]https://i.imgur.com/N4YVmYC.jpg[/imgur]

Changelog Feb 26, 2018
- Fix for mana icon alignment in Hexen statusbar
- Non-transparent statusbar version available

DOWNLOAD DEPRECATED, SEE NEW VERSION BELOW
Last edited by NightFright on Fri Sep 21, 2018 5:08 am, edited 1 time in total.
iw0rm3r
Posts: 2
Joined: Sat Jan 27, 2018 12:58 pm

Re: Peter's Sexy HUD

Post by iw0rm3r »

NightFright wrote:And I found the issue in the Hexen statusbar.
Thank you so much! :D
PimpUigi
Posts: 4
Joined: Thu May 24, 2018 8:00 pm

Re: Peter's Sexy HUD

Post by PimpUigi »

I'm really glad to see that zDoom finally has what I set up for my jDoom UI 10 years ago. : )
It's about time zDoom had a transparent hud like this.

But, it doesn't work with the gzdoom jDui repack.

Here's a fix for the small picture (but probably not big picture):

// FULLSCREEN STYLE HUD BY PETER LAWRENCE

Base Doom;

StatusBar fullscreen, fullscreenoffsets
{
// OVERLAYS
GameMode singleplayer
{
Alpha 0.6
drawimage "STBAR", 0, 148;
Alpha 0.6
drawimage "STARMS", 104, 148;
}
Last edited by PimpUigi on Fri May 25, 2018 7:04 am, edited 1 time in total.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Peter's Sexy HUD

Post by NightFright »

Can anyone confirm that with latest GZDoom (3.4.1), the inventory bar in Heretic and Hexen is NOT displayed above the statusbar any more, but on top of it (as a transparent overlay)? I had repositioned that on purpose and it seems to be broken now. I am sure this worked before GZDoom got updated, so I assume it's due to some changes to the way statusbars are drawn...

See attachment to understand the nature of the problem.
Attachments
heretic_hud.jpg
Last edited by NightFright on Fri Sep 07, 2018 9:13 am, edited 2 times in total.
User avatar
Gollgagh
Posts: 207
Joined: Thu Apr 16, 2015 8:24 am

Re: Peter's Sexy HUD

Post by Gollgagh »

Yeah, I messed with the values a bit and InventoryFullscreen is totally ignoring any given coordinates, even without fullscreenoffsets; you can see the same thing with Guncaster and other mods.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Peter's Sexy HUD

Post by NightFright »

It's what I thought, then. I also find it hard to believe I entered wrong coordinates since it was working at some point. Anyway, I have PM'ed Graf Zahl to take a look. If it's something code-related, ideally no file edit is necessary, just a GZD update.

*Update July 9, 2018*
Looks like modified fullscreen inventory bars are completely ignored in sbarinfo. Graf Zahl is currently looking into it. Here's what he wrote to me about it via PM:
The change for the inventory bar happened when it was ported to ZScript, because I found the overlay to be rather broken, so I did it differently for ZScript.
*Update August 10, 2018*
The cause for the issue has been found. Apparently GZD stopped liking some extra brackets in the sbarinfo files. I'll get that fixed asap. Will also try to implement neoworm's new Hexen statusbar while I am at it.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Peter's Sexy HUD

Post by NightFright »

Fixed statusbars are available! Hopefully this release solves the last issues so that no further changes will be necessary.
This release incorporates neoworm's last Hexen widescreen statusbar which looks better than the one previously included (see screenshot in attachment).

CHANGELOG v2.4 (AUG 13, 2018):
[Heretic/Hexen - TRANSPARENT] Fix for inventory bar not properly aligned
[Heretic/Hexen - OPAQUE] Inventory bar (re)integrated into statusbar (like in vanilla, not shown on top of statusbar any more)
[Heretic] Alignment correction for inventory item counter
[Hexen] Statusbar updated with neoworm's latest version

DOWNLOAD DEPRECATED, SEE NEW VERSION BELOW
Attachments
widescreen_hexen.png
Last edited by NightFright on Fri Sep 21, 2018 5:08 am, edited 4 times in total.
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Peter's Sexy HUD

Post by NightFright »

And one more update, with one fix and one new feature:
1) Due to level stats in Heretic (and Hexen) colliding with active powerup icons, I moved the stats. I hadn't realized this one before I was playing Heretic again recently, actually.
2) Chex, HacX and Harmony now use the Strife-style automap color scheme (via MAPINFO) which fits better to the games than the default ZDoom setting (Raven) when running these games for the first time.

CHANGELOG v2.5 (SEP 7, 2018)
[Heretic/Hexen] Level stats aligned to the upper left instead of upper right corner (to avoid collision with active powerup icons)
[Chex/HacX/Harmony] Use Strife-style automap color scheme ("Automap Options" > "Allow Map Defined Colors" must be set to "Yes" for this to work)
[Doom/Chex/HacX/Harmony] Minor (invisible) optimization of how automap statusbar is created (BACKGRND and STBAR merged in TEXTURES.DOOM lump instead of being drawn separately in SBARINFO)

DOWNLOAD DEPRECATED, SEE NEW VERSION BELOW
Last edited by NightFright on Fri Sep 21, 2018 5:08 am, edited 7 times in total.
User avatar
SiFi270
Posts: 451
Joined: Tue Feb 10, 2015 2:51 am
Location: Does anyone put a serious answer here?

Re: Peter's Sexy HUD

Post by SiFi270 »

While this thread's still on the front page, I figured I'd share an addon I made to load with this and the Community Chest series to make the black background transparent. It looks like this:
Attachments
ccbarnobg.wad
(7.22 KiB) Downloaded 70 times
User avatar
NightFright
Spotlight Team
Posts: 1343
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Peter's Sexy HUD

Post by NightFright »

Great! Anybody who downloaded the updated statusbars so far: Please download them again, I just added new versions. The others had problems and/or didn't have the features they were supposed to have.
Post Reply

Return to “Graphic/Audio Patches”