Game Development Community

Help with GUI huds

by Jon Cahill · in Torque Game Engine · 01/10/2002 (11:07 pm) · 3 replies

I am trying to make a energy gui hud, i was going to use the health hud as a referance but i can't find the code for the health hud in the source code.

I found an energy/health hud but i can't get the energy bar to fill up. If i can find the the health hub, which is working, i should be able to work out my problem.

The tutorial i was following was from

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1434

Can someone tell me where this is kept?

thanks

#1
01/10/2002 (11:44 pm)
try torque\example\fps\client\ui\playgui.gui

all i did was push f10 wwhile ingame and clicked once on the health bar , then click save and it will show u where it saves

(hope thats what you meant)
#2
01/11/2002 (1:10 am)
yeah i know about that gui script, i was looking for the C++ code for the health bar control. Want to see how it works and make my own ect.

thanks anyway
#3
01/11/2002 (1:53 am)
it is in engine/game/fps/