Jump to content
Sign in to follow this  
Guest doia

The Invisible XML Gauge

Recommended Posts

Guest doia

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

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


20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Share this post


Link to post
Share on other sites

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...