[0.17.14] Train signals with a gap of two tiles between them behave differently if they're offset by one tile.
Posted: Sun Mar 17, 2019 7:23 pm
I was testing ways to detect which branch of an intersection a train came from, and I noticed this inconsistency in signal behavior depending on where a signal is placed.
Scenario 1, signals are one tile apart:

The leftmost signal in both cases is yellow; behavior is consistent.
Scenario 2, signals are three tiles apart:

The leftmost signal in both cases is red, behavior is consistent.
Scenario 3, signals are two tiles apart:

In the top case where both rail signals turn red, the rightmost rail signal is aligned with the "outgoing" part of the rail segment. In the bottom case (where the left signal is yellow, and right is red) the rightmost signal is aligned with the "incoming" part of the rail segment.
What I expect: Behavior to be the same with equally spaced signals.
Scenario 1, signals are one tile apart:

The leftmost signal in both cases is yellow; behavior is consistent.
Scenario 2, signals are three tiles apart:

The leftmost signal in both cases is red, behavior is consistent.
Scenario 3, signals are two tiles apart:

In the top case where both rail signals turn red, the rightmost rail signal is aligned with the "outgoing" part of the rail segment. In the bottom case (where the left signal is yellow, and right is red) the rightmost signal is aligned with the "incoming" part of the rail segment.
What I expect: Behavior to be the same with equally spaced signals.