Character Creator – MV Plugin
This is a plugin that allows players to create their own custom characters
in game.
这个插件将允许玩家创建自定义角色
A menu system in which the player can create a character can be called
upon at any time and assigned to an Actor. Once an Actor has been assigned
a custom character, that character will be used on the map and in side-
view battles.
这会提供一个菜单来让玩家随时创建自定义角色。一旦某个角色被赋予了自定义属性,将会在地图和战斗中发生改变
Setting up Files
In order to set up the “generator” pieces, you need to create a new
folder in the “img” folder called “character-creator”.
你为了能设置自定义部件,你需要新建文件夹如下
So the file location should be:
/img/character-creator/
Within this folder, you need 3 new folders:
在这个文件夹里,你需要几个新的子文件夹如下
“walk” – Overworld Character pieces
“dead” – Dead Character pieces
“sv” – Side-View Character pieces
“face” – Side-View Character pieces
So these should be located as:
所以最后我们可以看到的应该如下
/img/SumRndmDde/character-creator/walk/
/img/SumRndmDde/character-creator/dead/
/img/SumRndmDde/character-creator/sv/
/img/SumRndmDde/character-creator/face/
Within each folder, they all need to have the same folders.
Each folder represents a “section” within the Character Creator.
每一个文件夹代表一部分组件
For example, if you created a “head”, “body”, and “feet” folder within
each of the folders of the Character Creator, those would appear as
sections once you placed them in the “Order” Parameter.
例如,如果你创建了头部,身体和脚部的文件夹这些将会出现在组件列表里
I would highly recommend using the sample images provided.
我推荐你使用范例文件来操作
Finally, you’re also going to need a couple required images placed in:
最后你还需要在文件内存放几个图片如下
/img/SumRndmDde/character-creator/
These images are:
Background.png
CustomCharacter.png
CustomFace.png
LoadingResources.png
The “Background” image will be used as a background for the character
creator if you choose to use it.
背景图片是指的你自定义角色的背景
The “CustomCharacter” and “CustomFace” will be used in scenarios where
a custom character’s Character or Face image cannot be loaded.
自定义角色和图片是指的默认角色和脸图
Finally, the “LoadingResoureces” image will appear to inform the player
that the resources are loading while in the Character Creator.
载入图片是指的在角色创建时等待载入资源的图片
Opening the Character Creator
In order to set up the Character Creator, use the Plugin Command:
为了创建自定义角色,你需要下面的插件命令
OpenCharacterCreator [actorId]
Set “actorId” to the Actor ID of the Actor you wish to create images for.
你需要设置你希望自定义角色的ID
For example:
OpenCharacterCreator 3
OpenCharacterCreator 7
OpenCharacterCreator 26
Showing Custom Face in Show Text
If you wish to have a character’s custom face used in a “Show Text”,
here’s what you need to do:
如果你希望自定义脸图可以出现在消息栏,你可以这样做
- Make sure there is a face image selected for the “Show Text” event.
It can be any face image, it just needs to be there.
确保消息栏有任何一个脸图
- Use the following notetag in the “Show Text” box:
使用下面的命令
<CC Face: [id]>
Set “id” to the ID of the Actor who has the Custom Face you wish to use.
设置ID为你想使用的ID
Disabling the Custom Images
In order temporarily distable the custom images set up for an Actor, use
the Plugin Command:
如果你想临时关闭自定义设置,使用下面命令
DisableCharacterCreatorImages [actorId]
Of course, simply set “actorId” to the Actor ID you wish to disable
custom character images for.
你可以指定需要关闭功能的角色ID
EnableCharacterCreatorImages [actorId]
This would enable the character creator images again.
上面的命令将会重新开启自定义角色命令
For example:
DisableCharacterCreatorImages 12
EnableCharacterCreatorImages 8