Changing a map mid-game ("rebuilding" a broken area in the map)

I do not suppose this a new idea, but I could not find a similar thread. Please excuse me if this issue has already been resolved!

As a main feature of a game that I am developing, I would like to have an area in the map that I've set as the main character's "base" begin as being visually wrecked, but evolve as the player progresses through the game.

For example, a room in the castle filled with nothing but debris turn into a alchemy lab after the player has recruited an alchemist to the party.

Would it be a bad thing to do all of these map changes with events, considering I would have to add A LOT of events into a map in order to reach the desirable effect?

Have you done something similar in a project you have created? I'd like to hear about it.

Thank you so much for the attention.
I've only ever seen this done with events, however I can imagine it being rather easy to implement in a Plugin. The tile-map is just a number array, could probably make a Plugin that copied a section from a template map and replaces a given co-ordinate on a target map with that section. That would be a lot lighter than using events, however then there's expected features like copying events over or only copy certain layers.

I think another approach could be to use images, perhaps even just large event sprites that cover a larger area so you only have to worry about 1 event rather than multiple ones covering all the tiles that change.

Personally, if I had to implement this myself for my own project, I'd write a basic Plugin (specific to my project) to do it as that would be less work in the medium-long term (but more work in the short-term).
An easy way to do it would be to just have different maps - one wrecked, one good - and transfer to the correct one depending on whether you have the alchemist or not. If you had something like chests that you open on the wrecked version and want to be empty on the good version, you'd need to use regular switches instead of self switches. But you can do all of that without programming.

The other way would require plugins that will either let you change the tiles used in the map, or copy tiles from a different map (this would be good if you wanted to update small parts of the same map at different times). I had a script for Ace that did this, and plan on rewriting it for MV. But I have a feeling if you look around, you'll probably be able to find one that's already been written.
I've only ever seen this done with events, however I can imagine it being rather easy to implement in a Plugin. The tile-map is just a number array, could probably make a Plugin that copied a section from a template map and replaces a given co-ordinate on a target map with that section. That would be a lot lighter than using events, however then there's expected features like copying events over or only copy certain layers.

I think another approach could be to use images, perhaps even just large event sprites that cover a larger area so you only have to worry about 1 event rather than multiple ones covering all the tiles that change.

Personally, if I had to implement this myself for my own project, I'd write a basic Plugin (specific to my project) to do it as that would be less work in the medium-long term (but more work in the short-term).

I have no experience in creating plugins, but I could create images. What you meant on the second paragraph of your reply is creating an image (the rebuilt area) that overlays the wrecked area once the conditions are met? Could this be done with one simple event?
You would ask for the plugin - that's why we have a plugin requests forum 😉
An easy way to do it would be to just have different maps - one wrecked, one good - and transfer to the correct one depending on whether you have the alchemist or not. If you had something like chests that you open on the wrecked version and want to be empty on the good version, you'd need to use regular switches instead of self switches. But you can do all of that without programming.

The other way would require plugins that will either let you change the tiles used in the map, or copy tiles from a different map (this would be good if you wanted to update small parts of the same map at different times). I had a script for Ace that did this, and plan on rewriting it for MV. But I have a feeling if you look around, you'll probably be able to find one that's already been written.

The first case is in fact easy, but I want to do something more like the second case (updating small parts at different times). Let's elaborate on the second case. How did your plugin work? Did it work like "I create two maps, and plugin replaces a section of the first one with a section of the second one"?
That's exactly it. It would let me say what map I wanted to copy from and define the rectangle area to copy (either top left X,Y and width and height, or top left X,Y and bottom right X,Y), and where I wanted to copy it to on the current map.

It was only a tile copy. Events were not changed, and the map I copied from had no events as it was purely to keep the "after" version of the tiles.
That's exactly it. It would let me say what map I wanted to copy from and define the rectangle area to copy (either top left X,Y and width and height, or top left X,Y and bottom right X,Y), and where I wanted to copy it to on the current map.

It was only a tile copy. Events were not changed, and the map I copied from had no events as it was purely to keep the "after" version of the tiles.

That sounds perfect for my project, but I have no experience in creating plugins. Do you recommend me to learn how to do it or request it from someone else?
1. Search to see if one already exists
2. Ask if someone else can make it for you
3. Learn to script and make it yourself

If you don't know anything about programming, #3 should always be an absolute last resort. I could also add 2b - pay someone to make it for you - as it would be done faster and better than you could probably do yourself.

But do #1 first. I would be very surprised if this wasn't already out there.
Thank you very much Shaz and xilefian🙂
We have not reached a clear solution, though. If I find, commission or even create the plugin in question, I'll make sure to post it here as a reply.

I would still like to hear other people's views if there are any.
Yes, I found a script that works perfectly! If you also want to do something similar to my idea, by all means check this amazing work by EST:
https://forums.rpgmakerweb.com/index.php?threads/est-regionmaploader.50665/

Original thread: https://forums.rpgmakerweb.com/threads/changing-a-map-mid-game-rebuilding-a-broken-area-in-the-map.89588/