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

[转载发布] Varied Custom TP System Styles

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

    连续签到: 2 天

    [LV.7]常住居民III

    4434

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 5 小时前 | 显示全部楼层 |阅读模式
    TP Control v1.1
    Drakkonis


    Introduction
    This plugin allows you to customize the built-in TP system into pre-defined resource styles, and then assign those styles to actors, classes, and enemies. This allows you to easily have multiple different combat styles without having to event or script any differences from the default standard for each battler with a non-standard system.

    For each style, there are a number of parameters you can set, and any that are left blank will behave as they otherwise would. This means you only have to set what actually will be different from the normal setup.

    UPDATE:
    With update version 1.1, TP Control now requires Drak Plugin Core. Download that plugin and put it above this one.

    Features
    -Set up a custom 2nd resource mechanic using TP as a base, modified with your own code. This allows you to still use any TP settings in the database.
    -Set up multiple styles, and then assign a style to a battler or actor class.
    -Set up custom colors for the name, value, and gauge. The value color can even be set to change when full, empty, or low.
    -Allows TP costs to appear side-by-side with MP costs, if both are above 0.

    How to Use
    Save the plugin to a file name "Drak_TP_Control.js" and install like any other plugin. Styles are set up in the parameters, you can make as many as you like. To assign a style to a battler or a class, simply write <Style:X> in the relevant notebox, where X is the name you set in the parameters. A style assigned to a class will override any style set to an actor, and only one style can be set on a battler at a time.

    Most of the "meat" of this plugin relies heavily on user-written code, similar to Yanfly or VisuStella's "Lunatic Mode". The more unique from the default TP system you want your style to be, the more code you'll need to write. Therefore this plugin assumes that you have enough JavaScript skill to get your mechanic working. Otherwise, changing names and colors is about all you can do without coding.

    Due to the code changes for cost displays in skill windows, this plugin is most likely incompatible with VisuStella's Skills plugin. I believe compatibility can be achieved by deleting the 3 Window_SkillList functions in my plugin. The only functionality you're likely to fully lose by doing this is having the TP cost of the skill not using the name or color defined in the TP style. If you're not using more than one style, or all styles are using the same color for the style's name, you can adjust the settings in VS' plugin to get the color you wanted.

    Plugin Commands / Script Calls
    This plugin currently doesn't have any plugin commands, but the script call "Drak.TPC.getStyle(battler)" will return the style the passed battler has. This can be used for conditional checks and such.

    Download
    TP Style Control
    Copy the text to a file and name it "Drak_TP_Control.js". If you don't set the right name it won't work.

    Terms and Credits
    This plugin is free to use in any project, commercial and otherwise. Credit Drakkonis if used.

    Miscellaneous
    This should hopefully cover most, if not all, of a mechanic's requirements as far as customizability. But the number of unique mechanic ideas is at LEAST roughly equal to the number of game devs, so I'm sure I didn't think of everything someone might want a custom TP system to do. As such, I imagine there's plenty of growth potential for this plugin.

    I welcome all feedback, whether bug reports, feature requests, or spots where devs might be likely to want custom code ran to support their mechanics. I attempted to get most places I could think of that such considerations could be commonly desired. This means that the more "out there" a mechanic is, the less likely this plugin can easily accommodate it.

    I also think it could be interesting for people to share some styles they make, either to show off or inspire others. I know I'd certainly LOVE to see what people who use this plugin come up with.


    本贴来自国际rpgmaker官方论坛作者:Drakkonis处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/varied-custom-tp-system-styles.135380/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-14 12:54 , Processed in 0.064160 second(s), 54 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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