TrainCarts/Attachments/Model [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
(Created page with "== 概要 ==")
(Created page with "== モデルストア ==")
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
== 概要 ==
== 概要 ==


<div lang="en" dir="ltr" class="mw-content-ltr">
'''モデルアタッチメント'''を使えば、アタッチメントのグループをいろいろな場所に表示することができます。モデルアタッチメントを編集すると、そのモデルアタッチメントを使用しているすべてが一括で変更されます。これはシートやタイヤなど、複数の場所で何度も再利用するアタッチメントをまとめておくのに便利です。
The '''model attachment''' is used to show a single attachment or a group of attachments in more than one place. Editing the model attachment will simultaneously edit it everywhere it is used. This makes this useful for commonly reused attachments, like seats and wheels.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
『モデル』と同じ名前がついていますが、モデルアタッチメントはアタッチメントを再利用するためのものであり、'''リソースパックのカスタムモデルを使うためのものではありません!''' その用途には、[[TrainCarts/Attachments/Item|アイテムアタッチメント]]を使ってください。
While called the same, Model refers to a configuration model for reusing attachments. '''This is not for showing custom models in resource packs.''' Use the [[TrainCarts/Attachments/Item|Item Attachment]] for that instead.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
モデルアタッチメントは[[#モデルストア|''モデルストア'']]からアタッチメントの設定を読み込みます。[[Special:MyLanguage/TrainCarts/Attachments/General#Save.2FLoad|ジェネラルメニュー]]から、アタッチメントを保存することができます。
The model attachment loads an attachment configuration from the [[#Model_Store|''model store'']]. You can save attachments to be used in models in the [[Special:MyLanguage/TrainCarts/Attachments/General#Save.2FLoad|general menu]].
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
== 外観 ==
== Appearance ==
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
* モデルの名前は金床画面かドロップダウンから選択できます。
* The model name can be selected either through an anvil menu, or by selecting them in a dropdown menu.
* 存在しないモデル名を入力した時は、赤く表示され、ロードボタンで新しい構成を読み込むことができます。既存の設定を上書きすることも可能です。
* If a non-existing model name was selected (shown as red), the Load button can be used to load a new configuration. It can also overwrite existing configurations.
* 編集ボタンは選択中のモデルを編集します。こうすると、そのモデルアタッチメントを使っているすべてのアタッチメントが更新されます。
* The edit button edits the model configuration that is selected. This will modify the attachments in all places where it is used in a model attachment
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
=== 同時編集 ===
=== Multi-Editing ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
複数のアタットメントや列車で同じ名前が使われているとき、モデルストアで変更を行うと、すべてが一斉に更新されます。
If the same model name is used in multiple model attachments or even trains, making changes to the configuration in the model store will update all locations simultaneously.
</div>


== モデルストア ==


== Model Store ==
<div lang="en" dir="ltr" class="mw-content-ltr">
The Model Store is the full collection of attachments saved under a name:
The Model Store is the full collection of attachments saved under a name:
* Resource packs loaded on the server can include read-only model configurations of train parts
* Resource packs loaded on the server can include read-only model configurations of train parts
* Models can be saved to the store in the [[Special:MyLanguage/TrainCarts/Attachments/General#Save.2FLoad|general menu]]
* Models can be saved to the store in the [[Special:MyLanguage/TrainCarts/Attachments/General#Save.2FLoad|general menu]]
* Models are saved to <code>plugins/Train_Carts/SavedModels.yml</code> and separate module yml files in the <code>savedModelModules</code> folder, similar to saved trains
* Models are saved to <code>plugins/Train_Carts/SavedModels.yml</code> and separate module yml files in the <code>savedModelModules</code> folder, similar to saved trains
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
=== Commands ===
=== Commands ===
</div>
<div lang="en" dir="ltr" class="mw-content-ltr">
Commands for manipulating models are available under the <code>/train model config <name> <subcommand></code> set of commands. It is here you can configure a model to be saved to a separate module (its own yml file).
Commands for manipulating models are available under the <code>/train model config <name> <subcommand></code> set of commands. It is here you can configure a model to be saved to a separate module (its own yml file).
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
You can use <code>/train model config <name> edit</code> to edit an existing model configuration in the attachment editor.
You can use <code>/train model config <name> edit</code> to edit an existing model configuration in the attachment editor.
</div>

Latest revision as of 06:33, 18 June 2026

Other languages:

概要

モデルアタッチメントを使えば、アタッチメントのグループをいろいろな場所に表示することができます。モデルアタッチメントを編集すると、そのモデルアタッチメントを使用しているすべてが一括で変更されます。これはシートやタイヤなど、複数の場所で何度も再利用するアタッチメントをまとめておくのに便利です。

『モデル』と同じ名前がついていますが、モデルアタッチメントはアタッチメントを再利用するためのものであり、リソースパックのカスタムモデルを使うためのものではありません! その用途には、アイテムアタッチメントを使ってください。

モデルアタッチメントはモデルストアからアタッチメントの設定を読み込みます。ジェネラルメニューから、アタッチメントを保存することができます。

外観

  • モデルの名前は金床画面かドロップダウンから選択できます。
  • 存在しないモデル名を入力した時は、赤く表示され、ロードボタンで新しい構成を読み込むことができます。既存の設定を上書きすることも可能です。
  • 編集ボタンは選択中のモデルを編集します。こうすると、そのモデルアタッチメントを使っているすべてのアタッチメントが更新されます。

同時編集

複数のアタットメントや列車で同じ名前が使われているとき、モデルストアで変更を行うと、すべてが一斉に更新されます。

モデルストア

The Model Store is the full collection of attachments saved under a name:

  • Resource packs loaded on the server can include read-only model configurations of train parts
  • Models can be saved to the store in the general menu
  • Models are saved to plugins/Train_Carts/SavedModels.yml and separate module yml files in the savedModelModules folder, similar to saved trains

Commands

Commands for manipulating models are available under the /train model config <name> <subcommand> set of commands. It is here you can configure a model to be saved to a separate module (its own yml file).

You can use /train model config <name> edit to edit an existing model configuration in the attachment editor.