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 on <Layer>

Featured Replies

Hi Oliver,

I have a question concerning  "layer" for scenery type "altitude", where one want to position the scenery (usually  airport_alt.bgl) to override the default simulator altitude (below Scenery\0000).

When I specify "layer=3" I noticed that P4AO (or Prepar3D ?) modifies this layer number (apparently to avoid duplicate layer numbers).
But this lead, when adding new sceneries, to progressively shift the scenery rank and defeat the initial intention of keeping grouped all such special sceneries at the same level.

How can I ensure that layer=3 will remain untouched ?

Am I missing something ?

Thanks - Regards

Gérard

Edited by gaab

  • Commercial Member

Hello Gérard,

  • turn off "Auto Layer" in P4AO
    or
  • don't create a new base layer entry every time. I am using only two and I just drop the BGLs in there.

I'm not sure that I understand the issue though. The numerical value of the layers is of no consequence, only the sequential order is. The Layer is only a variable attribute, it cannot be used for other purposes, like grouping - it changes too easily for that, and it doesn't even have to be there.

Best regards 

 

Edited by Lorby_SI

LORBY-SI

  • Author
4 hours ago, Lorby_SI said:

Hello Gérard,

  • turn off "Auto Layer" in P4AO

 

Thanks - that was my error !

Just to better explain my initial concern (nothing to do with "grouping" - wrong use of the word on my side...)

the <Layer> key word is used by some payware scenery airports to insure proper altitude setting (and only there), in line with LM documentation.

Layer
(Scenery Category Only)     

The layer of the scenery area component starting at one, where higher numbered layers take precendence over lower numbered layers. Add-on sceneries typically do not specify a layer and it is assumed that they should be the topmost layer.     

Default value
An integer representing a layer one higher than the top layer 
Examples

<AddOn.Component>
  ...
  <Layer>1</Layer>
  ...
</AddOn.Component>
(A scenery component whose layer is the base scenery layer)

Thanks for your great help (as usual) 🙂

Gérard

  • Commercial Member

Hello Gérard,

that is not the point I was trying to make. It doesn't matter at all if the base layers that are used for altitude correction have Layer number 3,4,5,6 or whatever - as long as they are below everything else. It will not have any effect when you turn AutoLayer off. There is no special secret functionality associated with Layer 3 - it just happens to be the default location. If you leave Autolayer on, then a new base layer add-on.xml entry will get layer 4 - but at the same time all other sceneries are shifted up by 1 too, and layer 4 is again below everything else.

Best regards

 

LORBY-SI

  • Author

Hello Oliver,

5 hours ago, Lorby_SI said:

as long as they are below everything else

It is because I found my "FlyTamp-Kay Tak-World" scenery raised above "003 Base", much too high to set the airport base altitude, that I opened this topic.

I agree that Layer 3 is a convention, but that's the one apparently adopted by airport payware suppliers...

I still wait that ORBX solves all its problems (including with LM) before re-installing everything : I am sloooowly preparing my migration to W10....

Regards - Gérard

 

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.