Game Piece Layers

I have created Game Piece Layers with the Property Name Layers

The Layer Order (from top to bottom) is: Air, Surfacr. Periscope, Shallow and Deep.

I have also created a Game Piece Layer Control with the button text as Layers, Hot Key is ALT L, the Action is Make Layer Active, and the list for which layers are affected is the same as the layer order in Game Piece Layers (Air, Surface, Periscope, Shallow, Deep).

I have a submarine counter with the Marker Trait property Name as Layers and the Property Value as Periscope.

I have a warship with the Marker Trait property Name as Layers and the Property Value as Surface.

Two problems;

  1. I click on the Game Piece Layer Control Button and nothing appears to happen - both counters remain visible and can be selected as if they were still both on the same layer.
  2. Can the submarine carry multiple Markers and be switched between Layers from Surface to Deep?

What am I doing wrong?

re 1. need to see the module, your description sounds about right so will need
to see why its not working

re 2. No because Vassal will only interpret the last marker trait called
“Layers” when you have multiple marker traits using the same name (the others
are automatically disregarded and considered overridden by the last one), but
you can use a Dynamic Property instead called “Layers” and switch it there.


From: Doggo mike@eleven-bravo.co.uk
To: messages@vassalengine.org
Sent: Wed, May 11, 2011 9:49:59 AM
Subject: [messages] [Module Design] Game Piece Layers

I have created Game Piece Layers with the Property Name Layers

The Layer Order (from top to bottom) is: Air, Surfacr. Periscope,
Shallow and Deep.

I have also created a Game Piece Layer Control with the button text as
Layers, Hot Key is ALT L, the Action is Make Layer Active, and the list
for which layers are affected is the same as the layer order in Game
Piece Layers (Air, Surface, Periscope, Shallow, Deep).

I have a submarine counter with the Marker Trait property Name as Layers
and the Property Value as Periscope.

I have a warship with the Marker Trait property Name as Layers and the
Property Value as Surface.

Two problems;

  1. I click on the Game Piece Layer Control Button and nothing appears to
    happen - both counters remain visible and can be selected as if they
    were still both on the same layer.
  2. Can the submarine carry multiple Markers and be switched between
    Layers from Surface to Deep?

What am I doing wrong?


Read this topic online here:
https://forum.vassalengine.org/t/game-piece-layers/3913/1