Cities: Skylines

Cities: Skylines

572 betyg
Random Train Trailers 2.4.2
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Mod
Filstorlek
Lades upp
Uppdaterades
227.715 KB
23 feb, 2017 @ 3:39
7 jul @ 12:51
31 ändringsnotiser ( visa )

Abonnera för att ladda ner
Random Train Trailers 2.4.2

I 2 samlingar av Acc3ss Violation
Acc3ss' Mods
7 artiklar
Random Train Trailers Trailer Pool
39 artiklar
Beskrivning
What it is
Random Train Trailers is a mod that can randomize the spawning of vehicle trailers. This increases the variety of vehicles in your city without actually needing more assets.

How it works
A config file contains the vehicles for which the trailers can be randomized and what trailers to use for each vehicle.
Some parameters can be specified to modify the chance of having randomized trailers and how 'rare' each trailer is. Check out this turorial page for info on how to get things going.

Questions you may have
Does this work for all vehicles?
Only ones that run on rails, so trains, trams and metros.

Can I use trailers from other assets?
A vehicle's trailer list can include any trailer (as long as it's of the same type of vehicle) including those of other assets.
Just don't go putting cargo trailers on passenger trains or whatever, the game does not like this and will probably start throwing errors at you. The same goes for using non-trailer assets as trailers.

Does this mess up my save?
No, it just changes the way vehicles spawn. Disable the mod and everything is back to normal. A game restart may be required though.

Workshop trains are too long, can I make them shorter?
Yes, either on a per-train basis using the editor or use the global limit in the mod options. (Setting the global limit to 0 disables it)

Is there a tutorial on how to use each setting?
Yes

Credits
This mod uses Harmony[github.com] for detouring.
It also uses some UI code from AVO by SamsamTS.
Cargo Info for the method to get a train's cargo contents.

Compatibility
There are no mod compatibility issues as far as I know.



source[github.com]

Major change list

Trains, trams & metros (2.4.0)
Support for passenger trains, trams and metros has been added back in! You can create configs for them the same way as with cargo trains. Unlike cargo trains, these passenger vehicles will only be randomized once when spawning instead of at every stop, so you don't have to worry about constantly changing capacities on your transit lines when randomizing trailer counts.

Industries DLC Update (2.0.0)
Mod has been rewritten to be compatible with the new Industries patch. Trailer variations are used properly, including when using the mod's own cargo feature. You can enable it on the default cargo train if you want to see the differences between the game and the mod.

The mod now also supports 2 new cargo types: Mail and Metals. No idea if the game ever carries Mail by train, but when it does, you can have custom wagons for it! Metals could be useful for Coil wagons in combination with the DLC.

Note for Asset Creators
Check the Cargoes section (at the bottom) of this discussion page for info on how the mod handles the new Industries cargo types and submesh variations: https://gtm.steamproxy.vip/workshop/filedetails/discussion/870291141/133258092236504318/

New in 1.6
Config files (RTT-Definition.xml) get loaded from asset and mod directories, making it possible for asset authors to include trailer configs with their assets.

New in 1.5 Cargo changes trailers!
Cargo-based trailer selection feature added. Trains can now have their trailers reflect the cargo they carry. More info here.

Populära diskussioner Visa alla (5)
50
1 dec, 2020 @ 6:24
KLISTRAD: Config structure
Acc3ss Violation
7
24 jun, 2022 @ 19:51
KLISTRAD: Tutorial - randomizing and downscaling a very large cargo train
Acc3ss Violation
4
29 nov, 2022 @ 11:04
KLISTRAD: Tutorial - Getting started with Cargo
Acc3ss Violation
231 kommentarer
Failer 7 jul @ 14:14 
Great! Awesome it works now, and thank you for your time.
Acc3ss Violation  [skapare] 7 jul @ 12:53 
Turns out I found some time just now, so version 2.4.2 will be up shortly with a fix. All workshop trailer collections should now be shown in the list when you click "Add collection" on a vehicle.
Acc3ss Violation  [skapare] 7 jul @ 11:50 
Is this about "Failer's Freight Wagons", workshop ID 3514514638? It does load for me, but it doesn't show up in the UI when configuring trailers through there. Turns out the same goes for all other collections supplied with assets, so it seems like you found a UI bug!

That said, the mod does actually load the config, so any vehicles that reference the collection (manual XML editing required unfortunately) should make use of it.

I'll make a fix for the UI once I can find some time for it because it would be a lot less confusing if the UI did show these collections in the "Add collection" list when editing a vehicle
Failer 5 jul @ 11:56 
Unfortunately even with a clean game I can't access configs from Workhsop in ingame UI..
Failer 5 jul @ 9:17 
That's... wierd. The log says the mod is loading the configs from Steam workshop folders, but they are not available in game unless I move them into RTT-Definition file in local appdata folder. Reloading configs doesn't help.

I'll try again later with other mods disabled.
Acc3ss Violation  [skapare] 5 jul @ 8:02 
Oh and you can press Ctrl + Alt + R to reload all configs while in-game without having to restart
Acc3ss Violation  [skapare] 5 jul @ 8:00 
@Failer It should work, but I haven't played the game in a while tbh.

If you enable "Enable full log" in the mod settings the mod should log all loaded configs in the game's output_log.txt once you load into a map.
Failer 2 jul @ 6:29 
Is the feature of uploading configs with the asset still working? I've folowed this instruction step-by-step, but the saved configs are not availaable in game, even though they are downlaoded with the asset and are availbable in the Steam workshop folder.

If I copy the same file from the workshop folder to local folder and laod thsoe configs they do work. The mod seems to just not load them.
BierPizzaChips 14 apr, 2024 @ 23:08 
This is a fantastic mod!!! Now i can run my favourite locomotives with trailers matching to the industry of the a districts cargo station. I LOVE this. Many, many thanks.:steamhappy::steamthumbsup:
The Loot 25 okt, 2023 @ 0:06 
Bummer, but it is something I can mention to bsquiklehausen if he still has plans to update his old freight trains.