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.

FS9 XML MFD-PFD

Featured Replies

  • Commercial Member

Alright I'm trying to built a PFD gauge similar to that of the G1000, it will have the full length of the top half of the screen with a horizon. I've built the appropriate masks and what not, I can get it to show like I want to but for some odd reason it will not work like I want it to. The horizon is completely not functional, it won't show the pitch bmp for some reason, the graphic is all chopped up so to speak as if a bunch of images are being drawn on top of the other all in swirls with random black lines all over - everything shifting in some odd order as I fly. :( :( I can say that I've experience with build PFD, many, many PFD's, but this one is proving very trouble some.Here is the code I'm using:

<Gauge Name="LCD-MFD" Author="Engjell Berisha">  <Image Name="LCD-MFD-BACK.bmp"/>      <!--==================================PFD==================================-->      <!--==================================PFD==================================-->      <!--==================================PFD==================================-->      <!--==================================PFD==================================-->      <!--==================================PFD==================================-->  <Element>    <Size X="880" Y="1080"/>    <Image Name="LCD-MFD-BACK.bmp"/>  <Element>    <MaskImage Name="LCD-MFD-PFD-BANK-MASK.bmp" Bright="Yes">      <Axis X="440" Y="540"/>    </MaskImage>    <Image Name="LCD-MFD-PFD-ATT-BANK.bmp" Bright="Yes">      <Axis X="440" Y="2000"/>    </Image>    <Shift>      <Value Minimum="-90" Maximum="90">(A:Attitude indicator pitch degrees, degrees) /-/</Value>    <Scale Y="11"/>    </Shift>    <Rotate>      <Value>(A:Attitude indicator bank degrees, radians)</Value>    </Rotate>  </Element>  <Element>    <MaskImage Name="LCD-MFD-PFD-ROLL-MASK.bmp" Bright="Yes">      <Axis X="440" Y="540"/>    </MaskImage>    <Image Name="LCD-MFD-PFD-ATT-ROLL.bmp" Bright="Yes">      <Axis X="440" Y="2000"/>    </Image>    <Shift>      <Value Minimum="-90" Maximum="90">(A:Attitude indicator pitch degrees, degrees) /-/</Value>      <Scale Y="11"/>    </Shift>    <Rotate>      <Value>(A:Attitude indicator bank degrees, radians)</Value>    </Rotate>  </Element>  <Element>    <Position X="0" Y="0"/>    <Image Name="LCD-MFD-PFD-FRAME.bmp" Bright="Yes"/>  </Element>  <Element>    <Position X="425" Y="272"/>    <Image Bright="Yes" Name="LCD-MFD-PFD-BANK-PNT.bmp">      <Axis X="15" Y="0"/>    </Image>    <Rotate>      <Value>(A:Attitude Indicator Bank Degrees, radians)</Value>    </Rotate>  </Element>  </Element>  <copyright>©2009 Engjell Berisha</copyright></Gauge>

And the Dimensions of the images I'm using are as follows:LCD-MFD-BACK.bmp 880,1080LCD-MFD-PFD-ATT-BANK 880,4000LCD-MFD-PFD-ATT-ROLL 880,4000LCD-MFD-PFD-BANK-MASK 880,1080LCD-MFD-PFD-ROLL-MASK 880,1080Any help would be greatly appreciated!

Good Day,

Engjell Berisha

 

Angel-Simulations-Small.png

Hi there!I think you have to include the image you want to rotate/shift in the element the mask you use is placed in as in the following code:

         <Element>            <MaskImage Name="PFD_Att_Mask.bmp" Bright="Yes" ImageSizes="158,163">               <Axis X="79.5" Y="82.5"/>            </MaskImage>            <Image Name="PFD_Att_Vertical.bmp" Bright="Yes" ImageSizes="238,1440">               <Axis X="119.5" Y="720.5"/>            </Image>            <Shift>               <Value Minimum="-90" Maximum="90">(A:Attitude indicator pitch degrees, degrees) /-/</Value>               <Scale Y="3.3"/>            </Shift>            <Rotate>               <Value>(A:Attitude indicator bank degrees, radians)</Value>            </Rotate>         </Element>

Hope this will be useful.Javier

Create an account or sign in to comment

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.