Jump to content
Sign in to follow this  
Guest

xml fuel

Recommended Posts

HiHave got a "mousearm" by trying to write a string for TOTAL FUEL QUANTITY.I could use a little helpof course i use something like this, but the value is still 0!:%((A:Total Fuel tank quantity, gallons) (A:Fuel weight per gallon, pounds per gallon) *)%!5d! What am i doing wrong? PH-JVH

Share this post


Link to post
Share on other sites
Guest Eugen

Have you checked Arne Bartel's xml guide?within the a_vars.txt there is listing.One of them isFUEL TOTAL QUANTITY WEIGHTis that of any help? BrgdsEugen

Share this post


Link to post
Share on other sites

Hi, thanksWhen i checked Bartels work i found this:%((A:Fuel total quantity, gallons) (A:Fuel weight per gallon, pounds per gallon) *)%!5d!Gives me exactly what i wanted.Was not far away PH-JVH

Share this post


Link to post
Share on other sites
Guest

>Hi >>Have got a "mousearm" by trying to write a string for TOTAL >FUEL QUANTITY. >I could use a little help >of course i use something like this, but the value is still >0!: >>%((A:Total Fuel tank quantity, gallons) (A:Fuel >weight per gallon, pounds per gallon) *)%!5d! >>What am i doing wrong? You are missing a % after 5d!Try this:((A:Fuel Total Capacity,gallons) (A:Fuel Total Quantity,gallons) - )%!4.2f!%

Share this post


Link to post
Share on other sites

Thanks Fr. Bill,Now i know how much fuel left.%((A:Fuel total quantity, gallons) *)%!5d! Do you have the formula for percentage?PH-JVH

Share this post


Link to post
Share on other sites
Guest

>Thanks Fr. Bill, >>Now i know how much fuel left. >>%((A:Fuel total quantity, gallons) *)%!5d! >>Do you have the formula for percentage? Percent fuel remaining would be = (100 - ((total fuel used)/(total fuel available))

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