Cities: Skylines

Cities: Skylines

51 ratings
How to create your own cargo trains
By -presh4k
It took me some time to get used to the mods and how to properly use them to make my own trains using individual trailer assets.
As far as i know theres no "official" guide out there that explains everything.
   
Award
Favorite
Favorited
Unfavorite
Things you need
  • Extended Asset Editor
    Without this mod you can only make trains with 1 trailer asset, it is mandatory in order to make mixed trains.

  • Trailer Variation Loader
    This mod is used to load submesh-masks on trailer assets properly. (Not needed if your trailer assets dont use submeshes.)

  • Cargo/Passenger Train Engine Asset(s)
    Can be any cargo or passenger train engine from the workshop (or vanilla).
    Example: ES64U2

  • Cargo/Passenger Trailer Asset(s)
    Can be any cargo or passenger trailer from the workshop (or vanilla).
    Example: EANOS Trailer Pack

Hint: If you subscribe to any train from the workshop, you get the trailers aswell and you can use them in the asset editor.


Getting started
First things first, in the asset editor you start with loading a train engine
(can be vanilla or any other engine asset).
It has to be a train engine though, (doesn't matter whether its a cargo or passenger engine) otherwise you cant put trailers behind the asset.

Once you found the engine asset you want you click on continue.



The next window is irrelevant to you since its purpose is to import custom meshes to use for the engine asset you chose. Only asset creators will use this window.
So you always click on default from template and continue.




Making a layout
Once the engine asset is loaded properly, you can start making a layout with trailers.
(Hint: You can't replace the engine with a different asset once it is selected!)

You will notice alot of panels that popped up.
You can ignore the Display-Options- and the Doors-panel.

In the Properties-panel open the Trailers-tab, then click next to the box that says Trailer asset to load one of the trailers you want in your train. Now click on the box that says Trailer count to set the total amount of trailers you want.



IMPORTANT: DO NOT CHANGE ANY PARAMETERS IN THE PROPERTIES PANEL AFTER THIS STEP AGAIN OTHERWISE YOUR LAYOUT WILL BE OVERWRITTEN AND THE FIRST TRAILER WILL BE REPLACED FOR EVERY TRAILER.

Next you will have to replace the trailers you want a different asset for, using the Vehicle-panel.
On the very top in the panel, you have a dropdown list of every trailer including the engine.



Select one of the trailers you want to change and click on Change.
Now in the Vehicle Settings-panel you can adjust the spacing of the trailers using the Offset front- and Offset back-parameters.
(Once you changed a value, all the trailer assets that are the same will have that value too).


Saving your train
This is the most important part...

DONT SAVE IT BY PRESSING ESCAPE AND CLICKING SAVE ASSET

In the Vehicle-panel theres a different Save-button.

ALWAYS USE THIS BUTTON TO SAVE





(Hint: Package name refers to name that the local .crp file of your train gets, while Asset name is the name that is displayed ingame.)


Additional advice
  • Just like saving, loading your train can only be achieved using the Vehicle-panel's Load Asset-Button. (Otherwise the game won't load your layout properly.)

  • The engine can never be changed once you chose it in the very beginning. You have to remake your layout from scratch. (Which makes updating engine assets a pain in the bum.)

  • In the asset editor you see a grid. This is useful if you want to make your train fit the vanilla cargo stations, since the trailer assets can vary in length.
    19 units (or squares) is vanilla length.



I hope this was somewhat helpful.
38 Comments
CattoGaming 15 Mar @ 11:59am 
I'll keep tinkering around and see if I can get something to work. Best I managed was making the locomotive submesh into a trailer car somehow.
-presh4k  [author] 15 Mar @ 9:07am 
@GalaKitty thats unfortunate then. sorry i couldnt help.
CattoGaming 13 Mar @ 4:11pm 
@we're so back already have that installed :/
-presh4k  [author] 13 Mar @ 3:53pm 
@GalaKitty in that case you might need the TrailerVariationMod for the submesh masks to load properly.
CattoGaming 13 Mar @ 3:42pm 
@we're so back
Haven't had much luck with an intercity train. Trying to get the locomotive model to use it with different commuter coaches but the Intercity locomotive is always invisible. It's a submesh apparently.
-presh4k  [author] 13 Mar @ 3:35pm 
@GalaKitty every train you subsribe to you can re-use and mix trailers in the editor.
Just subscribe to any train and follow this guide.

the only thing thats not working as simple is using passenger engines for cargo and vice versa. same goes for train cars.
CattoGaming 12 Mar @ 6:58pm 
Pardon me, you wouldn't happen to know how to create a train from an existing asset would you?
-presh4k  [author] 2 Jan, 2023 @ 11:41pm 
@darkangel if oyu just wanna shorten a train its much easier if you use random train trailers instead of this one. it lets you randomize trains but also shorten or lengthen them.
-presh4k  [author] 2 Jan, 2023 @ 11:26pm 
@pan.czmielu this function is explained in EAE mod page.
this guide is soely for the purpose of making trains with different assets.
like i said... i dont know if this works for cars i just make cargo trains and my knowledge doesnt go beyond that really.
-presh4k  [author] 2 Jan, 2023 @ 11:24pm 
the asset editor is greyed out when theres mods active that arent suitable for asset editor use such as 81 tiles (this hasnt been the case so far but for the newest version it does this).