I'm working on a HUD that is similar to those from the console versions of UT. Everything is going well for the most part, but there are a few things I can't figure out at all:
1. How to replace the health and shield indicators with bars instead of using numbers
2. How to change the bars' colors when the player reaches certain health/shield amounts
3. How to limit the number of bars that will appear
In other words, I don't know a single thing about health bars.
The only thing I do know is what part of the HUD texture to use for each unit of health. I thought there used to be some health bar tutorials around somewhere, but I haven't been able to find anything. Any help would be great!
Horizontal health bars?
-
- Experienced
- Posts: 130
- Joined: Mon May 16, 2011 2:45 am
- Personal rank: Layman
- UnrealGGecko
- Godlike
- Posts: 2910
- Joined: Wed Feb 01, 2012 11:26 am
- Personal rank: GEx the Gecko
- Location: Kaunas, Lithuania
- Contact:
Re: Horizontal health bars?
There is a tut called "Drawing Health and Armour as Vertical Bars" in this tut pack:
http://www.ut99.org/viewtopic.php?f=3&t=4083
Sorry that I can't help more, I'm not good at coding.
EDIT: nvm, found a copy of that tut here:
https://web.archive.org/web/20130619033 ... l_Bars.htm
http://www.ut99.org/viewtopic.php?f=3&t=4083
Sorry that I can't help more, I'm not good at coding.
EDIT: nvm, found a copy of that tut here:
https://web.archive.org/web/20130619033 ... l_Bars.htm
Last edited by UnrealGGecko on Fri Mar 02, 2018 10:53 am, edited 1 time in total.
Reason: Fixed the link.
Reason: Fixed the link.
My work for UT99: Counter-Strike VP, MaleOne+ (now updated), FemaleOne+ and the FemaleTwo220 voicepacks DM-XC-NaliTreeV2 (from the 2012 Xmas Contest mappack), DM/DOM-20AC-CastleGeorgeV3 (from the 20th Anniversary Contest mappack), DM-UFFO, DM-WreckingBall, (NEW!) CTFM-Sundial
my small spec of files at Google Drive
List of console converted maps, models & more!
-
- Experienced
- Posts: 130
- Joined: Mon May 16, 2011 2:45 am
- Personal rank: Layman