3DTrains just announced that all versions of their ScaleRail have been updated to support superelevation. Since I use the SP/SF ScaleRail I am very much interested in this upgrade for the CC even if it means I would have to pull up and lay down several track areas with easements. While I went over the changes in my head about how I would apply this update to my custom track rules it occurred to me that this would make a nice tutorial.
To begin I will need to use RW_Tools to do the conversion from BIN to XML (you can use serz.exe if you wish) and
Notepad++ (freeware source code editor) with the 'Compare' plugin to find the differences between the two track rules and make the modifications.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqJplj7IzZ-NL8aFoCEFT9Z2KmaKgGsFchOMp-XUOax86NIsfWDgY54OZJ2f0m5x8_Qp4lX_JTDfs5rDb58lxTCLPDPuP6kcGZK20XqnwGDw3CGGjdS3E3oNZiTyYuyOklTtF1A-ANeiY/s320/NotePadPluginManager.jpg) |
Notepad++ Plugin Manager. You want the Compare plugin |
After installing the ScaleRail SP/SF update I will open the SR_SP.BIN found in the: '\Assets\3DTrains\ScaleRail\RailNetwork\TrackRules\' folder. Open the BIN, select all, copy, paste into a new panel in Notepad++ and then do the same with my custom track rule SR_SP_DMV.BIN which I have have in the same folder. Once I have both of the XML code side by side I can use the Compare plugin.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnXb6cRSkDnrXHfvyW_jzhVlPHfkxdLuujGurBmhh3Nyskl3IlK6vnXJdjIVEnjj0PuVeh56dyMRv59GFzEo7rUAUwwSl4VK_Ekmhkw5yYMyKsqSOiKM9dZLFyZRiFRrqpG8fmc0AqCCU/s320/WhatsChanged.jpg) |
On the left is the update, to the right is my custom rule |
We can ignore the changes between IDs, these are only needed by RailWorks to show the XML node is unique. What is left are two new sections 'DefaultSuperelevation' and 'DefaultRideQuality' (something I will definately be using in Niles Canyon). You can see that I lucked out. If there were more changes to the rules I would likely spend an hour or two working through each difference to see if I needed it or not. After copying the two new section of XML over to my customized track rule, I will do another compare just to make sure I didn't miss anything, and save it back to my SR_SP_DMV BIN file via RW_Tools.
Time to see my handy work on the CC. Lets select a curve (no easements yet), check the Superelevation box and see it in action!
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy-OtJ-RblmTzuunC3a3fdo7_I-Zi85kLdOw-9dqCKT-3CkCRuD8wKVT_9kultEs7HllOAzE6s8zGHuceumniUi5Ccwo7oL0tEAtZhT58fKCpufpELIUmnodNJGPJhCd5minKLk21-aRM/s320/AddingSuperelevation.jpg) |
Adding Superelevation |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzj9EeIZ8B70VzqWlYbZW7TmJe9AULsBYBMDqHbINeyIFqOxNY-2Wl5h3RvpooJQjoTo2tQzDO_Jy0W6ftHJUMQo_5Y_cxsViYRJiGg9aWC53YhR8gyKmq5iXcP8zJ4GkWixOn5dcF0Qs/s320/Superelevation.jpg) |
Its slight... but its working! |
My thanks goes out to Hack of 3DTrains for updating ScaleRail (and not making a gazillion changes!). If you own any of the ScaleRail products (even the freeware version) then you can download the update from
here.
No comments:
Post a Comment