Hello MSFS Community!
I’m a software developer with passion for both coding and flight simulation. While my professional background is primarily in web application development (using Python and Java for backend, and Angular for frontend), I’m entirely new to the world of MSFS and game plugin development.
I’ve been using MSFS not just for the joy of flying but also to scout locations for road trips.
This inspired me with an exciting idea:
a plugin that allows users to display GPS (GPX/KML) paths directly on the terrain in real-time, similar to a 3D Google Maps direction line, instead of just on the VFR map/GPS interface. The goal is to easily follow a path without having to constantly check a map/navlogs.
To better give an idea of the result that I expect:
This is how Google Earth displays a path:
And the familiar Goole Maps directions’s path:
Or ideally, make it as visible as the line in the tutorials screenshot
How I envision this plugin working:
- Inside the game or from an external window, the user loads a .gpx (or .kml) file.
- The user starts a flight.
- They see a line corresponding to the .gpx they uploaded directly on the terrain.
- A nice-to-have feature would be the ability to remove or change the GPS track even during flight.
How would you implement this? Any advice you can offer? Is even possible to do this?
Keep in mind that I probably will start simple with a POC and that see where to go from there
Some of my considerations:
I was wondering if SimConnect is necessary for my use-case. From what I’ve seen, it seems mainly used for interacting with the aircraft rather than the scenery. It seems that adding elements to the scenery might just require importing a fex “xml” file, so perhaps my code could generate all the necessary files without directly interacting with SimConnect. I might be totaly mistaken on this.
If I need to use SimConnect, which language would you recommend? I’d prefer Python, Java, or JavaScript, but I’m open to learning C# if it simplifies things on the long run.
For Python, I found some SimConnect wrappers:
- GitHub - odwdinc/Python-SimConnect: Python interface for MSFS2020 SimConnect.dll
- GitHub - patricksurry/pysimconnect
These might be enough for my purpose since I don’t need to interact with the aircraft. However, I’m concerned that these wrappers may not be updated in the future and get out of sync with the sdk’s API’s.
Another consideration is that I’d like to publish this add-on and make it easily installable for everyone (perhaps with an .exe file?). Integrating a Python wrapper might complicate this process.
Thanks everybody, I’ll keep you posted