Page 1 of 2

Totally Lost!!

Posted: 03 Sep 2010, 05:15
by Uvatha
I can't even get the chance to place any counters on a map?
I get no boxes at bottom of screen to choose counters from??

Aghhhhh!

Posted: 03 Sep 2010, 12:18
by Jerome
:idea: Hint: it's easier to start from an existing game box than to try creating one from scratch.

Posted: 04 Sep 2010, 01:00
by Uvatha
Jerome wrote::idea: Hint: it's easier to start from an existing game box than to try creating one from scratch.
I am, and I still can't get extra taps to appear at bottom of screen.

Posted: 04 Sep 2010, 07:23
by Jerome
First, declare the maps and counter sheets in the game-box.xml file.
Then indicate in the scenario file which tabs will be displayed, using 'layout' statements (as explained here).

Posted: 04 Sep 2010, 09:47
by Uvatha
Yep. Did all that to the letter.

Posted: 05 Sep 2010, 10:06
by Jerome
Can you send me the game box archive through a file sharing web site so I can have a look?

Posted: 06 Sep 2010, 05:27
by Uvatha
Jerome wrote:Can you send me the game box archive through a file sharing web site so I can have a look?
Don't know any. Can you name a place or give me your email?

Posted: 07 Sep 2010, 11:01
by Uvatha
I will post my gamebox file and startup file.

Code: Select all

<?xml version="1.0" encoding="windows-1252" ?>
<game-box name="Talisman" description="Talisman Revised 4th Edition" 
copyright=" Games Workshop Limited 2008" 
startup-scenario="here.zts">	
<map name="board-Talisman" image-file="talisman-board.jpg" resolution="150 dpi" />		 	
<counter-sheet name="Characters" 
	front-image-file="characters.jpg" front-resolution="150 dpi"
	back-image-file="characters.jpg" front-resolution="150 dpi"		
	<counter-section rows="1" columns="1" 
		front-left="1024" front-top="0" front-right="2048" front-bottom="800" 
        	back-left="0" back-top="0" back-right="1024" back-bottom="800" />
	<counter-section rows="1" columns="1" 
		front-left="1024" front-top="0" front-right="2048" front-bottom="800" 
        	back-left="0" back-top="0" back-right="1024" back-bottom="800" />
	<counter-section rows="1" columns="2" 
		front-left="2048" front-top="0" front-right="4096" front-bottom="800" 		
		back-left="1024" back-top="4800" back-right="2048" back-bottom="5600" />		
	<counter-section rows="5" columns="4" 
		front-left="0" front-top="800" front-right="4096" front-bottom="4800" 		
		back-left="1024" back-top="4800" back-right="2048" back-bottom="5600" />		
	<counter-section rows="1" columns="1" 	
		front-left="0" front-top="4800" front-right="1024" front-bottom="5600" 			
		back-left="1024" back-top="4800" back-right="2048" back-bottom="5600" />		
        <counter-section rows="1" columns="1" 
		front-left="2048" front-top="4800" front-right="3072" front-bottom="5600" 			
		back-left="3072" back-top="4800" back-right="4096" back-bottom="5600" />
</counter-sheet>
</game-box>

Code: Select all

<?xml version="1.0" encoding="windows-1252"?>
<game	
        game-box="Talisman"
	scenario-name="here"
	scenario-description="Choose from the scenarios to get started"
	
        scenario-copyright="">
        <layout board="board-Talisman" />
</game>
its basically a copy of someone elses Talisman gamebox.

Posted: 07 Sep 2010, 20:28
by Bill Barrett
After this line in your scenario file:

<layout board="board-Talisman" />

You need to add this line:

<layout board="Characters" />

Regards, Bill.

Posted: 08 Sep 2010, 06:53
by Uvatha
Bill Barrett wrote:After this line in your scenario file:

<layout board="board-Talisman" />

You need to add this line:

<layout board="Characters" />

Regards, Bill.
Ok did that. Still no worky :shock:

Posted: 08 Sep 2010, 18:37
by Bill Barrett
No, it won't (I've just had a look at the rest of your code).

You've made a couple of basic errors and appear to have some unnecessary duplication.

I suggest you read the instructions again and look at a few more existing game boxes to work out where you're going wrong.

Failing that, I think you'll need to figure out some way to take up Jerome's generous offer of help...

Regards, Bill.

Posted: 09 Sep 2010, 00:18
by Uvatha
Bill Barrett wrote:No, it won't (I've just had a look at the rest of your code).

You've made a couple of basic errors and appear to have some unnecessary duplication.

I suggest you read the instructions again and look at a few more existing game boxes to work out where you're going wrong.

Failing that, I think you'll need to figure out some way to take up Jerome's generous offer of help...

Regards, Bill.
Why couldn't you just tell me what lines are unnecessary duplicated?

Posted: 09 Sep 2010, 03:05
by Bill Barrett
Well OK :wink:

Make these changes (in red) to start:

<?xml version="1.0" encoding="windows-1252" ?>
<game-box name="Talisman" description="Talisman Revised 4th Edition"
copyright=" Games Workshop Limited 2008"
startup-scenario="here.zts">
<map name="board-Talisman" image-file="talisman-board.jpg" resolution="150 dpi" />
<counter-sheet name="Characters"
front-image-file="characters.jpg" front-resolution="150 dpi"
back-image-file="characters.jpg" back-resolution="150 dpi">
<counter-section rows="1" columns="1"
front-left="1024" front-top="0" front-right="2048" front-bottom="800"
back-left="0" back-top="0" back-right="1024" back-bottom="800" />
<counter-section rows="1" columns="1"
front-left="1024" front-top="0" front-right="2048" front-bottom="800"
back-left="0" back-top="0" back-right="1024" back-bottom="800" />

<counter-section rows="1" columns="2"
front-left="2048" front-top="0" front-right="4096" front-bottom="800"
back-left="1024" back-top="4800" back-right="2048" back-bottom="5600" />
<counter-section rows="5" columns="4"
front-left="0" front-top="800" front-right="4096" front-bottom="4800"
back-left="1024" back-top="4800" back-right="2048" back-bottom="5600" />
<counter-section rows="1" columns="1"
front-left="0" front-top="4800" front-right="1024" front-bottom="5600"
back-left="1024" back-top="4800" back-right="2048" back-bottom="5600" />
<counter-section rows="1" columns="1"
front-left="2048" front-top="4800" front-right="3072" front-bottom="5600"
back-left="3072" back-top="4800" back-right="4096" back-bottom="5600" />
</counter-sheet>
</game-box>

I've highlighted the lines in blue because they're simply a duplication of the lines before - the code might be what you intended, but it's not the most efficient way to express it. Furthermore at first glance, your counter coordinates seem out of whack (without seeing your graphics files it's not easy to determine what you're trying to do).

In my view ZunTzu is by far the most useable game box creator, but it still needs programming - and programming needs to be exact.

Regards, Bill.

Posted: 09 Sep 2010, 11:22
by Uvatha
The counter coordinates are a drect copy of another gamebox with the same pic that it was refreeing too?
It worked in the gamebox. I'm having trouble figuring out the counter coordinates as well, front-right is that the number on the front right side? and what side is the front top side?
Do you have too write a code for each counter?.

Posted: 10 Sep 2010, 01:22
by Bill Barrett
While it's undoubtedly true that the best way to understand how to build game boxes is to examine ones already created, you can't always be sure that they incorporate the best methods :wink:

I'm happy (and others too) to try and help out if you have a specific problem, but unfortunately until ZT v2.0's game box building tool is ready, you're still going to have to work out most of the coding yourself...

Regards, Bill.