Page 2 of 7

Re: Peter's Sexy HUD

Posted: Mon Oct 09, 2017 9:21 am
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.

Re: Peter's Sexy HUD

Posted: Wed Oct 11, 2017 9:11 am
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.

Re: Peter's Sexy HUD

Posted: Wed Oct 11, 2017 11:51 am
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.

Re: Peter's Sexy HUD

Posted: Sat Jan 27, 2018 1:13 pm
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:

Re: Peter's Sexy HUD

Posted: Fri Feb 23, 2018 3:59 pm
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.

Re: Peter's Sexy HUD

Posted: Mon Feb 26, 2018 2:47 am
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

Re: Peter's Sexy HUD

Posted: Wed Feb 28, 2018 1:32 pm
by iw0rm3r
NightFright wrote:And I found the issue in the Hexen statusbar.
Thank you so much! :D

Re: Peter's Sexy HUD

Posted: Fri May 25, 2018 4:43 am
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;
}

Re: Peter's Sexy HUD

Posted: Fri Jul 06, 2018 2:19 am
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.

Re: Peter's Sexy HUD

Posted: Sat Jul 07, 2018 7:39 pm
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.

Re: Peter's Sexy HUD

Posted: Sun Jul 08, 2018 7:42 am
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.

Re: Peter's Sexy HUD

Posted: Mon Aug 13, 2018 6:17 am
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

Re: Peter's Sexy HUD

Posted: Fri Sep 07, 2018 2:17 am
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

Re: Peter's Sexy HUD

Posted: Fri Sep 07, 2018 8:29 am
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:

Re: Peter's Sexy HUD

Posted: Fri Sep 07, 2018 9:11 am
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.