Jump to content
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

 


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post
Share on other sites

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


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

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 ?


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

Share this post


Link to post
Share on other sites

In its Variables - with many other variables.

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.


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

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? 


Matt King

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.


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

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


Luke Kolin

I make simFDR, the most advanced flight data recorder for FSX, Prepar3D and X-Plane.

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.


Steve Waite: Engineer at codelegend.com

Share this post


Link to post
Share on other sites

Thanks Steve .


13900 8 cores @ 5.5-5.8 GHz / 8 cores @ 4.3 GHz (hyperthreading on) - Asus ROG Strix Gaming D4 - GSkill Ripjaws 2x 16 Gb 4266 mhz @ 3200 mhz / cas 13 -  Inno3D RTX4090 X3 iCHILL 24 Gb - 1x SSD M2 2800/1800 2TB - 1x SSD M2 2800/1800 1Tb - Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 55’ Sony 4K tv's as front view and right view.

13600  6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb  - 1x SSD M2 2800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - 1x 65” Sony 4K tv as left view.

FOV : 190 degrees

My flightsim vids :  https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0

 

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  

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