Jump to content

Uhh... Is this even a hacking question?


Jubby
 Share

Recommended Posts

Hey, guys. So you know how Tiled loads the tileset for you and all that :P I was sent a tmx file by someone, and obviously the directory is quite a bit different and it can't find it. Is there any way I could change the filepath so that it loads the proper tileset?

Link to comment
Share on other sites

The image source is in the .tmx file. Open it with a text editor and find something like

<image source="sewer_tileset.png" trans="#ff00ff"/>

which should be near the beginning of the file. In this example, the tileset used is called sewer_tileset.png. You change that value to change tileset. Note: Tiled looks for the file <tiledfolder>/<tilesetname>. So for example, if you changed the image source to "/FE Tileset/tileset.png", it would use the image <tiledfolder>/Tilesets/FE Tileset/tileset.png, assuming it exists.

Edited by BoxMulder
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...