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

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "阻挡器需要激活才能运行。路径查找时无需是激活。它可以放置在直道和坡道上,因此它可以让下坡的列车停止。玩家不能将列车推...")
 
(15 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
[[File:TrainCarts-Blocker-Ramped.gif|frame|right]]
 
[[File:TrainCarts-Blocker-Ramped.gif|frame|right]]
blocker(阻挡器)控制牌(以下简称阻挡器)允许你阻挡来自某个方向的列车。在路径查找功能中也用于表示被禁用的路线。举个例子,如果列车被发往错误的方向,可能与其他列车相撞,你可以使用阻挡器防止此类事件的发生。
+
阻挡器允许你阻挡来自某个方向的列车。在路径查找功能中也用于表示被禁用的路线。举个例子,如果列车被发往错误的方向,可能会与其他列车相撞,你可以使用阻挡器防止此类事件的发生。
  
阻挡器需要激活才能运行。路径查找时无需是激活。它可以放置在直道和坡道上,因此它可以让下坡的列车停止。玩家不能将列车推过阻挡器,但可以推向反方向(如果反方向没有阻挡器的话)。
+
阻挡器需要激活才能运行。路径查找时非必须激活。它可以放置在直道和坡道,因此它可以让下坡的列车停止。玩家不能将列车推过阻挡器,但可以推向反方向(如果反方向没有阻挡器的话)。
  
<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)
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
你可以使用下面定义的类型。如果留空(比如 ''[train]''),列车必须面向阻挡器的正面或侧面。类型由方向的首字母定义,比如右的英文 right,使用 ''r'' 表示。
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.
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
 
 
{|class="wikitable" style="width: 498px; height: 171px;"
 
{|class="wikitable" style="width: 498px; height: 171px;"
 
|-
 
|-
! scope="col" | Text
+
! scope="col" | 文本
! scope="col" | Result
+
! scope="col" | 结果
 
|-
 
|-
| '''n'''orth
+
| '''n'''orth
| Trains coming from the north are blocked
+
| 来自北方的列车会被阻挡。
 
|-
 
|-
| '''s'''outh
+
| '''s'''outh
| Trains coming from the south are blocked
+
| 来自南方的列车会被阻挡。
 
|-
 
|-
| '''e'''ast
+
| '''e'''ast
| Trains coming from the east are blocked
+
| 来自东方的列车会被阻挡。
 
|-
 
|-
| '''w'''est
+
| '''w'''est 西
| Trains coming from the west are blocked
+
| 来自西方的列车会被阻挡。
 
|-
 
|-
| '''l'''eft
+
| '''l'''eft
| Trains coming from the left (relative to the sign) are blocked
+
| 相对于牌子左侧驶来的列车会被阻挡。
 
|-
 
|-
| '''r'''ight
+
| '''r'''ight
| Trains coming from the right (relative to the sign) are blocked
+
| 相对于牌子右侧驶来的列车会被阻挡。
 
|-
 
|-
| '''b'''ackwards
+
| '''b'''ackwards
| Trains coming from the back (relative to the sign) are blocked
+
| 相对于牌子后方驶来的列车会被阻挡。
 
|-
 
|-
| '''f'''orwards
+
| '''f'''orwards
| Same result as if you keep the line empty
+
| 与不指定方向时相同,相对于牌子前方驶来的列车会被阻挡。
 
|-
 
|-
 
|}
 
|}
</div>
 
  
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
=== 第三行和第四行 ===
=== Third and Fourth line ===
 
</div>
 
  
<div lang="en" dir="ltr" class="mw-content-ltr">
+
与车站类似,你可以添加一个可选操作,在阻挡器关闭后执行。操作包括 '''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">
+
== 减速 ==
== Slowing down on approach ==
+
通过设置列车等待时的[[TrainCarts/Signs/Property#Wait_Property|加速度属性]],可以使列车在接近激活的阻挡器时自动减速,而不是立即停下来。
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!
+
'''注意:''' 语法可能会随时间而发生改变。使用 [train:left] 阻挡相对于牌子左侧驶来的列车。第三行不再定义方向!
</div>
 

Latest revision as of 11:03, 12 September 2024

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

« 返回


介绍

TrainCarts-Blocker-Ramped.gif

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

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

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


语法

Signtemplate.png
[+train:north]
blocker


第一行

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

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

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

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


第三行和第四行

与车站类似,你可以添加一个可选操作,在阻挡器关闭后执行。操作包括 leftrightcontinuereverse(分别表示左转、右转、继续、返回)。如果留空,则列车不会移动。所有操作的列车启动速度都与列车进入阻挡器时的速度一致,不进行实际的带有加速度的启动。第三行指定启动延迟时间,第四行用于指定启动的方向。

减速

通过设置列车等待时的加速度属性,可以使列车在接近激活的阻挡器时自动减速,而不是立即停下来。

视频

https://www.youtube.com/watch?v=S1ERZDwJnZk 注意: 语法可能会随时间而发生改变。使用 [train:left] 阻挡相对于牌子左侧驶来的列车。第三行不再定义方向!