October 2, 20214 yr Hi guys I haven't looked into this much before so i'm wondering if someone would kindly explain this to me. In my P3D V5 addons folder they all have an XML file to be in the sim, When i look at some of them i notice that some have a LAYER followed by a random number, One has 164 and another has just 4. I don't have 164 add-ons installed so how is it possible to be that high? Just one other thing, Why is it some have this layer in the XMl and some addons don't?
October 3, 20214 yr Commercial Member 10 hours ago, Mejjo said: I don't have 164 add-ons installed so how is it possible to be that high? The "Layer" is a global property of (only) the scenery library. With the default library you already have ~130 layer numbers in place, and your addon scenery goes on top of that. The Layer controls the sequence in which scenery assets are used, which part goes "on top" of another one. For example an addon airport must have a higher layer number than its default counterpart, otherwise you won't see it (or you see both, that also happens a lot when Layering is not correct). 10 hours ago, Mejjo said: Why is it some have this layer in the XMl and some addons don't? Only scenery components have Layers, and that field is not mandatory. If the layer is not present in a scenery component, then it just goes on top of the currently loaded library. The P3D Learning Center has a section about this: "Software Development Kit (SDK) -> Add-ons" Edit: the Layers are the actual implementation of the fake scenery "priority" column that you see on the P3D "Scenery Library" dialog. That "priority" doesn't exist in the config files, what you do on that dialog is translated into the layers. The numerical sequences of "priority" and "layers" are exactly opposite to each other, that is also a trap to be aware of. Finally, you cannot change the priority/layer of an add-on.xml based asset with the "Scenery Library" dialog in P3D. And to enable/disable an addon, you have to go to "Options->Add-ons", that is also not possible on the library dialog. Edited October 3, 20214 yr by Lorby_SI LORBY-SI
Archived
This topic is now archived and is closed to further replies.