Cities: Skylines

Cities: Skylines

224 ratings
SingleTrainTrackAI
 
Rate  
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
0.028 MB
Jun 18 @ 12:08am
Nov 26 @ 10:36pm
7 Change Notes ( view )

Subscribe to download
SingleTrainTrackAI

Subscribed
Unsubscribe
Description
Mod to avoid train collisions on single tracks 2 ways from BloodyPenguin mod One-Way Train Tracks.

How does this mod works?

It is simple. Before entering on a single track section, a train will check if there is already another train running the track in the opposite direction. If that's the case, the train will stop until the track is free.

For complex networks of interconnected single tracks, any train stopped will be put in a waiting list, and proceed on the single track section in first-arrived order.

When using long stretches of single track, be sure to lay down some double tracks section regularly so that train can intersect (they are called passing loops[en.wikipedia.org]). If there are many trains, jams might still occur. Also place a 2 tracks section before a terminus station, so that trains can properly enter/exit the station.

Some settings can be changed in the file in ~\AppData\Local\Colossal Order\Cities_Skylines\Addons\Mods\.

Info

Link to the GitHub repository[github.com].

The mod hinders some functionalities of Traffic Manager : setting traffic lights or priority signs will not work on train tracks. Other things like speed restrictions do work :)

This mod uses detour and would be incompatible with any mod modifying the method UpdatePathTargetPositions of class TrainAI.
< >
88 Comments
brunna Dec 3 @ 8:47am 
I still have the bug what I wrote on November 1st. (with pictures) :(
brunna Dec 1 @ 1:10am 
I set this NoCheckOverlapOnLastSegment Value="True", and maybe the problem is solved. After that I haven't seen any bug yet.
CoarzFlovv  [author] Nov 30 @ 1:21pm 
@brunna This should not happen anymore :/ maybe you have a clue more precisely which asset causes problem?
brunna Nov 27 @ 8:36am 
Reverse trains do not wait for the single track to be empty. And the trains don't stop before an single track section when a reverse train coming from the front. (For me)
CoarzFlovv  [author] Nov 26 @ 11:01pm 
Also try to avoid designs like this : https://imgur.com/a/tb7XB

Each train is waiting for the other to clear from the single track section. Enough double track length should be placed for them to cross.
CoarzFlovv  [author] Nov 26 @ 10:53pm 
I've done some fixes, train jams should now be a bit better managed. Particulary, trains will not overlap anymore. However, if there are too many trains for a single track and they accumulate, issues will still occur.
CoarzFlovv  [author] Nov 26 @ 10:46pm 
@Sir Ludicrous which single track station asset do you use?
Sir Ludicrous Nov 25 @ 7:29am 
I have that: My track comes from outside the city (2 tracks) and i split them up before the station.
CoarzFlovv  [author] Nov 24 @ 12:41pm 
@Sir Ludicrous Be sure to place a small stretch of two tracks before the stations, otherwise trains cannot cross in case they use the same platform.
Sir Ludicrous Nov 24 @ 9:08am 
Update: I think I can narrow down the issue to the following thing: The mod does not seem to recognise single train station tracks.