Totally Lost!!
Moderators: Ichibrothers, Cambronne
Totally Lost!!
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!
I get no boxes at bottom of screen to choose counters from??
Aghhhhh!
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).
Then indicate in the scenario file which tabs will be displayed, using 'layout' statements (as explained here).
Jerome, ZunTzu developer.
I will post my gamebox file and startup file.
its basically a copy of someone elses Talisman gamebox.
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>
- Bill Barrett
- 231
- Posts: 351
- Joined: 25 May 2008, 13:25
- Bill Barrett
- 231
- Posts: 351
- Joined: 25 May 2008, 13:25
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.
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?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.
- Bill Barrett
- 231
- Posts: 351
- Joined: 25 May 2008, 13:25
Well OK
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.
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.
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?.
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?.
- Bill Barrett
- 231
- Posts: 351
- Joined: 25 May 2008, 13:25
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
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.
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.