Difference between revisions of "TrainCarts/Attachments/Model"
Jump to navigation
Jump to search
Bergerkiller (talk | contribs) |
Bergerkiller (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<languages/> | <languages/> | ||
<translate> | <translate> | ||
+ | <!--T:1--> | ||
[[Special:MyLanguage/TrainCarts/Attachments|« Go back]] | [[Special:MyLanguage/TrainCarts/Attachments|« Go back]] | ||
− | == Introduction == | + | == Introduction == <!--T:2--> |
− | The model attachment loads configuration from the ''model store''. You can save attachments to be used in models in the [[Special:MyLanguage/TrainCarts/Attachments/General#Save.2FLoad|general menu]]. | + | <!--T:3--> |
+ | 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]]. | ||
− | == Appearance == | + | == Appearance == <!--T:4--> |
+ | <!--T:5--> | ||
* The model name can be selected either through an anvil menu, or by selecting them in a dropdown menu. | * 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. | * 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 | * 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 | ||
− | === Multi-Editing === | + | === Multi-Editing === <!--T:6--> |
+ | <!--T:7--> | ||
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. | 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. | ||
</translate> | </translate> | ||
+ | |||
+ | |||
+ | == Model Store == | ||
+ | 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 [[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 | ||
+ | |||
+ | === Commands === | ||
+ | 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). | ||
+ | |||
+ | You can use <code>/train model config <name> edit</code> to edit an existing model configuration in the attachment editor. |
Latest revision as of 03:27, 31 December 2023
Introduction
The model attachment loads an attachment configuration from the model store. You can save attachments to be used in models in the general menu.
Appearance
- 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
Multi-Editing
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.
Model Store
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 thesavedModelModules
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.