Sign in to follow this  
GSalden

Where does Fs store the amount of Fuel ?

Recommended Posts

Hi everyone,

 

If I change the amount of fuel in the Fuel & Payload menu, where does Fs store this fuel data ?

It is not in the aircraft.cfg file like the payload ...

 

In the [fuel] sector of the aircraft.cfg file you only will find the max amount of fuel the tanks are able to contain.

Those numbers never change.

 

 

Thanks in advance,

Gerard

 

Share this post


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

Words seemed to be that FSX defaults to full tank with no config option, but would keep fuel onboard number in a saved flight. Tools like FSPassenger do track fuel amount on aircrafts registered in them, though.

Share this post


Link to post
Share on other sites

Mmmm....

Tweak Fs , the Ifly Config Tool are also able to board fuel ...

Share this post


Link to post
Share on other sites

FSX has a number of variables that return current quantity in volume in gallons for the individual tanks - FUEL TANK CENTER QUANTITY, FUEL TANK CENTER2 QUANTITY.... through FUEL TANK EXTERNAL2 QUANTITY. In addition it give FUEL TOTAL QUANTITY.

Share this post


Link to post
Share on other sites

FSX has a number of variables that return current quantity in volume in gallons for the individual tanks - FUEL TANK CENTER QUANTITY, FUEL TANK CENTER2 QUANTITY.... through FUEL TANK EXTERNAL2 QUANTITY. In addition it give FUEL TOTAL QUANTITY.

The question remains : where is it stored ?

Share this post


Link to post
Share on other sites

In its Variables - with many other variables.

Where specific ? I did not find them in the aircraft.cfg file...

Only the maximum quantity that is useable.

Not what is stored when using the Fuel loader.

Share this post


Link to post
Share on other sites

These values are not stored in the aircraft config files.  Instead, they are stored as variables within the game.  They are not written to a text file and will require some programming/math knowledge to abstract the data you're looking for.  However, said variables can be read via Simconnect or FSUIPC.  What is it exactly you're trying to accomplish? 

Share this post


Link to post
Share on other sites

In FSX I used the Ifly and with its Config Manager Tool I could load passengers, baggage and fuel into the aircraft.

 

At this moment I use P3D v3 and the Ifly does not work with it,

So I switched to the default FSX 737 which flies very nicely in P3D v3.

 

What I did : installed the Ifly into P3D v3 . I now use the Config Manager Tool to load passengers and baggage into the aircraft.cfg file.

Then with a batch file I copy these values into the 737 aircraft.cfg file that I use with Project Magenta.

 

That is working fine, as I get the correct load for passengers and baggage .

Only the fuel amount I set does not load.

 

Surely I can use the deault Payload and Fuel loader from Fs , but if I can make the fuel work too that would be great.

Share this post


Link to post
Share on other sites

Then with a batch file I copy these values into the 737 aircraft.cfg file that I use with Project Magenta.

 

You should do this with SimConnect, not changing the cfg files.

 

Cheers!

 

Luke

Share this post


Link to post
Share on other sites

Set the percentages in the Fuel.0 section of a saved flight file Gerard:

 

<Section Name="Fuel.0">

<Property Name="TankSelector" Value="All" />

<Property Name="TankSelector1" Value="All" />

<Property Name="Center" Value="100" />

<Property Name="LeftMain" Value="99.9818" />

<Property Name="RightMain" Value="99.9818" />

<Property Name="LeftAux" Value="100" />

<Property Name="RightAux" Value="100" />

<Property Name="LeftTip" Value="100" />

<Property Name="RightTip" Value="100" />

<Property Name="Center 2" Value="100" />

<Property Name="Center 3" Value="100" />

<Property Name="External 1" Value="100" />

<Property Name="External 2" Value="100" />

</Section>

 

100 = full tank 100%. Planes have fuel tanks, useable, and unusable fuel amounts, specified in the aircraft.cfg.

Share this post


Link to post
Share on other sites

Where specific ? I did not find them in the aircraft.cfg file...

Only the maximum quantity that is useable.

Not what is stored when using the Fuel loader.

 

In the FSX SDK in Core Untiities Kit>Variables>Simulation Variables in section Aircraft Fuel Data

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