terrain?
Moderators: Ichibrothers, Cambronne
A terrain sheet gives you elements like cards/counters, but they are non-stackable, and cannot be moved in normal mode. When you click "edit terrain" all the terrain sheet tabs will show up, and you can move (new) terrain into place. As soon as you exit edit terrain mode the terrain sheet tabs disappear and all terrain tiles are immovable. This is similar to the background you get from a map image, but it can be changed for example during initial setup of the game. Since the terrain tiles can't be moved or stacked, you can put counters and cards on them without having to worry about them getting messed up.
- Bill Barrett
- 231
- Posts: 351
- Joined: 25 May 2008, 13:25
Here's some sample code:
Code: Select all
<terrain-sheet name="TEC"
front-image-file="TEC.png" front-resolution="300 dpi">
<terrain-section front-left="0" front-top="0" front-right="337" front-bottom="3300" />
</terrain-sheet>
- Bill Barrett
- 231
- Posts: 351
- Joined: 25 May 2008, 13:25
Not sure (I'd need to know the exact error message you're getting), but I noticed that you've declared your terrain file as "planet.JPG" - you should change it to "planet.jpg" (all lower case).
Also (and this doesn't relate to your problem), you don't need to include the line: icon="icon.bmp" nor do you need to declare supply="1" (it's one by default).
Regards, Bill.
Also (and this doesn't relate to your problem), you don't need to include the line: icon="icon.bmp" nor do you need to declare supply="1" (it's one by default).
Regards, Bill.
with this code I get the program to load but I can't find the terrain when it is running.
I will put my original code in and see what the error code is.
Code: Select all
<terrain-sheet name="planet" front-image-file="planet.JPG" front-resolution="300 dpi">
<terrain-section rows="1" columns="1" front-left="0" front-top="0" front-right="60" front-bottom="56" supply="2" />
</terrain-sheet>
the 'game-box' start tag on line 2 does not match the end tag of 'terrain-sheet'. line 85, position4.
with this for code
with this for code
Code: Select all
</terrain-sheet name="planet"
<front-image-file="planet.jpg" front-resolution="300 dpi">
terrain-section front-left="0" front-top="0" front-right="60" front-bottom="56" />
</terrain-sheet>