tomekldc Posted August 21, 2019 Posted August 21, 2019 Hi, I'm looking for extracting the velocity / speed of each unit in the mission, through the Export.lua with the native functions or at least not with a complex mod. A lot of Mods are capable of it but by exploring them I can't resolve how they manage to do it. Any idea how to get the speed of all the units of the environment (not just the client aircraft) Thank you for your time,
jross194 Posted August 22, 2019 Posted August 22, 2019 Google "Haversine". Should get you started. I use in (C# app) and it's within 1 knot of what DCS reports (via F10 view). i6700k 4.4mhz, 32Gb, nVidia 1080, Odyssey+, CH Products, Derek Speare Designs button box, Bass shaker w/SimShaker For Aviators
Habu_69 Posted August 22, 2019 Posted August 22, 2019 Hi, I'm looking for extracting the velocity / speed of each unit in the mission, through the Export.lua with the native functions or at least not with a complex mod. A lot of Mods are capable of it but by exploring them I can't resolve how they manage to do it. Any idea how to get the speed of all the units of the environment (not just the client aircraft) Thank you for your time, Unit speed and other parameters can be extracted using mission scripting methods. Scripting engines like MOOSE are useful for such purposes. Check the Mission Editing forum.
tomekldc Posted August 22, 2019 Author Posted August 22, 2019 Thank you jross194 and Habu_69 for your quick reply. I'm finally extracting the velocity of each units trough the mission editor script.
Recommended Posts