• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 Modifying existing panels/instruments?

Messages
4
Country
unitedstates
Hello! I am new to the FSDev scene so apologies of this has been answered somewhere but I haven't seen it. How does one go about efficiently programming instruments and avionics? I understand most of the instruments such as the FMS, G1000, and so on uses JS/CSS/HTML and I have tinkered around and made some changes. My issue is that I have to close out of the simulator entirely to see my changes where I would ideally like to have a real time test environment so to speak. What is the best way to go about developing/modifying the avionics/instruments? I see new aircraft and patches popping up such as the A320 Neo updates and am curious how they are adding /changing functionality. If anyone has any insight or can point me in the right direction I'd greatly appreciate it! Thanks!
 
Hi!

I've been messing around a bit with the VFR map, and have found a reasonable way to reload changes. It appears that the sim uses a cache for the files included from the main HTML file. It's possible to bypass the cache using a query string variable that you update, e.g.

HTML:
<script type="text/javascript" src="GameVFRMap.js?ver=3"></script>
<script type="text/javascript" src="CustomizedVfrMap.js?ver=39"></script>

With the VFR map I can restart the flight and it read the changes.

I'm not sure what the best way to reload a gauge is, perhaps the airplane editor reload function will cause a full reload?
 
HTML:
<script type="text/javascript" src="GameVFRMap.js?ver=3"></script>
<script type="text/javascript" src="CustomizedVfrMap.js?ver=39"></script>

Good point! I'll give that a shot when I get back to it. I did try all of the reload/rebuild functions in dev mode and it didn't seem to do anything.
 
I'm not sure what the best way to reload a gauge is, perhaps the airplane editor reload function will cause a full reload?

It worked! Thanks! All I have to do now is reload the aircraft via Aircraft Selector and it updates.
 
Back
Top