Jump to content
The simFlight Network Forums

Jags

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Jags

  1. Hi, Thanks very much for your help - I had somehow forgotten there was more than one sets of offsets for the weather - I've shifted it all up to run from 0F1C through to 0F8A and it all works wonderfully now! I'm not too worried about the weather changing or re-localising - I will be resetting the weather every 5 or 10 minutes with the way the simulator is going to be used anyway. I was trying to avoid the NWI because I'm not 100% sure of version of FSUIPC that my software is going on to. Thanks again for the help! By the way, I've had a scan through the list of offsets and couldn't see anything, but I don't suppose there is any way through FSUIPC of telling whether FS is in full screen or just normal maximised mode is there? Thanks again. Jags
  2. {Error Post After Login} EDIT: Strange error, but this is basically my original post: I have been trying to alter the weather through FSUIPC - I want to be able to set Wind, Visibility, Cloud and Precipitation - so far what I have done is retrieved offsets 0E9A through to 0F08 in a for loop at 2-byte intervals, stored the results in an array, altered the ones I want to set and then written them back into their offsets. (With the addition of 0E8A and 04D2 for Vis and Precipitation). However, whever I set any weather, it for some reason sets the wind back to 340/00 (or 000/00 if you read the offsets), regardless of whether or not I set wind in the offsets. Any help would be appreciated ;) Jags
  3. That works an absolute treat!! Thank you SO much!!! :D And I also apologise for my apparent inability to understand the basic concepts of numbers :oops: !! I've certainly learned something from that! James
  4. I am trying to write a procedure that will set the speed of the aircraft (I call it after I have slewed the aircraft to a certain position and altitude, then released slew). Using the example by "timsc" I manage to get the speed of the aircraft to change to a value other than the default slew-release value, but could not identify any positive relationship between these numbers and the airspeed (or Z-Velocity). I have written the following code now, but this seems to have no effect on the speed at all - no matter what numbers I enter: Procedure FSUIPCCalls.SetSpeed(aIAS : Integer); var ErrorNumber : Cardinal; pIAS : PInteger; begin New(pIAS); pIAS^ := aIAS; FSUIPC_Write($3090,4,pIAS,ErrorNumber); FSUIPC_Process(ErrorNumber); Dispose(pIAS); end; I'm just a tad confused about how I can get a reliable procedure to change the speed. Thanks very much!! Jags
  5. Sorry to resurect such an old topic but I would like to quickly ask... from Knots, how do I convert this into these "Hi" and "Lo" numbers? I'm programming this in Delphi, in which I have a bit of experience, but I'm just not entirely sure how all these integers, bits and hi/lo bits work! Thanks very much Jags
×
×
  • 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.