Create account / Log in

How to limit the number of pieces in the palette

Issues with the Vassal engine.

Moderators: Tim M, uckelman

How to limit the number of pieces in the palette

Postby MechaKong » September 19th, 2014, 9:14 pm

Hi, I'm working on game that is using the "Game Piece Palette" to display all of the imported game pieces. I've imported the pieces using the "Add Multiple Pieces" option and set all of the amounts accordingly. However, when I test the game out I only see 1 of the pieces in the palette and there seems to be no way to access the other pieces because there is an infinite amount of the only visible piece.

Is there a way to limit the number of pieces and display them all at once?

Thank you
MechaKong
 
Posts: 1
Joined: September 19th, 2014, 9:09 pm

Re: How to limit the number of pieces in the palette

Postby Bradzmen » September 29th, 2014, 3:50 am

I have the same problem, but the last thing in the inventory of the folder shows up. Can't find out how to fix the problem. Plz help! :|
Bradzmen
 
Posts: 7
Joined: September 29th, 2014, 3:46 am

Re: How to limit the number of pieces in the palette

Postby Bradzmen » October 5th, 2014, 3:47 pm

Ah. I fixed the problem. What I did was add a tabbed panel into the pieces window's folder and then move my pieces via copy-paste into the tabbed panel's folder. I think how this works is it isolates the pieces into separate "lists," therefore using the last on the list for the tab, making everything show. :idea:
Attachments
PostImg2.png
If you click on any of those tabs, characters will show. It used to just be a wizard.
PostImg2.png (16.48 KiB) Viewed 2832 times
PostImg.png
Here is an example of what I did.
PostImg.png (54.14 KiB) Viewed 2832 times
Bradzmen
 
Posts: 7
Joined: September 29th, 2014, 3:46 am

Re: How to limit the number of pieces in the palette

Postby Bradzmen » October 5th, 2014, 7:01 pm

Although the solution I cam up with works, it does not limit the amount of pieces that is in the palette. :roll:
Bradzmen
 
Posts: 7
Joined: September 29th, 2014, 3:46 am

Re: How to limit the number of pieces in the palette

Postby uckelman » January 1st, 2015, 8:55 pm

Thus spake Bradzmen:
> I have the same problem, but the last thing in the inventory of the
> folder shows up. Can't find out how to fix the problem. Plz help! :|
>

Looking back at this, I still don't grasp what's wanted. If you're
still having trouble, try to describe what it is that you want to
achieve and post a module demonstrating the problem.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8138
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: How to limit the number of pieces in the palette

Postby Bradzmen » January 12th, 2015, 2:09 am

I was thinking that the palette had an infinite amount of pieces, and I would like to limit the number of pieces in the available pieces in the palette.
Bradzmen
 
Posts: 7
Joined: September 29th, 2014, 3:46 am

Re: How to limit the number of pieces in the palette

Postby uckelman » January 12th, 2015, 11:30 am

Thus spake Bradzmen:
> I was thinking that the palette had an infinite amount of pieces, and I
> would like to limit the number of pieces in the available pieces in the
> palette.

Right. That's not how the palette works. If you want a limited pool,
put the pieces you want in the pool in an initial setup or At Start
Stack.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8138
Joined: December 10th, 2007, 9:48 am
Location: Durham, England


Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron