unclejacko Posted February 21, 2016 Posted February 21, 2016 So a friend of mine send me a 3Ds file of an aircraft he's been working on to look it. He says all the animations are in there and it's almost ready to go. I'm new to 3DS so was wondering how to get a list of the animation arg numbers so I can use in the code. Currently my only method is to export it and use mode viewer to go one by one...but that could take forever. What is the best way to access sensor_data in C++? In Lua I could get information like speed, heading, and altitude from the sensor_data but in C++ doesn't look that simple. I was looking at CptSmiley F-16 code, but he doesn't seem to animate the cockpit so it's not in there. Thanks
SilentEagle Posted March 1, 2016 Posted March 1, 2016 On question #2: If you load CockpitBase.dll, and use GetProcAddress to find the exported function "ed_cockpit_get_base_sensor_output", you can call that with the argument of the base sensor index and it will return the float value to you.
Recommended Posts