TrainCarts/Attachments/Model [ja]

From BergerHealer Wiki
Jump to navigation Jump to search
This page is a translated version of the page TrainCarts/Attachments/Model and the translation is 71% complete.
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.