【汉化】YEP.2 – Message Core (YEP)

本人正在学习RPG MAKER软件,但英文太差,前面学习了简书上沧笙 翻译的YEPYEP系列插件基础教程beta,但没有找到YEP.2 – Message Core (YEP)的汉化翻译,也可能自己没有找到,所以找到Message Core (YEP) - Yanfly.moe Wiki原文,用软件做了翻译,便于自己学习。也同时分享给喜欢研究的人员。

【汉化】YEP.2 – Message Core (YEP)

From Yanfly.moe Wiki

Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,

VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.

Contents

1 Download

2 System

3 Extension Plugins

4 Yanfly Engine Plugins

5 Introduction

6 Word Wrapping

7 Text Codes

8 Plugin Commands

Download

System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.

这是为 RPG Maker MV 创建的插件。

有关如何安装插件的帮助,请单击此处。

有关如何更新插件的帮助,请单击此处。

您的 RPG Maker MV 插件出现错误?单击此处。

Total: 2 108 231Visitors

Masterarbeit Writer

Extension Plugins

The following plugins are Extension Plugins that require this plugin as its Parent Plugin.

Place the following plugins below this plugin located in the Plugin Manager if you plan on using them.

以下插件是需要此插件作为其父插件的扩展插件。

如果您计划使用以下插件,请将它们放置在插件管理器中的此插件下方。

Extended Message Pack 1

Extended Message Pack 2

Message Backlog

Message Eval Text

Message Macros

Message Speed Option

Yanfly Engine Plugins

This plugin is a part of the Yanfly Engine Plugins library.

该插件是 Yanfly 引擎插件库的一部分。

Introduction

While RPG Maker MV Ace certainly improved the message system a whole lot, it wouldn't hurt to add in a few more features, such as name windows,converting textcodes to write out the icons and/or names of items, weapons,armours, and* more in quicker fashion. This script also gives the developer the ability to adjust the size of the message window during the game, give it a separate font, and to give the player a text fast-forward feature.

虽然 RPG Maker MV Ace 确实大大改进了消息系统,但添加一些功能也无妨,例如名称窗口、转换文本代码以更快地写出物品、武器、盔甲等的图标和/或名称。此脚本还使开发人员能够在游戏过程中调整消息窗口的大小、为其提供单独的字体以及为玩家提供文本快进功能。

Word Wrapping

Word wrapping is now possible through the message system. You can enable and disable Word wrap using Plugin Commands. While using word wrap, if the word is to extend past the message window's area, it will automatically go to the following line. That said, word wrap will disable the editor's line breaks and will require you to use the ones provided by the plugin:

现在可以通过消息系统进行自动换行。您可以使用插件命令启用和禁用自动换行。使用自动换行时,如果单词超出消息窗口的区域,它将自动转到下一行。也就是说,自动换行将禁用编辑器的换行符,并要求您使用插件提供的换行符:

<br> or <line break> is text code to apply a line break. Use this before or after a part in which you wish to start a new line.

<br> 或 <line break> 是应用换行符的文本代码。在您希望开始新行的部分之前或之后使用它。

Keep in mind word wrapping is mostly for message windows. However, in other places that you'd like to see word wrapping, such as item descriptions,insert <WordWrap> at the beginning of the text to enable it.

请记住,自动换行主要用于消息窗口。但是,在您希望看到自动换行的其他地方,例如项目描述,请在文本开头插入 <WordWrap> 以启用此功能。

Text Codes


Text Codes are used in the Show Text event command. They are used to display things that text normally can't produce on its own, such as colors, get the name of a specific actor, change icons, and more.

By using certain text codes in your messages, you can have the game replace them with the following:

文本代码用于显示文本事件命令。它们用于显示文本通常无法自行生成的内容,例如颜色、获取特定演员的姓名、更改图标等。

通过在消息中使用某些文本代码,您可以让游戏用以下内容替换它们:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Text Code  Function

  \V[n]      由第 n 个变量的值替换。

  \N[n]      替换为第 n 位演员的名字。

  \P[n]      替换为第n名队员的名字。

  \G          由货币单位取代。

  \C[n]      用第 n 种颜色绘制后续文本。

  \I[n]      绘制第 n 个图标。

  \{          将文本大小增加一级。

  \}          将文本大小减小一级。

  \\          用反斜杠字符替换。

  \$          打开金币窗口。

  \.          等待 1/4 秒。

  \|          等待 1 秒。

  \!          等待按钮输入。

  \>          一次显示同一行上的剩余文本。

  \<          取消一次性显示所有文字的效果。

  \^          显示文本后不要等待输入。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Wait:      Effect:

  \w[x]    - 等待 x 帧(60 帧 = 1 秒)。仅限消息窗口。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

NameWindow: Effect:

  \n<x>    - 创建一个带有 x 字符串的名称框。左侧。 *Note

  \nc<x>    - 创建一个带有 x 字符串的名称框。居中。 *Note

  \nr<x>    - 创建一个带有 x 字符串的名称框。右侧。 *Note

            *Note: 仅适用于消息窗口。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Line Break  Effect:

  <br>      - 如果使用自动换行模式,这将导致换行。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Position:  Effect:

  \px[x]    - 将文本的 x 位置设置为 x。

  \py[x]    - 将文本的 y 位置设置为 y。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Outline:    Effect:

  \oc[x]    - 将轮廓颜色设置为 x。

  \ow[x]    - 将轮廓宽度设置为 x。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Font:      Effect:

  \fr      - 重置所有字体更改。

  \fs[x]    - 将字体大小更改为 x。

  \fn<x>    - 将字体名称更改为 x。

  \fb      - 切换字体粗细。

  \fi      - 切换字体斜体。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Actor:      Effect:

  \af[x]    - 展示演员 x 的脸。 *Note

  \ac[x]    - 写出演员的职业名称。

  \an[x]    - 写出演员的昵称。

            *Note: Works for message window only.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Party:      Effect:

  \pf[x]    - 显示队员 x 的面孔。 *Note

  \pc[x]    - 写出队员x的职业名称。

  \pn[x]    - 写出队员 x 的昵称。

            *Note: 仅适用于消息窗口。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Names:      Effect:

  \nc[x]    - 写出职业x的名称。

  \ni[x]    - 写出物品 x 的名称。

  \nw[x]    - 写出武器 x 的名称。

  \na[x]    - 写出护甲 x 的名字。

  \ns[x]    - 写出技能 x 的名称。

  \nt[x]    - 写出状态 x 的名称。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Icon Names: Effect:

  \ii[x]    - 写出物品 x 的名称(包括图标)。

  \iw[x]    - 写出武器 x 的名称,包括图标。

  \ia[x]    - 写出护甲 x 的名称,包括图标。

  \is[x]    - 写出技能 x 的名称,包括图标。

  \it[x]    - 写出状态 x 的名称,包括图标。

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

And those are the text codes added with this script. Keep in mind that some of these text codes only work for the Message Window. Otherwise, they'll work for help descriptions, actor biographies, and others.

这些是使用此脚本添加的文本代码。请记住,其中一些文本代码仅适用于消息窗口。否则,它们将适用于帮助描述、演员传记等。

Plugin Commands


Plugin Commands are event commands that are used to call upon functions added by a plugin that aren't inherently a part of RPG Maker MV.

插件命令是用于调用插件添加的函数的事件命令,这些函数本身不是 RPG Maker MV 的一部分。

Here is a list of Plugin Command(s) that you may use:

The following are some plugin commands you can use through the Event Editor to change various aspects about the Message system.

以下是您可以使用的插件命令列表:

以下是您可以通过事件编辑器使用的一些插件命令,用于更改消息系统的各个方面。

Plugin Comand

  MessageRows 6

  - Changes the Message Rows displayed to 6. If you are using continuous  Show Text events, this will continue displaying the following lines's texts until it hits the row limit. Anything after that is cut off until the next message starts to avoid accidental overlap.

  - 将显示的消息行更改为 6。如果您使用连续显示文本事件,这将继续显示以下行的文本,直到达到行限制。此后的所有内容都将被截断,直到下一条消息开始,以避免意外重叠。

  MessageWidth 400

  - Changes the Message Window Width to 400 pixels. This will cut off any words that are shown too far to the right so adjust accordingly!

- 将消息窗口宽度更改为 400 像素。这将截断任何显示在右侧太远的单词,因此请进行相应调整!

  EnableWordWrap

  - Enables wordwrapping. If a word extends past the window size, it will automatically move onto the next line. Keep in mind, you will need to use \br to perform line breaks.

  - 启用自动换行。如果单词超出窗口大小,它将自动移至下一行。请记住,您需要使用 \br 来执行换行。

  DisableWordWrap

  - This disables wordwrapping. Line breaks will be automatic at points where a new line is started in the editor.

  - 禁用自动换行。编辑器中新行开始的位置将自动换行。

  EnableFastForward

  - Enables Fast Forward key from working with messages.

  - 启用“快进”键来处理消息。

  DisableFastForward

  - Disables Fast Forward key from working with messages.

  - 禁用“快进”键来处理消息。

原文链接:https://blog.csdn.net/weixin_44482443/article/details/142220237

©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 219,039评论 6 508
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 93,426评论 3 395
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 165,417评论 0 356
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 58,868评论 1 295
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 67,892评论 6 392
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,692评论 1 305
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,416评论 3 419
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 39,326评论 0 276
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,782评论 1 316
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,957评论 3 337
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 40,102评论 1 350
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,790评论 5 346
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 41,442评论 3 331
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,996评论 0 22
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 33,113评论 1 272
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 48,332评论 3 373
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 45,044评论 2 355

推荐阅读更多精彩内容