Archived

This topic is now archived and is closed to further replies.

Guest doia

The Invisible XML Gauge

Recommended Posts

This is my XML code, it displays fine in FSPS and I don't see anything wrong with it, but whenever I run FSX the gauge doesn't show

<?xml version="1.0" encoding="utf-8"?><Gauge Name="ADI_annunciator" Version="1.0"><Image Name="adi.bmp"/><Element>	<Position X="137" Y="168"/>	<Select>	   <Expression>	      <Minimum>0.000</Minimum>	      <Maximum>1.000</Maximum>	      <script>(A: Autopilot Vertical Hold, bool)<script>	   </Expression>	   <Case>	      <ExpressionResult>0.000</ExpressionResult>	      <Image Name="alt_vrt_off.bmp"/> 	   </Case>	   <Case>	      <ExpressionResult>1.000</ExpressionResult>	      <Image Name="alt_vrt_on.bmp"/>	   </Case>	</Select></Element><Mouse>   <Tooltip ID="Attitude Indicator"/></Mouse></Gauge>

Can anyone please help me debug this?

Share this post


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

Try placing the gauge somewhere else. If you tried to place the gauge say, on top of the ADI, which will surely have a "masked" image, the updating of the ADI will keep the annunciator from showing.Roman

Share this post


Link to post
Share on other sites