Page 1 of 1

Treat closed signal identically to red signal

Posted: Sun Jul 31, 2016 12:37 pm
by atloomis
Currently a train will alternate routes if another train is blocking its path, but not for a red signal from the combinator network. A possible fix would be to have the close signal option generate a ghost train in its block to encourage proper pathing.

Image
The moving train sees the parked train and chooses the longer route.

Image
With no train in its way, the train decides to sit here forever.

Re: Treat closed signal identically to red signal

Posted: Mon Aug 01, 2016 12:01 pm
by ssilk
Sorry, but I don't understand this.

Do you mean with the second pic, that a closed signal should behave like that there is a train on the rails in front of the signal?
Why don't you use chain signals instead then?

Re: Treat closed signal identically to red signal

Posted: Mon Aug 01, 2016 2:14 pm
by atloomis
I'm saying that given the following signals

Code: Select all

 G
/ \
G G
| |
R G
| |
G G
\ /
 G
when the red signal is caused by a train on the tracks, a train going from the top node to the bottom one will choose to use the right branch, even if it is longer than the left branch, whereas if the red signal is caused by the circuit network, a train moving from the top to the bottom will choose the shortest path, regardless of the signals, and get stuck.

I've attached a save file with an example to make it obvious what I'm talking about. Just switch the trains at the stations to automatic.

Re: Treat closed signal identically to red signal

Posted: Mon Aug 01, 2016 10:10 pm
by ssilk
Understood.
You mean, that the red signal alone doesn't add enough penalty to the pathfinder, that the train takes another route.

Added to viewtopic.php?f=80&t=21899 Control Train Pathfinder (Passthru stations, Add Penalty)
where some more of such ideas are collected. :)