Change of player names creates error ... Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Designing Games for Zillions » Change of player names creates error messages - workaround « Previous Next »

Author Message
Karl Scherer (Karl)
Posted on Saturday, December 16, 2000 - 5:36 pm:   

>I quote from the Zillions help text:
>"When a variant has one or more end-conditions (win-condition/
>loss-condition/draw-condition) then Zillions will use only those
>conditions (ignoring the end-conditions in the main game section). If
>the variant doesn't have any end-conditions then Zillions will use the
>game's end-conditions."
>
>This makes a lot of sense and works fine.
>
>However, the equivalent statement for pieces is not true and because iof
>this creates problems:
>When a variant has one or more pieces, then Zillions will NOT use only
>those pieces(ignoring the pieces in the main game section).
>If the variant doesn't have pieces then Zillions will use the game's
>pieces.
>
>Normally surplus piece definitions in the "game" part do not matter.
>They create error messages in a variant, however, when the players in the
>variant have different names from the players in the "game" part.
>The piece(s) are (invisibly and automatically) available to the variant.
>I would like to be able to switch that off, because it creates error
>messages:
>"Player ... not found for piece....),
>
>How can I switch this off??
>Or how can I avoid that a variant uses the piece definitions of the
>"game" part?
>Is there a workaround?

As a work-around, wouldn't it work to include all the players from
the game in the list of players in the variant in addition to the new
ones in the variant? As long as these players don't have any moves
in the variant's turn order, they won't affect the game and the user
won't see them in the Change Sides dialog.

Best wishes,
Jeff

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: