- Messages
- 531
- Country
I develop gauges in Javascript. As I came through a strange bug, I used the debugger to place breakpoints here and there. I happened to look into NavSystem.js, a source file provided by Asobo and when I saw it in the debugger, I realized the one I was using was not the original source file provided by Asobo. This is because the PMS50 add-on is installed in my Community folder, which also has his own NavSystem.js modified by its author.
I find this quite strange... I can't understand why MSFS takes this modified version instead of the original one. The way I use this file is by declaring it in my HTML file like this:
I even think it is dangerous because the modifications made by the author may impact the way other add-ons work, there is no better way to bring incompatibility between add-ons...
In addition, I also have the Working Title CJ4, which also has its own NavSystem.js file, so how can they make sure their file is used instead of another one?
In fact, the main question is: How can I make sure the Asobo original source files are used with my add-on?
I find this quite strange... I can't understand why MSFS takes this modified version instead of the original one. The way I use this file is by declaring it in my HTML file like this:
<script type="text/html" import-script="/Pages/VCockpit/Instruments/NavSystems/Shared/NavSystem.js"></script>
I even think it is dangerous because the modifications made by the author may impact the way other add-ons work, there is no better way to bring incompatibility between add-ons...
In addition, I also have the Working Title CJ4, which also has its own NavSystem.js file, so how can they make sure their file is used instead of another one?
In fact, the main question is: How can I make sure the Asobo original source files are used with my add-on?