raus Posted October 22, 2020 Posted October 22, 2020 Hi! I have resumed work on a small custom tool to generate my kneeboards and I am successfully parsing the .miz files and extracting info. However, I cannot convert the x,y coordinates of Bullseye or waypoints into latitude, longitude. I know they represent meters from the map origin, I know where each map origin is located... but I do not find the right formula. I have read that the maps in DCS are flat, so the real world formulas do not help here. If I try to extrapolate the location of a known point, it does not match for other points... I think there are some lua functions doing this, but they only work from the Sim, and this is mostly an offline app, requiring only the .miz file... does anyone have the source of these lua functions? Or does anyone know what the conversion formula is? Thanks!!! GV5Js DATACARD GENERATOR
Bailey Posted October 23, 2020 Posted October 23, 2020 Please correct me if I am wrong, the only thing special about the lua commands is that they have the coordinates in a table. The rest of the equation are constants and sin/cos multiplication. So, if you have the digits from the game, and you use those in the constant equation, it should work out. You said, “I have read that the maps in DCS are flat, so the real world formulas do not help here.” I don’t think that’s completely true. 1 DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library | Kiowa Integrated Overlays
Glow Posted October 23, 2020 Posted October 23, 2020 Ello I use CombatFlite to grab coordinates of my wp, than pushing all through this online converter to have lat-long format (skip the minus in latitude) and then I use those in Tacview static objects.
Recommended Posts