Create account / Log in

place a card in player's discard deck

Talk about module design ideas and techniques.

Moderators: uckelman, Tim M

place a card in player's discard deck

Postby griessen » June 9th, 2015, 6:17 pm

Game has two sides, axis and allies, each with their own draw deck and discard deck on the main map. I'd like to use the right click or ctrl-r to put cards into the discard deck for the appropriate player. So if the allied player selects a card and presses ctrl-r, it'll go to the allied discard deck.

Right now either the card can go automatically to a single discard deck, or the card produces a lengthy drop-down menu showing all the decks (I'm using other decks, not on the main board for other things) to choose from. Since the players will ONLY send their cards to their own discard deck, it would be nice to automate that.
griessen
 
Posts: 5
Joined: June 1st, 2015, 6:01 pm

Re: place a card in player's discard deck

Postby iam2509 » June 10th, 2015, 4:16 pm

Griessen,

The easiest way to explain everything you need to do is in this vassal module:

http://www.revolutiongames.us/Stonewall ... n_1_1.vmod

Check under Chit Cup for the functions you need (Chits are essentially Cards) and also Prototype Chit and Prototype USA and CSA. For putting specific player's cards in their own discard card pile, you would use Markers (One for the Axis, one for the Allies); in my module it was CSA and USA.

I hope this helps.
User avatar
iam2509
 
Posts: 72
Joined: August 1st, 2010, 12:01 am

Re: place a card in player's discard deck

Postby griessen » June 11th, 2015, 9:44 pm

Great, thanks much!
griessen
 
Posts: 5
Joined: June 1st, 2015, 6:01 pm


Return to Module Design

Who is online

Users browsing this forum: No registered users and 11 guests