Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Ritter Map Transform (RPG Maker MV)

Change your maps tiles on the fly! Change regionIds! Swap an area of tiles from one map to another! And more! · By notRitter

Strange Behavior with changing tile on map and saving

A topic by AquaEcho created Aug 28, 2023 Views: 121 Replies: 4
Viewing posts 1 to 4
(2 edits)

I am using these two script calls to place the default tileset archway door (B layer) on tile 5,5 and change the tile's region ID to 100:

Ritter.MapTransform.changeTile(5, 5, 3, 70, true);

Ritter.MapTransform.changeRegionId(5, 5, 100, true);

It works fine at first, but when I leave the map and come back the region ID seems to have reverted and the tile layer under the B layer archway door changed to ID 0, so it looks like a  black square door (because the A layer underneath got deleted).

For the second picture:

Ritter.MapTransform.getTileId(5, 5, 0) returns 0 for the bottom layer

 Ritter.MapTransform.getTileId(5, 5, 3) returns 70 (the arch door tile) for layer 3


(+1)

Hello, I'll take a look into this as soon as I can. Thank you for reporting this.

(+1)

Hello! Version 1.1 has been released and should fix this problem. Be sure to check the readme included in the download or the devlog for this update before overwriting your old plugin file.

https://notritter.itch.io/ritter-map-transform-rpg-maker-mv/devlog/583886/ritter-map-transform-mv-v11

Thank you and good luck!

(+1)

Thank you very much, both the tile and region settings are being saved properly now.

Hi, I just noticed this fix works if the door is placed on a tile that was on the map to begin with, but if the tile was changed from its original data then the door is placed on it, the door disappears when exiting and entering the map.