Game Development Community

Health & Energy.

by Maddermadcat · in Torque Game Engine · 07/18/2007 (4:53 pm) · 1 replies

My primary question here is, how can I take the health and energy bars and replace them with text controls? I also have another less important question: how would I go about adding armor? Meaning, how would I get "armor" that acts as a sort of second health, taking damage and so preventing it from being dealt to the actual health until the armor runs out?

#1
07/18/2007 (6:50 pm)
I've submitted a scripted text health GUI: Scripted Numerical Health GUI

If that's not to your liking there are plenty more resources of the same nature, some are scripted and others are done in C++. The reason I wrote mine is that none of the other ones I tried worked properly across a network, mine does.

You can use my health resource as a learning base on how to do the same thing for energy.

Armor would be pretty easy to script but I don't have the time to do it for you.