Jump to content
The simFlight Network Forums

RemoteUK

Members
  • Posts

    6
  • Joined

  • Last visited

RemoteUK's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks Pete. Ive just tried saving and loading via FSUIPC and that works. Its a pity there isnt more of a silent load - present testing shows that you get a loading progress bar - albiet a very fast one. As you say Ill try updating the payload entires in the file and see what happens. Ill report back on my findings - might be useful for other people following the same road in the future. Tim
  2. Hi, Well I just checked and updating the current mass offset then does change the the CofG. Sadly the new weights were not reflected in the PMDG FMC so that sort of puts an end to it all really. Appreciate what you are saying about FSX. At present my user base is split between FS9 and FSX so sadly I have to code for both. In regard to FSPax as I remember you sort of hit the load aircraft button and it seems to sort it all out without any noticable reloading. Havent investigated the FLT file route yet. Is that the FS saved flight format? If anyone can point me in the right direction for these I would appreciate it. Maybe (and Im no expert) it does it via the gauage that it has on the FS display if that is even possible. Thanks, Tim
  3. Thanks for the response Pete. I think what you have said is correct. Its a shame that with those offsets being outputs that FS doesnt recompute the values and provide a correct value. I could go ahead and manage the payload myself and write the FS in the hope that FS will use that weight even though the offset gives an incorrect weight. However, Im concerned about things such as CogG position etc. If I just put a value into the offset maybe the CofG wont move. Additionally if I just update the weight how does FS know what payload stations are populated with that weight to then work out the CofG. Do you or anyone else know of a way to set the aircraft payload correctly? If not I'll have to shelve my idea of setting the aircraft payload. I wonder how the developers do it e.g. FS Passengers - do they use the full SDK I wonder? Also, is there anyway that FSUIPC (a future version of) could run the routines to populate and update the values? Is it a case that a routine in FS could be run or would you have to write your own code to do it? The latter probably isnt realistic. Thanks again, Tim
  4. Hi Pete, Yes I read that and what I thought was that changes to the payload are not propogated to the other weight offsets. This I understand. However, what I have done is recalcuated the weights myself from the sum of the payloads and then directly updated the actual weight offsets. What I have noticed is that when updating 0x30C8 the weight is reflected in FS (that is in the FS weight and payload dialog is updated) but when re-reading this offset it goes back to its original value. I think what you are saying is that FS then disregards my payload setting and recomputes all weight values itself from the original payload settings? Thanks again, Tim
  5. Update on this problem.... Ive found that if I perform my own weight calcuation of the aircraft using .. Basic Empty Mass + Fuel + Payload (via recursing of the payload stations) ... if I then update this into 0x30C8 which is "Aircraft Mass in Slugs" the following happens: - The aircraft weight is correctly represented in the FS "Fuel and Payload" menu. - None of the FSUIPC offsets even 0x30C8 (which I updated a moment ago) reflect the new weight. This includes current loaded weight (30C0) and zero fuel weight (0x3BFC). However, if I go into the FS menu and update the weights in there and re-read the offsets they show the correct values. It looks like these offsets only "react" to changes made via the FS menus and dont show updated data if you write to them yourself although FS will show an updated weight based on what you have written to the offsets! What am I doing wrong? :D Tim
  6. 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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.