Chaos Project

RPG Maker => RPG Maker Scripts => Topic started by: Shining Riku on May 19, 2012, 09:50:03 pm

Title: [RESOLVED][BlizzABS] How to add actions to combos?
Post by: Shining Riku on May 19, 2012, 09:50:03 pm
[EDIT] Alright well I figured out how to add actions...Now to see if I can still get the combo itself to work >_>;;
-----------------
I've taken a break from making games but now I'm back into it...and am once again trying to work with Blizz ABS.

Only, it doesn't want to work with ME, which was the same dang problem I had last time.
I made a combo, and I attached it to a skill, right? when the player uses the skill it's supposed to use the combo but it does nothing, the skill carries on as usual...no combo.

As for the combos themselves, it won't let me add any "actions" to the combo at all and I am left with one action per combo.

I'm not usually this stupid or thick headed because I must OBVIOUSLY be missing something but I see nothing to add an action to a combo, and the help file has nothing regarding this. Idunno what I am doing wrong. I could just really use some answers, it'd make my task much much easier and I'd be extremely thankful for help ;3;
Title: Re: [BlizzABS] How to add actions to combos?
Post by: winkio on May 19, 2012, 10:32:49 pm
1.  Select 'Action 1' in the tree on the left
2.  Click 'Change Maximum'
3.  Enter number of actions you want
4.  Click 'OK'
Title: Re: [BlizzABS] How to add actions to combos?
Post by: Shining Riku on May 19, 2012, 10:48:08 pm
I've got that down now. Thanks :D

Is there a specific way I should customize a skill for an ally to use it for a combo? I've tried assigning a combo to a skill, and while this combo works for enemies (if it is assigned to them with the configuration program) this combo does not work when fired from a skill.

The project itself is running no new scripts and has only Blizz ABS installed.
Title: Re: [BlizzABS] How to add actions to combos?
Post by: KK20 on May 19, 2012, 11:13:12 pm
May I ask what the combo does? If it calls upon the use of a skill, the actor must know the skill in order to use it.
Title: Re: [BlizzABS] How to add actions to combos?
Post by: Shining Riku on May 20, 2012, 02:03:29 pm
All the combo does is sets the user's movement speed to 6, has them move forward five or six spaces, and then use normal attacks five times with 8 frames between each attack. It works for enemies, but allies, not so much lol.

I've included operations to return the user's speed to normal at the end of the combo, an "abort combo" action, and also an input freezing action that is disabled at the end of the combo too.

If I need to provide more details I'll happily do it. I could even post the code on the combo, or a screencap of the configuration at least
Title: Re: [BlizzABS] How to add actions to combos?
Post by: winkio on May 20, 2012, 02:50:00 pm
post the code or the screenshot and I'll take a look.
Title: Re: [BlizzABS] How to add actions to combos?
Post by: Shining Riku on May 23, 2012, 08:24:02 pm
Here's the code:

Spoiler: ShowHide
when 1 #combo1
        case com.aid
        when 1 #Action 1
          return [[COMFreeze, true],
                  [COMInput, 0, [Input::Up], INPress, 6],
                  [COMCharacter, CHSpeed, 6],
                  [COMMove, DIRForward, 6],
                  [COMCompletion],
                  [COMCharacter, CHSpeed, 4],
                  [COMGoTo, 2]]
        when 2 #Action 2
          return [[COMFreeze, true],
                  [COMAttack],
                  [COMWait, 8],
                  [COMGoTo, 3]]
        when 3 #Action 2
          return [[COMFreeze, true],
                  [COMAttack],
                  [COMWait, 8],
                  [COMGoTo, 4]]
        when 4 #Action 2
          return [[COMFreeze, true],
                  [COMAttack],
                  [COMWait, 8],
                  [COMGoTo, 5]]
        when 5 #Action 2
          return [[COMFreeze, true],
                  [COMAttack],
                  [COMWait, 8],
                  [COMGoTo, 6]]
        when 6 #Action 2
          return [[COMFreeze, true],
                  [COMAttack],
                  [COMWait, 8],
                  [COMGoTo, 7]]
        when 7 #Action 3
          return [[COMFreeze, false],
                  [COMAbort]]
        end


Mind you, this is what the config gave me XD
I can get combos to work, unless if they have movement involved in any way. I've done some experimenting since I last posted.

Lemme rephrase that, all combos work, except for movement for allies. This combo works for enemies, just not any ally |D

Thank you for taking the time to hear me out.
Title: Re: [BlizzABS] How to add actions to combos?
Post by: KK20 on May 23, 2012, 10:31:10 pm
I got mine to look like this. Probably want to throw a Wait for Move Completion in there:
Spoiler: ShowHide
      when 1 #Combo 1
        case com.aid
        when 1 #Action 1
          return [[COMFreeze, true],
                  [COMCharacter, CHSpeed, 6],
                  [COMMove, DIRForward, 5],
                  [COMAttack],
                  [COMWait, 8],
                  [COMAttack],
                  [COMWait, 8],
                  [COMAttack],
                  [COMWait, 8],
                  [COMAttack],
                  [COMWait, 8],
                  [COMAttack],
                  [COMCharacter, CHSpeed, 4],
                  [COMFreeze, false]]
        end

Speed changes only work for allies and monsters, not for the game player. This is because an update method is called each frame to check if the game player has the RUN/SNEAK key being held and adjusts the speed. I've posted an edit for that a couple times here.
Title: Re: [BlizzABS] How to add actions to combos?
Post by: Shining Riku on May 24, 2012, 03:32:38 pm
I'm not entirely sure what did it, but it worked!

I really appreciate your help, KK20! :D
Now that I understand these combos much better and figured out how to add actions and stuff, I may as well change the tag on this topic to [resolved].

Thanks again, winkio and KK20! ^^