Page 1 of 1

Weather Blueprints - Where Does RW Look For Them?

Unread postPosted: Mon Jul 23, 2012 9:37 am
by wacampbell
When one edits a scenario, the right hand flyout for the scenario marker has a drop down box to select the weather.
I understand that this list is populated with data from weather blueprints - one entry in the list for each blueprint file.
And I know that the RouteProperties.xml references a single weather blueprint.

My questions are:

1. How does RW use the single weather blueprint referenced in the RouteProperties.xml?

2. The blueprints in the 'Weather' list of a scenario marker seem to come from more than one Developer\Product folder. How does RW know where to look for them for any given route? For example, Horseshoe Curve has only 3 weather blueprints in its Weather folder asset, yet there are about 47 weather types in the list. It seems the list is populated from several asset folders but I can't figure out what guides it.

Re: Weather Blueprints - Where Does RW Look For Them?

Unread postPosted: Mon Jul 23, 2012 10:29 am
by Machinist
Here they are (the main wheather blueprint files that come with game):
\railworks\Assets\Kuju\RailSimulator\Weather
\railworks\Assets\Kuju\RailSimulatorCore\Weather
\railworks\Assets\Kuju\RailSimulatorUS\Weather

And also, as you noticed, in any \Weather folder like this, for example:
\railworks\Assets\RSC\HorseshoeCurve\Weather

The use (load) of a Weather (in a scenario) is referenced in the "ScenarioProperties.xml", in the same way of "RouteProperties.xml" (if you don't change the route's default weather in the scenario) through this Blueprint tag:

Code: Select all
   <WeatherBlueprint>
      <iBlueprintLibrary-cAbsoluteBlueprintID>
         <BlueprintSetID>
            <iBlueprintLibrary-cBlueprintSetID>
               <Provider d:type="cDeltaString">Kuju</Provider>
               <Product d:type="cDeltaString">RailSimulatorCore</Product>
            </iBlueprintLibrary-cBlueprintSetID>
         </BlueprintSetID>
         <BlueprintID d:type="cDeltaString">weather\rw_stormy_heavyrain.xml</BlueprintID>
      </iBlueprintLibrary-cAbsoluteBlueprintID>
   </WeatherBlueprint>


Cheers,
Doc.

Re: Weather Blueprints - Where Does RW Look For Them?

Unread postPosted: Mon Jul 23, 2012 7:30 pm
by Kali
It loads whichever ones it can find in the providers it has listed. I would suspect it just searches anywhere in those for weather blueprints - it does the same for keymappers.