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!

question

mamudesign avatar image
mamudesign asked FlyingRaccoon commented

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
1 comment
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.

Hello

You should post these suggestions as ideas so people can upvote it. :)

Regards,
Sylvain

0 Likes 0 ·

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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