Cards not loading properly from a save

I’ve built a module to help me test a prototype I’m working on. My game uses cards and color-coded markers for each player.
Cards are dealt from the top of the deck on to the table and markers are placed on top of these cards.

In the module, there is one deck for the main deck of cards and four ‘decks’ that represent the marker tokens… one deck for each player. I used a deck of cards because there are a fixed number of each token per player.

So, a number of cards are dealt from the main deck onto the board. Then, players may place tokens from their deck on top of the cards. This all works okay. I had to turn stacking off so the players could position their markers freely on the cards… position matters.

If the game is saved, however, when re-opened, the markers are now below the cards.
Any ideas?

Have you set your game piece layers properly?

-----Original Message-----
From: messages-bounces@vassalengine.org
[mailto:messages-bounces@vassalengine.org] On Behalf Of cheveedodd
Sent: Monday, December 10, 2012 8:25 PM
To: messages@vassalengine.org
Subject: [messages] Edit: Re: [Technical Support & Bugs] Cards not loading
properly from a save

[This message has been edited.]

I’ve built a module to help me test a prototype I’m working on. My game
uses cards and color-coded markers for each player.
Cards are dealt from the top of the deck on to the table and markers are
placed on top of these cards.

In the module, there is one deck for the main deck of cards and four ‘decks’
that represent the marker tokens… one deck for each player. I used a deck
of cards because there are a fixed number of each token per player.

So, a number of cards are dealt from the main deck onto the board.
Then, players may place tokens from their deck on top of the cards.
This all works okay. I had to turn stacking off so the players could
position their markers freely on the cards… position matters.

If the game is saved, however, when re-opened, the markers are now below the
cards.
Any ideas?


Read this topic online here:
https://forum.vassalengine.org/t/cards-not-loading-properly-from-a-save/5494/1

Layers? None of these pieces have layers. I’m not sure what you mean.

vassalengine.org/mediawiki/i … rguide.pdf

Page 25 - Game Piece Layers

Thank you!
… that’s awesome, AND confusing. :slight_smile:

I’ll fiddle with it and if I can’t figure it out, I’ll ask more.

Alright… so, new problem:

I set up a Game Piece Layer for the Map
Two layers: Card, Marker - with marker BELOW the card (so it’s always on top, right?)

I right-clicked the appropriate deck → Edit all Containing Pieces
Marker → Layer Value → Card (for the deck of cards)
and
Marker - > Layer Value → Marker (for the tokens)

That works fine for making sure the tokens are on top of the cards.
BUT, if I put a token on top of a deck of cards, the deck becomes invisible and the token stacks with the deck… I thought they were supposed to be unstackable if they were in different layers? Does this not work with decks and only individual cards?