December 12, 20169 yr Hi, 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 --> <Element> <Position X="1" Y="1"/> <Image Name="CompassStrip.bmp"> <!-- Size = 520 x 40, white text on black BMP --> <Nonlinearity> <Item Value="0" X="440" Y="0"/> <Item Value="359" X="81" Y="0"/> </Nonlinearity> </Image> <MaskImage Name="CompassWindow.bmp"> <!-- Size = 100 x 40, black BMP --> <Axis X="50" Y="0"/> </MaskImage> <Shift> <Value>(L:KK_Compass,number)</Value> </Shift> </Element> <Element> <Position X="50" Y="0"/> <Image Name="CompassLine.bmp"> <!-- Size = 2 x 40, white BMP --> </Image> </Element> </Gauge> 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: http://www.avsim.com/topic/445943-kohlsman-strip-not-showing-in-customized-gauge/?p=3025479 Same thing, no tape in gauge, just black with my white centerline. Robert P.S.: The size lines were added as comments to help here, they are not part of my source.
Archived
This topic is now archived and is closed to further replies.