Little problem

Discuss game box design and sharing.

Moderators: Ichibrothers, Cambronne

Post Reply
User avatar
Beren
020
Posts: 48
Joined: 20 Aug 2008, 15:01
Contact:

Little problem

Post by Beren »

I´m still learning how to make modules, an i have this problems... i tried to make only the beginning of the module to see if zun tzu could read it. I have this gamebox and scenario:

<?xml version="1.0" encoding="windows-1252" ?>
<game-box
name="World in Flames"
description="Second world war"
copyright="(© 2008, Australian Design Group)"
startup-scenario="1939">
<dice-hand type="D10">
<dice count="2" color="ffffff" pips="000000" />
</dice-hand>
<dice-hand type="D10">
<dice color="0000a0" pips="ffffff" />
<dice color="a00000" pips="ffffff" />
</dice-hand>
<map name="Namerica" image-file="America (300 dpi)_Page_3.jpg" resolution="300 dpi" />
</game-box>


<?xml version="1.0" encoding="windows-1252" standalone="yes"?>
<game
game-box="World in Flames"
scenario-name="1939"
scenario-description="1939"
scenario-copyright="(© 2008, Australian Design Group)">
<layout board="Namerica" />
</game>


I have renamed them, of course, but when i try to open it with ZT, it tells me that an error ocurred at f: file 1939 not found in archive

Any idea?
User avatar
Bill Barrett
231
Posts: 351
Joined: 25 May 2008, 13:25

Post by Bill Barrett »

Any idea?
Hi Beren, yes you just need to change:

startup-scenario="1939">

to:

startup-scenario="1939.zts">

in your game box file.

Regards, Bill.
User avatar
Beren
020
Posts: 48
Joined: 20 Aug 2008, 15:01
Contact:

Post by Beren »

Hi Bill, you are great :P, problem erradicated :)
User avatar
Beren
020
Posts: 48
Joined: 20 Aug 2008, 15:01
Contact:

Post by Beren »

new problem :). i´ve added new maps...

<?xml version="1.0" encoding="windows-1252" ?>
<game-box
name="World in Flames"
description="Second world war"
copyright="(© 2008, Australian Design Group)"
startup-scenario="1939.zts">
<dice-hand type="D10">
<dice count="2" color="ffffff" pips="000000" />
</dice-hand>
<dice-hand type="D10">
<dice color="0000a0" pips="ffffff" />
<dice color="a00000" pips="ffffff" />
</dice-hand>
<map name="eurasia" image-file="eurasia(300dpi)" resolution="300 dpi" />
<map name="america" image-file="america(300dpi)" resolution="300 dpi" />
<map name="scandinavia" image-file="scandinavia(300dpi)" resolution="300 dpi" />
<map name="africa" image-file="africa(300dpi)" resolution="300 dpi" />
</game-box>


<?xml version="1.0" encoding="windows-1252" standalone="yes"?>
<game
game-box="World in Flames"
scenario-name="1939"
scenario-description="1939"
scenario-copyright="(© 2008, Australian Design Group)">
<layout board="eurasia" />
<layout board="america" />
<layout board="scandinavia" />
<layout board="africa" />
</game>


error type xml exception:data at the root level is invalid: line1 , position 1. Ideas?
User avatar
Beren
020
Posts: 48
Joined: 20 Aug 2008, 15:01
Contact:

Post by Beren »

problem resolved :), i´m beginning to learn a lot of C :D
Post Reply