DoubleX RMVXA CATB Clear Addon to YSA Battle System: Classical ATB

● ARCHIVED · READ-ONLY
Started by DoubleX 9 posts View original ↗

  1. DoubleX RMVXA CATB Clear Addon v1.01a to YSA Battle System: Classical ATB


    by DoubleX




    Compatibility Fix


    http://forums.rpgmakerweb.com/index.php?/topic/22245-doublex-rmvxa-catb-clear-addon-compatibility-fix/


    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 a specific state to clear battlers' atb bar when it's added to them. This doesn't work if they already have it right before it's added to them(i.e., reapplying it to them).


    To set skills or items to have the same effect, set them to remove a state with the above effect and then add this state immediately afterwards.

    Spoiler
     




    #------------------------------------------------------------------------------|
    # * State Notetags:(state notebox in the database) |
    # - (v1.01a+)<custom catb minus atb: a, p> |
    # Minus battlers' action points by a or atb fill percent by p% when states |
    # with the above notetag are added to them |
    # - (v1.01a+)<custom catb reset atb: a, p> |
    # Reset battlers' action points to a or atb fill percent to p% when states |
    # with the above notetag are added to them |
    # It won't work if the action points or atb fill percent would be increased |
    # - (v1.01a+)<custom catb minus charge: p> |
    # Minus battlers' charge fill percent by p% when states with the above |
    # notetag are added to them |
    # The action will be cancelled if the charge fill percent would be negative |
    # - (v1.01a+)<custom catb reset charge: p> |
    # Reset battlers' charge fill percent by p% when states with the above |
    # notetag are added to them |
    # It won't work if the charge fill percent would be increased |
    #------------------------------------------------------------------------------|
    # * The below 2 notetags needs |
    # DoubleX RMVXA Cooldown Addon to YSA Battle System: Classical ATB |
    # - (v1.01a+)<custom catb minus cooldown: p> |
    # Add battlers' cooldown fill percent by p% when states with the above |
    # notetag are added to them |
    # - (v1.01a+)<custom catb reset cooldown: p> |
    # Reset battlers' cooldown fill percent by p% when states with the above |
    # notetag are added to them |
    # It won't work if the cooldown fill percent would be decreased |
    #------------------------------------------------------------------------------|



    Video










    Features
    Use of notetags(requires knowledge of notetag usage) to set specific states to clear battlers' atb bar when these states are added to them

    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.01a(GMT 0400 11-9-2014):


    - Added


      <custom catb minus atb: a, p>


      <custom catb minus charge: p>


      <custom catb reset charge: p>


      <custom catb minus cooldown: p> and


      <custom catb reset cooldown: p> notetags


    - Changed <custom catb clear> to <custom catb reset atb: a, p>


    v1.00b (GMT 0000 1-7-2014):


    - Updated the way of clearing atb and actions


    v1.00a (GMT 1600 9-1-2014):


    - 1st version of this script finished


    (DoubleX)YSA CATB Clear Addon v1.01a.txt
  2. Nice script, this adds a whole new dimension to the ATB. Thanks for writing it :)

    Do you think cast cancel would be an implementable feature? So be skills, items, etc. that trigger a cast cancel state, could really help turn the tide against magic-based enemies.
  3. joeyjoejoe said:
    Nice script, this adds a whole new dimension to the ATB. Thanks for writing it :)

    Do you think cast cancel would be an implementable feature? So be skills, items, etc. that trigger a cast cancel state, could really help turn the tide against magic-based enemies.
    I think it's better to write a new addon to implement cast cancel and I'll try it, as doing this with this Clear Addon costs 1 action time of another battler.

    And I think I'm not really getting the idea of cast cancel state, may you please describe it more elaborately?
  4. YSA CATB battle system lets you give skills a charge rate. If you don't specify a skill's charge, it defaults to instacast.

    As an example, if you put <charge rate: 300%> in a skill's notetag, it will take so 0.33 turns to cast and if you put <charge rate: 50%>, it will take 2 turns to cast.

    So with this, any skills with a charge rate that isn't nil could offer a window for cast cancel.

    I find this script works well but it sometimes crashes if say, I am selecting a skill or target and an enemy does a CATB clear attack on the current character. I'm not sure if it's another script causing this bug though. I guess I could just change the ATB wait type to semi or wait instead of the quarter I currently have it set to.
  5. joeyjoejoe said:
    YSA CATB battle system lets you give skills a charge rate. If you don't specify a skill's charge, it defaults to instacast.

    As an example, if you put <charge rate: 300%> in a skill's notetag, it will take so 0.33 turns to cast and if you put <charge rate: 50%>, it will take 2 turns to cast.

    So with this, any skills with a charge rate that isn't nil could offer a window for cast cancel.

    I find this script works well but it sometimes crashes if say, I am selecting a skill or target and an enemy does a CATB clear attack on the current character. I'm not sure if it's another script causing this bug though. I guess I could just change the ATB wait type to semi or wait instead of the quarter I currently have it set to.
    You can try my cancel addon for cast cancel:

    http://www.rpgmakervxace.net/topic/21394-doublex-rmvxa-cancel-addon-to-ysa-battle-system-classical-atb/

    You can also update DoubleX RMVXA Bug Fixes to YSA Battle System: Classical ATB to v1.01d to see if it can fix the crashes you mentioned:

    http://forums.rpgmakerweb.com/index.php?/topic/22142-doublex-rmvxa-bug-fixes-to-ysa-battle-system-classical-atb/?p=211474
  6. Oh this is cool :D   Can't believe you got to it so quickly. You, sir are a prodigy. This would be useful for those "darn! didn't mean to do that spell" moments we've all had.

    And wow, derp moment in me not getting the bug fixes script beforehand :S I remember wanting to download it but I guess I forgot ^_^''

    I'm afraid I didn't explain myself well at all earlier ^_^''' I'll chalk it up to sleep deprivation.

    While what you made is useful, what I meant about the cast cancel was that it would be a status effect causing the afflicted target's skill to be cancelled. 

    So let's say you're casting a spell and it takes 2 turns to cast. The enemy does an attack that has a xx% chance to cancel your spell. This would be done by means of a status effect, in a similar way that Clear ATB would be done.

    I guess it would be used with moderation since it would be freakin annoying to always have your long spells cancelled. Of course, being it's a state just like CATB cancel, you could just protect yourself against it.

    Keep up the good work B)
  7. joeyjoejoe said:
    Oh this is cool :D   Can't believe you got to it so quickly. You, sir are a prodigy. This would be useful for those "darn! didn't mean to do that spell" moments we've all had.

    And wow, derp moment in me not getting the bug fixes script beforehand :S I remember wanting to download it but I guess I forgot ^_^''

    I'm afraid I didn't explain myself well at all earlier ^_^''' I'll chalk it up to sleep deprivation.

    While what you made is useful, what I meant about the cast cancel was that it would be a status effect causing the afflicted target's skill to be cancelled. 

    So let's say you're casting a spell and it takes 2 turns to cast. The enemy does an attack that has a xx% chance to cancel your spell. This would be done by means of a status effect, in a similar way that Clear ATB would be done.

    I guess it would be used with moderation since it would be freakin annoying to always have your long spells cancelled. Of course, being it's a state just like CATB cancel, you could just protect yourself against it.

    Keep up the good work B)
    The below are all possible cases of cast cancel implementations I can think of:

    1 - A cast cancel command is used to an actor cancelling his/her/its partially charged skill or item

         This can be done with my cancel addon

    2 - A skill or item is used to the target having a chance to cancel his/her/its partially charged skill or item

         This can be done with Clear ATB by setting skills or items to remove a cast cancel state and add it immediately afterwards(1 cast cancel state for cast cancel by skills or items and another for cast cancel by the state itself)

    3 - A cast cancel state is added to the target cancelling his/her/its partially charged skill or item if he/she/it doesn't have this state before adding (i.e., not reapplying)

         This can also be done with Clear ATB

    4 - A cast cancel state is added to the target cancelling his/her/its partially charged skill or item as long as he/she/it's that state

         This can be effectively done with Clear ATB and Seal Skill, Seal Skill Type or state restriction "Cannot move"

    I think the above doesn't include your idea, or you'd had already found a way to implement it with my scripts. Otherwise it means that the possible uses of my scripts are too hard for anyone other than me to figure out and understand :)

    P.S.: Thanks for treating me as a prodigy, but I'm just a nub pretending to be a pro XD
  8. You're right, it does do what I wanted it to do. I just haven't had the chance to play around with it as much as I would have liked.

    Sweetness.
  9. Updates

    v1.01a(GMT 0400 11-9-2014):

    - Added

      <custom catb minus atb: a, p>

      <custom catb minus charge: p>

      <custom catb reset charge: p>

      <custom catb minus cooldown: p> and

      <custom catb reset cooldown: p> notetags

    - Changed <custom catb clear> to <custom catb reset atb: a, p>

    v1.00b (GMT 0000 1-7-2014):

    - Updated the way of clearing atb and actions