Making 2 in 1s (or Cancelling a normal move with a special move)

-Example :K's Standing LK(close) into Crow Bite (K by NeoGouki)

Sometimes we need to give the player the ability to cancel a normal move into a special move ,like Ryu's classic Low Forward into Hadoken 2 in 1:

Here we let Ryu execute the fireball BEFORE Rock Howard recovers from the Low Forward,hence making it a 2 hit combo.

In the case of K ,his flaming uppercut hits Sakura before she recovers from the standing Light Kick:

To achieve this:

Standing light kick(close) CMD FILE

; Standing light kick [State -1] type = ChangeState value = 220 trigger1 = command = "a"

trigger1 = statetype = S

trigger1 = ctrl = 1

Nothing special here,we just do the normal checks to activate the move...

Standing light kick(close) CNS FILE

; Standing light kick (close) [Statedef 230] type = S movetype = A physics = S

anim = 230

velset = 0

ctrl = 0

[State 230, 1]

type = PlaySnd

trigger1 = Time = 0

trigger1 = random < 750

value = 200,1

[State 230, 2]

type = PlaySnd

trigger1 = Time = 0

value = 220,2

[State 230, 3]

type = HitDef

trigger1 = AnimElem = 3

attr = S, NA

animtype = light

damage = 75

guardflag = MA

pausetime = 12,12

sparkxy = -10,-42

hitsound = S220,0

guardsound = S200,3

ground.type = low

ground.slidetime = 8

ground.hittime = 8

ground.velocity = -3.5

air.velocity = -3,-2

airguard.velocity = -2.5,-1

[State 230, 4]

type = ChangeState

trigger1 = AnimTime = 0

value = 0

ctrl = 1

Nothing special here neither,so we will have to look at the special move itself...

CROW BITE (UPPERCUT) CMD FILE

; Light Crow bite [State -1] type = ChangeState value = 1200 triggerall = command = "dp_x"

trigger1 = statetype != "A"

trigger1 = ctrl = 1

trigger2 = stateno = 200

trigger2 = movehit = 1

trigger3 = stateno = 210

trigger3 = movehit = 1

trigger4 = stateno = 230 THIS IS THE IMPORTANT PART: THIS CHECKS IF

PLAYER IS IN STATE 230 (CLOSE

trigger4 = movehit = 1 STANDING KICK) AND VERIFIES THAT PLAYER 2

HAS BEEN HIT ALREADY WITH THIS

MOVE. IF THAT IS THE CASE,K WILL GO

INMEDIATELY INTO THE UPPERCUT

trigger5 = stateno = 250

trigger5 = movehit = 1

trigger6 = stateno = 270

trigger6 = movehit = 1

trigger7 = stateno = 400 SAME AS ABOVE,ALL THIS STATENUMBERS (stateno)

ARE THE NUMBERS OF THE MOVES

trigger7 = movehit = 1 THAT YOU CAN CANCEL THE CROW BITE FROM (250

is Standing Hard Punch,etc)

trigger8 = stateno = 430

trigger8 = movehit = 1

trigger9 = stateno = 440

trigger9 = movehit = 1

CROW BITE (UPPERCUT) CNS FILE

Nothing to look at here,all the cancelling is taken care of in the CMD file.

SUMMARY

So ,to make a normal move cancel into a special,add this triggers in the special move (not the normal move) 's CMD file

trigger1 = stateno = state number of the normal move trigger1= movehit = 1

Please check that both triggers have the same number,you need BOTH conditions to achieve the

2 in 1. As seen in the K example if you want to cancel a special from various normal moves just add

more triggers following the above example.

back to Tutorial Index