Difference between revisions of "TrainCarts/Attachments/General"
Bergerkiller (talk | contribs) (Created page with "« Go back thumb|General menu opened in the attachment editor == Introduction == The general menu hou...") |
Bergerkiller (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <languages/> | ||
+ | <translate> | ||
+ | <!--T:1--> | ||
[[Special:MyLanguage/TrainCarts/Attachments|« Go back]] | [[Special:MyLanguage/TrainCarts/Attachments|« Go back]] | ||
+ | <!--T:2--> | ||
[[File:general_menu.png|thumb|General menu opened in the attachment editor]] | [[File:general_menu.png|thumb|General menu opened in the attachment editor]] | ||
− | == Introduction == | + | == Introduction == <!--T:3--> |
+ | |||
+ | <!--T:4--> | ||
The general menu houses all the options create, delete, move, save and load attachments. This is the first place you usually go to when configuring a new cart. | The general menu houses all the options create, delete, move, save and load attachments. This is the first place you usually go to when configuring a new cart. | ||
+ | |||
+ | == Add Attachment == <!--T:5--> | ||
+ | |||
+ | <!--T:6--> | ||
+ | Adds a new attachment as a child to the currently selected attachment. The newly added attachment will be of a wooden block item and is automatically selected. You can then go into the appearance menu to change it to the type of attachment you want. | ||
+ | |||
+ | === Dropdown === <!--T:7--> | ||
+ | |||
+ | <!--T:8--> | ||
+ | The dropdown button next to it allows adding multiple attachments from one of the following locations: | ||
+ | * Attachment configuration previously saved to the player's clipboard | ||
+ | * Attachment configuration downloaded from a paste server (https://paste.traincarts.net) | ||
+ | * Attachment configuration loaded from the [[TrainCarts/Attachments/Model#Model_Store|model store]] (previously saved under a name) | ||
+ | |||
+ | == Duplicate == <!--T:9--> | ||
+ | |||
+ | <!--T:10--> | ||
+ | Duplicates the currently selected attachment with all the same configurations. Can duplicate an entire tree of attachments. Identical in functionality as saving to clipboard and then adding from clipboard. | ||
+ | |||
+ | == Name == <!--T:11--> | ||
+ | |||
+ | <!--T:12--> | ||
+ | Attachments can be named. These names can then be used to target this attachment. This feature is used by: | ||
+ | * [[Special:MyLanguage/TrainCarts/Attachments/Sequencer|'''Sequencer attachment''']] to target the effect attachments and play their effects automatically | ||
+ | * [[Special:MyLanguage/TrainCarts/Signs/Effect|'''Effect sign''']] to play effect attachments with a given name | ||
+ | * The <code>/train effect <name></code> command to play effect attachments with a given name | ||
+ | * The <code>/train eject --seat <name></code> command to eject specific seat attachments with a given name | ||
+ | |||
+ | == Change Order == <!--T:13--> | ||
+ | |||
+ | <!--T:14--> | ||
+ | Use the change order button to change the position of the attachment in the tree hierarchy. This can be used to 'insert' an attachment as parent before another one, or to re-order them. Important when configuring animations. | ||
+ | |||
+ | == Delete == <!--T:15--> | ||
+ | |||
+ | <!--T:16--> | ||
+ | Deletes the attachment, including all child attachments. First asks to confirm deletion. | ||
+ | |||
+ | == Save/Load == <!--T:17--> | ||
+ | |||
+ | <!--T:19--> | ||
+ | [[File:save_attachments.png|thumb|Save Attachment dialog is opened in the attachment editor]] | ||
+ | |||
+ | <!--T:18--> | ||
+ | Saves or loads the configuration of the current attachment and all child attachments. Can be used to copy/paste attachments between trains or servers. This feature supports three locations to load/save to: | ||
+ | * Player Clipboard | ||
+ | * Paste server (https://paste.traincarts.net) | ||
+ | * [[TrainCarts/Attachments/Model#Model_Store|Model Store]]. Configurations are saved persistently in YAML to disk, and can be retrieved again from anywhere. The [[Special:MyLanguage/TrainCarts/Attachments/Model|Model Attachment]] can load these in. | ||
+ | </translate> |
Latest revision as of 03:21, 31 December 2023
Introduction
The general menu houses all the options create, delete, move, save and load attachments. This is the first place you usually go to when configuring a new cart.
Add Attachment
Adds a new attachment as a child to the currently selected attachment. The newly added attachment will be of a wooden block item and is automatically selected. You can then go into the appearance menu to change it to the type of attachment you want.
Dropdown
The dropdown button next to it allows adding multiple attachments from one of the following locations:
- Attachment configuration previously saved to the player's clipboard
- Attachment configuration downloaded from a paste server (https://paste.traincarts.net)
- Attachment configuration loaded from the model store (previously saved under a name)
Duplicate
Duplicates the currently selected attachment with all the same configurations. Can duplicate an entire tree of attachments. Identical in functionality as saving to clipboard and then adding from clipboard.
Name
Attachments can be named. These names can then be used to target this attachment. This feature is used by:
- Sequencer attachment to target the effect attachments and play their effects automatically
- Effect sign to play effect attachments with a given name
- The
/train effect <name>
command to play effect attachments with a given name - The
/train eject --seat <name>
command to eject specific seat attachments with a given name
Change Order
Use the change order button to change the position of the attachment in the tree hierarchy. This can be used to 'insert' an attachment as parent before another one, or to re-order them. Important when configuring animations.
Delete
Deletes the attachment, including all child attachments. First asks to confirm deletion.
Save/Load
Saves or loads the configuration of the current attachment and all child attachments. Can be used to copy/paste attachments between trains or servers. This feature supports three locations to load/save to:
- Player Clipboard
- Paste server (https://paste.traincarts.net)
- Model Store. Configurations are saved persistently in YAML to disk, and can be retrieved again from anywhere. The Model Attachment can load these in.