MrAlaux/Nugget-Doom

[feature request] The option to turn off the ugly rock texture and a have it translucent when using widescreen with the classic hud

Zse00 opened this issue · 11 comments

Zse00 commented

image

Just a reminder: there's an option to use a solid-color background instead of the rock texture.

I've tried to create a translucent STBAR using the new NUGHUD features.

To replicate 100% of the stock statusbar feature we would need to be able to:

  • force the use of the classic 2-7 weapon slots only
  • conditionally draw the STARMS patch on top of the STBAR

nughud-stbar.zip

nughud-stbar

As stated in nughud.txt, widgets can be disabled by setting their X position to -1. Should work in the case of Arms numbers 8 and 9.

Implementing a special condition to draw the Arms background when not on Deathmatch will most likely not be worked on anytime soon. After all, I expect users to deviate from the standard Status Bar. Now, if you're talking about drawing STARMS on top of STBAR, that should be possible by simply using the following Patch (Patch 1 should be drawn under Patch 2 and so on).

Finally, I'd like to point out what I consider to be an issue with your HUD: the vertical position of the weapon. It's much more obscured than it'd normally be. Of course, that's not your fault, you can't do much about it without running into conflicts with the non-fullscreen screen sizes (i.e. the ones that come before the Nugget HUD). I'll see if I can do something about it.

Yeah the weapon being partially obstructed by the statusbar was an issue I was familiar with, having worked on a bunch of zdoom and prboom huds in the past.

Regarding arms indicators: hiding them has no effect on how they behave, so the SSG will always highlight no.9 regardless.

In general, this was just a test to see what can be done to approximate what OP wanted and I totally get the point your making: NUGHUD has been designed to enable users to create custom fullscreen huds, after all...

In the end, what I've pointed out does not concern me that much, as what I'm planning to do with NUGHUD is not affected by it.

Thanks again for your work on this!

OK I've made some tweaks and this is the best approximation currently possible.
Considering what has been said about the arms/frag widgets behaviour, this wad is intended for SINGLEPLAYER ONLY.

nughud-stbar.zip

nughud-stbar

The frag count could be very well placed over the right end of the Status Bar, it doesn't necessarily need a background.
EDIT: Sorry, I may've misunderstood. I realized that even in the Nugget HUD, the Arms and Frags widgets are not drawn simultaneously. I'm going to change that.

In other news, you can now adjust the vertical position of weapons when using the Nugget HUD: d437b78. It'll still look a bit off, though, since the game world is rendered in a way that fills up the whole screen space.

Alright, Arms and Frags are now drawn simultaneously: 681fdab.

Something else I should mention: the fact that Arms number 3 doesn't highlight when you pick up the SSG is actually vanilla behavior. I simply ported a feature from Crispy Doom that does make it highlight when you pick up either type of shotgun.
Implementing such feature for NUGHUD implies not only doing the code, but adding yet another variable to the NUGHUD lump just for it. As I said, I expect HUDs made with this to be fairly different from the Status Bar, hopefully different enough so that all 8 available Arms numbers can fit.
Also, I'd say Arms number 8 is a rather uncommon addition. While Crispy did make it so that number 3 is highlighted when picking up the SSG too, it doesn't do that for the Chainsaw, probably because the original Arms widget doesn't feature a number 1, and neither does the NUGHUD.

thank you for fine-tuning this

I've updated the "Fullscreen Statusbar" proof-of-concept to take advantage of the weapon offset setting, and I've also made a few other custom layouts.
They all can be found in the attached archive: feel free to use them to showcase the feature.

nughud-poc.zip

NugHud-Classic

NugHud-Crispy

NugHud-Modern

NugHud-Stacked

Well, I consider this a good enough solution to the original request.

@liPillON thanks for fine making it!

@liPillON I just wanted to say thank you for making these HUDs, Alaux pointed me to them a few hours ago and I think they're great