The blocker sign allows you to block trains coming from a certain direction. It is also used during path finding to block certain routes from being used. For example, if your trains are getting sent into the wrong direction, possibly colliding with other trains, you can use the blocker sign to prevent this.
The sign needs to be powered for it to function. It does not have to be powered for it to be used during path finding. It operates on both flat and ramped rails, so it allows you to stop a train while it slides down a ramp. Players cannot push the train past the blocker sign, but they can push it the other way since that direction is not blocked.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
因此,即使是激活的阻挡器也不会完全阻挡列车的移动,你可以往反方向推走。
Therefore, blocker signs do not indefinitely freeze the train until power is removed, you can still push it in the other direction.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== 语法 ==
== Sign syntax ==
</div>
{{sign|[+train:north]|blocker}}
{{sign|[+train:north]|blocker}}
<div lang="en" dir="ltr" class="mw-content-ltr">
=== 第一行 ===
=== First line ===
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
[train] 或 [cart] 后面可跟方向,用于指定要阻挡的方向。
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 '''r'''ight you can also use '''r''' on the line.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
为了使用路径查找,阻挡器的第一行请始终设置为 ''[+train]'',否则不起作用。
For use with path finding, always use the always-powered ''[+train]'' syntax on blocker signs, otherwise it does not work.
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.
By setting the [[TrainCarts/Signs/Property#Wait_Property|train wait acceleration property]], trains will automatically slow down approaching an active blocker sign, instead of stopping instantly.
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
== 视频 ==
== Media ==
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
https://www.youtube.com/watch?v=S1ERZDwJnZk
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!