Rail signal: Difference between revisions
(Added link to signal tutorial. Removed section on bypasses.) |
m (better blinking text) |
||
Line 16: | Line 16: | ||
* <span style="color:#de8800">Orange</span> - A train is not able to stop before the monitored block and will pass the signal. The [[debug mode|debug option]] <code>show_train_stop_point</code> can be used to see the distance locomotives need to stop. | * <span style="color:#de8800">Orange</span> - A train is not able to stop before the monitored block and will pass the signal. The [[debug mode|debug option]] <code>show_train_stop_point</code> can be used to see the distance locomotives need to stop. | ||
* <span style="color:#ee7777">Red</span> - The monitored block is not empty or another signal monitoring it is orange. | * <span style="color:#ee7777">Red</span> - The monitored block is not empty or another signal monitoring it is orange. | ||
* | * <span class="rail-signal-blink">Blinking</span> - The signal is not on a rail, or the monitored block is also the block before the signal. | ||
When a signal is red locomotives will stop before it. A [[rail chain signal]] can be used to make locomotives stop earlier. | When a signal is red locomotives will stop before it. A [[rail chain signal]] can be used to make locomotives stop earlier. |
Revision as of 22:18, 6 November 2018
Rail signal |
Recipe |
|||||||||||||
+ + → | |||||||||||||
Total raw |
|||||||||||||
+ + | |||||||||||||
Map color |
|||||||||||||
Health |
|
||||||||||||
Stack size |
50 |
||||||||||||
50 (1 stack) |
|||||||||||||
Mining time |
0.1 |
||||||||||||
Prototype type |
|||||||||||||
Internal name |
rail-signal |
||||||||||||
Required technologies |
|||||||||||||
Produced by |
|||||||||||||
The rail signal divides rails into blocks and allows locomotives to react to other locomotives allowing multiple trains use the same rails without colliding. Blocks span all connected rails regardless if a train can actually travel between them.
Direction
Which block a signal monitors depends on which side of a rail it is placed. When a signal is on the right-hand side of the track it monitors the block in front of it. When placing rail signals the opposite signal positions will be highlighted in white. If a signal doesn't have a signal opposite of it locomotives will only be allowed to travel in the direction that has a signal on the right-hand side.
States
Rail signals have four states:
- Green - The monitored block is empty.
- Orange - A train is not able to stop before the monitored block and will pass the signal. The debug option
show_train_stop_point
can be used to see the distance locomotives need to stop. - Red - The monitored block is not empty or another signal monitoring it is orange.
- Blinking - The signal is not on a rail, or the monitored block is also the block before the signal.
When a signal is red locomotives will stop before it. A rail chain signal can be used to make locomotives stop earlier.
Circuit network
A circuit network condition can be configured that when true will make the rail signal red.
A rail signal can also output three different signals depending on if it is in its green, orange or red state. If a rail signal is red because of a circuit network condition the rail signal won't output a circuit network signal.
History
- 0.13.0:
- The rail signal is now connectable to the circuit network.
- Halved the mining time of the rail signal.
- Rail signal stop placement indicator added.
- 0.11.4:
- Rail signal that fails to divide two sections of rail will blink multiple colors.
- 0.9.0:
- Players no longer collide with the rail signal.
- 0.5.0:
- Players can now see a visualization of the protected rail area when building/selecting the signal.
- 0.4.1:
- Rail signals connect to more than one rail when connected to a junction.
- 0.4.0:
- Introduced