Jump to content

Archived

This topic is now archived and is closed to further replies.

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

 


Gerard

7940x ( 14 cores ) : 14 cores @ 4.7 - Gigabyte X299 Gaming 7 - 32 Gb G.Skill Trident Z 3200Mhz Cl 14 - Inno3D RTX3090 X4 iCHILL 24 Gb - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 43” Sony 4K tv's in NVSurround

8700K : all 6 cores @ 5.0 GHz - Asus ROG 370 - 16 Gb 4000 MHz @ 3600 Mhz - Inno3D RTX 3090 X3 iCHILL 24 Gb  - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - 1x 55” Sony 4K tv

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.


Jiang/James Wu

FSX/A+SE

Share this post


Link to post
Share on other sites

Mmmm....

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


Gerard

7940x ( 14 cores ) : 14 cores @ 4.7 - Gigabyte X299 Gaming 7 - 32 Gb G.Skill Trident Z 3200Mhz Cl 14 - Inno3D RTX3090 X4 iCHILL 24 Gb - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 43” Sony 4K tv's in NVSurround

8700K : all 6 cores @ 5.0 GHz - Asus ROG 370 - 16 Gb 4000 MHz @ 3600 Mhz - Inno3D RTX 3090 X3 iCHILL 24 Gb  - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - 1x 55” Sony 4K tv

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.


Gerry Howard

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 ?


Gerard

7940x ( 14 cores ) : 14 cores @ 4.7 - Gigabyte X299 Gaming 7 - 32 Gb G.Skill Trident Z 3200Mhz Cl 14 - Inno3D RTX3090 X4 iCHILL 24 Gb - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 43” Sony 4K tv's in NVSurround

8700K : all 6 cores @ 5.0 GHz - Asus ROG 370 - 16 Gb 4000 MHz @ 3600 Mhz - Inno3D RTX 3090 X3 iCHILL 24 Gb  - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - 1x 55” Sony 4K tv

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.


Gerry Howard

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.


Gerard

7940x ( 14 cores ) : 14 cores @ 4.7 - Gigabyte X299 Gaming 7 - 32 Gb G.Skill Trident Z 3200Mhz Cl 14 - Inno3D RTX3090 X4 iCHILL 24 Gb - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 43” Sony 4K tv's in NVSurround

8700K : all 6 cores @ 5.0 GHz - Asus ROG 370 - 16 Gb 4000 MHz @ 3600 Mhz - Inno3D RTX 3090 X3 iCHILL 24 Gb  - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - 1x 55” Sony 4K tv

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.


Gerard

7940x ( 14 cores ) : 14 cores @ 4.7 - Gigabyte X299 Gaming 7 - 32 Gb G.Skill Trident Z 3200Mhz Cl 14 - Inno3D RTX3090 X4 iCHILL 24 Gb - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 43” Sony 4K tv's in NVSurround

8700K : all 6 cores @ 5.0 GHz - Asus ROG 370 - 16 Gb 4000 MHz @ 3600 Mhz - Inno3D RTX 3090 X3 iCHILL 24 Gb  - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - 1x 55” Sony 4K tv

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 .


Gerard

7940x ( 14 cores ) : 14 cores @ 4.7 - Gigabyte X299 Gaming 7 - 32 Gb G.Skill Trident Z 3200Mhz Cl 14 - Inno3D RTX3090 X4 iCHILL 24 Gb - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - Thermaltake Level 10 GT case - EKWB Extreme 240 liquid cooling set push/pull - 2x 43” Sony 4K tv's in NVSurround

8700K : all 6 cores @ 5.0 GHz - Asus ROG 370 - 16 Gb 4000 MHz @ 3600 Mhz - Inno3D RTX 3090 X3 iCHILL 24 Gb  - 1x SSD M2 1800/1800 2TB - 2x  Sata 600 SSD 500 Mb - 1x 55” Sony 4K tv

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


Gerry Howard

Share this post


Link to post
Share on other sites

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

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    34%
    $8,660.00 of $25,000.00 Donate Now
×
×
  • Create New...