Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Question about the add-on xml

Featured Replies

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?

  • 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 by Lorby_SI

LORBY-SI

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.