【汉化】YEP.125 – Improved Battlebacks

YEP.125 – Improved Battlebacks – RPG Maker MV

Introduction

This plugin remakes how RPG Maker MV handles battlebacks. By default, all battlebacks are handled in a hard-structured fashion making them hard to modify and alter to behave dynamically. This plugin reworks the way RPG Maker MV’s battlebacks behave using a more automatic and flexible means of handling them, allowing battlebacks to added, removed, change its image, fade in/out, adjust opacity settings, and scroll in various directions!

这个插件重新制作了背景系统。MV软件默认对背景有非常严格的管控,因此我们很难把背景调整的更加充满活力。这个插件可以让MV对背景的管控更加弹性和自动化,你可以改变背景,设置渐入渐出向,调整透明度或者让背景滚动播放。

If you are using YEP_CoreEngine and YEP_BattleEngineCore, place this plugin under both of those plugins in the plugin list to ensure compatibility. The action sequences provided by this plugin can only be used if the plugin YEP_BattleEngineCore is installed in the plugin list above this plugin.

如果你使用了YEP_CoreEngine和YEP_BattleEngineCore,请把这个插件放在他们下面来保障兼容性。只有YEP_BattleEngineCore在这个插件之上时,战斗序列才会生效。

Plugin Commands

You can use the following plugin commands to alter how battlebacks behave in your game. Keep in mind that these plugin commands must be used while the party is in battle.

你可以使用下面的插件命令来改变背景,请记住这些命令需要在战斗阶段使用

BATTLEBACK id ADD: folder, filename
BATTLEBACK id ADD: folder, filename, hue

– Replace ‘id’ with the battleback you wish to alter as a number larger than 2 (i.e. 3 or above). Replace ‘folder’ with the exact folder name in your project’s ‘img’ folder (case sensitive). Replace ‘filename’ with the image filename without the file extension (case sensitive). If ‘hue’ is used, replace ‘hue’ with a number between 0 and 360 to change the hue of the image used. This will add a new battleback stacked on top of battlebacks 1 and 2 with higher ID’s being on top. When newly added, the new battleback will start at opacity 0 and fade in with a duration of 20 frames.

在本命令中,你可以添加指定id的图片尾背景。id可以替换为任意大于2的数值,例如3或者更高。folder可以替换为你img文件夹内的子文件夹。filename可以替换为不带拓展名的图片文件作为背景。hue可以替换为0-360的数值来改变色调。这个命令可以叠加一个背景在原有背景之上,新背景将会以透明度0进场,并在20帧之内渐变出现。

BATTLEBACK id REMOVE

– Replace ‘id’ with the battleback you wish to alter as a number larger than 2 (i.e. 3 or above). This will remove the battleback from being shown. When this command is used, the battleback will fade with a duration of 20 frames. Once it reaches 0 opacity, the battleback will be removed from the battle.

这个命令可以移除指定id的背景。背景将会在20帧内渐出,当背景透明度达到0时,将会移除这个背景。

BATTLEBACK id CHANGE TO: folder, filename
BATTLEBACK id CHANGE TO: folder, filename, hue

– Replace ‘id’ with the battleback you wish to alter. Replace ‘folder’ with the exact folder name in your project’s ‘img’ folder (case sensitive). Replace ‘filename’ with the image filename without the file extension (case sensitive). This will change the designated battleback’s image to use the desired image depicted by the folder and filename. If ‘hue’ is used, replace ‘hue’ with a number between 0 and 360 to change the hue of the image used.

这个命令可以替换指定id的背景。

BATTLEBACK id FADE OUT
BATTLEBACK id FADE OUT: duration
BATTLEBACK id FADE IN
BATTLEBACK id FADE IN: duration

– Replace ‘id’ with the battleback you wish to alter. This will cause the designated battleback to fade out/in. If ‘duration’ is used, replace it with a number to indicate how many frames will be used for the fade out/in. If no duration is specified, it will default to 20 frames.

这个命令可以设置背景渐入渐出效果和持续时间

BATTLEBACK id OPACITY: n
BATTLEBACK id OPACITY: n%

– Replace ‘id’ with the battleback you wish to alter. Replace ‘n’ with the opacity value you wish to achieve (from 0 to 255) or replace ‘n%’ with the opacity rate you wish to set the battleback to (from 0% to 100%). This will set the designated battleback’s opacity to that value. If there are any fade in or out commands occurring as this command is issued, they’ll be disabled.

这个命令可以设置背景透明度

BATTLEBACK id SCROLL SPEED X: +n
BATTLEBACK id SCROLL SPEED X: -n
BATTLEBACK id SCROLL SPEED Y: +n
BATTLEBACK id SCROLL SPEED Y: -n

– Replace ‘id’ with the battleback you wish to alter. Replace ‘n’ with the value you wish to change the scroll speed X or scroll speed Y of. The higher the ‘n’ value, the faster it scrolls.

这个命令可以设置背景滚动速度

BATTLEBACK id RESET SCROLL SPEED

– Replace ‘id’ with the battleback you wish to alter. Resets the scroll speeds for X and Y back to 0.

这个命令可以重置背景滚动速度为0

Yanfly Engine Plugins – Battle Engine Extension – Action Sequence Commands

If you have YEP_BattleEngineCore.js installed with this plugin located underneath it in the Plugin Manager, you can make use of these extra damage related action sequences.

如果你使用了YEP_BattleEngineCore.js,你可以将这些命令用在战斗序列之中

<pre>

BATTLEBACK id ADD: folder, filename
BATTLEBACK id ADD: folder, filename, hue

Replace ‘id’ with the battleback you wish to alter as a number larger than 2 (i.e. 3 or above). Replace ‘folder’ with the exact folder name in your project’s ‘img’ folder (case sensitive). Replace ‘filename’ with the image filename without the file extension (case sensitive). If ‘hue’ is used, replace ‘hue’ with a number between 0 and 360 to change the hue of the image used. This will add a new battleback stacked on top of battlebacks 1 and 2 with higher ID’s being on top. When newly added, the new battleback will start at opacity 0 and fade in with a duration of 20 frames.

战斗中添加背景

Usage Example: battleback 3 add: battlebacks1, GrassMazePool
battleback 4 add: battlebacks2, GrassMaze, 180

</pre>
<pre>

BATTLEBACK id REMOVE

Replace ‘id’ with the battleback you wish to alter as a number larger than 2 (i.e. 3 or above). This will remove the battleback from being shown. When this command is used, the battleback will fade with a duration of 20 frames. Once it reaches 0 opacity, the battleback will be removed from the battle.

战斗中移除背景

Usage Example: battleback 3 remove
battleback 4 remove

</pre>
<pre>

BATTLEBACK id CHANGE TO: folder, filename
BATTLEBACK id CHANGE TO: folder, filename, hue

Replace ‘id’ with the battleback you wish to alter. Replace ‘folder’ with the exact folder name in your project’s ‘img’ folder (case sensitive). Replace ‘filename’ with the image filename without the file extension (case sensitive). This will change the designated battleback’s image to use the desired image depicted by the folder and filename. If ‘hue’ is used, replace ‘hue’ with a number between 0 and 360 to change the hue of the image used.

战斗中改变背景

Usage Example: battleback 1 change to: parallaxes, SeaofClouds
battleback 2 change to: battlebacks2, Ship, 180

</pre>
<pre>

BATTLEBACK id FADE OUT
BATTLEBACK id FADE OUT: duration
BATTLEBACK id FADE IN
BATTLEBACK id FADE IN: duration

Replace ‘id’ with the battleback you wish to alter. This will cause the designated battleback to fade out/in. If ‘duration’ is used, replace it with a number to indicate how many frames will be used for the fade out/in. If no duration is specified, it will default to 20 frames.

战斗中背景效果

Usage Example: battleback 1 fade out
battleback 2 fade out: 120
battleback 1 fade in
battleback 2 fade in: 180

</pre>
<pre>

BATTLEBACK id OPACITY: n
BATTLEBACK id OPACITY: n%

Replace ‘id’ with the battleback you wish to alter. Replace ‘n’ with the opacity value you wish to achieve (from 0 to 255) or replace ‘n%’ with the opacity rate you wish to set the battleback to (from 0% to 100%). This will set the designated battleback’s opacity to that value. If there are any fade in or out commands occurring as this command is issued, they’ll be disabled.

战斗中改变背景透明度

Usage Example: battleback 1 opacity: 127
battleback 2 opacity: 50%

</pre>
<pre>

BATTLEBACK id SCROLL SPEED X: +n
BATTLEBACK id SCROLL SPEED X: -n
BATTLEBACK id SCROLL SPEED Y: +n
BATTLEBACK id SCROLL SPEED Y: -n

Replace ‘id’ with the battleback you wish to alter. Replace ‘n’ with the value you wish to change the scroll speed X or scroll speed Y of. The higher the ‘n’ value, the faster it scrolls.

战斗中改变背景滚动速度

Usage Example: battleback 1 scroll speed x: +1
battleback 1 scroll speed y: +2
battleback 2 scroll speed x: -3
battleback 2 scroll speed y: -4

</pre>
<pre>

BATTLEBACK id RESET SCROLL SPEED

Replace ‘id’ with the battleback you wish to alter. Resets the scroll speeds for X and Y back to 0.

战斗中重置背景滚动速度

Usage Example: battleback 1 reset scroll speed

</pre>

Enjoy!

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

推荐阅读更多精彩内容