Simple UI Add-ons [Updated July 21, 2018]

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 YOUR 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.

Simple UI Add-ons [Updated July 21, 2018]

Postby Tekish » Wed Apr 25, 2018 12:13 pm

These are a few basic UI add-ons that I initially created for personal use, but I'm sharing them in case anyone else wants to supplement their gameplay with more on-screen information. They should work with any existing HUD, and I tried to make them as customizable as I could. Here's a video showing off their functionality:



AmmoInfo v1.10
Shows a list containing the ammo pools for all of your weapons. I made this to use with gameplay mods that don't natively show this information in their HUD and for when I'm not using something like NC HUD. You can toggle text abbreviation, alignment, colorization, opacity, and position the list where you want. It works with Doom, Heretic, Hexen, Strife, and various mods.

Spoiler: Supported Mods

Spoiler: Changelog


Image

CrosshairHP v1.05
A small health bar and percentage will appear below the crosshair for whatever monster you're aiming at. You can toggle health percentages (with total health instead), show object (non-enemy) health, display monster names, and adjust the fade time of the UI element. You can also adjust the opacity and the position (to the pixel) if you so desire. This was designed for use with a 1920x1080 resolution, and using it at resolutions higher or lower may produce a bar and text that is too small or too large. This is a workaround to not have the engine try to scale text this small, as it often looks bad and can become unreadable.

Spoiler: Changelog


Image

LevelInfo v1.12
Displays kills, items, secrets, time, power-up durations, and remaining oxygen. Many of these items can be abbreviated or toggled, so for example, if you're already using a HUD that displays much of this but doesn't show power-up timers, you can leave only those on to not waste space with redundant information. As always, the text abbreviation, alignment, opacity, and positioning options are available.

Spoiler: Changelog


Image

All-in-one
You can download all the latest versions of the add-ons in a single file here.

Thanks to
Jimmy for his Jimmyfonts! pack, from which the MemenTwo font is used as a base.
Last edited by Tekish on Sat Jul 21, 2018 1:36 pm, edited 19 times in total.
Tekish
 
Joined: 28 Jun 2016

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby SoulCircle » Wed Apr 25, 2018 3:40 pm

These are both absolutely amazing! Keep up the great work!
User avatar
SoulCircle
Something horrific and pixelated
 
Joined: 02 Aug 2016
Location: Hell

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby ShockwaveS08 » Wed Apr 25, 2018 4:06 pm

Any chance you can add AmmoInfo support for D4T: Death Foretold? DBThanatos and the others have been so busy with Quake Champions: Doom Edition that they haven't had time to properly add reserve ammo counters, despite my suggestions. The Ammo Types in question are as follows: Shells (Orange), Bullets (Yellow), Rockets (Red), Cells (Cyan), and Slugs (White). Chainsaw Fuel (Dark Orange/Brown) and BFG Cells (Green) are already shown on D4T's HUD, so you need not worry about those two...
ShockwaveS08
 
Joined: 07 Jul 2016
Discord: Shockwave_S08#0859

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby Tekish » Wed Apr 25, 2018 5:04 pm

SoulCircle wrote:These are both absolutely amazing! Keep up the great work!

Thanks!

ShockwaveS08 wrote:Any chance you can add AmmoInfo support for D4T: Death Foretold?

Added.
Tekish
 
Joined: 28 Jun 2016

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby kadu522 » Wed Apr 25, 2018 5:18 pm

I will definaly get the HP Readout. the one i use target non-enemys and can get kinda bad in some maps. :)

Edit:Yup its definaly better then the older one. but it is posible so scale the hp bar without haveing to change resolution? its fine right now but others way need it.
User avatar
kadu522
A gameplay lover,heck i play a ASCII Based game is your gameplay is good enough.
 
Joined: 03 Mar 2017
Location: Brasil,Rio de janeiro
Discord: kadu522#0658

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby Tekish » Thu Apr 26, 2018 3:56 pm

kadu522 wrote:it is posible so scale the hp bar without haveing to change resolution? its fine right now but others way need it.


It renders as small as it can given the resolution. If someone wants it bigger than that, I just added an option to increase the size a bit. I guess this could be useful for people who play Doom in 4K, if they actually exist.

I also made some other changes to all of the add-ons, which are noted in the changelogs in the first post.
Tekish
 
Joined: 28 Jun 2016

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby Tormentor667 » Fri Apr 27, 2018 5:21 am

Good work, especially from a visual point of view. Clear design!
User avatar
Tormentor667
needs more detail
 
Joined: 16 Jul 2003
Location: Germany

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby Tekish » Fri Apr 27, 2018 10:46 am

Tormentor667 wrote:Good work, especially from a visual point of view. Clear design!

Thanks. I appreciate the feedback.

I made some small changes to the mods (for minor aesthetic issues), and this will probably be the last of them unless something breaks, someone suggests something, or there are mod compatibility requests.
Tekish
 
Joined: 28 Jun 2016

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby ShockwaveS08 » Fri Apr 27, 2018 11:45 am

I've been experiencing quite a performance hit whenever I load all three of these minimods together on Delta Touch, and I think I know as to why: The minimods, as they are, have to pull a bunch of images together from the font folder to render each of their respective modules, which means slower read times as they render each individual character/number from a set of PNG files.

May I suggest compiling a .FON2 lump, with the entirety of your font inside it, to reduce the workload of the rendering engine?

That way, all characters, symbols, and numbera can all be loaded from a single file, as opposed to a massive amount of small PNG images.

ADDENDUM: I found a temporary solution to this issue; by jury-rigging all three minimods into one PK3, and pointing all of them to the CrosshairInfo font, my framerate's back in tip-top shape. I'm uploading the combined package in this post, as a proof-of-concept...

Contents Include...
AmmoInfo v1.03
CrosshairHP v1.02
LevelInfo v1.02
...no more, no less.

Credit goes to Tekish himself for all three minimods.
Attachments
TekishMods.pk3
All three minimods in one package; useful for Delta Touch.
(36.13 KiB) Downloaded 28 times
ShockwaveS08
 
Joined: 07 Jul 2016
Discord: Shockwave_S08#0859

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby Tekish » Fri Apr 27, 2018 6:03 pm

I'm surprised that's causing a performance issue, as it doesn't change a thing in GZDoom. I converted all of the fonts to FON2 lumps, see if that helps.
Tekish
 
Joined: 28 Jun 2016

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby ShockwaveS08 » Fri Apr 27, 2018 8:58 pm

Marginal performance gains, but not quite as much as what I had posted. Perhaps you could try combining all three minimods into a single package like I did, and make it a separate download for those who want an all-in-one experience...
ShockwaveS08
 
Joined: 07 Jul 2016
Discord: Shockwave_S08#0859

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby ShockwaveS08 » Sat Apr 28, 2018 9:29 am

Any chance of support for DoomZone v1.8.1 and Doom Incarnate in the next update?

In the case of DoomZone, Frag and Napalm Grenades are always shown, though the Special Ability Cooldown doesn't have a "timer" outside of a gauge. That, and there's quite a few player classes.

All Doom Incarnate needs is powerup timers for the Infrared Goggles (green), HEV Suit (green), Regeneration (red), Quad Damage (blue), and Battle Suit (orange).
ShockwaveS08
 
Joined: 07 Jul 2016
Discord: Shockwave_S08#0859

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby Tekish » Sat Apr 28, 2018 12:48 pm

Regarding performance: HudMessage (which these add-ons use) is expensive. It's something I noticed early on, and if you use it to say, render the letter A over the entire screen and do nothing else, it will eat hundreds of frames on a modern gaming machine. The refresh rate, font used, opacity settings, fade timings, other code in general - none of these things have a substantial impact on its performance. The only things that do are the number of characters and to a much lesser extent, the size of them on screen (larger is more taxing).

It doesn't help that to get around HudMessage's inconsistent positioning options, I use invisible characters (which still hurts performance) to align and place various elements in AmmoInfo and LevelInfo. Because of this, I have updated AmmoInfo and LevelInfo with tweaks to use the bare minimum of invisible characters for proper alignment, which could potentially increase performance on older or weaker machines. This does come with a caveat: this only works if alignment is set to the right side of the screen. It takes far fewer hidden characters to align text on the right side than the left.

If you're still experiencing performance problems, remember that less is better. Use abbreviations, small custom position increments (or none at all), and align text to the right side of the screen. If none of these help, you're screwed until HudMessage is replaced with something better, I guess.

ShockwaveS08 wrote:Any chance of support for DoomZone v1.8.1 and Doom Incarnate in the next update?

I'm heading out for the day so I'll look into these tomorrow. Though, if I recall, DoomZone has 100 weapons or something, which makes the manual entry of ammo types time consuming enough that I probably won't bother with it unless I get a hankering for some real tedium.

Also, I added a package with all of the add-ons included, for those who are into that sort of thing.
Tekish
 
Joined: 28 Jun 2016

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby ShockwaveS08 » Sat May 05, 2018 11:58 am

Any chance of a standalone version of the font that is used in your addons, for those of us who want to use it for any projects, private or public?
ShockwaveS08
 
Joined: 07 Jul 2016
Discord: Shockwave_S08#0859

Re: Simple UI Add-ons [Ammo List, Crosshair HP, Level Info]

Postby Tekish » Sat May 05, 2018 4:12 pm

ShockwaveS08 wrote:Any chance of a standalone version of the font that is used in your addons, for those of us who want to use it for any projects, private or public?

I'm not sure I understand the request. The font is a slightly modified version of MemenTwo, which you can download in this thread. If you're referring to my variant of it, you can just take the font lump and move it into other projects?
Tekish
 
Joined: 28 Jun 2016

Next

Return to Graphic/Audio Patches

Who is online

Users browsing this forum: No registered users and 4 guests