Jump to content
Sign in to follow this  
Ramasurinen

Noob question about XML variables

Recommended Posts

Greetings. I'd like to ask if anyone knows of a way to adjust the amount of fuel in a tank with an xml gauge?In the FSX sdk docs, it states that the variables for: "fuel tank center level" and its peers are "settable" variables, using a normalized percentage of maximum capacity as set in the aircraft.cfg file. It doesn't however state anywhere just how to "set" them.I'm able to use expressions to set normal "K:" sim events just fine, but this one is new to me. Is it possible to write to this variable through XML, or is it in the domain of simconnect only?Basically I'm trying to get an XML gauge to adjust the CG of an aircraft in realtime by adding or subtracting fuel or payload from various stations. Payload seems to be a no go, but this one? Boggles.Cheers, and thanks!


Mike Johnson - Lotus Simulations

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...