News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

Crouch Attacks Problem

Started by spidy, February 22, 2009, 12:32:23 PM

Previous topic - Next topic

spidy

there is a problem in my codes i added three codes (Crouch_x,Crouch_y,Crouch_z)
but in game crouching attack is not working but crouch is working fine
whats the problem ???

Hackers Never Cry

Rajaa Retired

Try to be informative when you ask questions about general issues like this. :)

Post the changestate you have in the .cmd for them.

spidy

I use This Code in cmd

;[State -1, Crouch_X]
type = ChangeState
value = 400
triggerall = stateno != 400
triggerall = stateno != 401
triggerall = command = "holddown" || command = "x"
trigger1 = statetype = C

Hackers Never Cry

PotS

You mean command="holddown" && command="x"

Also, that statetype=C trigger should be just statetype!=A, so that the move can combo from standing attacks etc.
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

spidy

not working i changed this

;[State -1, Crouch_X]
type = ChangeState
value = 400
triggerall = stateno != 400
triggerall = stateno != 401
triggerall = command = "holddown" || command = "x"
trigger1 = statetype = A

and also this

;[State -1, Crouch_X]
type = ChangeState
value = 400
triggerall = stateno != 400
triggerall = stateno != 401
triggerall = command = "holddown" || command = "x"
trigger1 = statetype = S

but not working

Hackers Never Cry

PotS

Quote from: spidy on February 22, 2009, 12:57:53 PM
I use This Code in cmd

;[State -1, Crouch_X]
type = ChangeState
value = 400
triggerall = stateno != 400
triggerall = stateno != 401
triggerall = command = "holddown" || command = "x"
trigger1 = statetype = C

+

Quote from: P.o.t.S. on February 22, 2009, 01:09:05 PM
You mean command="holddown" && command="x"

Also, that statetype=C trigger should be just statetype!=A, so that the move can combo from standing attacks etc.

=

;[State -1, Crouch_X]
type = ChangeState
value = 400
triggerall = stateno != 400
triggerall = stateno != 401
triggerall = command = "holddown" && command = "x"
trigger1 = statetype != A

;P
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

spidy

this is my commands
Hold DIR
[Command]
name = "holddown"
command = /D,x
time = 1

Dir + Button
[Command]
name = "down_x"
command =/D,x
time = 10

;---------------------------------------------------------------------------
;[State -1, Crouch_X]
type = ChangeState
value = 400
triggerall = stateno != 400
triggerall = stateno != 401
triggerall = command = "down_x" && command = "holddown"
trigger1 = statetype != A

Hackers Never Cry

PotS

I see. You shouldn't change KFM's basic commands as IINM that may hurt compatibility with other chars.

Just check how it's handled in KFM, he has crouching attacks without needing to use a "down_x" command.
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

spidy


Hackers Never Cry

Rajaa Retired

Look at the character that comes with MUGEN .cmd file, the basic commands such as:

[Command]
name = "holddown"
command = /$D
time = 1

[Command]
name = "c"
command = c
time = 1

just use them like P.o.t.S said, as a combination, trigger1 = command = "holddown" && command = "c" that's the equivalent of the command you created for the attack and it saves you some extra commands.

Plus, you should still look at how KFM crouching/standing/air attacks are handled in the cmd.

spidy


Hackers Never Cry