What's wrong? I want to sided counters

Discuss game box design and sharing.

Moderators: Ichibrothers, Cambronne

Post Reply
samur
001
Posts: 6
Joined: 19 Jan 2009, 18:24

What's wrong? I want to sided counters

Post by samur »

The gamebox can be downloaded here. I don't know why it's not working - maybe you will know what's wrong. Here's a code from game-box.xml:

Code: Select all

<?xml version="1.0" encoding="windows-1252" ?>
<game-box
	name="Untitled proto"
	description="Untitled proto"
	copyright="© Artur 'samur' Roszczyk"
	startup-scenario="At_Start_Use.ztg">
	<map name="The Board" image-file="plansza.jpg" resolution="300 dpi" />
    <counter-sheet name="Pieces" front-image-file="elementy.jpg" front-resolution="300 dpi"
	front-mask-file="elementy_mask.png">
		<counter-section columns="1" 
		front-left="19" front-top="22" front-right="268" front-bottom="244" supply="100" shadow="20" />
		<counter-section columns="1" rows="4"
		front-left="307" front-top="23" front-right="496" front-bottom="277" supply="1" shadow="20" />
        <counter-section columns="1" rows="2"
		front-left="778" front-top="149" front-right="901" front-bottom="406" supply="100" shadow="20" />
        <counter-section columns="1" rows="2"
		front-left="778" front-top="149" front-right="901" front-bottom="406" supply="100" shadow="20" />
        <counter-section columns="4"
		front-left="83" front-top="304" front-right="686" front-bottom="427" supply="100" shadow="20" />
        <counter-section columns="2" rows="1" 
		front-left="565" front-top="19" front-right="769" front-bottom="121" 
        back-left="881" back-top="22" back-right="980" back-bottom="124" supply="100" shadow="20" />
        <counter-section columns="2" rows="1" 
		front-left="565" front-top="133" front-right="769" front-bottom="236" 
        back-left="881" back-top="22" back-right="980" back-bottom="124" supply="100" shadow="20" />
        <counter-section columns="1" 
		front-left="778" front-top="22" front-right="871" front-bottom="125" 
        back-left="881" back-top="22" back-right="980" back-bottom="124" supply="100" shadow="20" />
	</counter-sheet>
</game-box>
I also added counter-section type="TwoSided", but that's not working too. So what did I do wrong here?
Games... Possible biggest invention?
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

So what did I do wrong here?
You need to provide a back-image file...
samur
001
Posts: 6
Joined: 19 Jan 2009, 18:24

Post by samur »

Hmm so it's working different than cards? I had something like this in a gamebox, that I made before:

Code: Select all

    <counter-sheet name="Spanish Cards" front-image-file="spanish_cards2.jpg" front-resolution="300 dpi" front-mask-file="spanish_cards2_mask.png">
		<card-section rows="1" columns="3"
			face-left="81" face-top="63" face-right="3154" face-bottom="1450"
			back-left="2160" back-top="4340" back-right="3145" back-bottom="5727" supply="1" />
		<card-section rows="1" columns="3"
			face-left="81" face-top="1495" face-right="3154" face-bottom="2890"
			back-left="2160" back-top="4340" back-right="3145" back-bottom="5727" supply="1" />
		<card-section rows="1" columns="3"
			face-left="81" face-top="2918" face-right="3145" face-bottom="4313"
			back-left="2160" back-top="4340" back-right="3145" back-bottom="5727" supply="1" />
        <card-section rows="1" columns="3"
			face-left="81" face-top="4331" face-right="3145" face-bottom="5727"
			back-left="2160" back-top="4340" back-right="3145" back-bottom="5727" supply="1" />
	</counter-sheet>
And it was working OK. And I didn't include any back-image file, because I had back of the card in the same file as all of the cards. I'm trying to do the same here. I still don't understand why I have to include back-image file... I would understand if every counter would have different backs, but here every disc will have the same back side..
Games... Possible biggest invention?
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

Yes, card-section and counter-section have different requirements. I don't think there's currently any way round it... :(
Uan
230
Posts: 6
Joined: 20 Jan 2009, 14:09
Location: Valencia - Spain
Contact:

Re: What's wrong? I want to sided counters

Post by Uan »

samur wrote:The gamebox can be downloaded here. I don't know why it's not working - maybe you will know what's wrong. Here's a code from game-box.xml:

Code: Select all

<?xml version="1.0" encoding="windows-1252" ?>
<game-box
	name="Untitled proto"
	description="Untitled proto"
	copyright="© Artur 'samur' Roszczyk"
	startup-scenario="At_Start_Use.ztg">
	<map name="The Board" image-file="plansza.jpg" resolution="300 dpi" />
    <counter-sheet name="Pieces" front-image-file="elementy.jpg" front-resolution="300 dpi"
	front-mask-file="elementy_mask.png">
		<counter-section columns="1" rows="X"
		front-left="19" front-top="22" front-right="268" front-bottom="244" supply="100" shadow="20" />
		<counter-section columns="1" rows="4"
		front-left="307" front-top="23" front-right="496" front-bottom="277" supply="1" shadow="20" />
        <counter-section columns="1" rows="2"
		front-left="778" front-top="149" front-right="901" front-bottom="406" supply="100" shadow="20" />
        <counter-section columns="1" rows="2"
		front-left="778" front-top="149" front-right="901" front-bottom="406" supply="100" shadow="20" />
        <counter-section columns="4" rows="X"
		front-left="83" front-top="304" front-right="686" front-bottom="427" supply="100" shadow="20" />
        <counter-section columns="2" rows="1" 
		front-left="565" front-top="19" front-right="769" front-bottom="121" 
        back-left="881" back-top="22" back-right="980" back-bottom="124" supply="100" shadow="20" />
        <counter-section columns="2" rows="1" 
		front-left="565" front-top="133" front-right="769" front-bottom="236" 
        back-left="881" back-top="22" back-right="980" back-bottom="124" supply="100" shadow="20" />
        <counter-section columns="1"  rows="X"
		front-left="778" front-top="22" front-right="871" front-bottom="125" 
        back-left="881" back-top="22" back-right="980" back-bottom="124" supply="100" shadow="20" />
	</counter-sheet>
</game-box>
I also added counter-section type="TwoSided", but that's not working too. So what did I do wrong here?
Si pones columnas, tienes que poner también filas, se te olvido en 3 lineas de codigo, por eso no te va. :wink:

Sustituye en las lineas que te puse lo siguiente rows="X" la letra X por un numero o borra toda la linea de código de columnas y filas "columns="1" rows="X"
User avatar
GJK
221
Posts: 105
Joined: 13 Jul 2007, 12:57
Location: ATX
Contact:

Post by GJK »

If you want to email your counter scans to me, I'll upload them to my server and then you could use this tool to get your x,y coordinates:

http://www.garykrockover.com/zuntzu/getxy.html
"Fat, drunk, and stupid is no way to go through life, son."

-Dean Vernon Wormer
Post Reply