• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Problem with SimConnect_WeatherSetObservation

Messages
18
Country
unitedstates
Hey,

I'm having some issues with setting weather via simconnect and was hoping someone could help.

The problem is with SimConnect_WeatherSetObservation.

According to the sdk documentation the time value is seconds. But for me it acts like minutes. If I us a value of 0 the weather changes immediately. If I use anything greater than 0 it takes minutes to change. Is it just me or is that parameter really minutes?

My other issue is with setting global weather. The sdk help file also says to use GLOB as the station to set global weather. But that does not work unless I first use SimConnect_WeatherSetModeGlobal. Then I have to use GLOB as the station. Again is it me ?

And my last weather question. Once I set the weather mode to global how do I change it back so I can set it per station again?

thanks,
Steve
 
According to the sdk documentation the time value is seconds. But for me it acts like minutes. If I us a value of 0 the weather changes immediately. If I use anything greater than 0 it takes minutes to change. Is it just me or is that parameter really minutes?

No, it is supposed to be seconds, but I think the "morphing" (blending) is then subject to the weather change rate on top of your delay. Try using the SimConnect_WeatherSetDynamicUpdateRate call to reduce that. I normally set that to zero.

My other issue is with setting global weather. The sdk help file also says to use GLOB as the station to set global weather. But that does not work unless I first use SimConnect_WeatherSetModeGlobal.

It will be working, but, as in FS9, "GLOB" weather is only applied as the default for stations which are not already populated with their own local weather. In FS9 there was no "global weather mode" so the only way to set global weather was to first clear all the weather then set GLOB. That works is FSX too -- you can clear all weather by setting the clear weather theme.

Global weather set that way soon becomes "localised" and then you are in the same position as before -- GLOB only changes any stations not yet localised. That was the way, and the pain, in FS9 -- constant clearing before setting, or only using local weather settings. FSX does fix that by providing the Global Mode, so you do really need to use that mode if you want simple global weather control.

And my last weather question. Once I set the weather mode to global how do I change it back so I can set it per station again?

Did you not see the other weather modes you can set? You'll want "Custom". There's a function for each possible mode. However, I suspect that FSX is switching to Custom mode as soon as you set weather for a specific station other than GLOB in any case.

Regards

Pete
 
It will be working, but, as in FS9, "GLOB" weather is only applied as the default for stations which are not already populated with their own local weather.

Thanks, that was the concept I was missing. I didn't get that from reading the documentation.
 
Back
Top