Page 1 of 1

Hide some but not all counters

PostPosted: April 22nd, 2019, 8:16 pm
by Angel0616
Hi,

How can I hide some counters on the map?

Looking for something similar to the hide all command but to be applied only to some unit types.

Maybe by setting a value on the counter and then using a Key command that would apply only to counters with that value? Not sure how that would work or if even possible.

Did a search of the forums but got nothing of value. Maybe I'm not searching for the right topics. :?


Thanks,
Ang

Re: Hide some but not all counters

PostPosted: April 22nd, 2019, 10:34 pm
by tar
You want to look at masking counters.

The "hide all counters" is the to let you see the map when the are a lot of
counters. Masking is more selective and can hide counters from only one
side.

On Mon, Apr 22, 2019, 2:16 PM Angel0616 wrote:

> Hi,
>
> How can I hide some counters on the map?
>
> Looking for something similar to the hide all command but to be applied
> only to some unit types.
>
> Maybe by setting a value on the counter and then using a Key command
> that would apply only to counters with that value? Not sure how that
> would work or if even possible.
>
> Did a search of the forums but got nothing of value. Maybe I'm not
> searching for the right topics. :?
>
>
> Thanks,
> Ang
>
> _______________________________________________
> Read this topic online here:
> viewtopic.php?p=56792#p56792
> _______________________________________________
> messages mailing list
> messages@vassalengine.org
> http://www.vassalengine.org/mailman/listinfo/messages
>

Re: Hide some but not all counters

PostPosted: April 22nd, 2019, 11:37 pm
by Angel0616
Thanks for the reply.

I don't think masking is not what I need though.

Looking for a way to hide all counters of a specific type.

Ideally set a key command that would hide, for example, all markers.


Ang

Re: Hide some but not all counters

PostPosted: April 23rd, 2019, 2:33 am
by shilinski
What does hide mean for you? Invisible? Masked? And hide from whom? Everybody? You give too little information.

Re: Hide some but not all counters

PostPosted: April 23rd, 2019, 2:42 am
by tar
Ok, I misunderstood what you were trying to do.

Instead what you can do is assign different types of counters to game piece
layers and then hide particular layers.
This is probably the easiest approach, although pieces on different layers
won't stack. So that may not work for markers.
In that case you may need to do something more complicated with traits and
key commands to have selective hiding.



On Mon, Apr 22, 2019, 5:37 PM Angel0616 wrote:

> Thanks for the reply.
>
> I don't think masking is not what I need though.
>
> Looking for a way to hide all counters of a specific type.
>
> Ideally set a key command that would hide, for example, all markers.
>
>
> Ang
>
> _______________________________________________
> Read this topic online here:
> viewtopic.php?p=56794#p56794
> _______________________________________________
> messages mailing list
> messages@vassalengine.org
> http://www.vassalengine.org/mailman/listinfo/messages
>

Re: Hide some but not all counters

PostPosted: April 23rd, 2019, 3:05 pm
by JoelCFC25
You can use Game Piece Layers and have a toolbar button that stops pieces assigned to specified layers from rendering altogether (i.e. they toggle their visibility entirely), but whether that works or not for you depends on your stacking needs. Read the documentation on Game Piece Layers for more information.

If you just want to activate an Invisible, Mask, or Layer trait on certain kinds of pieces, a simple Marker trait will do (e.g. a Marker of "UnitType" with values like "Infantry", "Air", "Artillery", or whatever you need). Then you can have a Global Key Command that employs a property match expression to correctly identify which units will receive the command, which in turns does whatever trait you settle on for your "hiding" needs.

Re: Hide some but not all counters

PostPosted: April 23rd, 2019, 7:22 pm
by Angel0616
Thanks for all the replies.

By "hide" I mean have the counters not seen on the game map. They still exist but can be hidden to show the other units or terrain in the hex.

I expect that "Layer" should work, I'll try to make that work. No success so far.

Re: Hide some but not all counters

PostPosted: April 23rd, 2019, 8:01 pm
by Angel0616
Thank you all you replied.

Once I got the Layers to work, it works wonderfully.

:D

Re: Hide some but not all counters

PostPosted: January 9th, 2020, 10:38 am
by adomanim1
Angel0616 wrote:Hi,

How can I hide some counters on the map?

Looking for something similar to the hide all command but to be applied only to some unit types.

Maybe by setting a value on the counter and then using a Key command that would apply only to counters with that value? Not sure how that would work or if even possible.

Did a search of the forums but got nothing of value. Maybe I'm not searching for the right topics. :?


Thanks,
Ang

Then we go to the "View" menu (top row, File, Edit, View), then from that menu we select "Freeze", choosing to freeze up to current row.