Normal tiles are defined by a the filename they are found, how many 32*32px images are in there (width and height), their ids, and their attributes.
- {l Code}: {l Select All Code}
(tiles
(width 3)
(height 3)
(ids
301 302 303
304 305 306
307 308 309
)
(attributes
0 0 0
1 1 1
1 1 1
)
(image "tiles/jungle/convex.png")
)
Attributes are 0 for unsolid, 1 for solid and 1024 for hurting. Slopes have the attribute 17.
If you want to have slopes or unisolid tiles, additional to the attributes you need a data tag:
- {l Code}: {l Select All Code}
(tiles
(width 3)
(height 3)
(ids
301 302 303
304 305 306
307 308 309
)
(attributes
0 0 0
1 17 17
1 17 17
)
(data
0 0 0
0 2 0
0 1 3
)
(image "tiles/jungle/convex.png")
)
If a tile (solid, unsolid, hurting) doesn't require a data-tag, leave it 0.
Here's a small cheatsheet for the data tags. Red is the attribute, blue is the data. If there's no blue number you don't need to add a data tag if none of the tiles in your image needs one.
I hope this helps