Jump to content
  • 0

Auto combo (y command)


Hellzone

Question

;Command Y

[statedef 210]

type = S

movetype= A

physics = S

juggle = 4

velset = 0,0

ctrl = 0

anim = 210

poweradd = 30

sprpriority = 2

 

[state 210 1]

type = HitDef

trigger1 = AnimElem = 3

attr = S, NA

animtype = Medium

damage = 30,30

guardflag = MA

pausetime = 12,12

sparkno = 1

sparkxy = -15,-15

hitsound = 5,2

guardsound = 6,0

ground.type = High

ground.slidetime = -1

ground.hittime = 16

ground.velocity = -5.5

air.velocity = -2.5,-4

forcenofall = 1

 

[state 0, ChangeState]

type = ChangeState

trigger1= movehit = 1 && command = "y"

value = 211

ctrl = 0

 

[state 210, ChangeState]

type = ChangeState

trigger1 = AnimTime = 0

value = 0

ctrl = 1

 

; Auto Combo Y (Second Hit)

[statedef 211]

type = S

movetype= A

physics = S

juggle = 4

velset = 0,0

ctrl = 0

anim = 211

poweradd = 30

sprpriority = 2

 

[state 211, 1]

type = HitDef

trigger1 = AnimElem = 2

attr = S, NA

animtype = Medium

damage = 25,30

guardflag = MA

pausetime = 12,12

sparkno = 1

sparkxy = -15,-15

hitsound = 5,2

guardsound = 6,0

ground.type = High

ground.slidetime = 0

ground.hittime = 16

ground.velocity = -5.5

air.velocity = -2.5,-4

forcenofall = 1

 

[state 0, ChangeState]

type = ChangeState

trigger1= movehit = 1 && command = "y"

value = 212

ctrl = 0

 

[state 211, ChangeState]

type = ChangeState

trigger1 = AnimTime = 0

value = 0

ctrl = 1

 

; Auto Combo Y (Third Hit)

[statedef 212]

type = S

movetype= A

physics = S

juggle = 4

velset = 0,0

ctrl = 0

anim = 212

poweradd = 30

sprpriority = 2

 

[state 212, 1]

type = HitDef

trigger1 = AnimElem = 4

attr = S, NA

animtype = Medium

damage = 25,30

guardflag = MA

pausetime = 12,12

sparkno = 1

sparkxy = -15,-15

hitsound = 5,2

guardsound = 6,0

ground.type = High

ground.slidetime = 0

ground.hittime = 16

ground.velocity = -5.5

air.velocity = -2.5,-4

forcenofall = 1

fall = 1

 

[state 212, ChangeState]

type = ChangeState

trigger1 = AnimTime = 0

value = 0

ctrl = 1

 

i watched ryons video on autocombo's and i applied it to my x command and it work so when i coded it for the y command it's not working, above is the coding

 

i also tried it like this

 

;Command Y

[state -1, Command Y]

type = ChangeState

value = 210

trigger1 = command = "y" && movehit = 1

trigger1 = statetype != A

triggerall = stateno = 210

trigger1 = ctrl

 

;Command Y Auto Combo Hit 1

[state -1, Command Y]

type = ChangeState

value = 211

triggerall = stateno = 211

trigger1 = command = "y" && movehit = 1

trigger1 = statetype != A

trigger1 = ctrl

 

;Command Y Auto Combo Hit 2

[state -1, Command Y]

type = ChangeState

value = 212

triggerall = stateno = 211

trigger1 = command = "y"

trigger1 = statetype != A

trigger1 = ctrl

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Your problem is with "ctrl." If you use "ctrl" as a trigger, it means that your character must have control for that trigger to fire. That's never going to be the case in a proper combo because "ctrl" is always set to 0 in the statedef header for each move. Basically, just remove the "trigger1 = ctrl" parts of your sctrls.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...