YesNoOk
avatar

K's (by Nao & M.) Chain Drive SDM unblockable when done up close (Read 497 times)

Started by gamespy, September 20, 2009, 08:57:24 pm
Share this topic:
K's (by Nao & M.) Chain Drive SDM unblockable when done up close
#1  September 20, 2009, 08:57:24 pm
  • avatar
  • ***
For some reason, this attack is unblockable when K' uses it when right next to his opponent. I then looked at his CNS file and came across this.

[State 3250 , 2]  ;sun glasses
type = Projectile
trigger1 = AnimElem = 6, =1
ProjAnim = 2020
ProjID = 2020
ProjHitAnim = 2021
projedgebound = 320
projstagebound = 320
projheightbound = -300,0
offset = 26,-90
hitflag = MAP
guardflag = MA
accel = 0, 0.3
velocity = 10, -3
attr = S, HP
projshadow = 68,68,68
damage = 30,4
animtype = hard
air.animtype = up
givepower = 50
pausetime = 20,4
sparkno = 3
hitsound = S220,0
guardsound = S150,1
ground.type = High
ground.slidetime = 36
ground.hittime = 36
ground.velocity = 0;-5
guard.hittime = 24
guard.slidetime = 24
guard.pausetime = 8,10
guard.velocity = -1
air.velocity = -4,-4
fall = 0
air.fall = 0
fall.recover = 0
air.juggle = 2 ; gogo
air.animtype = Back

[State 3250, end1]
type = changestate
trigger1 = (projcontact2020 = 1) && (p2bodydist X < 30)
value = 3253
ctrl = 0



I then observed the statedef where K's opponent is hit within the body distance
; 3253 SDM chain drive attack success when body dist >= 30
[Statedef 3253]
type    = S
movetype= A
physics = N
anim = 3204
ctrl = 0
velset = 0,0,0

[State 3252, 0]
type = playerpush
trigger1 = time >= 0
value = 1

[State 3251, 1]
type = PlaySnd
trigger1 = time = 16
value = 3200,0

[State 3253, shadow]
type = explod
trigger1 = projcontact2020 = 1
anim = 3203
sprpriority = 2
ownpal = 1
shadow = 80,80,80

[State 3253, 2]
type = velset
trigger1 = time = 28
x = 16

[State 3253, 3]
type = veladd
trigger1 = time >= 28
x = -0.4

[State 3203, 4]
type = VelSet
trigger1 = Vel X <= 0
x = 1

[State 3253, 5]
type = HitDef
trigger1 = AnimElem = 1;4
trigger2 = (AnimElem = 5) && (!movecontact)
attr = S, HA
animtype = hard
p2facing = 1
damage = 0,0
sparkno = 2
sparkxy = 0,-60
pausetime = 6,6
hitflag = MAF
forcestand = 1
guardflag = MA
hitsound = 5,2
fall.recover = 0
ground.slidetime = 15
ground.hittime = 15
ground.velocity = -3, 0

[State 3253, sunglass]
type = envcolor
trigger1 = movehit
time = 1
under = 1
value = 240,240,240

[State 3253, end1]
type = changestate
trigger1 = movehit
value = 3280
ctrl = 1

[State 3253, end1]
type = changestate
trigger1 = animtime = 0
trigger2 = moveguarded
value = 3260
ctrl = 0

The body distance I'm sure has something to do with it but I tried adding "null;" in front of the changestate as well as altering the body distance yet it does not work.

How can I make this move one where the opponent can block within any distance?

Thanks for any response given.