Jags Posted June 5, 2009 Report Share Posted June 5, 2009 {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 Link to comment Share on other sites More sharing options...
Pete Dowson Posted June 5, 2009 Report Share Posted June 5, 2009 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. What version of FS are you using, please? Those offsets date back to FS98 days when there was only global weather. If you are using FS2004 or FSX then these use localised weather, and setting the global weather simply sets the default weather for those weather stations not already populated. Try clearing all the weather down first -- twice, ideally. For FS2000 and FS2002 FSUIPC's best support is the Advanced weather Interface -- at least it does handle most of the intricate details, which the old FS98 interface cannot. however, really that is also superseded by the "New weather interface" (NWI). With FS2004 you can send clear All Weather requests first, then get global weather to set, but within 10-20 minutes all the local stations will be localised again. Having to clear weather all the time to set it causes irtritating flashing as you can imagine. Really, for FS2004 the only sensible answer is to set local stations -- this is what Active#Sky and most other weather programs do. For this you'd use the NWI, "New Weather Interface", provided in FSUIPC. The situation is a bit better in FSX as Microsoft kindly provided a Global weather mode. You can set that through the NWI, then everything gets a lot simpler. Regards Pete Link to comment Share on other sites More sharing options...
Jags Posted June 5, 2009 Author Report Share Posted June 5, 2009 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 Link to comment Share on other sites More sharing options...
Pete Dowson Posted June 6, 2009 Report Share Posted June 6, 2009 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? No. i've no idea how to tell either! Pete Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now