Character Throw Problem

Started by Soiuku, October 21, 2008, 10:49:24 PM

Previous topic - Next topic

Soiuku

I have lately been trying to make Nijikaku characters work properly for normal Mugen but I'm having a problem with Lesty; I'm trying to get her to stop getting stuck in her throw animation. Fortunately she only sometimes gets stuck in the throw animation against resized or hi-res characters, that plus when she gets hit she goes back to normal.

Here's the part of the coding that I think is causing the problem; a little help please?



[Statedef 800]
type    = S
movetype= A
physics = S
juggle  = 0
velset = 0,0
ctrl = 0
anim = 800
sprpriority = 2

[State 800, ƒqƒbƒg'è‹`i"Š,°—pj]
type = HitDef
trigger1 = Time = 0
trigger1 = p2bodydist X < 12
attr = S, NT
hitflag = M-
numhits = 0
priority = 1, Miss
sparkno = -1
sprpriority = 1
p1facing = 1
p2facing = 1
p1stateno = 810
p2stateno = 820
guard.dist = 0
fall = 1

[State 800, ]
type = ChangeState
Trigger1 = AnimTime = 0
value = 0
ctrl = 1


Thanks in advance.



Check this out, it's an awesome game: Be the Ultimate Ninja! Play Billy Vs. SNAKEMAN today!

fer619

state 800 is only the throw attempt state. When the throw connects, the char needs to change to the actual throw state, usually state 810. Take a look at KFM's throw code in the CNS file, it gives a brief explanation on coding the throw.