• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Plane icon not showing in bitmap

Messages
62
Country
unitedkingdom
Hello,

I downloaded an addon which is an in flight entertainment screen. It's installed as a 2D panel and it has a moving map with information about time, temperature, distance, etc.

When it cycles to the map, the plane icon is not showing and I tried contacting the developer however his email no longer exists.

It seems like that there's something missing the .xml file and I'm curious to see what the solution may be. Down below is the xml.

Many thanks,

Acer (Ignore the smiley faces, that's supposed to be ":D"


<?xml version="1.0" encoding="UTF-8"?>

<SimBase.Document
Type="AceXML"
version="1,0"
id="InFlightData">
<Descr>AceXML Document</Descr>
<Filename>InFlightData.xml</Filename>
<SimGauge.Gauge id="Gauge" ArtDirectory="C:\Documents and Settings\ADRIAN\My Documents\New Gauges\InFlightEntertainment">
<FloatPosition>0.000,0.000</FloatPosition>
<Update_When_Hidden>True</Update_When_Hidden>
<Image id="InFlightDataScreen.bmp" Name="InFlightDataScreen.bmp">
<Transparent>True</Transparent>
</Image>
<Macro id="Call GPS Routines" Name="c">
<MacroValue>C:fs9gps</MacroValue>
</Macro>
<Macro id="Call GPS_2D_Map Routines" Name="g">
<MacroValue>C:fs9gps:1</MacroValue>
</Macro>
<Update id="Distance_To_Destination_Calculations">
<Script>(A:GPS IS ACTIVE FLIGHT PLAN, bool) if{ (A:GPS FLIGHT PLAN WP Count, number) 1 - (&gt;@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointRemainingTotalDistance, kilometers) (&gt;L:DistToDest, kilometers) } </Script>
</Update>
<Update id="Estimated_Remaining_Flight_Time_ Calculations">
<Script>(A:GPS IS ACTIVE FLIGHT PLAN, bool) if{ (A:GPS FLIGHT PLAN WP Count, number) 1 - (&gt;@c:FlightPlanWaypointIndex) (@c:FlightPlanWaypointEstimatedTimeRemaining, hours) (&gt;L:FlyingTimeLeftHours, hours) (@c:FlightPlanWaypointEstimatedTimeRemaining, minutes) flr 60 % (&gt;L:FlyingTimeLeftMinutes, minutes) } </Script>
</Update>
<Update id="Time_At_Destination_Calculations">
<Script>(A:GPS IS ACTIVE FLIGHT PLAN, bool) if{ (A:GPS FLIGHT PLAN WP Count, number) 1 - (&gt;@c:FlightPlanWaypointIndex) (@c:FlightPlanDestinationLongitude) (&gt;L:DestLongitude, degrees) (@c:FlightPlanWaypointTimeZoneDeviation, hours) (&gt;L:TimeDiffHours, hours) (@c:FlightPlanWaypointTimeZoneDeviation, minutes) flr 60 % (&gt;L:TimeDiffMinutes, minutes) (L:DestLongitude, degrees) 0 == if{ (E:ZULU TIME, hours) (&gt;L:DestTimeHours, hours) (E:ZULU TIME, minutes) flr 60 % (&gt;L:DestTimeMinutes, minutes) } els{ (L:DestLongitude, degrees) 0 &gt; if{ (E:ZULU TIME, hours) (L:TimeDiffHours, hours) + 24 &gt;= if{ (E:ZULU TIME, hours) (L:TimeDiffHours, hours) + 24 - (&gt;L:DestTimeHours, hours) } els{ (E:ZULU TIME, hours) (L:TimeDiffHours, hours) + (&gt;L:DestTimeHours, hours) } (E:ZULU TIME, minutes) flr 60 % (L:TimeDiffMinutes, minutes) + (&gt;L:DestTimeMinutes, minutes) } els{ (E:ZULU TIME, hours) (L:TimeDiffHours, hours) &gt;= if{ (E:ZULU TIME, hours) (L:TimeDiffHours, hours) - (&gt;L:DestTimeHours, hours) } els{ (E:ZULU TIME, hours) 24 + (L:TimeDiffHours, hours) - (&gt;L:DestTimeHours, hours) } (E:ZULU TIME, minutes) flr 60 % (L:TimeDiffMinutes, minutes) - (&gt;L:DestTimeMinutes, minutes) } } </Script>
</Update>
<Update id="UpdateScreens">
<Script>(L:Init, number) 0 == if{ (E:LOCAL TIME, seconds) (&gt;L:Timer, seconds) 1 (&gt;L:Init, number) 1 (&gt;L:ScreenNumber, number) } (L:Init, number) 1 == if{ (L:Timer, seconds) (E:LOCAL TIME, seconds) - abs 10 &gt; if{ (L:ScreenNumber, number) 4 == if{ 1 (&gt;L:ScreenNumber, number) 0 (&gt;L:Init, number) } els{ (L:ScreenNumber, number) 1 + (&gt;L:ScreenNumber, number) (E:LOCAL TIME, seconds) (&gt;L:Timer, seconds) } } } </Script>
</Update>
<Element id="Screen1">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(L:ScreenNumber, number) 1 == (L:ScreenNumber, number) 4 == ||</Visibility>
<Element id="Display Distance to destination">
<FloatPosition>50.000,60.000</FloatPosition>
<GaugeText id="Distance to destination">
<Bold>True</Bold>
<Bright>True</Bright>
<FontColor>0x00FFFF</FontColor>
<FontFace>Helvetica</FontFace>
<FontHeight>20</FontHeight>
<GaugeString>Distance to\ndestination %((L:DistToDest, kilometers))%!-5d! km</GaugeString>
<Length>31</Length>
<LineSpacing>35.000</LineSpacing>
<Luminous>True</Luminous>
<Multiline>True</Multiline>
<Size>299,80</Size>
<Transparent>True</Transparent>
<VerticalAlign>CENTER</VerticalAlign>
</GaugeText>
</Element>
<Element id="Display Estimated arrival time">
<FloatPosition>50.000,150.000</FloatPosition>
<GaugeText id="Estimated arrival time">
<Bold>True</Bold>
<Bright>True</Bright>
<FontColor>0x00FFFF</FontColor>
<FontFace>Helvetica</FontFace>
<FontHeight>20</FontHeight>
<GaugeString>Estimated\narrival time %((L:FlyingTimeLeftHours, hours))%!02d! : %((L:FlyingTimeLeftMinutes, minutes))%!02d!</GaugeString>
<Length>27</Length>
<LineSpacing>40.000</LineSpacing>
<Luminous>True</Luminous>
<Multiline>True</Multiline>
<Size>299,80</Size>
<Transparent>True</Transparent>
<VerticalAlign>CENTER</VerticalAlign>
</GaugeText>
</Element>
<Element id="Display Time at destination">
<FloatPosition>50.000,245.000</FloatPosition>
<GaugeText id="Time at destination">
<Bold>True</Bold>
<Bright>True</Bright>
<FontColor>0x00FFFF</FontColor>
<FontFace>Helvetica</FontFace>
<FontHeight>20</FontHeight>
<GaugeString>Time at\ndestination %((L:DestTimeHours, hours))%!02d! : %((L:DestTimeMinutes, minutes))%!02d!</GaugeString>
<Length>27</Length>
<LineSpacing>40.000</LineSpacing>
<Luminous>True</Luminous>
<Multiline>True</Multiline>
<Size>299,80</Size>
<Transparent>True</Transparent>
<VerticalAlign>CENTER</VerticalAlign>
</GaugeText>
</Element>
</Element>
<Element id="Screen2">
<FloatPosition>0.000,0.000</FloatPosition>
<Visibility>(L:ScreenNumber, number) 2 ==</Visibility>
<Element id="Display Ground speed">
<FloatPosition>50.000,60.000</FloatPosition>
<GaugeText id="Ground speed">
<Bold>True</Bold>
<Bright>True</Bright>
<FontColor>0x00FFFF</FontColor>
<FontFace>Helvetica</FontFace>
<FontHeight>20</FontHeight>
<GaugeString>Ground speed %((A:GROUND VELOCITY, kph))%!-3d! km/h</GaugeString>
<Length>25</Length>
<LineSpacing>40.000</LineSpacing>
<Luminous>True</Luminous>
<Size>299,40</Size>
<Transparent>True</Transparent>
<VerticalAlign>CENTER</VerticalAlign>
</GaugeText>
</Element>
<Element id="Display Altitude">
<FloatPosition>50.000,140.000</FloatPosition>
<GaugeText id="Altitude">
<Bold>True</Bold>
<Bright>True</Bright>
<FontColor>0x00FFFF</FontColor>
<FontFace>Helvetica</FontFace>
<FontHeight>20</FontHeight>
<GaugeString>Altitude %((A:pLANE ALTITUDE, meters))%!-5d! m</GaugeString>
<Length>27</Length>
<LineSpacing>40.000</LineSpacing>
<Luminous>True</Luminous>
<Size>299,40</Size>
<Transparent>True</Transparent>
<VerticalAlign>CENTER</VerticalAlign>
</GaugeText>
</Element>
<Element id="Display Outside air temperature">
<FloatPosition>50.000,220.000</FloatPosition>
<GaugeText id="Outside air temperature">
<Bold>True</Bold>
<Bright>True</Bright>
<Fixed>True</Fixed>
<FontColor>0x00FFFF</FontColor>
<FontFace>Helvetica</FontFace>
<FontHeight>20</FontHeight>
<GaugeString>Outside air\ntemperature %((A:AMBIENT TEMPERATURE, celsius))%!-3d! \{dplo= } C</GaugeString>
<Length>31</Length>
<LineSpacing>35.000</LineSpacing>
<Luminous>True</Luminous>
<Multiline>True</Multiline>
<Size>299,80</Size>
<Transparent>True</Transparent>
<VerticalAlign>CENTER</VerticalAlign>
</GaugeText>
</Element>
</Element>
<Element id="Screen3">
<FloatPosition>30.000,30.000</FloatPosition>
<Visibility>(L:ScreenNumber, number) 3 ==</Visibility>
<CustomDraw id="CustomDraw" Name="fs9gps:1:map">
<Size>340,320</Size>
<Bright>True</Bright>
<CustomDrawParam id="UpdateAlways" Name="UpdateAlways">
<Value>1</Value>
</CustomDrawParam>
<CustomDrawParam id="Heading" Name="Heading">
<Value>(A:GPS GROUND TRUE TRACK, Radians)</Value>
</CustomDrawParam>
<CustomDrawParam id="CenterX" Name="CenterX">
<Value>170</Value>
</CustomDrawParam>
<CustomDrawParam id="CenterY" Name="CenterY">
<Value>160</Value>
</CustomDrawParam>
<CustomDrawParam id="Bright" Name="Bright">
<Value>1</Value>
</CustomDrawParam>
<CustomDrawParam id="Zoom" Name="Zoom">
<Value>185200</Value>
</CustomDrawParam>
<CustomDrawParam id="Latitude" Name="Latitude">
<Value>(A:GPS POSITION LAT, Radians)</Value>
</CustomDrawParam>
<CustomDrawParam id="Longitude" Name="Longitude">
<Value>(A:GPS POSITION LON, Radians)</Value>
</CustomDrawParam>
<CustomDrawParam id="LayerTerrain" Name="LayerTerrain">
<Value>1</Value>
</CustomDrawParam>
<CustomDrawParam id="DetailLayerTerrain" Name="DetailLayerTerrain">
<Value>3</Value>
</CustomDrawParam>
<CustomDrawParam id="TerrainShadow" Name="TerrainShadow">
<Value>1</Value>
</CustomDrawParam>
<CustomDrawParam id="LayerFlightPlan" Name="LayerFlightPlan">
<Value>1</Value>
</CustomDrawParam>
<CustomDrawParam id="FlightPlanLineWidth" Name="FlightPlanLineWidth">
<Value>2.5</Value>
</CustomDrawParam>
<CustomDrawParam id="ActiveColorLayerFlightPlan" Name="ActiveColorLayerFlightPlan">
<Value>0x7010B0</Value>
</CustomDrawParam>
<CustomDrawParam id="ColorLayerFlightPlan" Name="ColorLayerFlightPlan">
<Value>0xF0F0F0</Value>
</CustomDrawParam>
</CustomDraw>
</Element>
</SimGauge.Gauge>
</SimBase.Document>
 
When it cycles to the map, the plane icon is not showing ... It seems like that there's something missing ...

True. Take a look at the gauge starting at <Element id="Screen3">. That's the start of the map part and there's no airplane icon .bmp or airplane polygon element included.

Open up the garmin1000 XML gauge MFD_Baron.xml and search for <Element id="Airplane icon"> - that will show you how and where to add in the airplane icon.

Bob
 
When it cycles to the map, the plane icon is not showing ... It seems like that something is missing...

True. Take a look at the gauge starting at <Element id="Screen3">. That's the start of the map part and there's no airplane icon .bmp or airplane polygon element included.

Open up the garmin1000 XML gauge MFD_Baron.xml and search for <Element id="Airplane icon"> - that will show you how and where to add in the airplane icon.

Bob
I have tried to do this but I seem to be struggling as I don't have the airplane icon. What I did was that I copied the line from the Baron.xml and pasted it into the one I'm editing:

<Image id="airplane_icon.bmp" Name="airplane_icon.bmp">
<Transparent>True</Transparent>
<Axis>15.000,10.000</Axis>
<Bright>True</Bright>
</Image>

Paste:
<Element id="Screen3">
<FloatPosition>30.000,30.000</FloatPosition>
<Image id="aircraft_icon.bmp" Name="aircraft_icon.bmp">
<Transparent>True</Transparent>
<Axis>15.000,10.000</Axis>
<Bright>True</Bright>
</Image>

Did I possibly forget to add something else as well?

Acer
 
Back
Top