Drawing Random Units Tray

I have prepared a module in ADC2 and imported it to VASSAL. There are several stacks of ships and leaders in the “Tray.” As part of the game rules, ships and leaders drawn from the Tray are to be random. This is accomplished in ADC2 by selecting “Random Pick” from the Force Pool, ADC2’s equivalent of the Tray, of the specific units or leaders. I expect that there is a similar capability in VASSAL. If so, how can a random unit be drawn from a specific tray?

I am not computer literate, so please provide a detailed procedure if this can be done.

AFAIK, the only way to select something at random is from a “deck.” Decks are not used for just cards…but any pieces that can be drawn at random.

Have you checked whether the imported module already does that? I seem to
recall implementing that where it was appropriate, but I could be wrong.

  • m.

On 27 April 2013 20:48, cgmclellan cgmclellan2000@knology.net wrote:

I have prepared a module in ADC2 and imported it to VASSAL. There are
several stacks of ships and leaders in the “Tray.” As part of the game
rules, ships and leaders drawn from the Tray are to be random. This is
accomplished in ADC2 by selecting “Random Pick” from the Force Pool,
ADC2’s equivalent of the Tray, of the specific units or leaders. I
expect that there is a similar capability in VASSAL. If so, how can a
random unit be drawn from a specific tray?

I am not computer literate, so please provide a detailed procedure if
this can be done.

_____________**
Read this topic online here:
vassalengine.org/**forum/vie … 7#**p39937<Drawing Random Units Tray
_____________**
messages mailing list
messages@vassalengine.org
vassalengine.org/**mailman/listinfo/messageshttp://www.vassalengine.org/mailman/listinfo/messages

Michael, “Random Pick,” is an option (button) when selecting pieces from an ADC2 Force Pool. Normally, specific pieces are selected from a list of all pieces in any pool. Consequently, it is not a natural import function when drawing pieces from the VASSAL “Tray.” There maybe an adjustment that can be made from the VASSAL Tray, but is is not a normal function. The only function that I can detect when drawing pieces from the VASSAL Tray is Right Click\Draw Specific Cards. This presents a list of pieces in the Tray from which specific units can be drawn,

I want to draw unit (ships and leaders) randomly from the Tray.

DevoDog, How does one convert units in a VASSAL Tray to a VASSAL “Deck”?

You could just create a deck in the same place and then move all of the
pieces from the stack to the deck in the module editor.

  • M.

On 28 April 2013 17:26, cgmclellan cgmclellan2000@knology.net wrote:

DevoDog, How does one convert units in a VASSAL Tray to a VASSAL
“Deck”?

_____________**
Read this topic online here:
vassalengine.org/**forum/vie … 5#**p39955<Drawing Random Units Tray - #5 by Charles_McLellan

_____________**
messages mailing list
messages@vassalengine.org
vassalengine.org/**mailman/listinfo/messageshttp://www.vassalengine.org/mailman/listinfo/messages

Thanks guys.

But, how does one create a “Deck”? Remember, I am totally stupid when it comes to VASSAL.

In the module editor, navigate to the “Map” that is currently holding the
pieces, then right click on the Map item and select “Add Deck”.

  • M.

On 28 April 2013 18:16, cgmclellan cgmclellan2000@knology.net wrote:

Thanks guys.

But, how does one create a “Deck”? Remember, I am totally stupid when it
comes to VASSAL.

_____________**
Read this topic online here:
vassalengine.org/**forum/vie … 7#**p39957<Drawing Random Units Tray - #7 by Charles_McLellan

_____________**
messages mailing list
messages@vassalengine.org
vassalengine.org/**mailman/listinfo/messageshttp://www.vassalengine.org/mailman/listinfo/messages

Thanks, maybe, let me give it a try.

Not sure on how to get a Tray position converted into a Deck, but I do think that I got the draws from a stack in the tray to be random.

I opened each position in the Tray in the Module Editor and changed the “Re-shuffle” response from “Never” to “Always.” This seems to work, but I am not entirely sure I am correct.

Any comments?

Well, your ‘Tray’ items are already Decks, they must have been created by the conversion. And yes, the ‘Re-shuffle Always’ option is what you want.

Thanks! And, thanks again to Michael Kiefte for designing the Import process.

Ah, good. I thought I must have done something right.

That’ll all have to be redone for 4.0. I’ll be documenting the file
formats more formally by then.

  • M.

On 29 April 2013 23:55, Brent Easton b.easton@exemail.com.au wrote:

Well, your ‘Tray’ items are already Decks, they must have been created
by the conversion. And yes, the ‘Re-shuffle Always’ option is what you
want.

_____________**
Read this topic online here:
vassalengine.org/**forum/vie … 2#**p39992<Drawing Random Units Tray - #11 by Brent_Easton

_____________**
messages mailing list
messages@vassalengine.org
vassalengine.org/**mailman/listinfo/messageshttp://www.vassalengine.org/mailman/listinfo/messages

Say it ain’t so Michael; say it ain’t so…

It’s meant to be an improvement! The plan is to implement features that
already exist in ADC and Cyberboard at the lowest levels so that these
types of conversions are less difficult.

  • M.

On 30 April 2013 23:55, cgmclellan cgmclellan2000@knology.net wrote:

That’ll all have to be redone for 4.0. I’ll be documenting the file

formats more formally by then.

Say it ain’t so Michael; say it ain’t so…

_____________**
Read this topic online here:
vassalengine.org/**forum/vie … 3#**p40013<Drawing Random Units Tray - #14 by Charles_McLellan

_____________**
messages mailing list
messages@vassalengine.org
vassalengine.org/**mailman/listinfo/messageshttp://www.vassalengine.org/mailman/listinfo/messages