じ☆ve冰风 发表于 2026-7-30 19:18:36

DoubleX RMVXA Color Addon to YSA Battle System: Classical ATB


        DoubleX RMVXA Color Addon v1.02b to YSA Battle System: Classical ATB



        by DoubleX





Prerequisites


DoubleX RMVXA Bug Fixes to YSA Battle System: Classical ATB


YSA Battle System: Classical ATB(Created by Yami)


Introduction


        With this script, users can set specific skills or items and states to have their own charge and atb bar colors respectively.

Spoiler 




#------------------------------------------------------------------------------|
#* Skill/Item/State Notetags
data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7skill/item/state notebox in the database)      |
#    - (v1.01a+)<custom catb rgba: R1, G1, B1, A1, R2, G2, B2, A2>             |
#      Sets charge and atb bar colors of specific skills or items and states   |
#      respectively as color 1 and color 2 with rgba values R1, G1, B1 and A1|
#      and R2, G2, B2 and A2 respectively.                                     |
#    - <custom catb color: COLOR1, COLOR2>                                     |
#      Sets charge and atb bar colors of specific skills or items and states   |
#      respectively as COLOR1 and COLOR2.                                    |
#------------------------------------------------------------------------------|

module DoubleX_RMVXA
module YSA_CATB_Color_Addon

    # (v1.01a+)Use rgba values instead of text colors for default back, atb and
    # chargem bars respectively, default = false, false, false
    ENEMY_BACK_RGBA = false
    ATB_RGBA = false
    CHARGE_RGBA = false
    #

    if ENEMY_BACK_RGBA
    # (v1.02a+)Sets the rgba values of back bar colors
    # default = Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0)
    ENEMY_BACK_COLOR1 = Color.new(0, 0, 0, 0)
    ENEMY_BACK_COLOR2 = Color.new(0, 0, 0, 0)
    end # ENEMY_BACK_RGBA

    if ATB_RGBA
    # (v1.01a+)Sets the rgba values of atb bar colors
    # default = Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0)
    ATB_COLOR1 = Color.new(0, 0, 0, 0)
    ATB_COLOR2 = Color.new(0, 0, 0, 0)
    end # ATB_RGBA

    if CHARGE_RGBA
    # (v1.01a+)Sets the rgba values of charge bar colors
    # default = Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0)
    CHARGE_COLOR1 = Color.new(0, 0, 0, 0)
    CHARGE_COLOR2 = Color.new(0, 0, 0, 0)
    end # CHARGE_RGBA

end # YSA_CATB_Color_Addon
end # DoubleX_RMVXA






Features
        Use of notetags(requires knowledge of notetag usage) to set the colors of charge and atb bar of specific skills or items and states respectively

How to use
        Open the script editor and put this script into an open slot between the script DoubleX RMVXA Bug Fixes to YSA Battle System: Classical ATB and Main. Save to take effect.

FAQ
        None

Credit and Thanks
DoubleX(Giving me credit is completely optional)
        The terms of use are the same as that of YSA Battle System: Classical ATB except that you must also give Yami credit(you should do this anyway) if you give DoubleX or his alias credit
         
Compatibility
        Same as that of YSA Battle System: Classical ATB
         
Changelog


        v1.02b(GMT 0700 3-12-2014):


        - Fixed atb bar colors not updating bug


        v1.02a(GMT 1200 29-7-2014):


        - Lets users set enemy back gauge rgba values


        v1.01a(GMT 0500 10-3-2014):


        - Added <custom catb rgba: R1, G1, B1, A1, R2, G2, B2, A2> notetag


        - Added ways to set rgba values of the default atb and charge bar colors


        v1.00a(GMT 1100 5-2-2014):


        - 1st version of this script finished


(DoubleX)YSA CATB Color Addon v1.02b.txt


本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/doublex-rmvxa-color-addon-to-ysa-battle-system-classical-atb.23421/
页: [1]
查看完整版本: DoubleX RMVXA Color Addon to YSA Battle System: Classical ATB