Difference between revisions of "TrainCarts/Signs/Blocker/zh-cn"

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "=== 第三行和第四行 ===")
(Created page with "与 station(车站)控制牌类似,你可以添加一个可选操作,在阻挡器关闭后执行。操作包括 '''left''','''right''','''continue''' 和 '''revers...")
Line 60: Line 60:
 
=== 第三行和第四行 ===
 
=== 第三行和第四行 ===
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
与 station(车站)控制牌类似,你可以添加一个可选操作,在阻挡器关闭后执行。操作包括 '''left''''''right''''''continue''' '''reverse'''(分别表示左转、右转、继续、后退)。
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.
 
</div>
 
  
 
<div lang="en" dir="ltr" class="mw-content-ltr">
 
<div lang="en" dir="ltr" class="mw-content-ltr">

Revision as of 12:50, 4 September 2024

Other languages:
English • ‎中文(中国大陆)‎

« 返回


介绍

TrainCarts-Blocker-Ramped.gif

blocker(阻挡器)控制牌(以下简称阻挡器)允许你阻挡来自某个方向的列车。在路径查找功能中也用于表示被禁用的路线。举个例子,如果列车被发往错误的方向,可能与其他列车相撞,你可以使用阻挡器防止此类事件的发生。

阻挡器需要激活才能运行。路径查找时无需是激活。它可以放置在直道和坡道上,因此它可以让下坡的列车停止。玩家不能将列车推过阻挡器,但可以推向反方向(如果反方向没有阻挡器的话)。

因此,即使是激活的阻挡器也不会完全阻挡列车的移动,你可以往反方向推走。


语法

Signtemplate.png
[+train:north]
blocker


第一行

[train] 或 [cart] 后面可跟方向,用于指定要阻挡的方向。

你可以使用下面定义的类型。如果留空(比如 [train]),列车必须面向阻挡器的正面或侧面。类型由方向的首字母定义,比如右的英文 right,使用 r 表示。

为了使用路径查找,阻挡器的第一行请始终设置为 [+train],否则不起作用。

文本 结果
north 北 来自北方的列车会被阻挡。
south 南 来自南方的列车会被阻挡。
east 东 来自东方的列车会被阻挡。
west 西 来自西方的列车会被阻挡。
left 左 相对于牌子左侧驶来的列车会被阻挡。
right 右 相对于牌子右侧驶来的列车会被阻挡。
backwards 后 相对于牌子后方驶来的列车会被阻挡。
forwards 前 与不指定方向时相同,相对于牌子前方驶来的列车会被阻挡。


第三行和第四行

与 station(车站)控制牌类似,你可以添加一个可选操作,在阻挡器关闭后执行。操作包括 leftrightcontinuereverse(分别表示左转、右转、继续、后退)。

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!