Introduction
WARNING: This plugin is best used with RPG Maker MV 1.5.0 or above! This is because the MV 1.5.0 editor allows for this plugin to be made in an orderly and efficient manner. Please make sure your RPG Maker MV software is up to date before using this plugin to make the most out of it.
警告:此插件最适用于RPG Maker MV 1.5.0或更高版本!
Those familiar with RPG Maker will know that you can change the way events operate through different pages. However, what if you wanted one event to completely change into another, aka morph? By morphing an event into another event, the morphed event will completely replace all of its properties from pages, conditions, event commands, etc. with the event it morphed into.
那些熟悉RPG Maker的人,可以通过不同的页面改变事件的运作方式。但是,如果你想让一个事件完全变成另一个事件,完全替换页面,条件,事件命令等的所有属性,可以使用这个插件。
This can allow for more progressive systems as the player goes through your game. From things like plants to mineral veins to new NPC’s hired to keep a store running afloat, by morphing an event, you give it a new purpose and ongoing functionality.
你可以据此建立更加高级的玩法,从植物采集到矿物开挖,再到新的NPC,通过事件变形,让商店保持运营,你给它一个持续的功能。
Furthermore, this plugin allows you to preserve any morphs you want, so that the next time the player loads your game, revisits the map with the morphed event, or simply comes back from battle, the morph changes remain.
此外,此插件允许您保留所需的任何变形,以便下次玩家加载游戏时,使用变形事件重新访问地图,或者只是从战斗中返回,变形保持动态。
More information will be explained in the Instructions section of this plugin’s help file.
更多信息将在此插件的帮助文件的“说明”部分中说明。
Instructions
Use the plugin parameter ‘Template Maps’ to select which maps your game will preload maps from. These maps will contain the events that you want other events to morph into. Any kind of event can be used as a morph template, from trigger events to auto run events to parallel events.
使用插件参数“模板地图”选择游戏将从中预加载地图的地图。这些地图将包含您希望其他事件变形的事件。任何类型的事件都可以用作变形模板,从触发事件到自动运行事件再到并行事件。
If you are using RPG Maker MV 1.5.0+ and wish to make use of template names, add them through the ‘Template Names’ plugin parameter. The data from the Template Names parameters can be changed and all events in-game that use script calls with the respective Template Name will be updated accordingly.
如果您正在使用RPG Maker MV 1.5.0+并希望使用模板名称,请通过“模板名称”插件参数添加它们。可以更改模板名称参数中的数据,并且可以相应地更新,使用具有模板名称的脚本所调用的事件。
Script Calls
To make events morph and change into something else, use the following script call code:
要使事件变形并更改为其他内容,请使用以下脚本调用代码:
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Morph Event – Script Calls 变形事件 - 脚本调用
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Yanfly.MorphEvent(targetId, mapId, eventId, preserved)
这将导致目标事件变形为指定的事件。
– This will cause the target event to morph into the designated event.
– Replace ‘targetId’ with the ID of the target event you wish to morph.
– Replace ‘mapId’ with the ID of the map with the event to morph into.
– Replace ‘eventId’ with the ID of the event to morph the target into.
– Replace ‘preserved’ with ‘true’ or ‘false’ to preserve the morph.*
Example: Yanfly.MorphEvent(15, 1, 5, true);
– Event 15 on the current Map will change into Map 1, Event 5’s event.
– This event will be preserved.
Example: Yanfly.MorphEvent(20, 2, 10, false);
– Event 20 on the current Map will change into Map 2, Event 10’s event.
– This event will NOT be preserved.
– – –
Yanfly.MorphEventTemplate(targetId, template, preserved)
这将导致目标事件根据模板名称进行变形。
– This will cause the target event to morph based on the template name.
– Replace ‘targetId’ with the ID of the target event you wish to morph.
– Replace ‘template’ with a name from the ‘Template Names’ plugin param. This must be in ‘string’ form (surround the name with quotes).
– Replace ‘preserved’ with ‘true’ or ‘false’ to preserve the morph.*
Example: Yanfly.MorphEvent(15, ‘StrawberryPlant’, true);
– Event 15 on the current Map will change into event marked by the ‘StrawberryPlant’ template from the plugin parameters.
– This event will be preserved.
Example: Yanfly.MorphEvent(20, ‘MineralVein’, false);
– Event 20 on the current Map will change into event marked by the ‘MineralVein’ template from the plugin parameters.
– This event will NOT be preserved.
– – –
* Note: If a morph is preserved, it will remain morphed the next time the player reenters the map.
注意:如果保留变形,则下次玩家重新进入地图时将保持变形
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Morph Removal – Script Calls 变形移除 - 脚本调用
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Yanfly.RemoveMorph(targetId)
这将删除当前地图上目标的任何变形(和保留)效果。
– This will remove any morphed (and preserved) effects from the target on the current map.
– Replace ‘targetId’ with the ID of the target event to remove morphing.
Example: Yanfly.RemoveMorph(15)
– The current map’s event 15 will have its morphed effects removed.
– All preserved morphing effects for this event will be removed.
– – –
Yanfly.RemovePreserveMorph(targetMapId, targetEventId)
这将从位于不同地图上的目标事件中删除任何保留的变形效果。
– This will remove any preserved morphed effect from a target event located on different map.
– Replace ‘targetMapId’ with the ID of the map the target event is on.
– Replace ‘targetEventId’ with the ID of the target event.
Example: Yanfly.RemovePreserveMorph(10, 20)
– Map 10’s event 20 will have its morphed effects removed.
– All preserved morphing effects for this event will be removed.
网友评论