The map you uploaded earlier has a tileset with this declaration:
Code: Select all
<image source="untitled3.png" width="640" height="640"/>.
We can neither view nor easily fix your map because of this. "untitled3.png" isn't one of our tilesets. In addition, the client won't be able to handle a map like this even if it did have "untitled3.png", as the relative paths will be wrong for the data.
There are a few things you need to do in order to make this map usable.
You need to make sure you have the proper directory hierarchy set up. You should ideally clone the [
client data repository] with git to do this, but you may also find the option to export the repository to an archive a short term usable workaround if you have trouble with this.
As paths are used in the map format, and as tilesets are not stored within the map, you need to save the map in the proper directory (tmwa-client-data/maps/) and to link to tilesheets that have the correct relative path.
If you restrict yourself to using tilesets in tmwa-client-data/graphics/tiles/, you'll be fine.
If you really do need to add additional tiles (and you should avoid this if you can help it, especially when you're just getting things set up) you can amend tilesheets in here, or add your own. Make sure you check with the team before going ahead with either of these, in order to avoid possible merge conflicts.
In summary:
Make sure you save the map in the maps directory.
Make sure the map only uses tilesets in the graphics/tiles directory.
The maps directory and the graphics directory must be in the same directory. If you use the client-data repository as-is, it'll be fine.
When this is done right, you should be able to open up your map in a text editor and see all source parameters in the image tag have the format "../graphics/tiles/tilesetnamehere.png".
For instance:
Code: Select all
<image source="../graphics/tiles/woodland_indoor.png" width="512" height="512"/>
I hope this helps. Feel free to ask if there's anything that needs clarifying.
---Freeyorp