Stormworks: Build and Rescue

Stormworks: Build and Rescue

34 ratings
*LUA* HUD projected 3d waypoint or target
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
71.285 KB
14 Jun, 2019 @ 1:41pm
1 Change Note ( view )

Subscribe to download
*LUA* HUD projected 3d waypoint or target

Description
A little helicopter (just to showcase the functionality) with a microcontroller that allows you to display waypoints or in fact any XYZ coordinate as an accurate overlay on your hud.

If the target position is outside of the hud, you will see a little arrow at the corner indicating the direction towards the target.




Controls of the helicopter:
- Throttle lever on the right (move that all the way up)
W/S = collective
A/D = yaw
Up/Down = pitch
Left/Right = roll
1 = gyro autohover


--------------------

For accurate projection it is important that the center of the hud is on eye-level with the player. (an offset could be implemented in theory)

The distance between the player and the hud is also important for the projection, but that setting can be easily changed inside the script.
14 Comments
Funtime60 20 Jul, 2023 @ 10:46pm 
I want to use this with a gimbal camera but the camera doesn't have any way of getting rotation offsets that I can see. Do you have any recommendations as someone more experienced than me? I also need to figure out how the FOV would affect it too, but I'll cross that bridge when I get to it. Thanks
KageKage 17 Dec, 2021 @ 12:06pm 
thank you
Tajin  [author] 17 Dec, 2021 @ 10:59am 
Sure go ahead.
KageKage 17 Dec, 2021 @ 9:58am 
Hello, can I use your code as base for runway display system? Of course by giving the appropriate credits and linking to this creation.
Jaspersgames 27 Sep, 2021 @ 11:50am 
:O that's amazing!
ketrab2004 13 Jun, 2021 @ 10:51am 
how does it work?
Maestro4202 25 Jun, 2020 @ 11:34am 
Works great. Wanted to overlay this onto a map and my IR camera for landing in storms. Just had to remove the clear screen function and also works great!:steamhappy:
S.T.A.L.K.E.R. 20 Apr, 2020 @ 9:47am 
So can I just take the controller and put on vehicle right because if yes,
Are we going to have to credit you just asking
beepgroover 1 Feb, 2020 @ 3:16pm 
A good thing! Is it possible to track a target using radar? Spawning vehicles.
Tajin  [author] 24 Jun, 2019 @ 12:38am 
No, just use this and copy it or remove the parts you don't need.

That made more sense to me since that way it is already wired up and I don't have to explain how each of the sensors need to be placed.