Game Development Community

guiAltimeterHud - anyone have any version of this?

by Gibby · in Torque 3D Professional · 03/13/2015 (9:56 am) · 2 replies

Greets All:

I'm wondering if there's anyone out there with the code files from Phil Carlisle's original guiAltimeterHud found Here??? A T3D port would be way cool, but any version, even the original, will do...


I'd like to include it in a vehicle/weapon resource Sean Rice and I are releasing to GiT...

Gracias!

#1
03/14/2015 (3:50 am)
I did a similiar thing in my game by hacking around in guiHealthBar.
A neater way to implement my version is making a clone of guiHealthBar that uses something like
control->getContainer()->castRay(control->getPosition(),endPos, (TerrainObjectType | WaterObjectType |
      	                                                             StaticShapeObjectType | VehicleBlockerObjectType), &altitude);

so you can show altitude basing on what's below.
#2
03/16/2015 (12:48 pm)
@d0c: Thanks! I have something functionally similar, but the original resource had some nice gui elements already setup. Looks like I'll just have to roll my own if the original doesn't surface soon...