Create account / Log in

Invisible pieces

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

Invisible pieces

Postby wargamer410 » July 19th, 2020, 11:34 am

Is it possible to place new pieces on the map that are invisible to the other player without having to make them invisible?
wargamer410
 
Posts: 14
Joined: September 30th, 2018, 6:32 am

Re: Invisible pieces

Postby Benkyo » July 20th, 2020, 5:42 am

I'm not sure whether your objection is to the invisible trait, or the need to manually turn it on.

If you just want a piece to be invisible immediately on placement, you can have the map apply a key command to every piece placed on it, and a trigger for that key command with a condition like OldMap=="(where it came from - a player window?)"&&CurrentMap=="(where it is now)"&&InvisibleToOthers==false that triggers the invisible trait.
Benkyo
 
Posts: 256
Joined: March 13th, 2013, 11:02 pm

Re: Invisible pieces

Postby steenkh » July 31st, 2020, 8:17 am

I have a problem where some planning markers should never be visible to the other side (and the planner should rather not be able to forget to make the planning markers invisible), but other game pieces can become temporarily invisible during play, and it would be awkward if these pieces are invisible once they are placed on the map.
steenkh
 
Posts: 7
Joined: April 12th, 2020, 10:50 am

Re: Invisible pieces

Postby Benkyo » July 31st, 2020, 9:39 pm

I don't see how that's a problem. Different pieces can have different triggers.
Benkyo
 
Posts: 256
Joined: March 13th, 2013, 11:02 pm


Return to Module Design

Who is online

Users browsing this forum: No registered users and 6 guests