Kariban wrote:Mind sharing what you've figured out about how weather effects transition? I can sort of see how it's meant to work although every weather definitions having entries for ALL weather states is a bit confusing, but I'd rather not re-invent the wheel. I take it once you load a scenario and it loads it's weather, you're stuck with the same three cloud layers?
Weather blueprints are simple now that I understand them. As I too was confused "Why is this named stormy when all weather entries are in it" it's confusing. And no, you're
technically not stuck with the same 3 cloud layers.
Best way to look at a weather blueprint is like a dinner menu. A place may have 50 menus, all listing the same exact food choices, but how they are picked and cooked is entirely up to the customer.
Now.. One of the easiest blueprints to start from is the Clear blueprint. Since everything is essentially null. No rain, clouds, not a thing.
<WeatherTypeClear>
<cWeatherType>
<WindDirection d:type="sFloat32" d:alt_encoding="00000000FB21F93F" d:precision="string">1.5708</WindDirection>
<WindSpeed d:type="sFloat32" d:alt_encoding="000000A04D9CDC3F" d:precision="string">0.4470</WindSpeed>
<PrecipitationType d:type="cDeltaString">ePrecipitationRain</PrecipitationType>
<PrecipitationDensity d:type="sFloat32" d:alt_encoding="000000A09999B93F" d:precision="string">0.1000</PrecipitationDensity>
<PrecipitationSpeed d:type="sFloat32" d:alt_encoding="000000E0F44A3F40" d:precision="string">31.2928</PrecipitationSpeed>
<FogOverride d:type="cDeltaString">eTrue</FogOverride>
<FogColour>
<cHcColour>
<Red d:type="sFloat32" d:alt_encoding="00000080DBDADA3F" d:precision="string">0.4196</Red>
<Green d:type="sFloat32" d:alt_encoding="000000809D9BDB3F" d:precision="string">0.4314</Green>
<Blue d:type="sFloat32" d:alt_encoding="000000405F5EDE3F" d:precision="string">0.4745</Blue>
<Alpha d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</Alpha>
</cHcColour>
</FogColour>
<FogStart d:type="sFloat32" d:alt_encoding="0000000000006940" d:precision="string">200.0000</FogStart>
<FogEnd d:type="sFloat32" d:alt_encoding="0000000000E08540" d:precision="string">700.0000</FogEnd>
<LightningDensity d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</LightningDensity>
<LightningFrequency d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</LightningFrequency>
<BlendInTime d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1.0000</BlendInTime>
<CloudType d:type="cDeltaString">eCloudClear</CloudType>
</cWeatherType>
Let's say you want this weather choice to never have clear skies.. Just because the weather type is named "clear" doesn't mean it has to be. Change the bolded part to one of 3 cloud choices. Overcast, Rain, or Storm like so assuming we're going for a rain wet day.
Code: Select all
<CloudType d:type="cDeltaString">eCloudRain</CloudType>
Now, The clear weather type uses rain clouds. If you want them to be rainy rain clouds adjust your precipitation settings etc. This same rule applies to the following 3 weather types of Overcast, Rain, and Cloudy. An easier way to make this easy is to think of the weather types as choices on a menu rather than a name like so.
Weather Type A
Weather Type B
Weather Type C
Weather Type D
The name is only suggestive essentially, all that matters is the settings for that weather type and the cloud used.
Now, we'll make believe you have went through and edited the rest of the 3 weather types (BCD) to your liking.
Now you get to tweak each type even more. Towards the bottom you'll see 4 entries, each named a weather type. (Clear, Overcast, Rain Stormy).
Code: Select all
<CloudClear>
<cCloudDescription>
<WispyLayerAlpha d:type="sFloat32" d:alt_encoding="000000A09999C93F" d:precision="string">0.2000</WispyLayerAlpha>
<ThickCloudLayerAlpha d:type="sFloat32" d:alt_encoding="000000A09999A93F" d:precision="string">0.0000</ThickCloudLayerAlpha>
<StormLayerAlpha d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">1.0000</StormLayerAlpha>
<ColourDarkeningIntensity d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0.0000</ColourDarkeningIntensity>
</cCloudDescription>
</CloudClear>
This controls other cloud layers that can be used in conjunction with the weather type clear. Now up above we changed the cloud type for "clear" to rain. So a value between 0.000 and up to 1.000 for each will adjust the alpha of that cloud layer. So if you want thick storm clouds with some light, lower level wispy clouds you can set it as I did above.
The same applies for the rest, overcast, rain, cloud.
To review
Adjust weather type settings, pick a cloud for that weather type, then adjust the fine detail cloud settings for that weather type.
By default, the "clear" blueprint has transparent precipitation (duh, it's clear). So you will need to adjust the alpha and other settings for each precipitation type.
Now, events. This is how long, and in what order your weather types will play out like a CD Player playing tracks in order they are burned.
Let's say you want weather type Clear (A) to start out and last for 15 minutes before weather type overcast (B) is transitioned to. (Transition length is adjusted in the weather type setting)
Code: Select all
<cWeatherEvent d:id="19139136">
<Type d:type="cDeltaString">eWeatherTypeClear</Type>
<Time d:type="sFloat32" d:alt_encoding="0000000000001440" d:precision="string">15.0000</Time>
</cWeatherEvent>
<cWeatherEvent d:id="16711440">
<Type d:type="cDeltaString">eWeatherTypeOvercast</Type>
<Time d:type="sFloat32" d:alt_encoding="0000000000001440" d:precision="string">0.0000</Time>
</cWeatherEvent>
Since, the Overcast (B) weather type is the last to play, this is the weather type that will be used for the duration of the scenario. You can stack hundreds of weather types together, there is no limit, and no order. You can do "Clear, Stormy, Rain" or "Rain, Overcast Storm" etc etc etc.
Now, rename the display names to like "Karibans Stormy Weather" save, clear cache and it will be available as a weather choice.
This is my abbreviated version but believe it or not, weather pattern blueprints is one area the wiki is actually worth reading and actually completely understandable with clear and accurate descriptions and instructions.
http://railworkswiki.com/tiki-index.php ... ht=weather