Closed NightFright2k19 closed 7 months ago
You can hide it by setting the arms2 x value to -1 which is the recommended way to disable certain widgets (see widgets table at https://github.com/MrAlaux/Nugget-Doom/wiki/Nugget-HUD)
I think that should light up when you get berserk. That's not related to the "show_berserk" cfg option which draws the berserk pack icon. I don't use the 1 digit but I'm a fan of tracking berserk mentally so maybe that option could include the HUD digit too?
Oi, @ak-988 beat me to it. Indeed, the widgets that can be disabled in NUGHUD are disabled by setting their x
to -1
, and Arms number 1 is lit up only when you have Berserk.
Related to the widget disabling: omitting widget properties will simply make them fall back to their defaults, which is what's happening here. The example nughud.lmp
-- which is identical to the default, built-in NUGHUD -- is merely included for reference; you don't necessarily have to include all those properties in whatever HUD you're making, unless you want to change them from their default values.
I see. That kinda makes sense, actually. Well, if it's supposed to work like that, I guess we don't really have any problem here. Thanks a lot for the fast response!
Two potential issues I have found with NUGHUD lumps:
1) When completely commenting out the arms2 entry (for weapon 2/pistol arms slot), the number would appear anyway, but at a completely different position. This means you are effectively unable to hide it.
Example:
--> "2" appears anyway, but elsewhere (see attached screen) --> If lines are uncommented, "2" appears where it should
2) When using arms1 (for weapon 1/fists arms slot), the number remains dark while it should always be lit (like arms2) since it is always available. See second screenshot below.
Attachments: NUGHUD.txt