Layers - not on top but under the basic pieces

Another thing. It would be great if it would be possible that layers could be placed under not on top of the basic pieces.

Thus spake “Dark Scipio”:

Could you describe why you want that?

J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

For our module we are creating bases. Bases that can be switched to different colours (if same fractions fight each other…).
But now you have to use the layer for a base and then a second layer with the game piece again, as the first layer will be over the basic piece.

Redesign your game piece.
Make the base piece a blank graphic
Add a layer for all your different colors (you can have it follow a property
if you like)
Put the actual gamepiece (without any background) on another layer and set
it to be always active This will always keep it on top no matter what the
background color is

Post generated using Mail2Forum (mail2forum.com)

Thus spake “Tim McCaron”:

That’s what I was going to suggest, also.

Is there a reason why you don’t want to have two Layer traits?


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

This is how we do it now.

I want the same thing for my module, because the soldiers i’m using ar 40x40, but stand on “terrain” which is 50x50 and the unit who’s standing on it gets covered. It’s annoying and i’d appreceite it if there was a way to have a trait which is either “Always on bottom” or “Always on top” or even transparent image colour which the mod owner would be able to set or if there was a list of chooseable ones. I’d say MS Paints Teal would be a good choice for a default transparent colour. as i’ve never used it as a serious color for anything.

I saved my units as .PNG so maybe that would be why there is no “Clear/transparent” color?? Though i’d mention this because it could lead to a solution.

On Mar 20, 2008, at 12:28 PM, dashdotdash wrote:

When you say “terrain”, do you mean that each individual piece has its
own unique terrain that moves with the unit? Do you have the
possibility of having more than one unit per hex or square? What is
the behavior that you want to have then? Does each stacked soldier
have its own terrain?

If the terrain is a separate piece, then it should be in its own layer
and likely also have the does not stack trait as well.

But if it is part of the unit, you can always arrange for the terrain
to be in a lower layer than the other graphics, as some of the replies
earlier indicated.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

I want it so things like, sandbags and other terrain is below every unit.

So lets say Sandbags and Crates are on the ground floor
And Units, are above the ground floor.

On Mar 20, 2008, at 2:20 PM, dashdotdash wrote:

OK. So it sounds like you want to have separate counters for items
like sandbags and crates.

You would do this by using game piece layers and assigning different
types of counters to different layers.

Also look at the following FAQ entries:
<http://www.vassalengine.org/wiki/doku.php?id=faq_modules#is_there_a_setting_to_make_a_piece_always_be_at_the_top_of_any_stack
<http://www.vassalengine.org/wiki/doku.php?id=faq_modules#how_do_i_implement_un-moveable_terrain_pieces_that_i_can_interact_with


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Checked both those links out and my stupid comp thinks nothing of them, “Could not find <http://www.vassalengine.org/wiki/doku.php?id=faq_modules#how_do_i_implement_un-moveable_terrain_pieces_that_i_can_interact_with” try one of the following:
Unrelated
Unrelated
Unrelated

God, i hate IE -- And its worse is the fact that it RANDOMLY closes whenever it pleases --

But as you mentioned, how do i make them “Counters”? I only started using VASSAL 2 days ago, well 3 now…

On Mar 20, 2008, at 2:49 PM, dashdotdash wrote:

Try these instead:

Is there a setting to make a piece always be at the top of any stack?
tinyurl.com/2h3asj

How do I implement Un-moveable terrain pieces that I can interact
with?
tinyurl.com/yva9m6

I guess I meant that you would make them pieces in their own right.
They would be terrain pieces and not move around with the soliders.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

On Mar 20, 2008, at 3:03 PM, Jeffrey Brent McBeth wrote:

Yes. The items in each game piece layer can stack among themselves,
but each set will be in a relative order among the game piece layers.

Now, I still think that they would all be considered part of the same
stack. Maybe there is a way to control that? I think the idea was to
support games like The Gamers OCS series, where certain items
(airbases, supply) were at the bottom, land units in the middle, and
(active) air units on top. By assigning layers, that would happen.
But that was all within a single user’s control.

I’m not sure what the interaction is with pieces owned by more than
one player.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)