Hide Pieces on map

I’m working on a module that includes terrain pieces (bridge, ford, etc.) that do not stack and ignore the map grid. The problem is that when I use the Hide Pieces button to view the map without the playing pieces, the terrain pieces are also hidden. I want to be able to hide the playing pieces but still be able to see the terrain pieces. I’ve tried using the Game Piece Layer trait but even though the pieces respect the defined layers, all pieces, terrain and playing, are hidden when using the Hide Pieces button.

Hi Brigz,

Instead of using a Hide Piece button, Right-click on your ‘Game Pieces Layer’ component and add a ‘Game Piece Layer Control’. This allows you to add a toolbar button that can hide individual layers (activate/inactivate).


Messages mailing list
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thanks Brent. Worked like a charm.