Unknown WEATHER_TYPE

Discussion related to terrain/scenery design.
Locked
cjohns32
Posts: 2
Joined: Thu Sep 13, 2012 8:46 pm

Unknown WEATHER_TYPE

Post by cjohns32 »

Hello-

The error below occurs when using a third-party weather engine that is currently in development.

We could not find information about this online or in P3D forums.

General debugging steps do not mitigate the error.

By design, the weather program sets WEATHER_TYPE = 3 (user-defined) at startup. We suspect an interaction with another add-on. Two machines (Windows 10 w/ P3D v3.4.22.19868 and no additional 3rd party software) run the weather engine with no error; however, a third machine (Windows 10 w/ P3D v3.4.22.19868) running 3rd party addons throws the error even when turning addons off by deleting entries in the dll.xml file.

Third machine is also running scenery / SimObjects addons. Happy to send config files.

------ERROR-------

Unknown WEATHER_TYPE
at UIInterface.WeatherSettingsHelper.GetWeatherOption()
at UIInterface.WeatherBridge.GetWeatherOptionAndTheme(Int32& optionValue, Int32& themeValue)
at MenuModels.Settings.World.WeatherData.Initialize()
at MenuModels.Startup.ScenarioStartupData..ctor()
at Views.Startup.ScenarioStartup..ctor(Boolean bStartupLaunch)
at OpenScenarioStartupDialog(Int32 bStartupLaunch)
User avatar
Rob McCarthy
Lockheed Martin
Posts: 3703
Joined: Wed Aug 24, 2011 1:37 pm

Re: Unknown WEATHER_TYPE

Post by Rob McCarthy »

A WEATHER_TYPE value of 3 is Real World Weather and is currently deprecated. A value of 2 is custom which may be suitable for what you're trying to accomplish.

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Locked