Can i draw from the bottom in a different way? + Zone Highlighters

Thx. Can i also ask what do I have to write as a property for Zone Highlighters to appear?

The documentation states: “Any Zone whose highlighting property matches the name of a Zone Highlighter will be drawn with that highlighter”

So based on what you have pictured there, I’d put Hand (P1) as the highlight property (because that’s what you named the Zone Highlighter).

EDIT: Totally wrong, see below. You need a GP somewhere set to the name of the Zone Highlighter.

I tried but it’s not working

But in any case it always remains a Deck, right? Because I always have to be able to draw cards from the top of the deck, shuffle and all the things you do with a deck (it’s for a TCG)

Does anyone actually have any experience using Zone Highlighters? I just tried to add one to Terraforming Mars as an experiment, and I can’t get it to show anything, either.

Actually I’m probably wrong again. Check this post–does it help?

1 Like

I still don’t get it what i need to write xD

Right-click the name of your zone (I circled it in purple above) and choose “Add Global Property (Zone)”. Name it something–for demonstration purposes, I’ll pretend it’s HandHighlight. You would then enter HandHighlight in the already-circled “Highlight property” box off to the right.

Now when the value of this new GP is set to the name of your highlighter–currently: Hand (P1)–the maroon crosshatching should display.

1 Like

I did what you said but nothing happened

I got them working for a module recently and yes, it was tricksy. I use them in Liberté for the player mats to provide a background to 5 card slots at the top of each player mat… e.g. the blue background on “Blue” player’s mat.

The player mats are implemented through Player Hands. Here are the elements involved in providing the highlighting.

The basic heirachy under the Blue player hand:

The 3 elements that set up the highlighting:

I think the tricksy bit is how you need to define two particular components - the highlight property name and its configuration and the link between the two involves two steps, zone and zoneHighlight. Brent’s post that @JoelCFC25 linked to above explains why but I haven’t tried to do anything that exploits that flexibility.

1 Like

Looking at your screenshots, I wonder if you have set the value of this property somewhere else in your module?
image

Try putting Hand (P1) into the initial value field. Does that help?

I think the idea is that you could set this property name dynamically using the Set Global Property trait, and I think you’d have to specify the Zone when you do that but I am not sure.

The simplest case, which I used, if you just want a fixed highlighting, you can just set the Initial Value as I suggest.

2 Likes

@marktb1961 is correct–you had everything setup correctly except for supplying a value of the needed Global Property.

2 Likes

Now it’s working, thank you so much

I wanna even ask if it’s possible to add a symbolic dice, but not the one in the guide but a custom one i made

Yes for Symbolic Dice; you simply configure each face of the die/dice to the images of your custom dice.

There must be lots of examples out there, but one I know that uses the Vassal symbolic die component is Flying Colors. If you open the module, look for the red & blue dice components about halfway down in the top level of the module. Maybe open a new thread if you can’t get it working and link to (or paste an image of) the part of the manual that you have been looking at.

Thx. Can i also put images in the “Button Text” instead of the “Button icon”, right?

I just need to write (<img>) before the images file name)?

Html works in button text but not images, iirc.

I see, thanks.

I wanna ask, how can i change the Font for my module? And i mean in general and not only for me

Can you help me to resolve this? i did what you said but im pretty sure something is missing

There are the property of the Deck and of the Card


When he used carets (the < and > characters around deck_name), that was for example purposes. You don’t want those in your expression unless they are literally characters in your deck’s name.

The error still appears in chat

Even the expression is in error