--- In [email protected], "Brent Easton" <[EMAIL PROTECTED]> wrote:
>
> 
> Here's one way.
> 
> Watch carefully for the different Control sequences used at each
level. eg. for a German Unit
> 
>  1. Change Control Button sends Ctrl C to Unit 
>  2. Unit sends Ctrl G to Any Control counter in same locaiton 
>  3. Control counter sends Esc R to itself, turning all layers off
>  4. Control counter sends Alt G to itself, turning German layer on
> 
> There are other ways to do this, VASSAL is very flexible, but this
should work. Only one extra trait in the units, all of the complexity
is in the Control counters. You could reverse this, but I like to keep
the general purpose units as lightweight as possible.
> 
> 
> Hope this helps,
> 
> Brent.
> 
[ further details of implementation removed to keep message "readable"]

Great !!!
I can fully follow what you describe.
You've taught me: how to use LocationName=$LocationName$, where I
understand that LocationName will be substituted with the "sending"
piece value, and $LocationName$ with the "target" piece value. That is
very useful.
It allows me to expand my irregular grid to come closer to the actual
geographical map. Cool
And I also learned that it could be simpler to code as many layers as
different "controlling powers". So far, I was triggering sequences of
reset and ctrl-] or ctrl-[ to adjust the appropriate level inside a
single, multi-leveled layer. The only advantage I saw to that was that
I could use key commands instead of global key commands.

You're a great tutor. Thanks :)

I just need to write the user's manual and I'll be able to post the
module.

BTW: I've sent an email to Wizards of the Coast, according to Rodney's
official FAQ guidelines about modules, to ask for permission for
Diplomacy. They've taken up the question and now I start shaking that
they might refuse... anyways. 







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vassalengine/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to