Totally Lost!!

Do you need help installing or using ZunTzu? Would you like to report a bug?

Moderators: Ichibrothers, Cambronne

Uvatha
Posts: 14
Joined: 30 Aug 2010, 05:42

Totally Lost!!

Post 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!
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post by Jerome »

:idea: Hint: it's easier to start from an existing game box than to try creating one from scratch.
Jerome, ZunTzu developer.
Uvatha
Posts: 14
Joined: 30 Aug 2010, 05:42

Post 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.
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post 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).
Jerome, ZunTzu developer.
Uvatha
Posts: 14
Joined: 30 Aug 2010, 05:42

Post by Uvatha »

Yep. Did all that to the letter.
User avatar
Jerome
Site Admin
Posts: 974
Joined: 22 Jun 2006, 21:31
Location: France
Contact:

Post by Jerome »

Can you send me the game box archive through a file sharing web site so I can have a look?
Jerome, ZunTzu developer.
Uvatha
Posts: 14
Joined: 30 Aug 2010, 05:42

Post 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?
Uvatha
Posts: 14
Joined: 30 Aug 2010, 05:42

Post 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.
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post 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.
Uvatha
Posts: 14
Joined: 30 Aug 2010, 05:42

Post 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:
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post 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.
Uvatha
Posts: 14
Joined: 30 Aug 2010, 05:42

Post 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?
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post 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.
Uvatha
Posts: 14
Joined: 30 Aug 2010, 05:42

Post 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?.
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post 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.
Post Reply