"Mouse Over Stack Viewer" question

I am working on a map that uses tiles placed on a blank grid to create the playing surface. The problem I am having is when the map tiles are laid, and the mouse pointer is over a tile, the Mouse Over Stack Viewer is activated and zooms the tile just like it is one of the counters. How do you exempt the map tiles from the Mouse Over Stack Viewer? I read in the Designer’s Guide that one can use the Game Piece Layer trait to make the exception but it is not clear to me how that is accomplished.

Which part are you not clear about how to create a GPL and assign that GPL
to pieces or just excluding a specific GPL from the MOS viewer?

To exclude the GPL, in the MOS dialog box change the “Include individual
Pieces” selection to “from layers other than those listed” and add your GPL
you want to exclude in the listed layers box

-----Original Message-----
From: messages [mailto:messages-bounces@vassalengine.org] On Behalf Of
rozar5
Sent: Friday, November 08, 2013 10:35 PM
To: messages@vassalengine.org
Subject: [messages] [Module Design] “Mouse Over Stack Viewer” question

I am working on a map that uses tiles placed on a blank grid to create the
playing surface. The problem I am having is when the map tiles are laid,
and the mouse pointer is over a tile, the Mouse Over Stack Viewer is
activated and zooms the tile just like it is one of the counters.
How do you exempt the map tiles from the Mouse Over Stack Viewer? I read in
the Designer’s Guide that one can use the Game Piece Layer trait to make the
exception but it is not clear to me how that is accomplished.


Read this topic online here:
https://forum.vassalengine.org/t/mouse-over-stack-viewer-question/6402/1

Hi Tim. Thank you for the response. See if I understand what you are saying…I have created two GPLs - one called UNITS and one called TILES. (I use these with the “Marker” trait to keep the unit counters always visible on top of the map tiles.) I then use the TILES layer and add it to the LISTED LAYERS under the “include individual pieces - from layers other than those listed.” That is what I did and I am still getting a zoomed in map tile if the mouse pointer is resting on it. So I must be doing something wrong. I can sometimes look right at an explanation and not get my head around it. :frowning:

Sounds correct. Are your marker traits exact matches of the GPL property
name and variable? Capitalization/spelling is very important here

-----Original Message-----
From: messages [mailto:messages-bounces@vassalengine.org] On Behalf Of
rozar5
Sent: Saturday, November 09, 2013 9:04 AM
To: messages@vassalengine.org
Subject: Re: [messages] [Module Design] “Mouse Over Stack Viewer” question

Hi Tim. Thank you for the response. See if I understand what you are
saying…I have created two GPLs - one called UNITS and one called TILES.
(I use these with the “Marker” trait to keep the unit counters always
visible on top of the map tiles.) I then use the TILES layer and add it to
the LISTED LAYERS under the “include individual pieces - from layers other
than those listed.” That is what I did and I am still getting a zoomed in
map tile if the mouse pointer is resting on it. So I must be doing
something wrong. I can sometimes look right at an explanation and not get
my head around it. :frowning:


Read this topic online here:
https://forum.vassalengine.org/t/mouse-over-stack-viewer-question/6402/3

Hey Tim. I got it to work like you explained. I had one of the layer names wrong. Thanks so much!