A way to display name of map?

1671141584852.png
1671141603509.png


Hi all. Was wondering if there's a way to display the maps name when entering or leaving the town, or a plugin is needed. If need a plugin, is it possible Yanfly has such plugin to use or what would you recommend?

Example of what I ask. Player leaves village, display name shows area player is entering. If player returns back to village, displays name what village player enters.

Note: This is a 256 x 256 map. Decide to rid of Overworld and start with the Outdoor approach.
I'm reasonably sure you highlighted what you need to use. I don't personally use it, but I believe whatever you put into the Display Name box will show in the corner of the screen whenever you enter that map.
I'm reasonably sure you highlighted what you need to use. I don't personally use it, but I believe whatever you put into the Display Name box will show in the corner of the screen whenever you enter that map.
But this isn’t a different map. It’s the same map.
Example of what I ask. Player leaves village, display name shows area player is entering. If player returns back to village, displays name what village player enters.
What you've described is exactly how it already works. As Sword_of_Dusk said, If you have typed anything in the "Display Name" box, it will show that text on the lefthand corner of the map for a few seconds whenever you enter the map.

But this isn’t a different map. It’s the same map.
Huh?
As sword of dusk pointed out, that is the only default method the game offers for showing a Map Name. Whatever you put into that Display Name slot is what will be displayed in the game.

However, it will only display when you enter a map, not when you leave it.

I feel like you don't need a plugin though. If you really want to have the map name displayed when the player is leaving, just Event your Transfer Events such that it displays that Map name in the corner of the screen before the player transfers maps.
You could probably use a Common Event for the effects like fading, or however you decide to transfer maps.

But this isn’t a different map. It’s the same map.

This has nothing to do with displaying map names. The only times it will show with the Display Name is if the player enters a new map through the Transfer Maps event command.
Why not just try typing something in that box and seeing what happens, pal?
But this isn’t a different map. It’s the same map.
Oh, my bad. I get what you mean after re-reading your post. In that case, you're probably gonna need a plugin. I don't know if one exists, but perhaps this thread I found can send you in the right direction by eventing it with the help of regions.

Was wondering if there's a way to display the maps name when entering or leaving the town, or a plugin is needed. If need a plugin, is it possible Yanfly has such plugin to use or what would you recommend?

Example of what I ask. Player leaves village, display name shows area player is entering. If player returns back to village, displays name what village player enters.

How's this..

Get this:

..Change the separator to ;;
Spoiler
1671155747034.png

Then setup something like this:
Notetag:
Spoiler
1671155997343.png

JavaScript:
Script 7;; if (d === 6){$dataMap.displayName = 'Lost Forest (Part B)';SceneManager._scene._mapNameWindow.open()}; if (d === 4){$dataMap.displayName = 'Lost Forest (Part A)';SceneManager._scene._mapNameWindow.open()}

Region on Map:
Spoiler
1671155955673.png

From what I can tell something like that should work for your needs.
Yea nothing seems to work and after reading up on similar ideas, don't think the engine is designed to do this.

That's fine. It'll just make the game a little harder and requires the player to find signs, then read them to know where they're at.
Yea nothing seems to work and after reading up on similar ideas, don't think the engine is designed to do this.

That's fine. It'll just make the game a little harder and requires the player to find signs, then read them to know where they're at.
Some players might honestly enjoy that.
MZ has an included plugin TextPicture.js by Yoji Ojima which would be perfect for what you want. That's not helping you, though, as you've posted in MV. You might try Galv's MV Timed Messages Popup which allows you to display text without disrupting game play/action. Here's how I would approach it.

1. Dedicate a block of variables to hold the region names. For instance, if the max number of regions of all maps is 20, then use variables 21-40 to hold those names. Use the last variable in that block to hold current region.
2. Add/activate Galv's MV Timed Messages Popup plugin to your plugins.
3. Run an autoevent each time you enter a map to populate those variables with the correct names. Don't forget to erase event so the auto event doesn't fall into an endless loop.
Spoiler: Event Image
1671248863213.png
4. Set up your map so that every cell that begins a new region is given a region ID of the appropriate variable. In other words, every cell that is an entrance cell of "Inside Barrels" is given the region ID 22, and every cell that is an entrance cell of "Outside Barrels" is given the region ID 23. This doesn't do anything at all and is not even used in the eventing/coding, but it does serve as a visual reminder for you as to what variable should be called.
5. In each of these entrance cells, place an event 'Below Player and Player Touch' to call the plugin. You can leave the image blank or you can add a simple circle so the player knows he's entering a new region. Assign the Current Region to the appropriate region variable and use the plugin-modified textbox to display that Current Region. Read the plugin documentation. You want the text to appear in the upper left corner, not over the player's head or the event's head, so you want to use the format that uses screen coordinates. From the documentation
<c:100|100,80,5> // After 5 frames, message at screen x100 y100 for 80 fr
Spoiler: Map Event
1671249223309.png
And this is what you'll get
Spoiler: In-Game ScreenShot
1671249459175.png
The documentation does say you can assign a different windowskin to the message box, so it's possible you could do that to get rid of the border if that's what you wanted. Messing around with windowskins is beyond my level of expertise.

I think this is more in keeping with what you're trying to do. If not, no worries.
or if you want to set it simple:

set the display name to a variable ($gameVariables.value(x) )
than in a conditonal branch:

if face direction is left
variable of that x = "your displayname here"
else if right, do the other name.

do this on each point, else the approach y CT_Bolt or the above post should work as well.
the approach by CT_Bolt should work as well.
Yep seems to be really easy to use and works nicely for me 🙂
Looks like this:
Spoiler: Setup & In Game
Spoiler: Map Notetags Used in the Above Video
JavaScript:
Script 7;; if (d === 4){$dataMap.displayName = 'Lost Forest (Part A)';SceneManager._scene._mapNameWindow.open()}
Script 8;; if (d === 6){$dataMap.displayName = 'Lost Forest (Part B)';SceneManager._scene._mapNameWindow.open()}

Original thread: https://forums.rpgmakerweb.com/threads/a-way-to-display-name-of-map.153334/