Adding tiles

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
musketaquid
Art Contributor
Posts: 117
Joined: July 18th, 2006, 12:23 am

Adding tiles

Post by musketaquid »

I want to add a new tile.
Can anybody tell me what steps are to be taken, to play around with it in the editor?

P.S.: I have already edited the terrain.cfg. So i can see the tile in the editor now :) but when i want to fill some hexes with it, the editor draw these hexes black, after i released the mouse button. :(
musketaquid
Art Contributor
Posts: 117
Joined: July 18th, 2006, 12:23 am

Post by musketaquid »

Now i found the reason.

I answer the question myself, for those who are interested.

Asume the new tile files are ready for use in /data/core/images/terrain/...!
First edit data/core/terrain.cfg and create a new tile there. It's easy if you take a look at the existing entrys.
And /data/core/terrain_graphics/_final.cfg needs at least one entry for the new tile you have defined in terrain.cfg.
Now you can fire up the editor and you will be able to pave the whole map with your fancy new tile 8)
Post Reply