- Messages
- 8,893
This thread is about certain coding in a decompiled AP9/APX bgl that is not honored by FS even though some records and the SDK tell us what we can place in the record for a proper compile. Just because the compile process will create a bgl without errors does not mean that what was changed is honored when FS is running.
I will start with some altitude issues and then add additional post which will work through all areas not honored or cause problems.
The most important altitudes that SDE decompiles are the 3 that I am listing. I will address other altitudes in other areas later and what effects they have on a running FS9/FSX but first things first.
<Airport
country="United States"
state="Georgia"
city="Savannah"
name="Savannah/Hilton Head Intl"
lat="32.127583399415"
lon="-81.2021389603615"
alt="50.0F"
magvar="6"
trafficScalar="1"
airportTestRadius="5000.0M"
ident="KSAV"
<Runway
lat="32.1286137029529"
lon="-81.2036901712418"
alt="50.0F"
<Start
type="RUNWAY"
lat="32.1287478134036"
lon="-81.2182947993279"
alt="50.0F"
Every altitude listed in a decompiled Airport Record as seen with SDE is normally used for some sort of control or proper behavior of default or added scenery that is stationary or moves. Yes, some scenery in FS9/FSX is designed to move such as a AI Plane.
There may have to be some form of locking device in SDE that either does not allow these 3 altitudes to be different or a message explaining that the visual and behavior of FS9/FSX can be corrupted if these 3 altitudes are different from each other.
In the early days of FS9, scenery designers developed the Orgas Islands. After the release it was noted by many that airplanes were not sitting properly on the ground at Diamond Point airport. Peter McLeland found a work around to fix the 3rd party scenery problem which some of the work around is still used today in 3rd party scenery design.
You can read his findings about Airport/Runway altitudes here
http://www.fsaddon.com/download_instr_1.htm
Dick (rhumbaflappy) also adds to Peters instructions that the entire duplicate bgl, AFCAD or in our case the SDE records do not need to be copied to the beginning of the scenery load process. See his post here
http://www.fsdeveloper.com/forum/showthread.php?p=22031#post22031
For those that want to use SDE and change the default Airport altitude and then compile back into the AP9/APX default bgl I have a message from the ACES group. I call this my no-no text file
The Start Location altitude is also important and must always be the same as the Airport/Runway. Start Location is not the best descriptive name because it is also the End Location.
Every Flightplan generated must terminate somewhere. The Start Location of a runway is used at the end of the FP for that coding.
FS9/FSX also calculates the closest Start Location (runway end) based on the direction the aircraft is arriving from for landing. ATC intervenes and will change the ending location of the actual flight but not the FP which is based on many additional factors (weather, winds coded default runway, ILS vs visual runway, etc.).
It has been documented that if the Start Location altitude does not agree with the Airport/Runway altitudes the FP can be cancelled by ATC unexpectantly (enroute) or ATC may consider at times that the runway is closed.
It is more of a ATC confusing issue then a code that can be safely used. There is a proper way to close one end of a runway in FS9/FSX but that will be later based on other areas of the decompiled bgl which are not honored.
I will start with some altitude issues and then add additional post which will work through all areas not honored or cause problems.
The most important altitudes that SDE decompiles are the 3 that I am listing. I will address other altitudes in other areas later and what effects they have on a running FS9/FSX but first things first.
<Airport
country="United States"
state="Georgia"
city="Savannah"
name="Savannah/Hilton Head Intl"
lat="32.127583399415"
lon="-81.2021389603615"
alt="50.0F"
magvar="6"
trafficScalar="1"
airportTestRadius="5000.0M"
ident="KSAV"
<Runway
lat="32.1286137029529"
lon="-81.2036901712418"
alt="50.0F"
<Start
type="RUNWAY"
lat="32.1287478134036"
lon="-81.2182947993279"
alt="50.0F"
Every altitude listed in a decompiled Airport Record as seen with SDE is normally used for some sort of control or proper behavior of default or added scenery that is stationary or moves. Yes, some scenery in FS9/FSX is designed to move such as a AI Plane.
There may have to be some form of locking device in SDE that either does not allow these 3 altitudes to be different or a message explaining that the visual and behavior of FS9/FSX can be corrupted if these 3 altitudes are different from each other.
In the early days of FS9, scenery designers developed the Orgas Islands. After the release it was noted by many that airplanes were not sitting properly on the ground at Diamond Point airport. Peter McLeland found a work around to fix the 3rd party scenery problem which some of the work around is still used today in 3rd party scenery design.
You can read his findings about Airport/Runway altitudes here
http://www.fsaddon.com/download_instr_1.htm
Dick (rhumbaflappy) also adds to Peters instructions that the entire duplicate bgl, AFCAD or in our case the SDE records do not need to be copied to the beginning of the scenery load process. See his post here
http://www.fsdeveloper.com/forum/showthread.php?p=22031#post22031
For those that want to use SDE and change the default Airport altitude and then compile back into the AP9/APX default bgl I have a message from the ACES group. I call this my no-no text file
ACES says
As you know, currently, you have to preload FS with a basic Airport Header with the new altitude data loaded before the default airport, and then use a second Airport Header record to lay out the redesigned airport. To remove existing flattens, change airport altitudes, etc. you currently would have to edit the MS default bgl codes. A big no-no.
The Start Location altitude is also important and must always be the same as the Airport/Runway. Start Location is not the best descriptive name because it is also the End Location.
Every Flightplan generated must terminate somewhere. The Start Location of a runway is used at the end of the FP for that coding.
FS9/FSX also calculates the closest Start Location (runway end) based on the direction the aircraft is arriving from for landing. ATC intervenes and will change the ending location of the actual flight but not the FP which is based on many additional factors (weather, winds coded default runway, ILS vs visual runway, etc.).
It has been documented that if the Start Location altitude does not agree with the Airport/Runway altitudes the FP can be cancelled by ATC unexpectantly (enroute) or ATC may consider at times that the runway is closed.
It is more of a ATC confusing issue then a code that can be safely used. There is a proper way to close one end of a runway in FS9/FSX but that will be later based on other areas of the decompiled bgl which are not honored.


