Swapping the Route Environment
Moderator: Moderators
- DescendingSadly
- Very Active Forum Member
- Posts: 1327
- Joined: Mon Feb 13, 2006 11:33 am
- Location: Cardiff
Swapping the Route Environment
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
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
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: Swapping the Route Environment
RouteProperties.xml defines the skies and weather blueprints. You may also have to edit the route template.
- mikesimpson
- Very Active Forum Member
- Posts: 6361
- Joined: Mon Dec 03, 2001 12:00 am
- Location: Southern Hemisphere Penal Colonies
- Contact:
Re: Swapping the Route Environment
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
Mike
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
- pjt1974
- Very Active Forum Member
- Posts: 3800
- Joined: Tue Feb 09, 2010 8:30 pm
- Location: Ballaugh Isle of Man
- Contact:
Re: Swapping the Route Environment
In the RouteProperties.xml you are looking for this part
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.
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>For disclosure, I am affiliated with a third party developer however, I do not know anything about any future releases unless I'm working on them and even then, I'd be breaking years worth of built up trust to say anything about it 
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: Swapping the Route Environment
But he doesn't want to change the Wherry Lines, he wants to use it's files in another route.
- pjt1974
- Very Active Forum Member
- Posts: 3800
- Joined: Tue Feb 09, 2010 8:30 pm
- Location: Ballaugh Isle of Man
- Contact:
Re: Swapping the Route Environment
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.
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.
For disclosure, I am affiliated with a third party developer however, I do not know anything about any future releases unless I'm working on them and even then, I'd be breaking years worth of built up trust to say anything about it 
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: Swapping the Route Environment
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 pluralpjt1974 wrote:It was 2 am. I'm sure you don't make typo's.
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?"
- DescendingSadly
- Very Active Forum Member
- Posts: 1327
- Joined: Mon Feb 13, 2006 11:33 am
- Location: Cardiff
Re: Swapping the Route Environment
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!
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!
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: Swapping the Route Environment
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?
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?
- DescendingSadly
- Very Active Forum Member
- Posts: 1327
- Joined: Mon Feb 13, 2006 11:33 am
- Location: Cardiff
Re: Swapping the Route Environment
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.
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.
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: Swapping the Route Environment
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.