Hi,
Im trying at the moment without success to set the aircraft payload on FS2004. So far every offset I have written to for payload has resulted in a re-read of the "Current Loaded Weight" offset (0x30C0) coming back with the same value.
Here is what I have tried...
Altering Fuel Weights
This does work and is reflected in the current loaded weight. e.g. I drop the fuel mass by 5000kgs and the current loaded weight reflects this.
Altering Payload Station Data
I have tried three attempts based around the payload station data
1. Just altering the station data - the new value is reflected in both the offset (starting from 0x1400) and additionally in the FS menu. Sadly it did not change the value read back in the current loaded weight offset.
2. I then tried adding up all of the payload station weights, fuel weight and aircraft empty weight and writing this to the current loaded weight offset. This worked at first but then FS updates it back to the value that it thinks is correct. This is always the initial weight of the aircraft when loaded in FS and payload less any burnt fuel or changes to the fuel load - so again it takes the fuel into account but not the changes I have made.
3. Final attempt was to try and get FS to recompute the current loaded weight by updating the zero fuel weight. What I did here was get the basic empty mass for the aircraft, get the weight of all my payload stations add together and update it into the offset. Id hoped that what FS would do is look at this value (offset 0x3BFC) then take into account the fuel onboard and update the current loaded weight. This didnt work either.
So in summary..
- Fuel changes are correctly reflected in the current loaded weight.
- Changes to payload stations are not reflected.
- Attempts to udpate the value directly (current loaded weight) dont work.
- Attempts to update the zero fuel weight also dont work.
Totally stuck at the moment so any help appreciated! All tests done on my benchmark of the PMDG 737. The goal of my project is to get my application to load the aircraft as required for the user.
Thanks,
Tim