Jump to content
Sign in to follow this  
Guest sphing

FUEL_TANK_LEFT_MAIN_LEVEL... what is this returned valu

Recommended Posts

Guest sphing

Hi,I'm creating a fuel gauges using .xml and I have been getting an unexpected value from the FUEL_TANK_LEFT_MAIN_LEVEL token variable. (This could also apply to any of the tank level variables)Here are my inputs:Aircraft being modeled: DC-9-41Aircraft.cfg:[fuel]center1=-5.00,-1.0,0.0,896.759,0.0center2=5.00,-1.0,0.0,567.673,0.0leftmain=-5.0,-1.0,-12.0,1357.480,0.0rightmain=-5.0,-1.0,12.0,1357.480,0.0fuel_type=2number_of_tank_selectors=1.xml code for the fuel gauge:(A:Fuel tank left main level,gallons)The problem....the value returned from FUEL_TANK_LEFT_MAIN_LEVEL, when the tank is filled to 100%, should be 1357 gallons but I'm only getting 264 gallons.WHY????Thanks,John

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