Page 1 of 4

[HUD] Statusbar Reloaded

Posted: Thu Jul 12, 2012 10:03 am
by Zaero
Today, I've spend some time trying to make a new HUD for Doom.
Vanilla status bar has a lot of info, but obscures the view to much. Quake 3 HUD was really minimal to let players react quickly in the game, but not all info was present (for ex. other ammo types). I decided to make a HUD which makes both: is really full of info, and "not very" view-obscuring at the same time.

Features:
-Q3-style layout
-Both fullscreen and normal HUD's replaced
-All the info from vanilla statusbar present, except for total ammo limits
-item's "wear off time" displayed (even for all items at once)
-Ammo2 support (which means it's compatible with Brutal Doom and properly shows clip capacity)
-statusbar disabled in the map view (to not obscure it)
-Air indicator (may be useful for diving, disabled by default, since vanilla Doom has no underwater sectors)
-Health counter can drop below zero

EDIT1: 18.07.2012 New Release! Version 1.1 download below.
Important! : This version requires the newest release of ZDoom.

EDIT2: 17.08.2012 New Release! Version 1.2 ready to grab!
This time it has all the cool mugfaces seen on the screenshots (thanks to Mr.Rocket) as well as map indicator
Get it now: http://www.mediafire.com/download.php?908wp8a2e731m73
Important! : The file extension was changed to pk7, so don't forget to adjust your startup files.

Also, please get familiar with my other projects:
Classic Weapons Pack for Brutal Doom: http://forum.zdoom.org/viewtopic.php?f=19&t=33169
Retail-ation mod series: http://forum.zdoom.org/viewtopic.php?f=19&t=33222

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 10:04 am
by Slax
Good stuff. Gimme!

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 10:33 am
by Gez
Isn't it possible to have the air supply indicator only shown when waterlevel == 3? If the variables accessible through [wiki]DECORATE expressions[/wiki] aren't already accessible through [wiki]SBARINFO[/wiki], that'd be a good feature suggestion.

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 10:43 am
by Zaero
Gez wrote:Isn't it possible to have the air supply indicator only shown when waterlevel == 3? If the variables accessible through [wiki]DECORATE expressions[/wiki] aren't already accessible through [wiki]SBARINFO[/wiki], that'd be a good feature suggestion.
Yeah, I was looking for such a command but found none.

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 2:38 pm
by southpark2010
I can't seem to get this to work. I tried this in both Skulltag and GZDoom.

Code: Select all

Execution could not continue.

Script error, "q3hud.pk3:sbarinfo.txt" line 7:
Unknown flag 'Alignment'.
The HUD looks cool though.

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 2:41 pm
by amv2k9
southpark2010 wrote:I can't seem to get this to work. I tried this in both Skulltag and GZDoom.
Download ZDoom 2.6/GZDoom 1.6, or a more recent SVN, then try again.

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 2:42 pm
by Gez
Try GZDoom 1.6.0.

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 2:48 pm
by southpark2010
Working now, thanks. Zaero, is there a plan for a ST compatible version?

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 4:51 pm
by Springy
Yes, Get in! Downloading this baby now.

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 6:27 pm
by -Ghost-
Cool, I like HUDs that let you see the duration left on powerups. It's nice to have a little more space freed up but still keep the mugshot, too.

Re: [HUD] Q3-style HUD

Posted: Thu Jul 12, 2012 8:30 pm
by leileilol
This isn't "Q3 style" at all. Too much information onscreen.

Weapons would show up when you cycle/pick them only. Powerups would build up off the lower right corner. Numbers would be big and next to an icon to the left of them. Only in certain mods mods were ammo counters (above icons of guns during selection) ever added.

Then I realized - why didn't you make a screenshot of the simpler hud?

Re: [HUD] Q3-style HUD

Posted: Fri Jul 13, 2012 5:43 am
by Zaero
southpark2010 wrote:Working now, thanks. Zaero, is there a plan for a ST compatible version?
Not ATM.

I plan to upgrade it a bit, but currently I'm stuck with a problem.
Maybe some of you know: What should I type after "InInventory" to execute the block if player has found the Computer Area Map?

EDIT: I'm ready for the next release. Just would like to know the answer to the question asked in poll.

Re: [HUD] Q3-style HUD

Posted: Fri Jul 13, 2012 10:27 am
by Blue Shadow
Zaero wrote:What should I type after "InInventory" to execute the block if player has found the Computer Area Map?
Try [wiki=classes:Allmap]Allmap[/wiki].

Re: [HUD] Q3-style HUD

Posted: Fri Jul 13, 2012 10:42 am
by Zaero
Blue Shadow wrote:
Zaero wrote:What should I type after "InInventory" to execute the block if player has found the Computer Area Map?
Try [wiki=classes:Allmap]Allmap[/wiki].
Tried already. As well as "MapRevealer", "COMPUTERMAP" - no effect. :(

Re: [HUD] Q3-style HUD

Posted: Sat Jul 14, 2012 3:57 am
by Blue Shadow
It turned out that the [wiki=classes:MapRevealer]MapRevealer[/wiki] actor, which is the base actor class for the computer area map, doesn't stay in player's inventory after pickup to begin with, thus you can't check for its presence. It instead, and I quote from the source code: "sets a flag on the level".
Spoiler: Code snippet