【汉化】Map Display Name Core plugin for RPG Maker MV

This is a RPG Maker MV plugin that lets you control Map Display Names. They can now use text codes, have unique gradient colors, and can have custom defined fade times and duration.
这是一个RPG Maker MV插件,可让您控制地图显示名称。它们可以使用文本代码,具有独特的渐变颜色,并且可以自定义淡入淡出时间和持续时间。

Plugin Parameters

image

Change the plugin parameters to adjust the way your map name windows look.
更改插件参数以调整地图名称窗口的外观。

  • Text Distance: The amount of distance between the edge of the gradient to the text in pixels.

  • Window Height: This is the height of the window.

  • Y Position:
    Starting Y: This is the Y coordinate for the map display window when it starts fades in.
    Middle Y: This is the Y coordinate for the map display window when it finishes fading in.
    Ending Y: This is the Y coordinate for the map display window when it finishes fading out.

  • Fade:
    Fade In Time: The number of frames to fade in the map display name.
    MIddle Time: The number of frames to wait before fading out.
    Fade Out Time: The number of frames to fade out the map display name.

  • Dim Color
    Dim Color 1: This is the default dim color 1 used. Use values in order of Red, Green, Blue, Alpha.
    Dim Color 2: This is the default dim color 2 used. Use values in order of Red, Green, Blue, Alpha.

  • 文本距离:渐变边缘与文本之间的距离量(以像素为单位)。

  • 窗口高度:这是窗口的高度。

  • Y位置:
    起始Y:这是地图显示窗口开始淡入时的Y坐标。
    中间Y:这是地图显示窗口完成淡入时的Y坐标。
    结束Y:这是Y坐标对于地图显示窗口,当它完成淡出时。

  • 淡入淡出:
    淡入淡出时间:地图显示名称中淡入的帧数。
    模拟时间:淡出之前要等待的帧数。
    淡出时间:淡出地图显示名称的帧数。

  • 昏暗颜色
    暗淡颜色1:这是使用的默认暗淡颜色1。按红色,绿色,蓝色,Alpha的顺序使用值。
    昏暗颜色2:这是使用的默认暗色2。按红色,绿色,蓝色,Alpha的顺序使用值。

Custom Dim Colors

image

You can use custom Dim Colors for special maps. Put these notetags into
the map's note box.
您可以将自定义颜色用于特殊地图。将这些notetags放入地图的注释框中。

<Dim Color 1: r, g, b, a>
<Dim Color 2: r, g, b, a></pre>

r = red (0-255)
g = green (0-255)
b = blue (0-255)
a = alpha (0-100)

For example, a yellow Dim Color 1 notetag would look like this:
例如,黄色标签看起来像这样:

<Dim Color 1: 255, 255, 0, 60>

Text Code Support

image

Text codes like \n[1] and \v[2] are supported for map names. You can now put them inside of the map name to have them display the data shown with the text codes used.
地图名称支持\ n [1]和\ v [2]等文本代码。您现在可以将它们放在地图名称中,以使它们显示使用的文本代码显示的数据。

For example, "\n[1] Town" will be displayed as Harold Town.
例如,\ n [1] Town将显示为Harold Town。

Override Map Name

image

If you want to override the next map name that will be displayed, then use this Script Call event:
如果要覆盖将要显示的下一个地图名称,请使用此脚本调用事件:

var text = "Next Name Displayed";
$gameMap.overrideMapName(text);

The next map you enter will have the map name displaying the string in the text variable you put inside the Script Call Event. Then, it will clear itself and the next map you enter will have its usual name again and will no longer have an override map name.
您输入的下一个地图将显示您在脚本调用事件中放置的字符串。然后,它将自行清除,您输入的下一个地图将再次具有其通常的名称,并且将不再具有覆盖地图名称。

image

If you want to clear the override map name, then make a Script Call Event with this code:
如果要清除覆盖映射名称,请使用以下代码创建脚本调用事件:

$gameMap.clearOverrideMapName();

This will clear the override map name that is currently stored and the next map you enter will have the regular name instead.
这将清除当前存储的覆盖地图名称,而您输入的下一个地图将改为使用常规名称。

WARNING!!!

This plugin is made for RPG Maker MV versions 1.6.1 and below. If you update RPG Maker MV past that and this plugin breaks, I am NOT responsible for it.
此插件适用于RPG Maker MV版本1.6.1及更低版本。如果您更新RPG Maker MV并且此插件中断,我不负责。

Terms of Use

1. These plugins may be used in free or commercial games.
2. 'Fallen Angel Olivia' must be given credit in your games.
3. You are allowed to edit the code.
4. Do NOT change the filename, parameters, and information of the plugin.
5. You are NOT allowed to redistribute these Plugins.
6. You may NOT take code for your own released Plugins without credit.

1.这些插件可用于免费或商业游戏。
2.''Fallen Angel Olivia' and 'Yanfly' 必须在你的游戏中得到赞誉。
3.您可以编辑代码。
4.不要更改插件的文件名,参数和信息。
5.您不得重新发布这些插件和示例项目。
6.如果没有授权,您不得发布插件

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,452评论 0 10
  • 这本书是去年八月份读的书,距今有五个月的时间,这次在书院里一起共读主要是督促自己弥补过去匆忙读完的遗憾,学着...
    西岭雪2025阅读 311评论 0 0
  • 惠兰两腿发软的站在阳台,手哆哆嗦嗦的点上火,狠狠吸了一口烟,慢慢的吐出去……接着是一阵剧烈的咳嗽,随即又安静了下来...
    我没有力量阅读 1,232评论 0 2