Traffic light bug at one way train track
DaEgi01 opened this issue · 1 comments
Hello,
I am not sure if this is a problem with Traffic Manager : President Edition or a problem with "One-Way Train Tracks [New version]", or maybe both.
I basically tried to help someone build a longer section with a one-way train track.
since the game by default does not support semaphores for such situations, i tried to make a workaround with timed traffic lights to ensure the there is never a deadlock.
The setup goes like this:
' = ' are two one way tracks ... the default one of the game
' - ' is a two way single track ... the one from the mod
(R) red light
(G) green light
step1: ====(G)------(R)====
step2: ====(R)------(R)====
step3: ====(R)------(G)====
step4: ====(R)------(R)====
Step 2 and step 4 are the most important ones.
These steps must be timed carefully such, that if a train enters the single track, it must get enough time to leave the single track again before the train from the opposite direction can enter.
I expected the traffic light to be relevant only for the train entering the single track.
But the problem is that the train stops and waits at the end of the single track, no matter what the traffic light says, and no matter if there is another train waiting for the opposite direction or not.
====(R)-------->BLOCKEDTRAIN>(G)====
Happens only if I play with traffic lights though. Without any setup everything flows until the deadlock occurs.
Also there is a minor glitch for such an intersection.
If I change the mode of the traffic light, there seem to be two traffic lights overlapping each other.
It would be awesome if such setup could actually work :)
It should in theory.
I opened the issue in both repos.
VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition#47
Regards
Egi
The SingleTrainTrackAI mod causes some problems with traffic lights rail junctions (at least in TMPE): https://steamcommunity.com/sharedfiles/filedetails/?id=949504539
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 classTrainAI
.