Just wonderin'...
by the way, tsup...
I've been epically working on remaking my WAD. I've gone through making the custom HUD. But gawt 1 questiawn though...
Can any of the "Bars" from the "drawbar" thingy in "SBARINFO" change any color when it reaches a certain point like "drawnumber" can?
Here be an example my friends:
Health Bar change colors?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- lightman68
- Posts: 76
- Joined: Fri Aug 19, 2011 4:57 pm
Health Bar change colors?
- Attachments
-
- GIF Health.gif (3.47 KiB) Viewed 627 times
- lightman68
- Posts: 76
- Joined: Fri Aug 19, 2011 4:57 pm
Re: Health Bar change colors?
None know? Welp...
I don't know either.
I don't know either.

-
- Posts: 5039
- Joined: Sun Nov 14, 2010 12:59 am
Re: Health Bar change colors?
The way I usually do it involves dummy inventory items, ACS and SBARINFO's InInventory command. And of course, DrawBar command.
I could create an example wad if you want.
Edit: Here you go...
Make sure you use ZDoom's fullscreen hud to see the bar.
I could create an example wad if you want.
Edit: Here you go...
Make sure you use ZDoom's fullscreen hud to see the bar.
- Demolisher
- Posts: 1749
- Joined: Mon Aug 11, 2008 12:59 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Winchester, VA
- Contact:
Re: Health Bar change colors?
I also use dummy inventory items. You can even make animations and blinking indicators using this, as well as dynamic boss bars that "shake" when the boss is damaged, or blood splats on screen.
- lightman68
- Posts: 76
- Joined: Fri Aug 19, 2011 4:57 pm
Re: Health Bar change colors?
Thank ya guys! Your help is much appreciated 
