Basic Combo Attacks

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Vlue, Feb 26, 2014.

    Tags:
  1. Vlue

    Vlue Talent Extraordinaire Member

    Messages:
    589
    Likes Received:
    373
    Location:
    Canada
    First Language:
    English
    Basic Combo Attacks v1.0
    By Vlue
    Introduction
    Allows two heroes to combine their attacks together to preform a mega ultimate attack! Or just a regular old attack, it's up to you.

    Features
    - Declare certain skills to combo with others, provided each hero using the skills target the same enemy.
    - Global combo chance and damage multiplier

    Screenshots
    [​IMG]
    How to Use
    Plug it in, set up combos in skill note tags. Instructions for such in script.
    <COMBO id1, id2>

    Script
    You can find it... here!

    FAQ
    N/A

    Credit and Thanks
    - By Vlue
    - Free to use in any project with credit given

    Author's Notes
    This is optional. (Yup)
     
    #1
  2. Xorthias

    Xorthias Novice Developer Member

    Messages:
    6
    Likes Received:
    2
    Location:
    Columbus, Ohio
    First Language:
    English
    I'll have to give this a shot soon. It definitely fits with the synergy that I want the party members to have with each other.  I'll give you a little review when I implement it and see how it works for me!
     
    #2
  3. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,405
    Likes Received:
    2,819
    Location:
    Philippines
    First Language:
    Tagalog
    So it's like if Actor 1 uses Fire and Actor 2 uses Fire, it becomes Fire Fire (for the reason I can't think of a better name)?


    PS: does both skills run first, then the combo skill executes or does it change the 2nd skill to use the combo instead?


    PS 2: Can you make the combo chance on a per skill (the combo tagged one) or per actor basis?
     
    Last edited by a moderator: Feb 26, 2014
    #3
  4. Xorthias

    Xorthias Novice Developer Member

    Messages:
    6
    Likes Received:
    2
    Location:
    Columbus, Ohio
    First Language:
    English
    I'm assuming if you program it that way. I wouldn't imagine anything is made default. Or am I wrong?
     
    #4
  5. Vlue

    Vlue Talent Extraordinaire Member

    Messages:
    589
    Likes Received:
    373
    Location:
    Canada
    First Language:
    English
    Yes, it becomes Fire Fire. Or whatever third skill you designate.


    Both skills don't run first, it changes to just the one skill being used.


    I updated the pastebin and added notetags to overwrite default combo chance and combo damage~
     
    #5
    Engr. Adiktuzmiko likes this.
  6. Chaos Avian

    Chaos Avian Abyssal Wing Restaff

    Messages:
    3,231
    Likes Received:
    780
    Location:
    Currently fighting demon hoards for fun.
    First Language:
    English
    So is this restricted to the same 2 skills? i.e. Is having Fire 1 and Earth 1 create Magma Storm not possible?
     
    #6
  7. Vlue

    Vlue Talent Extraordinaire Member

    Messages:
    589
    Likes Received:
    373
    Location:
    Canada
    First Language:
    English
    Not restricted to same skills, you can indeed have Fire 1 and Earth 1 combo to create Magma Storm!
     
    #7
    Chaos Avian likes this.
  8. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,405
    Likes Received:
    2,819
    Location:
    Philippines
    First Language:
    Tagalog
    I see... so it will simply become Fire Fire, and not Fire, Fire then Fire Fire?
     
    #8
  9. Vlue

    Vlue Talent Extraordinaire Member

    Messages:
    589
    Likes Received:
    373
    Location:
    Canada
    First Language:
    English
    Indeed, are you saying there's an interest in some combo attacks that are additional instead of exclusive? Because that can be done.
     
    #9
  10. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,405
    Likes Received:
    2,819
    Location:
    Philippines
    First Language:
    Tagalog
    Well, this current method actually makes more sense...

    but there have also been some that lets the first skill execute and only changes the 2nd skill. though I think there's already another script that does that.

    but then again the option to execute both skills, then the combo afterwards might be a nice addition, assuming it's not much of a trouble for you... that way, we can make something like a Combo Finisher move :)
     
    Last edited by a moderator: Feb 27, 2014
    #10
  11. Vlue

    Vlue Talent Extraordinaire Member

    Messages:
    589
    Likes Received:
    373
    Location:
    Canada
    First Language:
    English
    There we go. Updated the pastebin with a new notetag <COMBO_FINISHER>


    Combo skills with that tag will be used after both skills are used.
     
    #11
    Engr. Adiktuzmiko likes this.
  12. Engr. Adiktuzmiko

    Engr. Adiktuzmiko Chemical Engineer, Game Developer, Using BlinkBoy' Veteran

    Messages:
    14,405
    Likes Received:
    2,819
    Location:
    Philippines
    First Language:
    Tagalog
    Wow! that's fast, Awesome. I'm sure people will find good use for this... :)
     
    #12
    Vlue likes this.
  13. Xorthias

    Xorthias Novice Developer Member

    Messages:
    6
    Likes Received:
    2
    Location:
    Columbus, Ohio
    First Language:
    English
    Yeah Shana, Vlue is extremely reliable and punctual. He's one of my favourite developers for that reason. He actually watches his threads and listens to his users. You want something added to the script that makes sense? Vlue says "you got it" and he returns to his coding batcave.

    Thanks Vlue, cheers.
     
    #13
    Vlue likes this.
  14. lexietanium

    lexietanium Veteran Veteran

    Messages:
    98
    Likes Received:
    19
    Location:
    Under yo beds o.o
    First Language:
    Tagalog :P
    Vluuuueeee was wonderin if this can be used with battle symphony =)
     
    #14
  15. Vlue

    Vlue Talent Extraordinaire Member

    Messages:
    589
    Likes Received:
    373
    Location:
    Canada
    First Language:
    English
    No ideeeeaaaaa, it does overwrite some popular functions, so give it a try.
     
    #15
  16. OM3GA-Z3RO

    OM3GA-Z3RO Wounded Seraphim Veteran

    Messages:
    826
    Likes Received:
    180
    Location:
    Manaria
    Is this compatible for MOGhunters ATB battle systems?

    Just out of curiosity.
     
    Last edited by a moderator: Mar 2, 2014
    #16
  17. Vlue

    Vlue Talent Extraordinaire Member

    Messages:
    589
    Likes Received:
    373
    Location:
    Canada
    First Language:
    English
    No idea, try it out and let me know if it doesn't. Then I'll see what I can do.
     
    #17
  18. drusepth

    drusepth Warper Member

    Messages:
    2
    Likes Received:
    2
    First Language:
    English
    Line 90

          combo = Game_Action.new(combo_battler)should be moved outside of the conditional, one line up, in order to ensure that it is initialized in the case that $data_skills[new_skill].combo_finisher returns false and control follows the else clause of the if statement. Otherwise line 103 will throw a fatal error that combo is not defined when trying to set its extra_damage property.
     
    Last edited by a moderator: May 23, 2014
    #18
  19. Vlue

    Vlue Talent Extraordinaire Member

    Messages:
    589
    Likes Received:
    373
    Location:
    Canada
    First Language:
    English
    Ah, nice catch! That would be causing some problems. Fixed it up on the pastebin, thanks~
     
    #19
    drusepth likes this.
  20. tiagoms

    tiagoms Veteran Veteran

    Messages:
    181
    Likes Received:
    4
    Demo? xD
     
    #20

Share This Page