State Saving
-
Could we get the fuel state to save?
In the manual
Fuel tank levels will be restored from the last flight whenever a flight is loaded with the default fuel levels. Due to a currently missing feature in MSFS, payload and passenger weights cannot be restored in the same method, although the code has been implemented to do so.
tia
-
State saving seems to be completely broken. I'm "debugging" this.
There is a file where the sim stores the variables: state.cfg. I added some more variables to the systems.cfg file. Next I modified the save-file. But when starting the flight, the file is written by whomsoever destroying all values set before.
When leaving the flight, all values are written to the state.cfg file like expected.
But as soon as I click on the "fly" button of flight planning, just some garbage is written to the state.cfg again.
-
@ape42 said in State Saving:
by whomsoever
...this may relate to the cloud server where aircraft status is stored according to https://community.justflight.com/topic/5516/panel-state-saving-location.
-
@sg_aviation Good hint. Might be. On the other hand I found the variables announced inside the systems.cfg being stored inside the mentioned state.cfg.
See https://docs.flightsimulator.com/html/Content_Configuration/SimObjects/Aircraft_SimO/systems_cfg.htm section LocalVars at the end.