Outerra forum
User mods, screenshots & videos => Static models => Topic started by: Uriah on December 24, 2014, 10:30:55 am
-
As part of my rocket mod I discovered how to initialize aircraft/vehicles at a specified position and orientation. Like Levi's wind turbine, I need static objects which are animated, namely the Mobile Service Tower and Fixed Umbilical Tower for the launch pad. As with the turbine vehicles are removed from the world upon reloading the game so we can use this spawn scrip to initialize them in the correct position. Not only that but I can call variables from any aircraft/vehicle so I can trigger events, such has the Mobile Service tower rolling on it's track into launch position and the Umbilical Tower retracting just before launch.
I will upload a simple example to demonstrate the capabilities. Hopefully I can add an initialize script to the world so when the game loads these objects are initialized. For now you will have to spawn them, but the object will be placed automatically.
Regards,
Uriah
-
!!!!!!!
Maybe the developers should hire you! ;D
-
Actually Cameni will have to take the credit here for the most part. I am happy to contribute time and develop new features. Instead of many plug-and-play type mutually exclusive objects, we need ones which can interact even if JSBSim and Bullet cannot physically collide yet. Multi vehicle event triggers could provide a moderate level of interactivity.
The position/orientation script alone will be very useful but I am hoping to provide way more functionality than that.
Happy holidays everyone!!!
-Uriah