PropertySheet

From VASSAL
Jump to: navigation, search

VASSAL Reference Manual

Home > Module > Game Piece Palette > Game Piece > Property Sheet


Property Sheet

PropertySheet.png
This trait attaches an arbitrary set of editable properties to a Game Piece.

Menu Text and Keystroke specify the name of the menu item and keyboard command to show the properties window during play.

When a player edits the properties window during play, there are three methods for committing   changes:
  1. Commit on Every Keystroke - Every keystroke and tick-mark click you make are immediately committed as you make them. Other players see your changes immediately.
  2. Commit on Apply Button or Enter Key - Changes are not communicated to other players until you press the APPLY button at the bottom of the property sheet, or press the ENTER key on your keyboard, or close the Property Sheet window.
  3. Commit on Window Close or Enter Key - Changes are not communicated to other players until you press the ENTER key or close the Property Sheet window.
You may customize the background color of each PropertySheet window, for example to use different colors for the pieces belonging to different sides.

You may select from 8 different formats in which to display properties:
  1. Text - A simple, single-line field that accepts text.
  2. Multi-line text - A field that accepts multi-line text. This type of field stretches to fill extra space on the property sheet window. It is suitable for free form notes.
  3. Label Only - This is not really a property, it simply adds text to your property sheet. It is useful for documenting your property sheet.
  4. Tick Marks - Displays one or more rows of checkboxes. Suitable for tracking ammo or damage. Players specify a current and maximum value range.
  5. Tick Marks with Max Field - As above, but the maximum value is displayed in an editable field to the left of the checkboxes. Suitable for Role-Playing games where damage-tracking is based on a character attribute that is also important.
  6. Tick Marks with Value Field - As Tick marks, but the current value is displayed in an editable field. Suitable for large-value properties where clicking ticks might be impractical and when the exact tick value is important. For example weapons that track 100+ rounds of ammo.
  7. Tick Marks with Value & Max - As Tick marks, but both current value and maximum values are editable.
  8. Spinner - A numeric property that includes increment and decrement buttons.
Here's an example of using PropertySheets to maintain character fighting stats, demonstrating the Tick Marks, Text, Spinner, and Multi-line text types.
Property sheet map.png

Using Tick Marks

Propertysheet-edit2.png

Propertysheet-edit4.png

File:Propertysheet-edit5.png

Tick Mark property types have a value and a maximum.   Either, both, or neither may be displayed as a text box in addition to the tick marks.   Initially, the maximum and value are both 0, so no tick marks appear.   To set the value and/or maximum when the box is not shown, right-click in the area where the tick marks would appear.