[messages] [Module Design] Re: counter creation

Tim M timothy.mccarron at sbcglobal.net
Tue Nov 30 12:06:18 MST 2010


"krenshala" wrote:
> So, I've been thinking more on how I can have a single set of counters
> that when placed on the board indicate which side they belong to.
> 
> I thought at first that just using a Layer that displays a specific
> counter "background" image for each side would work ... until I
> discovered that you can't place the Layer trait higher on the list
> than Basic Peice.  :roll:   Thinking about it further, I decided to
> still try and use a Layer trait.  Instead of a full background image,
> since it would hide the actual tile image, I thought I'd use an image
> that was mostly transparent instead.
> 
> Unfortunately, I'm not sure of the best way to tell the Layer trait
> which layer-image to use based on the owning player of the piece.  Can
> the Property Name just use $playerSide$ = <sideX> to have it display
> the desired layer for <sideX>?


No you can't have a layer higher than a basic piece, but where does it
say you need to have an image on the basic piece trait to create a
counter? Why can't you just create your counters out of layers only -
its been done before, the basic piece just remains empty of image...

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=20776#p20776


More information about the messages mailing list