设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
楼主: 沧笙
打印 上一主题 下一主题

[搬运汉化] 【汉化】YEP系列基础及进阶教程-2018/10/06期

  [复制链接]

Lv3.寻梦者

梦石
0
星屑
4059
在线时间
594 小时
注册时间
2014-1-12
帖子
476
214
 楼主| 发表于 2016-9-20 18:41:32 | 只看该作者
YEP.113 – Self Switches & Variables
Introduction
RPG Maker MV comes with Self Switch functionality. However, the number of Self Switches provided is a mere 4 in total, not enough for some of the more complex events. This plugin will let you extend the number of Self Switches. Self Variables, on the other hand, do not exist in RPG Maker MV, so this plugin will provide functionality for that as well.

RPG Maker MV拥有独立开关功能。可是,独立开关仅仅提供了4个,对于许多复杂的事件并不够用。这个插件可以让你拓展独立开关的数量。独立变量实际上并不存在,因此这个插件提供了类似的功能

Instructions
In order to set up your custom Self Switches and Self Variables, you must first do a few things.

为了设置自定义独立开关和变量,你需要先做下面的几件事

Open up your Switches/Variables list in the editor.
Name the Switch to have ‘Self Sw’ in its name.
– or –
Name the Variable to have ‘Self Var’ in its name.
1.打开你的开关和变量编辑器
2.在开关前面加‘Self Sw’,在变量前面加 ‘Self Var’

Now, any time you use these following event commands, if the Self Switch or Self Variable is the focus, it will be used instead of the actual Switch or actual variable:

现在你可以使用下面的事件命令了,如果独立开关和变量被强制打开,那么他会替代之前的开关和变量

Self Switches:
– Control Switches
– Conditional Branch
– Set Movement Route (Switch ON/Switch Off)
Self Variables:
– Show Text (using the \v[x] codes)
– Input Number
– Select Item
– Control Variables
– Conditional Branch
– Change Gold
– Change Items
– Change Weapons
– Change Armors
– Change HP
– Change MP
– Change TP
– Recover All
– Change EXP
– Change Level
– Change Parameter
– Change Skill
– Change Equipment
– Change Enemy HP
– Change Enemy MP
– Change Enemy TP


Note that not all plugins that use variables will be necessarily compatible with the custom made Self Switches and Self Variables. Of the YEP library, these plugins are compatible with this plugin:
注意不是所有的插件使用都可以适配自定义开关和变量,下面是YEP插件里面可以适配的

– YEP_EventMiniLabel
– YEP_MapSelectSkill
Non-Yanfly Engine Plugins may or may not be compatible.

非Yanfly引擎的插件可能适配也可能不适配

Plugin Commands
Those who would like to remotely control Self Switches and Self Variables can use the following plugin commands:

想微调独立开关和变量的可以使用下面的插件命令

Plugin Commands:
  1. SelfSwitch Map x, Event y, Switch z to true
  2. SelfSwitch Map x, Event y, Switch z to false
  3. SelfSwitch Map x, Event y, Switch z to code
复制代码

– This will change the Self Switch used for map ‘x’, event ‘y’, and switch ‘z’ to the value of ‘code’ value. You can replace ‘code’ with a ‘true’ or ‘false’ value or a piece of code like ‘$gameSwitches.value(4)’.

这会改变独立开关z在地图x,事件y里面的值

  1. SelfVariable Map x, Event y, Variable z to 12345
  2. SelfVariable Map x, Event y, Variable z to value + 100
  3. SelfVariable Map x, Event y, Variable z to code
复制代码

– This will change the Self Variable used for map ‘x’, event ‘y’, and switch ‘z’ to the value of ‘code’ value. You can replace ‘code’ with a number like ‘12345’, a calculation using ‘value’ (the current value of the Self Variable), or a piece of code like ‘$gameVariables.value(4)’.

这会改变独立变量z在地图x,事件y里面的值

Lunatic Mode – Script Calls
For those who’d rather deal altering self switches and/or self variables inside of the script call event instead, you can use these script calls:

对于那些想要从代码里改变独立开关和变量值得人,可以使用下面的脚本命令

Script Call:
  1. this.getSelfSwitchValue(mapId, eventId, switchId)
复制代码

– Replace mapId with the map ID the event exists on. Replace eventId with the ID of the event. And replace the switchId with the ID of the switch. This will get the true/false value of that event’s self switch.

获得独立开关值

  1. this.getSelfVariableValue(mapId, eventId, varId)
复制代码

– Replace mapId with the map ID the event exists on. Replace eventId with the ID of the event. And replace the varId with the ID of the variable. This will get the value of that event’s self variable.

获得独立变量值

  1. this.setSelfSwitchValue(mapId, eventId, switchId, true)
  2. this.setSelfSwitchValue(mapId, eventId, switchId, false)
复制代码

– Replace mapId with the map ID the event exists on. Replace eventId with the ID of the event. And replace the switchId with the ID of the switch. This will set that self switch to true or false.

打开或者关闭独立开关

  1. this.getSelfVariableValue(mapId, eventId, varId, value)
复制代码

– Replace mapId with the map ID the event exists on. Replace eventId with the ID of the event. And replace the varId with the ID of the variable. This will set that self variable to the value inserted.

设置独立变量的值

Happy RPG Making!
任性的什么也不写
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
65
在线时间
8 小时
注册时间
2016-9-17
帖子
4
213
发表于 2016-9-17 21:12:56 | 只看该作者
大大,谢谢!
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
10 小时
注册时间
2016-9-1
帖子
10
212
发表于 2016-9-4 02:19:27 | 只看该作者
真的很大帮助,不过.......
有些核心插件,要是有专门的单独讲座视频就好了,比方说菜单插件那个。
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
15 小时
注册时间
2009-10-4
帖子
11
211
发表于 2016-9-1 01:24:20 | 只看该作者
感谢楼主分享
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
12 小时
注册时间
2015-7-9
帖子
11
210
发表于 2016-8-27 09:04:06 | 只看该作者
沧笙 发表于 2016-1-22 17:17
YEP.38 Battle System – Charge Turn Battle
Introduction - 插件介绍
The Battle System - Charge Turn ...

请问大神,那个头像ID是怎么看的{:2_249:}
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
12 小时
注册时间
2015-7-9
帖子
11
209
发表于 2016-8-27 08:39:17 | 只看该作者
谢谢楼主分享
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
4059
在线时间
594 小时
注册时间
2014-1-12
帖子
476
208
 楼主| 发表于 2016-8-22 09:12:21 | 只看该作者
目前全面迁移简书,请前往新地址,随时更新,更多资讯
地址http://www.jianshu.com/p/96a3f87a06f5
任性的什么也不写
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
4059
在线时间
594 小时
注册时间
2014-1-12
帖子
476
207
 楼主| 发表于 2016-8-18 22:14:52 | 只看该作者
目前全面迁移简书,请前往新地址,随时更新,更多资讯
地址http://www.jianshu.com/p/96a3f87a06f5
任性的什么也不写
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
102 小时
注册时间
2009-12-3
帖子
8
206
发表于 2016-8-9 20:04:14 | 只看该作者
沧笙 发表于 2016-5-14 00:54
YEP.100 – Save Core
Introduction
NOTE: THIS PLUGIN REQUIRES MV VERSION 1.1.0 OR HIGHER!

我用MV1.2加载此插件,会弹出框框,然后黑屏无法载入?怎么破?
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
102 小时
注册时间
2009-12-3
帖子
8
205
发表于 2016-8-9 18:00:58 | 只看该作者
您好!我加载了插件并排序完成后,用MV1.2加载游戏,但是弹出一个框后框消失,然后游戏黑屏没有任何反应,也不提示错误是什么情况?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-7-5 13:16

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表