//Blocker
概要
Blockerサインはさまざまな方向からくる列車をせき止めます。経路探索システムで経路を調べる際にも、特定の線路が利用されないように設定する役割も果たします。たとえば列車が間違っている方向に向かって走っているとき、他の列車との衝突を起こしてしまうかもしれませんが、Blockerサインを用いることでこれを防ぐことが可能です。
動作には電源が必要ですが、経路探索においてこのサインを利用する場合は必要ありません。平らな線路でも傾斜のある線路でも動作するため、滑り落ちる列車をせき止めることにも利用できます。また、プレイヤーはBlockerサインの向こうへ列車を押し込むことはできませんが、ブロックされていない方向へ動かすことはできます。
Therefore, blocker signs do not indefinitely freeze the train until power is removed, you can still push it in the other direction.
Sign syntax
First line
After train or cart, you can specify the direction to block. (just like you can with every other sign)
You can use the types defined below. If left empty ([train]), the train has to face the text-side of the sign to be blocked. The type is defined by the first letter, so instead of right you can also use r on the line.
For use with path finding, always use the always-powered [+train] syntax on blocker signs, otherwise it does not work.
| Text | Result |
|---|---|
| north | Trains moving from south to north are blocked |
| south | Trains moving from north to south are blocked |
| east | Trains moving from west to east are blocked |
| west | Trains moving from east to west are blocked |
| left | Trains moving from left to right (relative to the sign) are blocked |
| right | Trains moving from right to left (relative to the sign) are blocked |
| backwards | Trains moving from the back to the front (relative to the sign) are blocked |
| forwards | Same result as if you keep the line empty |
Third and Fourth line
Similar to the station sign, you can add an optional action to perform after the blocker sign loses power. Options are left, right, continue and reverse. If left empty, the train is not moved at all. All actions launch with the same velocity as the train had when entering the blocker sign, no actual launching is performed. The third line is used for a delay, the fourth specifies the direction to launch to.
Slowing down on approach
By setting the train wait acceleration property, trains will automatically slow down approaching an active blocker sign, instead of stopping instantly.
Media
https://www.youtube.com/watch?v=S1ERZDwJnZk Important: Syntax has changed over time. Use [train:left] to block trains coming from the left. The third line no longer defines the direction!

