TonyRS Posted June 11, 2024 Posted June 11, 2024 Hi, I note there there are a number of MP Server groups who also run websites that contain ‘Live Maps’ for their missions. MapBox, Google Maps, etc Is there any documentation anywhere on accessing a DCS Server mission and obtaining mission data for processing and display on such maps??? Rgds Self Build: 5000D Airflow Case, Asus ROG Maximus Z690 Hero DDR 5 MOBO, 1200W Corsair Modular PSU, I9-12900K CPU, MSI 3080 ti 12GB GPU, Corsair Vengence 64GB DDR5 5600 RAM, H150i Elite CPU Cooler, 2 x 1TB & 1 x 2TB Samsung 980 Pro M.2 PCIe 4.0 SSD's, Windows 10 Pro OS, Samsung Odyssey G7 28" G-Sync (3840 x 2160 Resolution) Monitor, Thrustmaster, ROG Strix Go 2.4 Headset , HOTAS Warthog Stick, Throttle & TPR Rudder mounted on WheelStandPro V2 rig. TrackIR 5 - DCS: Channel, Normandy 2, Persian Gulf, Syria, Nevada, S. Atlantic, Sinai, Kola, Afghanistan, Iraq, Germany - FC3, Super Carrier, Spitfire, Mosquito, F4U Corsair, P-51, P-47, Bf-109, FW-190 A-8, AH-64D, Huey, Kiowa, Chinook, F18-C Hornet, AV-8B, F-16C, F-5E, A-10C II, F-86E Sabre, F-15E Strike Eagle, F-14 Tomcat, Viggen, MB-339. Android Tablet with DCS UFC & DCS NAV
Maverick87Shaka Posted June 12, 2024 Posted June 12, 2024 On 6/11/2024 at 5:25 PM, TonyRS said: Hi, I note there there are a number of MP Server groups who also run websites that contain ‘Live Maps’ for their missions. MapBox, Google Maps, etc Is there any documentation anywhere on accessing a DCS Server mission and obtaining mission data for processing and display on such maps??? Rgds No documentation or ready to use simple libraries/method, just lot of manual work most of the time. There are some tols that can help you, like SLMOD where you can enable some export in .lua table or json format, and then you have to develop your custom code to integrate in the maps. Our live maps was offline since the 2.7 weather update, but we are working on the new one FlighRIG => CPU: RyZen 5900x | RAM: 64GB Corsair 3000Mhz | GPU: nVIDIA RTX 4090 FE | OS Storage: SSD NVMe Samsung 850 Pro 512GB, DCS Storage: SSD NVMe Sabrent 1TB | Device: Multipurpose-UFC, VirPil T-50, TM WARTHOG Throttle, TrackHat, MFD Cougar with screen. Our Servers => [ITA] Banshee | Krasnodar - PvE | PersianConquest PvE Live Map&Stats | Syria Liberation PvE Conquest Support us on twitch subscribing with amazon prime account linked, it's free!
TonyRS Posted June 14, 2024 Author Posted June 14, 2024 (edited) Thanks for taking the time to reply. I’d have no issue processing json data for display on a map (Google Maps, MapBox etc) using javascript. The bit I ‘have no idea about’ is getting hold of mission data in a json format from a running mission in DCS Will look at SLMOD, see if that might help, thanks for your suggestion. Though, I don’t run a ‘dedicated’ server; just the standard, standalone DCS install Edited June 14, 2024 by TonyRS Self Build: 5000D Airflow Case, Asus ROG Maximus Z690 Hero DDR 5 MOBO, 1200W Corsair Modular PSU, I9-12900K CPU, MSI 3080 ti 12GB GPU, Corsair Vengence 64GB DDR5 5600 RAM, H150i Elite CPU Cooler, 2 x 1TB & 1 x 2TB Samsung 980 Pro M.2 PCIe 4.0 SSD's, Windows 10 Pro OS, Samsung Odyssey G7 28" G-Sync (3840 x 2160 Resolution) Monitor, Thrustmaster, ROG Strix Go 2.4 Headset , HOTAS Warthog Stick, Throttle & TPR Rudder mounted on WheelStandPro V2 rig. TrackIR 5 - DCS: Channel, Normandy 2, Persian Gulf, Syria, Nevada, S. Atlantic, Sinai, Kola, Afghanistan, Iraq, Germany - FC3, Super Carrier, Spitfire, Mosquito, F4U Corsair, P-51, P-47, Bf-109, FW-190 A-8, AH-64D, Huey, Kiowa, Chinook, F18-C Hornet, AV-8B, F-16C, F-5E, A-10C II, F-86E Sabre, F-15E Strike Eagle, F-14 Tomcat, Viggen, MB-339. Android Tablet with DCS UFC & DCS NAV
Kocrachon Posted June 14, 2024 Posted June 14, 2024 The easiest method my old squad used was to take MIST scripting framework. It has a lot of built in functions already for calling all units and getting the lat/long. You then spit that all out as LUA arrays, and the DCS has a lua2json function to covert that to more practical stuff to work with: https://wiki.hoggitworld.com/view/Mission_Scripting_Tools_Documentation (For example, if you want to get all aircraft only) https://wiki.hoggitworld.com/view/MIST_makeUnitTable lua conversion https://wiki.hoggitworld.com/view/DCS_func_lua2json Have your script refresh every X often and a script to upload the data to your webserver or hosting server that the JSON is read from.
Recommended Posts