TrainCarts/Signs/Blocker [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "''train''もしくは''cart''のあとに、他のサインと同様せき止める方向を指定することも可能です。")
(Created page with "https://www.youtube.com/watch?v=S1ERZDwJnZk '''バージョンアップで文法が変更されていることに留意してください'''。左からくる列車をブロックするには[train:left]を使います。また、今は三行目は方向を決めるためには用いられていません。")
 
(6 intermediate revisions by the same user not shown)
Line 19: Line 19:
''train''もしくは''cart''のあとに、他のサインと同様せき止める方向を指定することも可能です。
''train''もしくは''cart''のあとに、他のサインと同様せき止める方向を指定することも可能です。


<div lang="en" dir="ltr" class="mw-content-ltr">
また、その後に方向を指定することもできます。方向を指定せず''[train]''のみにした場合、列車は看板の文字がある方向に向いている場合にブロックされます。'''r'''ightのかわりに'''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">
経路探索の際にBlockerサインを利用する場合は、''[+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 moving from south to north are blocked
| 南から北へ移動する列車がブロックされます。
|-
|-
| '''s'''outh
| '''s'''outh
| Trains moving from north to south are blocked
| 北から南へ移動する列車がブロックされます。
|-
|-
| '''e'''ast
| '''e'''ast
| Trains moving from west to east are blocked
| 西から東へ移動する列車がブロックされます。
|-
|-
| '''w'''est
| '''w'''est
| Trains moving from east to west are blocked
| 東から西へ移動する列車がブロックされます。
|-
|-
| '''l'''eft
| '''l'''eft
| Trains moving from left to right (relative to the sign) are blocked
| 左から右へ移動する列車がブロックされます。なお、この左右はサインのテキストの面に準拠します。
|-
|-
| '''r'''ight
| '''r'''ight
| Trains moving from right to left (relative to the sign) are blocked
| 右から左へ移動する列車がブロックされます。
|-
|-
| '''b'''ackwards
| '''b'''ackwards
| Trains moving from the back to the front (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">
三行目では遅延を、四行目ではサインが停止した時のオプションをそれぞれ任意で指定可能です。Stationサインと同じように、Blockerサインが電源供給を失った時に列車をどうするかを指定することができます。オプションは'''left''''''right''''''continue''''''reverse'''の四つで、書き込まなかった場合はデフォルトとして何も動きません。それぞれのオプションで用いられる速度はBlockerサインで停車する前の速度と同じですが、実際に『発車』の処理が起こるわけではありません。
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 ==
[[Special:MyLanguage/TrainCarts/Signs/Property#Wait_Property|waitaccelerationプロパティ]]を設定すると、列車はアクティブなBlockerサインでピタッと泊まるのではなく、自動的に減速を行うことができます。
By setting the [[Special:MyLanguage/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 01:44, 28 July 2026

Other languages:

概要

TrainCarts-Blocker-Ramped.gif

Blockerサインはさまざまな方向からくる列車をせき止めます。経路探索システムで経路を調べる際にも、特定の線路が利用されないように設定する役割も果たします。たとえば列車が間違っている方向に向かって走っているとき、他の列車との衝突を起こしてしまうかもしれませんが、Blockerサインを用いることでこれを防ぐことが可能です。

動作には電源が必要ですが、経路探索においてこのサインを利用する場合は必要ありません。平らな線路でも傾斜のある線路でも動作するため、滑り落ちる列車をせき止めることにも利用できます。また、プレイヤーはBlockerサインの向こうへ列車を押し込むことはできませんが、ブロックされていない方向へ動かすことはできます。

そのため、Blockerサインは電源供給が途絶えるまでそこに列車を釘付けにするわけではなく、反対方向への進行は許可します。


記法

Signtemplate.png
[+train:north]
blocker


一行目

trainもしくはcartのあとに、他のサインと同様せき止める方向を指定することも可能です。

また、その後に方向を指定することもできます。方向を指定せず[train]のみにした場合、列車は看板の文字がある方向に向いている場合にブロックされます。rightのかわりにrだけ書いてもよく、方向は最初の一文字のみで指定することも可能です。

経路探索の際にBlockerサインを利用する場合は、[+train]を用いて常時サインがオンになるようにしておいてください。そうでない場合は経路探索時の勘案に入りません。

テキスト 結果
north 南から北へ移動する列車がブロックされます。
south 北から南へ移動する列車がブロックされます。
east 西から東へ移動する列車がブロックされます。
west 東から西へ移動する列車がブロックされます。
left 左から右へ移動する列車がブロックされます。なお、この左右はサインのテキストの面に準拠します。
right 右から左へ移動する列車がブロックされます。
backwards 後ろから前へ移動する列車がブロックされます。
forwards 空行にした時と結果は同じです。

三行目と四行目

三行目では遅延を、四行目ではサインが停止した時のオプションをそれぞれ任意で指定可能です。Stationサインと同じように、Blockerサインが電源供給を失った時に列車をどうするかを指定することができます。オプションはleftrightcontinuereverseの四つで、書き込まなかった場合はデフォルトとして何も動きません。それぞれのオプションで用いられる速度はBlockerサインで停車する前の速度と同じですが、実際に『発車』の処理が起こるわけではありません。

接近時に減速する

waitaccelerationプロパティを設定すると、列車はアクティブなBlockerサインでピタッと泊まるのではなく、自動的に減速を行うことができます。

メディア

https://www.youtube.com/watch?v=S1ERZDwJnZk バージョンアップで文法が変更されていることに留意してください。左からくる列車をブロックするには[train:left]を使います。また、今は三行目は方向を決めるためには用いられていません。