Page 1 of 1
Swapping the Route Environment
Posted: Mon May 16, 2016 7:37 pm
by DescendingSadly
Hello once again everybody
I am wanting to swap a routes Environment and weather (so sky textures etc) for the AP Wherry Lines stuff. I presume this will change the whole routes lighting.
I thought I could do it in the Check Route option of RWTools but I have realised it is just telling me what the route references and will not let me edit.
How do I access the code for the weather?
Thanks
Re: Swapping the Route Environment
Posted: Mon May 16, 2016 10:38 pm
by gptech
RouteProperties.xml defines the skies and weather blueprints. You may also have to edit the route template.
Re: Swapping the Route Environment
Posted: Mon May 16, 2016 11:26 pm
by mikesimpson
RW_Tools does allow you to change the weather for each scenario in the 'Edit Scenario' area. But as Gary says you will need to manually edit the RouteProperties.xml along with the Sky and Weather blueprints in the Template file for the route in question (the template is a .bin file and its location is shown in the RouteProperties.xml file.
Mike
Re: Swapping the Route Environment
Posted: Wed May 18, 2016 12:04 am
by pjt1974
In the RouteProperties.xml you are looking for this part
Code: Select all
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">AP</Provider>
<Product d:type="cDeltaString">WherryLines</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">TimeOfDay\Spring.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</SpringSkyBlueprint>
<SummerSkyBlueprint>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">AP</Provider>
<Product d:type="cDeltaString">WherryLines</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">TimeOfDay\Summer.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</SummerSkyBlueprint>
<AutumnSkyBlueprint>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">AP</Provider>
<Product d:type="cDeltaString">WherryLines</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">TimeOfDay\Autumn.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</AutumnSkyBlueprint>
<WinterSkyBlueprint>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">AP</Provider>
<Product d:type="cDeltaString">WherryLines</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">TimeOfDay\Winter.xml</BlueprintID>
</iBlueprintLibrary-cAbsoluteBlueprintID>
</WinterSkyBlueprint>
</cRouteBlueprint-sSkies>
</Skies>
<WeatherBlueprint>
<iBlueprintLibrary-cAbsoluteBlueprintID>
<BlueprintSetID>
<iBlueprintLibrary-cBlueprintSetID>
<Provider d:type="cDeltaString">RSC</Provider>
<Product d:type="cDeltaString">GEML</Product>
</iBlueprintLibrary-cBlueprintSetID>
</BlueprintSetID>
<BlueprintID d:type="cDeltaString">Weather\Cloudy.xml</BlueprintID>
Change each Product and Provider and the filepath/name to the one you want to use. Remember, before you make the change, open the Wherry Lines in the route editor and make sure you tick the Products/Provider and save the route.
Re: Swapping the Route Environment
Posted: Wed May 18, 2016 12:34 am
by gptech
But he doesn't want to change the Wherry Lines, he wants to use it's files in another route.
Re: Swapping the Route Environment
Posted: Wed May 18, 2016 10:56 am
by pjt1974
I've used text from the RouteProperties.xml from the Wherry Line as an example.
Sure, I said "open the Wherry Lines up in the editor", but I meant to say "open the route he was working on". It was 2 am. I'm sure you don't make typo's.
The original poster never mentioned what route he wants to edit so I can hardly use that as an example.
Even you must agree, the script I've quoted is the script you need to edit in the RouteProperties.xml to change the environment on a route.
Re: Swapping the Route Environment
Posted: Wed May 18, 2016 11:32 am
by gptech
pjt1974 wrote:It was 2 am. I'm sure you don't make typo's.
It was 2:30am when I read it...and I've been reported to the Monopolies Commission for the amount of typos (no apostrophe in a plural

and really wouldn't it be a grammatical error rather than a typing one?) I've made. Typos are acceptable, though in this case personally I couldn't give a damn as I deciphered that what you wrote wasn't what you meant, but some other poor soul might not, and end up messing up a working route--absolutely
nothing needs doing in the Wherry Lines route; no Provider/product boxes to tick.
If I've stood on your toes I profoundly apologise, but I will mutter to myself "why don't you watch where you're sticking your feet?"
Re: Swapping the Route Environment
Posted: Wed May 18, 2016 5:53 pm
by DescendingSadly
Thank you for the example pjt, and also gptech.
I opened up the Wherry Lines example just to see what I was looking at (i'm actually wanting to change CR's East Coast Route) and for some reason when I open the .xml file now it's a load of garbage and the route has disappeared in the Check Route option in RWTools.
I'm not sure what i've done but I might leave it alone!
Re: Swapping the Route Environment
Posted: Wed May 18, 2016 8:24 pm
by gptech
Which route has gone AWOL?
Whichever, it looks like you've inadvertently removed something-----deleting a single < would do it!
Did you view the file with RW Tools or just double click it to open in your web browser?
Re: Swapping the Route Environment
Posted: Thu May 19, 2016 1:58 pm
by DescendingSadly
Hiya mate,
It was Wherry Lines opened using RWTools. It's no biggie as I can just reinstall it using the .exe. The only issue is if I delete then re-install i've now successfully got CR's route using the weather from it, and I don't want that route corrupting too.
Re: Swapping the Route Environment
Posted: Fri May 20, 2016 3:18 am
by gptech
See if it works by copying the files into CR's asset folders, even into a folder named "revisions" so you don't lose the originals and then point RouteProperties.xml at that location. That'd protect your changes from any unwanted changes ....if you see what I mean.