Chaining Problem

Started by TempestSageJDJ, November 08, 2013, 08:31:12 PM

Previous topic - Next topic

TempestSageJDJ

Hello. So I getting ready to make a character, but I having a problem. I can't seem to get the chaining the way that want it to be. Here's few of my  problems:
-II want Light attacks to only hit 3 times, but it hits more than 3. Here's the code that I used to try and stop the hits:
[State 200, VarSet]
type = VarSet
trigger1 = Hitcount < 2
Value = 200
Var(0) = 1

[State 200, ChangeState]
type = ChangeState
trigger1 = Var(0) = 1
value = 0
ctrl = 0

-I want Light Attacks to not chain into other attack types other than commands. Not really sure how to do this.
-The commands can't chain at all. Here's one the codes that I used:
[state 205, ChangeState]
type = ChangeState
trigger1 = AnimElem = 3 && command = "holdfwd" && command = "z"
triggerall = command != "holddown"
value = 211
ctrl = 0

[state 205, ChangeState]
type = ChangeState
trigger1 = AnimElem = 3 && command = "holdfwd" && command = "b"
triggerall = command != "holddown"
value = 242
ctrl = 0

[State 205, VarSet]
type = VarSet
trigger1 = AnimElem = 5
Value = 205
Var(1) = 0   

[state 205,ChangeState]
type = ChangeState
trigger1 = Var(1) = 1 && Command = "z"
value = 210
ctrl = 0

[state 205,ChangeState]
type = ChangeState
trigger1 = Var(1) = 1 && Command = "b"
value = 235
ctrl = 0


I don't exactly want MvC style chaining, that why I did it in the cns rather the cmd. So, how do I fix these problems?


QuickFist

Here's one way of chain combos. This is how Infinite does it:
[State -1, Standing Medium Kick]
type=ChangeState
value=240
triggerall=!AILevel&&Roundstate=2&&statetype != A&&command != "holddown"&& command="b"
trigger1=ctrl||stateno=[100,101]
trigger2=var(4)
trigger3=((stateno=[200,219])||(stateno=[230,239])||(stateno=[400,419])||(stateno=[430,439]))




TempestSageJDJ

Hmm, what's the var for, exactly?


MKII

Quote from: SageHarpuiaJDJ on November 08, 2013, 09:13:07 PM
Hmm, what's the var for, exactly?

In state-2 or -3, use a controller to set var(4)=1 when you want the move to be chainable. (For example, when a normal move has landed and the character is in OC)
Reppu-reppu-reppu-reppu-reppu-

DivineWolf

Quote from: SageHarpuiaJDJ on November 08, 2013, 08:31:12 PM
I don't exactly want MvC style chaining, that why I did it in the cns rather the cmd. So, how do I fix these problems?

Um...what? The defining style of chain combos isn't exclusive to the CNS/State or CMD. Just because you define it in the CMD, doesn't mean it will automatically be MvC styled. YOU define how and what can/will be chain-able. I suppose the simplest way would be just to base it off movecontact and the stateno.

TempestSageJDJ

Quote from: Alucart on November 11, 2013, 01:32:17 AM
Quote from: SageHarpuiaJDJ on November 08, 2013, 08:31:12 PM
I don't exactly want MvC style chaining, that why I did it in the cns rather the cmd. So, how do I fix these problems?

Um...what? The defining style of chain combos isn't exclusive to the CNS/State or CMD. Just because you define it in the CMD, doesn't mean it will automatically be MvC styled. YOU define how and what can/will be chain-able. I suppose the simplest way would be just to base it off movecontact and the stateno.

I totally forgot about movecontact. I'll try it soon as see what happens.