Newbie needs help

I’ve prettymuch managed to solve most of my problems and maybe could manage to do so for these too, but someone may already have done it and can post a step-by-step howto. No need to re-invent the wheel.

I’m making Europa modules for Vassal, and next I’d need to figure out how to do two things:

  • Create a “Partisan” counter. The owner is the only one who can view the reverse side. This can be easily done with “Restricted Access” but the problem is, how can the owning player check the reverse side of the counter (to see what it is) without it also showing to the opponent and observer? Optimal would be that the owner could see the name of the unit even with the “masked side” up, but I don’t think it can be done, can it?

Currently I have the piece defined as:
Basic Piece (image of Partisan counter and name “Partisan”)
Prototype - Ground Unit (Includes Delete, Movement Trail, Mark when Moved, Marker - Type = Ground Unit)
Restricted Access
Layer - Front side (Partisan) and reverse side (the actual unit/Dummy)

  • Hide all counters with a specific Marker Type.
    The Ownership markers sometimes obscure the terrain beneath, and I’d like to be able to have a “Show ownership on/off” button.
    The ownership markers are already defined with Marker - Type = Terrain
    How do I create a button/command that only affects them?

Thanks in advance,

  • Kez.

For the partisan counter I would imagine you want to use the “Mask” trait.
See, for example p. 52 of the Module Designer’s Guide.
I don’t think you will need restricted access.

For ownership markers, I would suggest using “Game Piece Layers”.
This is a different kind of layer than the layers used in counters.
It lets you define different layers to which game pieces belong which can
be used to give stacking orders (so, for example, ownership markers can be
on the bottom) and it also makes it easy to turn off the display of certain
layers. See p. 25 and p. 52.

Guide:
vassalengine.org/mediawiki/i … rguide.pdf

On Tue, Feb 11, 2014 at 7:23 AM, Kezerk kezerk@kezerk.com wrote:

I’ve prettymuch managed to solve most of my problems and maybe could
manage to do so for these too, but someone may already have done it and
can post a step-by-step howto. No need to re-invent the wheel.

I’m making Europa modules for Vassal, and next I’d need to figure out
how to do two things:

  • Create a “Partisan” counter. The owner is the only one who can view
    the reverse side. This can be easily done with “Restricted Access” but
    the problem is, how can the owning player check the reverse side of the
    counter (to see what it is) without it also showing to the opponent and
    observer? Optimal would be that the owner could see the name of the
    unit even with the “masked side” up, but I don’t think it can be done,
    can it?

Currently I have the piece defined as:
Basic Piece (image of Partisan counter and name “Partisan”)
Prototype - Ground Unit (Includes Delete, Movement Trail, Mark when
Moved, Marker - Type = Ground Unit)
Restricted Access
Layer - Front side (Partisan) and reverse side (the actual unit/Dummy)

  • Hide all counters with a specific Marker Type.
    The Ownership markers sometimes obscure the terrain beneath, and I’d
    like to be able to have a “Show ownership on/off” button.
    The ownership markers are already defined with Marker - Type = Terrain
    How do I create a button/command that only affects them?

Thanks in advance,

  • Kez.

Read this topic online here:
Newbie needs help


messages mailing list
messages@vassalengine.org
vassalengine.org/mailman/listinfo/messages

Thanks. Mask works like a charm, but I still haven’t figured out how to hide the layer.

Any chance of a step-by-step instruction?

The Ownership marker has the following properties:
Basic Piece
Layer - Hex ownership (with Loyalist/Insurgent sides)
Does not stack
Delete
Marker - Layer = Terrain
Marker - Type = Ownership

Terrain has not been defined as a layer in the map (yet), so this is pretty much what I have going for it. What next?

  • Kez.