Tiled Plugin - Tileset properties

● ARCHIVED · READ-ONLY
Started by SurprisingSandwich 5 posts View original ↗
  1. Note: As of RPGMaker MV 1.3 this plugin is broken (probably due to the introduction of ShaderTilemap). I'm posting the code here anyway in case it helps someone else.

    View attachment YED_Tilemap.js
    is a replacement file of 1.2.0 version of the Tiled plugin found here that allows both Tiled maps and RPGMaker MV maps to be used in the same game, and also adds support for tileset properties.

    Features

    - Allows both Tiled and RPGMaker MV maps in the same game
    - Tileset properties for Tiled maps

    How to Use
    In addition to declaring a property on an entire layer, you can now set the properties "collision", "arrowImpassableUp", "arrowImpassableDown", "arrowImpassableLeft", "arrowImpassableRight", "bush", "ladder", "counter", "damage", "terrainTag", and "region" on the individual tileset tiles (similar to how it is done in base RPGMaker MV). By default, all tiles have a "don't care" attitude toward these properties. The plugin starts at the highest layer, and asks each layer for the property in sequence until it gets an answer. The first layer to respond (a number for terrainTag and region, "true" or "false" for all other properties) determines the effective setting. Arrows (true or false) will trump the general collision property for a given layer (note that a right impassable tile will be counted as a "don't care" when moving up).

    Tileset properties can be either internal or external (in other words, you can now define the tileset properties in a .json file next to the tileset image, and reuse the same properties on multiple Tiled maps).

    Terms of Use
    My contributions to the plugin are free for both commercial and non-commercial purposes. See the original thread (linked above) for more information.

    Author's notes
    tried to do this as an extension instead of a replacement file, but in order to play nice with both Tiled maps and RPGMaker MV maps, you would have had to pull in one plugin before the Tiled plugin, and another one after it.
  2. SurprisingSandwich said:
    Note: As of RPGMaker MV 1.3 this plugin is broken (probably due to the introduction of ShaderTilemap). I'm posting the code here anyway in case it helps someone else.


    View attachment 47354View attachment 47354is a replacement file of 1.2.0 version of the Tiled plugin found here





    that allows both Tiled maps and RPGMaker MV maps to be used in the same game, and also adds support for tileset properties.


    Features


    - Allows both Tiled and RPGMaker MV maps in the same game


    - Tileset properties for Tiled maps


    How to Use


    -shortened-



    Terms of Use


    My contributions to the plugin are free for both commercial and non-commercial purposes. See the original thread (linked above) for more information.


    Author's notes


    I tried to do this as an extension instead of a replacement file, but in order to play nice with both Tiled maps and RPGMaker MV maps, you would have had to pull in one plugin before the Tiled plugin, and another one after it.



    I'm horribly confused about this, first off the TileD plugin isnt broken it's just not updated for the current version. Most plugins need updates with different versions that's how it works. Also what does this do again? I see a script and then archeias tile d script you say is broken. You say it's a replacement of the 1.2 version of the tileD plugin and you have the 1.1.3 version linked. 


    Also is the YED plugin yours? You gotta credit yami.. also archeia if her script is to be used.
  3. TileD plugin has not been updated to 1.3.1 yet but I'd suspect it anytime now since we got a preview almost 2 weeks ago.
  4. Thank you for this script! I will add it now in the topic. Just in case people want to use the old style.
  5. gomiamiheat6804 said:
    I'm horribly confused about this, first off the TileD plugin isnt broken it's just not updated for the current version. Most plugins need updates with different versions that's how it works. Also what does this do again? I see a script and then archeias tile d script you say is broken. You say it's a replacement of the 1.2 version of the tileD plugin and you have the 1.1.3 version linked. 


    Also is the YED plugin yours? You gotta credit yami.. also archeia if her script is to be used.



    Sorry I wasn't more clear. This is not an MV 1.3.1 compatibility fix (in fact, it doesn't work well in MV 1.3.1). This is Yami/Archeia's 1.2.0 plugin with a couple more features added by me (due to the structure of the original file, making an extension plugin for it was going to be icky on the plugin user). The file itself credits as credit is due. This is taken wholesale from the 1.2 version I linked to (the thread says 1.1.3, but its downloaded file says 1.2.0).