Wel, it needs a plugin to create the map in the format you want. The standard options are CSV, XML and base64. I have no idea what format Tome uses, I should have a look at some files.
here is the Tiled wiki page about plugins:
http://sourceforge.net/apps/mediawiki/t ... own_plugin
Examples of other games using Tiled can be found on the wiki main page
http://sourceforge.net/apps/mediawiki/t ... =Main_Page
For now, I have been using it to get a visual idea what a vault might look like when I'm designing it, before I generate the code for tome. It would be nice if we could get it to produce something like this:
Code: Select all
defineTile(',', "GRASS")
defineTile('#', "WALL")
defineTile('X', "TREE")
defineTile('+', "DOOR")
defineTile('t', "FLOOR", nil, {random_filter={name="skeleton mage"}})
defineTile('$', "FLOOR", {random_filter={type="scroll"}}, nil)
return {
[[XXXXXXXXXXX]],
[[X,,X,,,X,X,]],
[[X,X,,,,,,XX]],
[[X,X,,s####X]],
[[X,X,,,#$$#X]],
[[X,XX,,+$$#X]],
[[X,,XX,####X]],
[[X,,,XXXXXXX]],
}
But to be honest, I have no idea how to do this (besides editing the CSV-files with search/replace).