Game Development Community

Showing health, armour and thing via hud

by Andy Hawkins · in Torque Game Engine · 02/20/2008 (5:02 pm) · 3 replies

I would like to show pips and progress bars on my 3d objects, much like the health display. But for example I want to show how much cargo they have on board, or how many missiles they have left. How do I do this? Is this a engine mod thing or a script change?

#1
02/20/2008 (8:27 pm)
I think it would be best to code the gui in the engine first, deriving from the existing class then script up what ever else is needed.
#2
02/21/2008 (6:56 am)
Okay so then maybe I should just extend the healthbar gui to allow it to show many gui with independent source and colour???
#3
02/21/2008 (7:29 am)
That is what i would do.