Hiding specific parts of map based on conditions

Posting this in RPG Maker MV because I don't think I'll need a plugin for this... but I'll leave it to the mods to move it where it belongs if that's not the case.

My maps are really big and has many rooms in each one. I want to cover rooms the player is not in. I tried the dark room covers plugin but it didn't work out for me because my maps are rather complex and need some specific region tiles in places I want to cover. They clash so I can't use that plugin.
So what I have in mind is to search for a specific terrain tag, and turn on alpha/transparency...
Edit: -_- I wasn't thinking when I wrote that out. How will this work... all tiles marked will be transparent... i just want the tiles where the player is to be transparent TT
Edit 2: Okay, so my original question changes along with the title. Any way to hide specific parts of the map without using regions?
Edit 3: I realize I can just use an empty event to trigger another event with a bigger graphic to show/ hide the room. That's a lot of events... almost 40 events but well, if nothing else works then this will have to do. Still, if you have a better way then please do tell me.

I came across this thread but I don't really understand what they're talking about lmao

Any help is appreciated. Even if just hints. Thank you!
Alternatively, I think you can bind pictures with maps to cover the area and use condition to turn it off/on when the player enters/leaving a specific part of the map.

I'm certain there was a plugin to do just like this. But yeah, it can be done by eventing alone.
If your rooms are large, the event solution on its own won't work, because depending on the direction the player is approaching from, the event could be considered "off screen" and won't be updated until the player is closer. This means they could see a part of what you want covered before you're close enough to actually trigger the covering event.

I don't see how this can be done without plugins.
Am I missing something? Can't you just use a lighting plugin and make your light events check the distance to the player and shut on/off accordingly? I know Community Lighting has an option to make Tile IDs block light as well. Which could block off the player's light from rooms they aren't in. (Other lighting plugins may have that too).

I guess you could also have a Common Event that is always running, and flips event switches based on the player's position. Then you'd just need to have events with room sized black images (or Light events) that turn on and off, but wouldn't need to be parallel. I usually push all of the event IDs into an array and compare the player's position against the array. It's what I do for my game's "path" mechanic. Only you could skip the whole push thing, and just make the array with the event IDs in question since you already know them in advance.
Or if you mean you have lots of rooms on your maps that aren't interconnected (like putting ALL your town interiors on a single map for that town), just leave enough space between each one so as the player moves to the edge of one interior, the next one isn't close enough to be seen.
@Shaz Thanks! I thought this could be done with keeping terrain tags in mind but I wasn't thinking straight. It was 3 am when I made this thread XD I don't think the room layout is going to make a problem with the event graphic showing. I'm using Yanfly's event graphic shift and QMovement so I can shift the center of the event according to my needs if that's the case.

@ImaginaryVillain My maps aren't completely pitch black for the lighting solution to work. If that had been the case I'd need a lot of lights and I don't think it'd look good...
The second solution is what I think I'll do. I made some major changes to my events so the lag is noticeably less. I think it can handle some images/events.
I wouldn't even do this but when the enemy is the next room, you can see them so it breaks the immersion. That's why I have to cover the rooms -_- Remind me to never make games like this in the future *sigh*
I'll never understand why people aren't super excited by weird solutions like that. Just think, the next game you make like this, you've already figured out all of the hard stuff. So it will be a breeze. :LZSexcite:

Honestly though I wouldn't even do it the way you're thinking. I would spawn in the events if the player gets too close, then despawn them if they get too far away. That leaves maximum resources available. But I also don't leave events (or even graphics) on my maps that I'm not currently using, so I'm kind of an odd case.

You know thinking about it, you might also be able to do a trick with Shaz's Tile Changer https://forums.rpgmakerweb.com/index.php?threads/tile-changer-copy-tiles-and-change-tiles.90437/ it's been awhile since I used it... But if you put a black tile on a layer that's above your tiles... Then you can just remove or add them based on the player's position.

Admittedly though that might be way too resource intensive, as it would be no different than just building the map tile by tile as the player gets close. Something I tried once ages ago, but found to be way too resource intensive. Then again knowing what I know now, I think it could be done.
The enemy has its own routine and walks around the map, checks for any signs of the player nearby (lights turned on, doors open etc. when they shouldn't be) So I can't just spawn them when I need them ^^; I wish I could though. I'm biting off more than I can chew hehe
By the time I'll be done with this game I'll be drained af. I wish I could just shove it into someone's arms and be like "this is your problem now. Deal with it!" TT
I was thinking you'd just spawn the events that handled the black images. Rather than have them just sitting there off and flipping switches to turn them on and off. Though your problem reminds me of the boss fight I'm currently building. I wanted the boss to be able to build maps around the player. But that's just not possible with MV... it will explode. So I got around it by stealth transferring the player to exactly the same spot on another map so it can clean the memory, and build the map super fast. They'll never know. But the boss also has to move... She's an event just like anything else. So how does the boss remember?.... Global variables and switches, she knows what she has to do based on those... And if I increment them then spawn her in, she'll do the other stuff but the player will never know if she's skipped steps.

You can do the same, have a "Ticker" common event that's just counting, and tracking the player's position. Then if the player is near a position that matches you enemy's behavior pattern... Spawn the enemy in, stop the ticker and start a check to see if the player is too far away... If the player is too far away, despawn the enemy and turn the ticker back on. Now your entire enemy's behavior is being tracked by a single variable, instead of all the processing necessary to run a complex event. :LZSwink:
Good solutions ^^ I'll try them out. Thanks

Original thread: https://forums.rpgmakerweb.com/threads/hiding-specific-parts-of-map-based-on-conditions.125353/