Weather Blueprints - Where Does RW Look For Them?

Discussion about RailWorks route design.

Weather Blueprints - Where Does RW Look For Them?

Unread postby wacampbell » Mon Jul 23, 2012 9:37 am

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.
Wayne Campbell
wacampbell
 
Posts: 511
Joined: Tue Sep 27, 2011 12:45 pm
Location: BC, Canada

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

Unread postby Machinist » Mon Jul 23, 2012 10:29 am

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.
Who doesn't have dog, hunts with cat.
User avatar
Machinist
 
Posts: 1105
Joined: Fri Apr 02, 2010 1:02 am
Location: São Paulo, Brazil

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

Unread postby Kali » Mon Jul 23, 2012 7:30 pm

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.
Kali
 
Posts: 1600
Joined: Mon Mar 14, 2011 1:00 am
Location: England-by-Sea


Return to Route Design

Who is online

Users browsing this forum: No registered users and 2 guests