Module HYPERLINK "http://www.ffwcpg2.org/fpdb/Steel_Storm_v2.zip"Link here.

 

I have recently begun using Vassal to implement a strategic WW2 game I
coordinate. Congratulations on a great program! However, I’ve struck a
problem that has caused me to lose more hair than I can afford and thought
I’d go to the source.

If you don’t have time or there is a forum or some FAQ place I can go please
LMK and I won’t waste your time. I have looked for one, however.

I have attached the work-in-progress module if you want to look at it. I’m
using Vassal 2.9.9.

 

The situation:

The counters have their statistics modified from a Properties list and Text
Labels display the values on the pieces.

There are two prototypes (Allies and Axis) that I want to do 3 things:

1.      Restrict the movement in hexes to the MV value from the piece’s
properties – I’ve done this successfully using Move Fixed Distance. 
2.      Pieces can be placed under a Hide piece using a layer. The number of
Hides is limited by a Global Property by side. This works OK but I want a
piece that moves within 2 hexes of a Hide counter to reset the ‘hidden’
piece to unhidden. I have done this in a test module by using Global Command
but can’t seem to replicate it in this one. 
3.      This is the one that’s the main problem. I want a piece to cease
moving when it enters the (1 hex) Zone of Control (ZOC) of another piece of
the other ‘faction’ (Allies or Axis). I get it to use a Global Command to
call another Global Command on the adjacent piece or pieces that calls a
Restrict Command on all the movement keys (Number pad). The piece should be
able to move out of the ZOC as normal, but only 1 hex if within a ZOC of the
other faction. If you move a UK unit into the ZOC of a Germany unit, for
example, you will see the Text Label above it (for testing purposes) stays
as 0 – it should be set to 1 by a Dynamic Property, which triggers the
Restrict Command. When the piece is moved from ZOC to ZOC it sets to 1 as it
should but it does this when the piece moves out of the ZOC, too. 

 

As I say, I have been able to make these functions work on a much simpler
module but not in this one. I am almost certain it is the ordering of traits
in the piece’s properties but have tried to work it out logically (even
randomly!) to no avail.

If you’ve read this far I thank you! If you think you can help I would be
very grateful. If not, thanks for Vassal – it is really a very cool tool!

Cheers,

Duane Vaughan

 


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.0.0/754 - Release Date: 09/04/2007
10:59 PM



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.4.0/759 - Release Date: 12/04/2007
7:58 PM
 


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/vassalengine/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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