じ☆ve冰风 发表于 2024-2-16 14:52:58

【汉化】YEP.32 Class Change Core

开个坑,每天看心情汉化第三方插件,先从Yanfly入坑,毕竟气质好
需要更新@的留个言,说不定哪天就弃坑了,日子总要过的呀
有什么建议可以留言给我
@luruipeng1@xjzsq
译者注:
1、只翻译官网页面官方介绍以及相应的语法支持,解释代码的坑以后再说
2、文件在http://yanfly.moe都可以下到,就不在放进去了
3、因为采用markdown写作,66rpg又不支持html代码,故格式有点乱,原文可见http://www.jianshu.com/p/f715710a7abf
授权声明

YEP.32 Class Change Core
This plugin creates a system where your player can change classes through the main menu allowing for more customization!

这个插件可以让你通过主菜单改变角色职业或级别来实现用户定制需求,进而创造一个伟大的游戏系统

Introduction
This plugin adds the ability for your player to freely change the classes of actors outside of battle from a menu. When changing classes, this script gives the option for the developer to choose whether or not classes have their own levels (causing the actor’s level to reset back to the class’s level) or to maintain the current level.

这个插件将赋予你的游戏角色在战斗之外,通过菜单更改职业的能力。当改变职业的时候,这个脚本可以让游戏开发者选择是否为他们的职业设定自己专属的等级(这将造成角色等级重置为职业等级)或者保持现有的等级

Notetags
The following are some notetags you can use with the Class Change Core plugin.

下面是一些你可以利用这个插件使用的标签

Actor Notetags:
角色标签复制代码This actor will have class(es) x unlocked at the start of the game in addition to its current class and access to any of the global classes.

这个角色将会在游戏开始或者进行当中的时候解锁这些职业复制代码When this actor’s class is x, the actor’s character sprite will become ‘filename’ and index y on the fieldmap.

当游戏角色的职业ID是x的时候,游戏角色画面将成为图片y复制代码If you prefer to use class names instead of the class ID, use the above format. When this actor is this class, the actor’s character sprite will become ‘filename’ and index y on the fieldmap.

如果不想使用职业ID,而是采用名字,可以使用这段代码。当游戏角色处于设定职业的时候,他的游戏角色画面将成为图片y复制代码When this actor’s class is x, the actor’s face graphic will become ‘filename’ and index y for menus.

当角色职业ID为X的时候,他的游戏角色面部图片将成为y复制代码If you prefer to use class names instead of the class ID, use the above format. When this actor is this class, the actor’s face graphic will become ‘filename’ and index y for menus.

如果不想使用职业ID,而是采用名字,可以使用这段代码。当游戏角色处于设定职业的时候,他的游戏角色面部画面将成为图片y复制代码When this actor’s class is x, the actor’s battler sprite will become ‘filename’ in battle.

当角色职业ID为X的时候,他的游戏角色战斗图片将成为y复制代码If you prefer to use class names instead of the class ID, use the above format. When this actor is this class, the actor’s battler sprite will become ‘filename’ in battle.

如果不想使用职业ID,而是采用名字,可以使用这段代码。当游戏角色处于设定职业的时候,他的游戏角色战斗画面将成为图片y
Class Notetags:复制代码Sets the icon for this class to x. This icon is used in the Class Change menu listing.

设置职业图标,这个图标将应用于职业菜单列表中TextText复制代码Sets the help description for the class to the specified text.

设置职业的自定义介绍Class x: Level yClass x: Level y复制代码Sets the requirements for unlocking that particular class. The unlocking of the class will require classes x to be at level y. Insert multiple of the strings in between the two opening and closing notetags to require all of the class levels to be met.

设置解锁特定职业的等级。职业x将在角色处于等级y的时候开启。可以在开启和关闭的标签之内插入这串代码,就可以匹配所以的职业等级Hero: Level yWarrior: Level y复制代码If you prefer to use class names instead of the class ID, use the above format. This will set the level requirement for the mentioned class to y. If there are multiple classes with the same name, the class with the highest ID value will be taken.

如果你想要使用职业名字来替代职业ID,可以使用以上这段代码。对于的特定的职业,我们可以设置他的等级需求为y。如果存在多个相同名字的职业,将会匹配ID最高的。
Plugin Commands
Included in this plugin are multiple Plugin Commands to help assist you with class changing for your game.

在这个插件里面,我们集成了很多插件命令来帮助你改变游戏设计。
Plugin CommandOpenClass复制代码This opens the class changing scene.

打开职业变更窗口ShowClass复制代码This shows the Class option from the main menu.

显示主菜单职业选项HideClass复制代码This hides the Class option from the main menu.

隐藏主菜单职业选项EnableClass复制代码This makes the Class option enabled.

打开职业选项DisableClass复制代码This makes the Class option disabled.

关闭职业选项UnlockClass 5 6复制代码This allows Actor 5 to unlock Class 6.

允许角色5解锁职业6RemoveClass 5 7复制代码This causes Actor 5 to no longer access Class 7.

允许角色5不能使用职业7UnlockClassAll 8复制代码This unlocks Class 8 for the global pool.

为所有人解锁职业8RemoveClassAll 9复制代码This removes Class 9 from the global pool.

为所有人移除职业9
Happy RPG Making!
            本帖来自P1论坛作者沧笙,因Project1站服务器在国外有时候访问缓慢不方便作者交流学习,经联系P1站长fux2同意署名转载一起分享游戏制作经验,共同为国内独立游戏作者共同创造良好交流环境,原文地址:https://rpg.blue/forum.php?mod=viewthread&tid=387469若有侵权,发帖作者可联系底部站长QQ在线咨询功能删除,谢谢。
页: [1]
查看完整版本: 【汉化】YEP.32 Class Change Core