//Model
Saihou-Heiki (talk | contribs) (Created page with "== 概要 ==") |
Saihou-Heiki (talk | contribs) (Created page with "== モデルストア ==") |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
== 概要 == | == 概要 == | ||
'''モデルアタッチメント'''を使えば、アタッチメントのグループをいろいろな場所に表示することができます。モデルアタッチメントを編集すると、そのモデルアタッチメントを使用しているすべてが一括で変更されます。これはシートやタイヤなど、複数の場所で何度も再利用するアタッチメントをまとめておくのに便利です。 | |||
『モデル』と同じ名前がついていますが、モデルアタッチメントはアタッチメントを再利用するためのものであり、'''リソースパックのカスタムモデルを使うためのものではありません!''' その用途には、[[TrainCarts/Attachments/Item|アイテムアタッチメント]]を使ってください。 | |||
モデルアタッチメントは[[#モデルストア|''モデルストア'']]からアタッチメントの設定を読み込みます。[[Special:MyLanguage/TrainCarts/Attachments/General#Save.2FLoad|ジェネラルメニュー]]から、アタッチメントを保存することができます。 | |||
== 外観 == | |||
= | |||
* モデルの名前は金床画面かドロップダウンから選択できます。 | |||
* | * 存在しないモデル名を入力した時は、赤く表示され、ロードボタンで新しい構成を読み込むことができます。既存の設定を上書きすることも可能です。 | ||
* | * 編集ボタンは選択中のモデルを編集します。こうすると、そのモデルアタッチメントを使っているすべてのアタッチメントが更新されます。 | ||
* | |||
=== 同時編集 === | |||
=== | |||
複数のアタットメントや列車で同じ名前が使われているとき、モデルストアで変更を行うと、すべてが一斉に更新されます。 | |||
== モデルストア == | |||
== | <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
概要
モデルアタッチメントを使えば、アタッチメントのグループをいろいろな場所に表示することができます。モデルアタッチメントを編集すると、そのモデルアタッチメントを使用しているすべてが一括で変更されます。これはシートやタイヤなど、複数の場所で何度も再利用するアタッチメントをまとめておくのに便利です。
『モデル』と同じ名前がついていますが、モデルアタッチメントはアタッチメントを再利用するためのものであり、リソースパックのカスタムモデルを使うためのものではありません! その用途には、アイテムアタッチメントを使ってください。
モデルアタッチメントはモデルストアからアタッチメントの設定を読み込みます。ジェネラルメニューから、アタッチメントを保存することができます。
外観
- モデルの名前は金床画面かドロップダウンから選択できます。
- 存在しないモデル名を入力した時は、赤く表示され、ロードボタンで新しい構成を読み込むことができます。既存の設定を上書きすることも可能です。
- 編集ボタンは選択中のモデルを編集します。こうすると、そのモデルアタッチメントを使っているすべてのアタッチメントが更新されます。
同時編集
複数のアタットメントや列車で同じ名前が使われているとき、モデルストアで変更を行うと、すべてが一斉に更新されます。
モデルストア
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.ymland separate module yml files in thesavedModelModulesfolder, 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.