Region Overlay

This script is pretty much a debug tool. I made it because I wanted to know what the region ID of a particular tile was, but it was too much work to print it out.

So I decide to draw it out...

regionMap1.jpg


Download

Get it at Hime Works

You will need this spritesheet.

sheet_regionID.png


Usage

Download the regionID spritesheet and place it in your Graphics/System folder.

You can change region ID's for a given (x, y) position using a script call

Code:
change_region_id(x, y, regionID)
You can enable/disable the region map using a script call
Code:
$game_system.region_map_disabled = true/false
Do you think, with a different spritesheet, it would be usable for actual gameplay situations?

Say, calling the script so that on a button press the region that has battle encounters enabled would show up?

Almost like a kind of radar...

Does that make sense?
Probably, but you'll have to figure out what you want it to do and how it should work.
Probably, but you'll have to figure out what you want it to do and how it should work.
Of course! I didn't mean to imply I was asking you to do it.

I think the main thing I would have to do is edit the spritesheet so it only has a graphic on one reigon ID, and make it a solid color. That way when the script is enabled it shows the reigion as being red or whatever and nothing else gets altered.
Yes, you could probably just take the existing sprite-sheet and take out those numbers and then you will have your region markers.
Yes, you could probably just take the existing sprite-sheet and take out those numbers and then you will have your region markers.
Sweet, your script saved me a lot of time. Thanks for letting me bounce the idea off of you. 😛

Original thread: https://forums.rpgmakerweb.com/threads/region-overlay.9967/