Sign in to follow this  

Compass tape not showing

Recommended Posts



My first time trying to make a tape shift.  Any idea why the compass remains a black box with only the white line in the center?


<Gauge Name="Compass" Version="1.0">
  <Image Name="Compassbackground.bmp"/>
  <!-- Size = 102 x 42, black BMP -->
    <Position X="1" Y="1"/>
    <Image Name="CompassStrip.bmp">
    <!-- Size = 520 x 40, white text on black BMP -->
        <Item Value="0" X="440" Y="0"/>
        <Item Value="359" X="81" Y="0"/>
    <MaskImage Name="CompassWindow.bmp"> 
    <!-- Size = 100 x 40, black BMP -->
     <Axis X="50" Y="0"/>
    <Position X="50" Y="0"/>
    <Image Name="CompassLine.bmp">
    <!-- Size = 2 x 40, white BMP -->




LUA displays 58 degrees onscreen (taken from offset x2B00 and rounded), this matches the existing compass reading.


I've tried painting the Mask file 1,1,1 as indicated here:


Same thing, no tape in gauge, just black with my white centerline.





P.S.: The size lines were added as comments to help here, they are not part of my source.

Share this post

Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this