--- In [email protected], "Rodney Kinney"
<[EMAIL PROTECTED]> wrote:
>
> > The short explanation is when I created pieces using
> > the new masking feature "can be masked only by the named sides",
> > pieces in a deck appeared faceup instead of facedown, which is not how
> > I configured the deck.
>
>
> Tried to reproduce this bug using the Bonaparte at Marengo module
on the
> site, but couldn't.
>
The steps to recreate my masking problem:
- Edit the Bonaparte at Marengo module and delete the last line, which
says "Start new game." It's a predefined setup, and it won't have the
changes I am about to make.
- Edit the prototype definition "french" and edit the mask trait.
Change the Can-be-masked property to "any of the specified sides." Add
"France" as a side. Note the images used for the French view and the
Austrian view.
- There is a deck on the main mapboard that does not have an outline
when empty. For the test, I edited the "french random setup" deck so
it draws an outline.
- Start a new game. Select France as the side.
- Open the blocks palette (toolbar button). Select any French unit and
drag it to the bottom of the board. Drag it onto the empty deck, which
is to the left of the French setup display.
Once it settles onto the deck, you will see its faceup image. Not
good. You will NOT see the solid blue back. Notice that the deck
component is using the French "peek" view of the block to render the
image, which is faceup with a blue border. The Austrian player is
shown the solid dark blue back as desired. One might consider this as
not a bug, but I can't think of any situation where I'd want that deck
to appear unmasked to the owning player. (It appears the deck
component uses the two images I specified in the mask trait, and it
uses the transparent image I specified when the side is friendly. I
think it should use the "unfriendly" one in both cases, which is how
it worked in the old masking mode.)
I created a test module with the above changes. You can download it
from the Bonaparte at Marengo vassal files. You can then start a game
and drag a french block from its palette to the deck at the bottom of
the map. Let me know when you have no use for the test module so I can
delete it.
As for my other problem of duplicate pieces appearing when I was
creating scenarios, I have to go back and try to reproduce it. I was
not creating a problem report at the time, so I did not spend time
documenting it. I will try.
Stan
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/