设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 72|回复: 0

[转载发布] [FROG] RaceCore v2.0 - New Update

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29925
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    38778

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    Race Core v2.0
    by Frogboy



    Introduction

    RPG Maker MV doesn’t have official support for races like other games such as Dungeons & Dragons and Pathfinder RPG.  Well, I’m here to fix that.  Races have been a part of RPGs since the beginning and a good solid core is needed to not only create this feature but to extend its capabilities in the future.  Version 2.0 adds some nice functionality to the plugin that allows it to be useful on its own while still working with the other plugins I made to extend functionality.  A Class template can be assigned to each race to customize your actors with stat adjustments, Traits and bonus Skills.


    How to Use

    Just install the plugin and fill in the plugin parameters.  If you also install Yanfly’s Core Engine and Status Menu Core, you’ll more easily be able to see the adjustments to stats, elemental resistances and weaknesses and all of the extra attributes each character has.

    This plugin is designed to be the core of various extension plugins that enable extra functionality for your game's races.  Those extensions will ask for a Race ID to identify the race you are adding parameters for.  The Race ID is the index of the entry in this plugin associated with the race in question.  You can find it here.






    Parameters

    This is a plugin for races so, of course, you’ll need a parameter to define them for your game.  At the moment, the name is really all you need to define.  I have plans to incorporate the rest of the information in one or more other plugins but I can’t say for sure when those will be completed.


    Races

    • Name - The name of a race.
    • Class Id - Class template this race inherits.  These work a lot like assigning a second Class to an Actor.  They gain all of the Traits assigned and gain Skills at the indicated level.  Parameters like Attack, Defense etc can also add to the Actor but you have to define a baseline number to represent a zero adjustment.  This was done so that you can define penalties as well as bonuses to your racial stats.
    • General - General description about this race.  This will be used as sort of an intro blurb.
    • Physical Description - Physical description about this race.  This should describe the physical characteristics of a typical member of this race.
    • Society - Information about how this race typically interacts with other races.
    • Alignment and Religion - Moral and religious information of the typical member of this race.  This describes which gods or religions this race typically follows and what they general alignment usually is.  Individual members of this race obviously can vary from the norm.
    • Adventurers - Information about how and why members of this race become adventurers.

    Actor Config

    • Description - Description so you know what this entry is. Recommended but not required.
    • Actor Id - Actor that these properties apply to.
    • Initial Race - Name of the race that this actor starts as.

    Param Baseline - Baseline value that equals zero change to stats.  Some races are stronger than others.  Some are weaker.  Some are faster.  The default value is set to 100.  What this means is that any param value that equals 100 will make no racial adjustment for that stat.  A value of 120 defined from levels 1-99 would always grant a static +20 bonus to the corresponding stat.  A value of 80 defined from levels 1-99 would always grant a static -20 penalty to the corresponding stat.  You can also define a curve that slopes up or down for a gradually increasing bonus or penalty as the Actor advances in level.  The plugin code is just subtracting the number you provide here from the race’s Class template’s defined params to generate a bonus or penalty.

    Adjust Parameters - This is just a quick on/off switch for racial parameter adjustments.  Working with RPG Maker’s Class parameter curves can be annoying and cumbersome.  Often times, it’s just much easier to grant races Traits that work in percentages.  Assigning a Half-Giant a racial Trait to Attack of 125% and a racial Trait to Speed of 75% is just plain easier and might be exactly what you want.  I wanted to give you an easy way to just shut this off if you aren’t using it so that you don’t have to mess with the params if you’re not using this feature.

    Save Races Object - Setting this to true allows you to modify the $dataRaces object, which contains all of the information within the plugin parameters, when the player saves the game.  By default, this object is built from the plugin parameters when a new game is started or a saved game is loaded.  This is usually what you’ll want.  If, for some reason, you need need to alter this data in-game and have those changes persist until the end of the game, you’ll need to turn this option on.


    Script and Plugin Commands

    These commands will allow you to assign races to actors and to retrieve information about the actor’s race.

    Script Commands to get and set a race:

    • FROG.Races.getRace(actorId);
    • FROG.Races.getId(actorId);
    • FROG.Races.getName(actorId);
    • FROG.Races.getGeneral(actorId);
    • FROG.Races.getSociety(actorId);
    • FROG.Races.getReligion(actorId);
    • FROG.Races.getAdventurers(actorId);
    • FROG.Races.setRace(actorId, raceId);

    Plugin Commands to get and set a race (Don't include the brackets)

    The Type is piece of information that you want to retrieve.  This can be ID, NAME, GENERAL, SOCIETY, RELIGION or ADVENTURERS

    • GETRACE [type] [actorId] [variableId]
    • SETRACE [actorId] [race]
    Examples

    Get the Race ID of Actor 1 and store it in variable 5

    • GETRACE ID 1 5

    Get the Race name of Actor 4 and store it in variable 12

    • GETRACE NAME 4 12

    Store the Actor’s ID in variable 6 and then store the race name in variable 7.  All parameters can utilize the v[x] variable reference notation.

    • GETRACE NAME v[6] 7


    Terms of Use

    This plugin can be used in commercial or non-commercial projects.  You also have my permission to write and share extension plugins that add to the functionality of this plugin.

    Credit Frogboy in your work.


    Changelog

    Version 1.0.0 - Initial release
    Version 2.0.0 - Added Class templates and allow Actors to start with a race.

    Download
    My Plugins Page - https://frogboymv.github.io/
    Race Core Plugin - https://github.com/FrogboyMV/RaceCore
    Level-based Traits for Races - https://github.com/FrogboyMV/LevelBasedTraits
    Talent Core - https://github.com/FrogboyMV/TalentCore


    本贴来自国际rpgmaker官方论坛作者:Frogboy处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/frog-racecore-v2-0-new-update.92263/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-1 01:31 , Processed in 0.079457 second(s), 53 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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