- Messages
- 18
- Country

Hi everyone,
Jon pointed me to FSDevelopers for some help regarding ILS code, it seems the smart people are on this forum
I’ve been able to use the sample navdata xml to get RNAV to work on my airport successfully.
However for some reason I’m not able to get ILS to work without the game to crash if I select ILS as approach on the map or when using it “ingame” on the mcdu.
Would someone be willing to have a quick look and see if you notice a mistake on my side?
<Ils lat="51.46264214643296" lon="5.38847719873592" alt="16" heading="35" frequency="109.750" magvar="0.0" ident="EHZ" width="5.0" name="ILS 03"/>
<Ils lat="51.43754817602908" lon="5.36035286546155" alt="16" heading="215" frequency="109.750" magvar="0.0" ident="EHO" width="5.01" name="ILS 21"/>
<Waypoint lat="51.408056" lon="5.327500" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH558"/>
<Waypoint lat="51.540000" lon="5.475556" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH567"/>
<Waypoint lat="51.564167" lon="5.502778" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH568"/>
<Waypoint lat="51.621944" lon="5.202500" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH582"/>
<Waypoint lat="51.511389" lon="5.443333" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH584"/>
<Waypoint lat="51.341111" lon="5.859167" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH585"/>
<Waypoint lat="51.504444" lon="5.896944" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH589"/>
<Waypoint lat="51.603333" lon="5.856389" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH591"/>
<Waypoint lat="51.620000" lon="5.345000" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH594"/>
<Waypoint lat="51.510556" lon="5.706667" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH596"/>
<Waypoint lat="51.546639" lon="5.646175" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="GEMTI"/>
<Approach type="RNAV" runway="21" fixType="TERMINAL_WAYPOINT" fixRegion="EH" fixIdent="EH567" altitude="2000.0F" heading="215" missedAltitude="3000.0F">
<ApproachLegs>
<Leg type="IF" fixType="WAYPOINT" fixRegion="EH" fixIdent="GILIV" altitudeDescriptor="+" altitude1="2000.0F"/>
<Leg type="TF" fixType="TERMINAL_WAYPOINT" fixRegion="EH" fixIdent="EH567" flyOver="FALSE" magneticCourse="0.0" altitudeDescriptor="+" altitude1="2000.0F"/>
<Leg type="TF" fixType="RUNWAY" fixRegion="EH" fixIdent="RW21" flyOver="TRUE" magneticCourse="0.0" altitudeDescriptor="A" altitude1="26.0F"/>
</ApproachLegs>
<MissedApproachLegs>
<Leg type="CA" magneticCourse="95.0" altitudeDescriptor="+" altitude1="2000.0F"/>
<Leg type="DF" fixType="WAYPOINT" fixRegion="EH" fixIdent="EH558" flyOver="TRUE" turnDirection="R" altitudeDescriptor="+" altitude1="3000.0F"/>
<Leg type="HM" fixType="WAYPOINT" fixRegion="EH" fixIdent="EH558" turnDirection="R" magneticCourse="214" distance="4.0N" altitudeDescriptor="+" altitude1="3000.0F"/>
</MissedApproachLegs>
</Approach>
<Approach type="ILS" runway="21" fixType="TERMINAL_WAYPOINT" fixRegion="EH" fixIdent="EH584" altitude="1330.0F" heading="215" missedAltitude="5000.0F">
<ApproachLegs>
<Leg type="IF" fixType="WAYPOINT" fixRegion="EH" fixIdent="EH568" recommendedType="LOCALIZER" recommendedRegion="EH" recommendedIdent="EHO" theta="215" rho="7.9N" altitudeDescriptor="I" altitude1="2000.0F" altitude2="2000.0F"/>
<Leg type="CF" fixType="TERMINAL_WAYPOINT" fixRegion="EH" fixIdent="EH584" flyOver="FALSE" recommendedType="LOCALIZER" recommendedRegion="EH" recommendedIdent="EHO" theta="215" rho="7.300000000000001N" magneticCourse="215" distance="4.0N" altitudeDescriptor="A" altitude1="1330.0F"/>
<Leg type="CF" fixType="RUNWAY" fixRegion="EH" fixIdent="RW21" flyOver="TRUE" recommendedType="LOCALIZER" recommendedRegion="EH" recommendedIdent="EHO" theta="215" rho="1.4000000000000001N" magneticCourse="215" distance="5.9N" altitudeDescriptor="A" altitude1="16.0F"/>
</ApproachLegs>
</Approach>
so while RNAV in this the code above does work, ILS doesn’t and crashes the game.
It’s pretty much a copy of the sample xml file for navdata, so I’m not sure where I’m failing?
Just for your information, I'm currently building Eindhoven Airport which is missing from the game, using Custom designed buildings (no googlemaps copies)



Jon pointed me to FSDevelopers for some help regarding ILS code, it seems the smart people are on this forum
I’ve been able to use the sample navdata xml to get RNAV to work on my airport successfully.
However for some reason I’m not able to get ILS to work without the game to crash if I select ILS as approach on the map or when using it “ingame” on the mcdu.
Would someone be willing to have a quick look and see if you notice a mistake on my side?
<Ils lat="51.46264214643296" lon="5.38847719873592" alt="16" heading="35" frequency="109.750" magvar="0.0" ident="EHZ" width="5.0" name="ILS 03"/>
<Ils lat="51.43754817602908" lon="5.36035286546155" alt="16" heading="215" frequency="109.750" magvar="0.0" ident="EHO" width="5.01" name="ILS 21"/>
<Waypoint lat="51.408056" lon="5.327500" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH558"/>
<Waypoint lat="51.540000" lon="5.475556" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH567"/>
<Waypoint lat="51.564167" lon="5.502778" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH568"/>
<Waypoint lat="51.621944" lon="5.202500" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH582"/>
<Waypoint lat="51.511389" lon="5.443333" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH584"/>
<Waypoint lat="51.341111" lon="5.859167" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH585"/>
<Waypoint lat="51.504444" lon="5.896944" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH589"/>
<Waypoint lat="51.603333" lon="5.856389" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH591"/>
<Waypoint lat="51.620000" lon="5.345000" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH594"/>
<Waypoint lat="51.510556" lon="5.706667" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="EH596"/>
<Waypoint lat="51.546639" lon="5.646175" magvar="0.0" waypointType="NAMED" waypointRegion="EH" waypointIdent="GEMTI"/>
<Approach type="RNAV" runway="21" fixType="TERMINAL_WAYPOINT" fixRegion="EH" fixIdent="EH567" altitude="2000.0F" heading="215" missedAltitude="3000.0F">
<ApproachLegs>
<Leg type="IF" fixType="WAYPOINT" fixRegion="EH" fixIdent="GILIV" altitudeDescriptor="+" altitude1="2000.0F"/>
<Leg type="TF" fixType="TERMINAL_WAYPOINT" fixRegion="EH" fixIdent="EH567" flyOver="FALSE" magneticCourse="0.0" altitudeDescriptor="+" altitude1="2000.0F"/>
<Leg type="TF" fixType="RUNWAY" fixRegion="EH" fixIdent="RW21" flyOver="TRUE" magneticCourse="0.0" altitudeDescriptor="A" altitude1="26.0F"/>
</ApproachLegs>
<MissedApproachLegs>
<Leg type="CA" magneticCourse="95.0" altitudeDescriptor="+" altitude1="2000.0F"/>
<Leg type="DF" fixType="WAYPOINT" fixRegion="EH" fixIdent="EH558" flyOver="TRUE" turnDirection="R" altitudeDescriptor="+" altitude1="3000.0F"/>
<Leg type="HM" fixType="WAYPOINT" fixRegion="EH" fixIdent="EH558" turnDirection="R" magneticCourse="214" distance="4.0N" altitudeDescriptor="+" altitude1="3000.0F"/>
</MissedApproachLegs>
</Approach>
<Approach type="ILS" runway="21" fixType="TERMINAL_WAYPOINT" fixRegion="EH" fixIdent="EH584" altitude="1330.0F" heading="215" missedAltitude="5000.0F">
<ApproachLegs>
<Leg type="IF" fixType="WAYPOINT" fixRegion="EH" fixIdent="EH568" recommendedType="LOCALIZER" recommendedRegion="EH" recommendedIdent="EHO" theta="215" rho="7.9N" altitudeDescriptor="I" altitude1="2000.0F" altitude2="2000.0F"/>
<Leg type="CF" fixType="TERMINAL_WAYPOINT" fixRegion="EH" fixIdent="EH584" flyOver="FALSE" recommendedType="LOCALIZER" recommendedRegion="EH" recommendedIdent="EHO" theta="215" rho="7.300000000000001N" magneticCourse="215" distance="4.0N" altitudeDescriptor="A" altitude1="1330.0F"/>
<Leg type="CF" fixType="RUNWAY" fixRegion="EH" fixIdent="RW21" flyOver="TRUE" recommendedType="LOCALIZER" recommendedRegion="EH" recommendedIdent="EHO" theta="215" rho="1.4000000000000001N" magneticCourse="215" distance="5.9N" altitudeDescriptor="A" altitude1="16.0F"/>
</ApproachLegs>
</Approach>
so while RNAV in this the code above does work, ILS doesn’t and crashes the game.
It’s pretty much a copy of the sample xml file for navdata, so I’m not sure where I’m failing?
Just for your information, I'm currently building Eindhoven Airport which is missing from the game, using Custom designed buildings (no googlemaps copies)





