plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


For HUDs issues management, please read the article here !

Idea

mamudesign avatar image
mamudesign suggested FlyingsCool commented

Exclusions and content.xml

Already posted as a question, maybe with idea could have much more follow up s


Exclusion and Content.xml

Talking about exclusionerectangles, I think that something more about scenery loading /priority should be documented


infact


as per sdk docs notes:


IMPORTANT! This object will not exclude anything from the current package being edited. It is only valid for removing things from a previously loaded package, and is dependent on the package load order. So, packages loaded after the package with the exclusion rectangle will be rendered as normal, and packages loaded before the package with the exclusion rectangle will have elements excluded.




you are talking about loading order, but we don't know the rules of the order.


I can assume that loading order is based on Content.xml, but then we have a issue with this:


according to my findings, you are building the file making sure that


- fs-base related scenery is loaded firs


- than you load up "Official" packages, order alphabetically


- than its Community folder turn




This makes sense, BUT, everytime a new package is added (either in the community or the Official), that package is added at the end of the Content.xml


So, if I have a scenery with a nice exlude rectangle to make sure a further Microsoft/Asobo/Gaya POI want be above mine, and then a World Update comes with their shiny POIs, we now have 2 POI over each other (or LibraryObject or whatever)


Maybe, in the next world update you would consider rebuilding the content.xml ? Could be a nice solution.


Also, if the content.xml is so important, you can maybe provide a tools in the sim (basic tool, no developer one) where one could decide the priority of his installaed packages (like old school fs9 one)




Last but not least, it could be fine if you can make excluderectangle do their work in the scenery editor, at the moment the only way to see them in action is by compiling them e putting in Community (but that can be a problem on my side..)...or, according to the above finding, could be really difficult to do :D




Thanks so much for all the work your are doing!

scenery
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Paavo avatar image
Paavo commented

manifest.json configuration file has a way to define dependencies.
This is from asobo-aircraft-c152 package:

  "dependencies": [
    {
      "name": "fs-base-propdefs",
      "package_version": "0.1.2"
    }
  ]

It would be great if MSFS built dependency tree on start and loaded packages in the order they depend on each other.

10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingsCool avatar image
FlyingsCool commented

As I noted in the other thread, I think the only real fix is to expose the contents of the contents.xml in an interface and allow users to edit the order. As clunky as the interface in FSX was, it worked, and was extremely important for managing scenery addons.

10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write a Comment

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Your Opinion Counts

Share your great idea, or help out by voting for other people's ideas.