crouch attack doesnt block

Started by eishiba, April 17, 2020, 10:57:35 PM

Previous topic - Next topic

eishiba

So I did get the sounds to work finally. While adding them in and making sure both the hit and guard sounds work I discovered my character doesnt guard crouching attacks. He can low guard some of the standing attacks that are a bit lower without problem. But when I try to use my crouching attacks they arent gaurded. Nothing happens while guarding. Without guarding they do connect and hit and damage properly but they dont guard. I even copy and pasted one of kung fu mans crouching attacks and it didnt register while guarding either.


;---------------------------------------------------------------------------
;Crouching light punch
[Statedef 240]
type    = C
movetype= A
physics = C
juggle  = 5
poweradd= 11
ctrl = 0
anim = 240
sprpriority = 2


[State 240, 1]
type = HitDef
trigger1 = Time = 0
attr = C, NA
damage    = 28
animtype  = Light
hitflag = MAFD
guardflag = L
pausetime = 12,12
sparkno = 0
sparkxy = -10,-8
hitsound   = 5,1
guardsound = 6,0
ground.type = Low
ground.slidetime = 6
ground.hittime  = 10
ground.velocity = -5
air.velocity = -2,-3
down.velocity = -5,0
down.hittime = 22

[State 230, 1]
type = playsnd
trigger1 = time = 2
value = 0, 42

[State 240, 3]
type = ChangeState
trigger1 = AnimTime = 0
value = 11
ctrl = 1

Cyanide

Your guard flag on that attack is L. That means it can only be guarded low. MAFD for the hitflag means that it hits mid (combo of high and low) falling and down. But you have it guarding low. So it should only be possible to guard while crouching. I don't know when your red clsn shows up but time = 0 can cause an unguardable attack if it is possible to hit at time = 0 as well. Try time = 2 instead if thats the issue.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.