Working on 'Night' background map shading for VASL:

a) The color-effect will only apply to the initial map-layout, when 
the board-picker is subsequently re-opened an add'l map is added 
w/ 'Row' or 'Column', the shading won't apply to the added boards 
until the game is saved, closed & re-opened. I'm using:
<VASSAL.build.module.map.MapShader alwaysOn="false" boardList="" 
boards="Yes" border="false" borderColor="0,0,0" borderOpacity="100" 
borderWidth="1" buttonText="" color="102,102,102" drawOver="true" 
icon="night.gif" name="Night" opacity="100" pattern="50%" 
startsOn="false" type="Background"/>

b) The Area of Effect properties settings are volatile, subsequent 
edits cause the 'use Map Shading' checkbox and 'Map Shading' 
selection to disapparate, & the Trait returns to 'Fill Color' mode.

c) multiple AoE entries to the same piece won't work, only the last-
listed instance in the Traits column has an effect if both are set 
to 'use Map Shading'. An edit to one of the AoE traits seems to mung 
all the piece's AoE traits as in b) above. One wishes to give a piece 
an always-visible 0-radius AoE, and a 2nd 2-radius AoE that is 
conditionally visible when a ctrl-F Flip changes the piece's 
appearance:
<VASSAL.build.widget.PieceSlot entryName="Flame / Blaze" height="48" 
width="48">+/null/emb2;;2;;Flip;2;F;;2;;;;0;false;0;0;MS\/Flame,MS\/Bl
aze;Flame,Blaze;true;;;
        AreaOfEffect;128,128,128;30;2;false;Flip;70,130;Night\
        AreaOfEffect;128,128,128;30;0;true;;;Night\\
        mark;Hindrance\\\       mark;Location\\\\
        piece;K;D;MS\/_red12;Flame \/ Blaze/1;  false\  \\
        true\\\ \\\\    null;117;159</VASSAL.build.widget.PieceSlot>

Any advice?
Jeffrey






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/IMSolB/TM
--------------------------------------------------------------------~-> 

 
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