How to turn a train or rail vehicle into a static object?

Tips and discussion about scenery creation for RailWorks.

How to turn a train or rail vehicle into a static object?

Unread postby TheR62Fan » Wed Jan 08, 2020 9:11 am

Hi, I’m just wondering how one takes a rail vehicle and turns it into a static object. This is because the positioning of cars and locomotive is very limited, especially when trying to recreate a scene, such as an accident. (One can’t flip a car on its side, only if it’s a static object.
"Let them be your reminder that we've combined the best of two railroads. But from now on, call us Penn Central."
User avatar
TheR62Fan
 
Posts: 278
Joined: Mon Jun 24, 2019 6:39 am
Location: New York, United States

How to turn a train or rail vehicle into a static object?

Unread postby DigitalRails » Wed Jan 08, 2020 9:25 am

You can make a new Blueprint of Static Object.
Unless you have the source file, I suspect it would be a lengthy process.
DigitalRails
 
Posts: 107
Joined: Fri Aug 23, 2019 1:06 pm

Re: How to turn a train or rail vehicle into a static object?

Unread postby 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.
robbit
 
Posts: 839
Joined: Fri Jul 15, 2011 11:29 am
Location: Maine

Re: How to turn a rail vehicle into a static object? Snap to Track

Unread postby ironcat60 » Sun Sep 27, 2020 9:53 pm

When placing static rail cars on to the track use the TAB key. It will snap it to the track. If you move after you let go of the TAB key you will have to redo it.

From SteamAH:
https://steamah.com/train-simulator-tip ... _the_Track

Aligning Objects to the Track

TAB while placing

From the asset menu, select the object that you wish to place and hold it over the track. Then press the TAB key and the object will align directly in the centre of the track. Release the TAB key and the object will stay correctly aligned.
Disabled Veteran herding cats for fun and adventure
User avatar
ironcat60
 
Posts: 156
Joined: Sat Sep 23, 2017 8:12 pm


Return to Scenery Design

Who is online

Users browsing this forum: No registered users and 0 guests

cron