Fuel / Payload settings are not restored

  • I suspect that the fuel settings in the main.mcf are neither read nor written.

    If I change the fuel settings from within Aerofly FS 4, the settings will notnot saved to the main.mcf - and consequently will not read from the main.mcf on the next startup, completely resetting the values:

    1. Start Aerofly FS 4
    2. Set the aircraft to Cessna 172
    3. Set fuel and payload to anything, e.g. 70 / 100
    4. Start a flight
    5. Quit Aerofly FS 4
    6. Check main.mcf - fuel settings have not been saved
    7. Restart Aerofly FS 4
    8. Check fuel and payload - it has been reset to 0 / 0

    Additionally:

    1. Remove fuel_load_setting from main.mcf
    2. Start Aerofly FS 4
    3. Set the aircraft to Cessna 172
    4. Set fuel and payload
    5. Start a flight
    6. Quit Aerofly FS 4
    7. Check main.mcf - it now contains an invalid fuel setting block
    8. Restart Aerofly FS 4
    9. Check fuel and payload - it has been reset to 0 / 0
    Code
            <[tmsettings_fuel_load][fuel_load_setting][]
                <[fuel_load_configuration][configuration][Invalid]>
                <[string8u][aircraft][]>
                <[float64][fuel_mass][0]>
                <[float64][payload_mass][0]>
            >

    Anyone else encountering this issue?

  • The actual fuel on board the aircraft is saved to the aircraft state, not the fuel load settings. The fuel load settings are used when a new flight is started, i.e. when you place the aircraft to a different location using the location menu. Once the sim applied the settings they are removed so that the state of the aircraft is preserved and not overridden again.

  • So fuel & payload cannot be restored to the menu after closing the simulator, and reopening it again? Because after setting the values and closing the simulator, on the next startup all settings are set back to 0 in the menu.

    Is there a way to set the fuel & payload from the outside, but for altering the aircraft state file?

  • Like I said, the only time the fuel setting is applied is when the aircraft is first loaded or when you go to the menu and change the settings. During the simulation you would have to simulate a refueling truck to change the fuel level on board. The only other instance where fuel is changed is when you use time skip. Then the fuel is reduced to the amount needed to finish the route with reserves.

    This is all still somewhat experimental and may change at any time.

  • Like I said, the only time the fuel setting is applied is when the aircraft is first loaded or when you go to the menu and change the settings. During the simulation you would have to simulate a refueling truck to change the fuel level on board. The only other instance where fuel is changed is when you use time skip. Then the fuel is reduced to the amount needed to finish the route with reserves.

    This is all still somewhat experimental and may change at any time.


    We currently need is for the Simbrief loadsheet. So when the app prepares the flight, it can implement wind, fuel, route data (where we now have questions about the mid 16 bit of the UIDs), so the flight is exactly according to the flightplan.

    If the Fuel and Load can be configured on the fly, like with a fueltruck and boarding, can you give the exact file, so we could set the quantities as per the loadsheet?

  • We currently need is for the Simbrief loadsheet. So when the app prepares the flight, it can implement wind, fuel, route data (where we now have questions about the mid 16 bit of the UIDs), so the flight is exactly according to the flightplan.

    If the Fuel and Load can be configured on the fly, like with a fueltruck and boarding, can you give the exact file, so we could set the quantities as per the loadsheet?

    During runtime there is no file. It's a numerical simulation of the fuel inside the tanks, sloshing around based on accelerations

  • But is there some way Aerofly stores the amount of fuel in the aircraft when it gets closed?

    We need a place to set the fuel / payload while the sim is closed, to be available on the next start of the sim.

    (Actually keeping the Startgerät up to date is already an ongoing task, so even an experimental route would still be helpful.)

  • But is there some way Aerofly stores the amount of fuel in the aircraft when it gets closed?

    We need a place to set the fuel / payload while the sim is closed, to be available on the next start of the sim.

    (Actually keeping the Startgerät up to date is already an ongoing task, so even an experimental route would still be helpful.)

    Like I said, the fuel in the aircraft is stored as part of the aircraft state.

    Try setting <[fuel_load_configuration][configuration][Invalid]> from "invalid" to "custom" or "Custom". Maybe the sim recognizes that and accepts the values? If you keep it "invalid" then it will ignore it for sure.

  • Armitage

    With the C130, I can fuel dumping an air refueling in/out. This is controlled by switches on the panels, which also switch a simulated docking of aircraft.

    So if you do something with switches during your coding, it would at least have to be able to adjust fuel. There is currently nothing comparable for Payload.

    Tschüss, Michael (🍎🚁)

    Configurations:

    - MacBook Pro (16", 2024); Chip: Apple M4 Max; actual macOS
    - Controllers: | WinWing: URSA MINOR-Fighter-Joystick R, EFIS-L & FCU & EFIS-R | Thrustmaster TCA AIRBUS EDITION: 2x Quadrant, 2x Quadrant Add-On | Pro-Flight-Trainer: PUMA X | Steelseries: Nimbus+

    - iPad (12,9", 4th Generation, RAM: 6 GB); actual iOS | Steelseries: Nimbus+