by robbit » Fri Jan 10, 2020 9:05 am
This is something I found a long time ago and do not remember the source and not sure if it still works but try at your own risk:
This tutorial will take a red default caboose and allow it to be a scenery object version of it without also losing the ability to use it as a regular rail car
You will need RW_Tools.
First browse to
assets\Kuju\RailSimulator\RailVehicles\Diesel\HST\ Default\Class43\Copy and Paste "Class43_Static.bin" into
assets\Kuju\RailSimulatorUS\RailVehicles\Freight\Caboose\Default\Wagon\Now rename the file to something obvious like "CabooseRed_Static.bin"
Now open up RW_Tools
Click files / Open Railworks file and browse to
assets\Kuju\RailSimulatorUS\RailVehicles\Freight\C aboose\Default\Wagon\and find the file you just copy and pasted and renamed: CabooseRed_Static.bin
First thing we need to do it rename what it is called.
Change:
<Name d:type="cDeltaString">HST engine</Name>To something you want to call it. This isn't very important but is needed. In this tutorial we will use "Red Caboose Static"
<Name d:type="cDeltaString">Red Caboose Static</Name>Now we need to change what it is named in the scenery display list in the scenario editor.
Change:
<English d:type="cDeltaString">Static HST Engine</English>To whatever you want. For this tutorial we'll name it the same thing we changed the other one too.
<English d:type="cDeltaString">Red Caboose Static</English>If you want to fill in the other languages with this feel free. This tutorial will only change the name for the English Language.
Next we need to make this valid in scenarios also. (explanation at end)
Find:
<ValidInScenarios d:type="cDeltaString">eFalse</ValidInScenarios>and change it to true
<ValidInScenarios d:type="cDeltaString">eTrue</ValidInScenarios>Ok, next part. We need to change the path so the game knows what peice of rolling stock will be the static scenery item.
Look for this section of code.
<GeometryID d:type="cDeltaString">Kuju\RailSimulator\RailVehicles\Diesel\HST\Default \Class43\[00]class43</GeometryID>
<CollisionGeometryID d:type="cDeltaString">Kuju\RailSimulator\RailVehicles\Diesel\HST\Default \Class43\[00]class43</CollisionGeometryID>As you see it's pointed to the Class 43. We need to change it for the red caboose so change it to what is listed below.. These are just pointing to the name of the geometry file of the rollingstock you want. [00] must be before the name itself.
<GeometryID d:type="cDeltaString">Kuju\RailSimulatorUS\RailVehicles\Freight\Caboose\ Default\Wagon\[00]caboose</GeometryID>
<CollisionGeometryID d:type="cDeltaString">Kuju\RailSimulatorUS\RailVehicles\Freight\Caboose\ Default\Wagon\[00]caboose</CollisionGeometryID>
Now click: Files / Save Railworks file
Open up Railworks, go to Tools & Docs and clear your cache then launch the game.
Choose your route, and make sure if it's not a US route that you have RailSimulatorUS ticked under the kuju section of your Object Set Filter.
Go to your scenery items and you should see "Red Caboose Static" listed. Now click and place it.
Explanation of what making "Valid in scenarios" "true" does.
This will allow this caboose to be placed in scenarios you make, which in turn does not make it a permanent item on the route itself. If you place this caboose in the regular world editor it then will be part of the base route itself.
OMG I BROKE IT: Delete the CabooseRed_Static.bin file you created, clear cache and try again.
If all went well you should have a full rotatable and movable static caboose. Now use this as a template for your next item you want to make a scenery object. It should take you no more than a few minutes per item.