Text Health Bar Indicator
by Bob Gauna · 11/23/2003 (7:02 pm) · 9 comments
Download Code File
After downloading the file, unzip and place under \torque\engine\game\fps.
Add the file into VC++ and recompile the program. The text box will pulse red with this setting: mDamageFillColor.set(1, 0, 0, 0.5); and the pulse set to 1000. Feel free to add to your code and modify as needed.
After downloading the file, unzip and place under \torque\engine\game\fps.
Add the file into VC++ and recompile the program. The text box will pulse red with this setting: mDamageFillColor.set(1, 0, 0, 0.5); and the pulse set to 1000. Feel free to add to your code and modify as needed.
#2
11/23/2003 (8:02 pm)
File download needs to be reuploaded, it doesn't exist on GG site.
#3
bob
11/23/2003 (8:25 pm)
Should work now.. this problem seems to be happening all the time during submission.bob
#4
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1860
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2004
A script and an engine version. Choose.
11/24/2003 (3:53 pm)
Not to be pesimistic... but...www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1860
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2004
A script and an engine version. Choose.
#5
11/24/2003 (4:54 pm)
LOL! OK, well, I guess there's pleanty of choices now if someone needs a text based health indicator! ;-)
#6
12/15/2003 (3:18 pm)
All the resources should be as nice and simple example as this one
#7
It functions like the HealthBarHud. Meaning, if "displayEnergy" is true, it will show the energy, when false, it will show health.
Also, my control doesn't hardcode the life as a value, it gets it from the datablock.
Robert
06/02/2005 (12:21 pm)
You can also use my GUI control.It functions like the HealthBarHud. Meaning, if "displayEnergy" is true, it will show the energy, when false, it will show health.
Also, my control doesn't hardcode the life as a value, it gets it from the datablock.
Robert
#8
05/25/2006 (1:15 pm)
i always prefer the script method, much easier and simpler but thanks anway!
#9
01/11/2007 (9:12 pm)
This doesn't work on a dedicated network. 
Torque Owner Bob Gauna