Are your dice combinations based on a previous result?
I've been playing around with symbolic dice for awhile now too for scenario
generation. Before, the methodology was very linear so I could roll all the
dice at once and have an accurate result with one button/window.
Now however, the methodology is not linear and the dice that get rolled are
based upon the result of an earlier rolled dice, and I am having a hard time
trying to come up with a method where I can still show this with symbolic
dice in one window and have the right result show with just one button to
push to generate it. I hate to have 100's of dice buttons just to achieve a
proper result and all sorts of windows popping up - not very pretty :) So in
this case I agree with Tim on the real estate/window issue.
Is it possible to have the symbolic dice tied to the spreadsheet trait and
then drive the results from there somehow and condense results to 1 window.
Similar to option A I would say
[mailto:vassalengine-devel-bounces@...] On Behalf Of Tim
Sent: Tuesday, December 11, 2007 3:27 PM
To: developers' list for VASSAL
Subject: [vassalengine-devel] symbolic dice
I just started on a module that needs symbolic dice. In addition, I
need the ability to throw various combinations of dice.
Currently, the options for showing the dice visually are either on a
button, or in a window.
The button option doesn't work well when you have multiple dice
options as the buttons for each combo all look the same and take up
lots of button real-estate.
The window option also doesn't work well, as each combo always shows
it is own separate window.
I was thinking of making one of the following changes:
A. Change to have dice drawn in the same window if the name of the
window is the same of one that already exists. This prevents
multiple windows popping up everywhere.
B. Create an option to draw the symbolic dice in the message
window. Just as you can see text descriptions of the dice today.
C. Create an option to specify a rectangle on a map where the dice
are to be drawn (which would also remove any previously drawn
dice on that map). Then a spot can be reserved on a map for
dice to appear, and they'd remain until a new throw of the dice.
I think Option A may be the simplest change to make. Option B seems
like an abuse of the message window. Option C is the solution I'd
most prefer, but I'm not sure how difficult it might be to implement.
I'm wonder what other thoughts you guys might have on this type of
change, and if you have any advice on where I might start (as I'm not
really familiar with all of the VASSAL classes, and not primarily a
Thanks for any input.
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
vassalengine-devel mailing list