TrainCarts/Signs/Destination [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "'''三行目''':''目的地の名前。大文字と小文字を区別します。''")
(Created page with "遠隔操作を使い、列車の目的地を遠隔で設定できます。あなたの列車が''train01''という名前であれば、このような記法を利用できます。")
 
(5 intermediate revisions by the same user not shown)
Line 12: Line 12:
'''二行目''':''目的地''
'''二行目''':''目的地''


'''三行目''':''目的地の名前。大文字と小文字を区別します。''
'''三行目''':''看板のある地点に設定する目的地の名前。大文字と小文字を区別します。''


<div lang="en" dir="ltr" class="mw-content-ltr">
'''四行目'''''列車に設定する目的地の名前。大文字と小文字を区別します。''
'''Fourth line:''' ''Case-sensitive destination name to set on the train''
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
上の例では、目的地は<code>centralstation</code>となり、<code>centralstation</code>が目的地である列車はこの地点への道のりを自動で探索します。また同時に、ここを通過した列車の次の目的地は<code>subway_1</code>と設定し直されます。
In the example above, the destination is <code>centralstation</code>, and any train with a destination of <code>centralstation</code> will find a path to the sign. Any train that passes over the sign will also have its destination set as <code>subway_1</code>.
</div>






<div lang="en" dir="ltr" class="mw-content-ltr">
この地点に新しく名前を作らず、列車に目的地を設定するだけにしたい場合には、三行目を空白にすることができます。同じように、ここに地点を設定したい場合は四行目を空白にします。目的地は、下記の条件を満たしている場合にのみ設定されます。
You can leave the third line blank to only let the sign set a new destination on the train. You can leave the fourth line blank to only use this sign for path finding. The destination is set on the train only if:
* 列車の目的地が未設定のとき。
* The train has no destination set
* Destinationサインが自分自身を指していないとき。つまり、三行目と四行目に別の目的地が書かれているということです。
* The destination sign is itself no destination
* Destinationサインがレッドストーン信号を受けているとき。
* The destination sign is activated using Redstone power
* Destinationサインが対象としている名前が、列車の名前と同じとき。
* The destination sign name is the same as the destination set on the train
</div>






<div lang="en" dir="ltr" class="mw-content-ltr">
=== 遠隔操作 ===
=== Remote Control ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
[[Special:MyLanguage/TrainCarts/Signs#Remote_Control|遠隔操作]]を使い、列車の目的地を遠隔で設定できます。あなたの列車が''train01''という名前であれば、このような記法を利用できます。
[[Special:MyLanguage/TrainCarts/Signs#Remote_Control|Remote Control]]
You can remotely set destinations on trains. Say your train is called ''train01'', then you use the following on the sign:
</div>


{{sign|[train train01]|destination|subway|bridge}}
{{sign|[train train01]|destination|subway|bridge}}

Latest revision as of 06:53, 16 June 2026

Other languages:

概要

Destinationサインは経路探索ロジックを用い、設定された名前の『目的地』を探索し、道のりを決定します。列車が目的地に向けて進むとき、プラグインが自動で目的地へ向かうためにレールの分岐を切り替えます。マーカー以外にも、クリックやレッドストーン、看板のサインを用いて新しく目的地を設定できます。


記法

Signtemplate.png
[train]
destination
centralstation
subway_1


二行目目的地

三行目看板のある地点に設定する目的地の名前。大文字と小文字を区別します。

四行目列車に設定する目的地の名前。大文字と小文字を区別します。

上の例では、目的地はcentralstationとなり、centralstationが目的地である列車はこの地点への道のりを自動で探索します。また同時に、ここを通過した列車の次の目的地はsubway_1と設定し直されます。


この地点に新しく名前を作らず、列車に目的地を設定するだけにしたい場合には、三行目を空白にすることができます。同じように、ここに地点を設定したい場合は四行目を空白にします。目的地は、下記の条件を満たしている場合にのみ設定されます。

  • 列車の目的地が未設定のとき。
  • Destinationサインが自分自身を指していないとき。つまり、三行目と四行目に別の目的地が書かれているということです。
  • Destinationサインがレッドストーン信号を受けているとき。
  • Destinationサインが対象としている名前が、列車の名前と同じとき。


遠隔操作

遠隔操作を使い、列車の目的地を遠隔で設定できます。あなたの列車がtrain01という名前であれば、このような記法を利用できます。

Signtemplate.png
[train train01]
destination
subway
bridge