Page 1 of 1
[0.12.3] Train ignores chain signal if entering station bloc
Posted: Sat Aug 08, 2015 1:06 pm
by sillyfly
As the title says - If the trains tries to enter the block of it's target train stop, it will ignore chain signal.
Simple way to reproduce -
Code: Select all
A s S c B
=<<================<<==
s = signal
S = stop
c = chain signal
<< = train
Since train A blocks the output, the chain signal is red, but train B will happily ignore it and enter the block.
Re: [0.12.3] Train ignores chain signal if entering station bloc
Posted: Sat Aug 08, 2015 1:18 pm
by sillyfly
Ok, I realize now this is more complicated than I thought, because the train will need to know the next destination (Because it may decide to exit the same way it came in, in some scenarios).
Still, since the chain signal is red, I think this should at most be considered a UI bug. But I suggest changing the behavior so that a train would not ignore a chain signal in this case, at least in cases where it can't reverse out (due to one-way signals).
Re: [0.12.3] Train ignores chain signal if entering station bloc
Posted: Wed Aug 12, 2015 5:01 am
by Rhamphoryncus
IMO this scenario should produce a "no path" error. The train shouldn't be stopping in a chain signal block so it should be unable to stop at that station.
Re: [0.12.3] Train ignores chain signal if entering station bloc
Posted: Fri Aug 14, 2015 11:41 pm
by voyta
Rhamphoryncus wrote:IMO this scenario should produce a "no path" error. The train shouldn't be stopping in a chain signal block so it should be unable to stop at that station.
Please don't "fix" it like this. "no path" is clear message to the track designer that he made an error and must build/deconstruct something in order for it to be usable by the train in question.
But this situation is (almost always) temporary.
Re: [0.12.3] Train ignores chain signal if entering station bloc
Posted: Sat Aug 15, 2015 12:30 am
by sillyfly
I agree, "No Path" shouldn't be used in this case.
As I see it there are a few possible solutions, depending on how you perceive chain signals and train stop.
1. Chain signal means "don't pass unless you can reach your destination" - this means in the case described the train should indeed cross the signal, as it only wants to go as far as the train stop. In this case, the bug is that the chain signals displays red, when it should display blue (In other words, chain signals can chain in to stops as well as signals).
2. Chain signal means "don't pass unless you can vacate (chained) block" - this means in the case described the train should have waited. But this may be more complex in case the block with the stop has more than one exit. I think in this case the train should try to calculate it's path for the stop after this one to figure if it will have to use a blocked exit or not. This may not be the path it actually ends up taking, as it would re-calculate it upon exiting the stop, but it's better than nothing.
3. Chain signal means "following block should be kept vacant whenever possible" - this means the case described is not supported. In this case the chain signal should blink red/blue/yellow (wrong placement) and should be ignored by all trains, just like when you put a normal signal on a track where the back and front are connected.
I tend towards number 2, but any of these solutions may be considered valid. What is definitely a bug is the current case, where a signal is red, yet a train passes through it.
Re: [0.12.3] Train ignores chain signal if entering station bloc
Posted: Sat Aug 15, 2015 8:31 pm
by kovarex
I believe the current behaviour is good enough, so I'm moving it to not a bug.