Profile image

How to make HUD elements for mod without exploding the plane?

110k hpgbproductions  5.3 years ago

Experimenting with a special mission idea that requires a HUD (to be realistic). I've gotten it to show up correctly but the aircraft explodes instantly, every time.

Observations:

  • Aircraft appears broken in the first frame, as seen by pausing the game before the map/level loads. The critically damaged message appears even when you do that. So it's not a spawn in hitbox issue.
  • Camera fails to track the aircraft if the camera hasn't been changed since entering the level. Once the camera has been changed, it tracks the aircraft correctly even after restarting the level with the pause or level end menu.

Anyone who has worked with UI objects before, please help^

E: maybe i'll make parts that specifically only work with said mod