VASSAL Reference ManualHome > Module > Game Piece Palette > Game Piece > Replace With Other |
||
Replace With Other
|
A Game Piece with this trait will have a
menu command that replace this piece with a different piece. You
can select any existing piece for the replacement or define a new one
from scratch. Description: A brief description of this trait that will appear in the Piece Definer window. Command: The right-click menu text for this trait. Keyboard Command: The keyboard shortcut to initiate this trait. Define Replacement: Use the Define Replacement button to open a Piece Definer to create a new definition of the piece from scratch. Select: Use the Select button to use the definition from an existing piece in the module. This acts as a pointer to an existing definition, if the original piece is changed, the piece created by the Replace with Other trait will also change. Horizontal offset: The replacement will be placed this many pixels to the right of the original piece. Vertical offset: The replacement will be placed this many pixels above the original piece. Match Current State: If selected, VASSAL will attempt to put the replacement piece in the same state as the original piece. Layers will be set to the same level, labels will be given the same value, rotation angles will match, etc. The state of a particular trait will carry over only if it has an exact match in the replacement, i.e. the properties settings of that trait are the same in both the original and replacement piece. Only match states above this trait: If selected, VASSAL will only replace states in traits that occur above this one in the list traits in the game piece editor. For example, the state of a Marker that's above this one will change if the state in the new game piece. If it's below, then it will not change if the new game piece has the same marker property. Place marker: Choose whether the new piece should be placed on the top of this piece's stack, on the bottom, or directly above/below the triggering piece. Keystroke to apply after placement:Optional keystroke to be applied automatically to the new piece immediately after being placed. EXAMPLE: A unit that can be destroyed but still leaves a wreck behind can be given this trait to turn it into a wreck. This is more convenient than dragging a new piece from the Game Piece Palette and can't be accidentally undone, as a Layer trait could. SEE ALSO: Place Marker trait. |
![]() |