Jubby Posted August 24, 2012 Share Posted August 24, 2012 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? Quote Link to comment Share on other sites More sharing options...
BoxMulder Posted August 25, 2012 Share Posted August 25, 2012 (edited) 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 August 25, 2012 by BoxMulder Quote Link to comment Share on other sites More sharing options...
CT075 Posted August 25, 2012 Share Posted August 25, 2012 (edited) iirc you can change that if you use absolute filepaths ie C:\Users\Documents\Tiled\tileset.png or whatever Edited August 25, 2012 by CT075 Quote Link to comment Share on other sites More sharing options...
Jubby Posted August 25, 2012 Author Share Posted August 25, 2012 Hmm okay. Thanks guys. I need tile changes in my requested map and screw using the macro, although it sounds like that might actually be the easier thing to do Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.