So, I was making an MvC styled Sonic character for MUGEN, and I was going to add Sonic's Spin Dash. The move itself works fine, but if I try to input the command for it, I just get one of his normals.Here's the -1 section of my character's CMD:Code: [Statedef -1];Run Fwd[State -1, Run Fwd]type = ChangeStatevalue = 100triggerall = command = "FF"trigger1 = statetype = S && ctrl;Run Back[State -1, Run Back]type = ChangeStatevalue = 105triggerall = command = "BB"trigger1 = statetype = S && ctrl;Normals[State -1]type = ChangeStatevalue = 230triggerall = command = "a"trigger1 = statetype = S && ctrltrigger2 = stateno = 100[State -1]type = ChangeStatevalue = 240triggerall = command = "b"trigger1 = statetype = S && ctrltrigger2 = stateno = 200 && movecontacttrigger3 = stateno = 230 && movecontact[State -1]type = ChangeStatevalue = 250triggerall = command = "c"trigger1 = statetype = S && ctrltrigger2 = stateno = 210 && movecontacttrigger3 = stateno = 240 && movecontact[State -1]type = ChangeStatevalue = 255triggerall = command = "fwd_c"trigger1 = stateno = 100 && ctrl[State -1]type = ChangeStatevalue = 200triggerall = command = "x"trigger1 = statetype = S && ctrltrigger2 = stateno = 100[State -1]type = ChangeStatevalue = 210triggerall = command = "y"trigger1 = statetype = S && ctrltrigger2 = stateno = 200 && movecontacttrigger3 = stateno = 230 && movecontact[State -1]type = ChangeStatevalue = 220triggerall = command = "z"trigger1 = statetype = S && ctrltrigger2 = stateno = 210 && movecontacttrigger3 = stateno = 240 && movecontact;Crouching Normals[State -1]type = ChangeStatevalue = 430triggerall = command = "a"triggerall = command = "holddown"trigger1 = stateno = 11 && ctrl[State -1]type = ChangeStatevalue = 440triggerall = command = "b"triggerall = command = "holddown"trigger1 = stateno = 11 && ctrltrigger2 = stateno = 400 && movecontacttrigger3 = stateno = 430 && movecontact[State -1]type = ChangeStatevalue = 450triggerall = command = "c"triggerall = command = "holddown"trigger1 = stateno = 11 && ctrltrigger2 = stateno = 410 && movecontacttrigger3 = stateno = 440 && movecontact[State -1]type = ChangeStatevalue = 400triggerall = command = "x"triggerall = command = "holddown"trigger1 = stateno = 11 && ctrl[State -1]type = ChangeStatevalue = 410triggerall = command = "y"triggerall = command = "holddown"trigger1 = stateno = 11 && ctrltrigger2 = stateno = 400 && movecontacttrigger3 = stateno = 430 && movecontact[State -1]type = ChangeStatevalue = 420triggerall = command = "z"triggerall = command = "holddown"trigger1 = stateno = 11 && ctrltrigger2 = stateno = 410 && movecontacttrigger3 = stateno = 440 && movecontact;Aerials[State -1]type = ChangeStatevalue = 630triggerall = command = "a"trigger1 = stateno = 50 && ctrl || stateno = 51 && ctrl[State -1]type = ChangeStatevalue = 640triggerall = command = "b"trigger1 = stateno = 50 && ctrl || stateno = 51 && ctrltrigger2 = stateno = 600 && movecontacttrigger3 = stateno = 630 && movecontact[State -1]type = ChangeStatevalue = 650triggerall = command = "c"trigger1 = stateno = 50 && ctrl || stateno = 51 && ctrltrigger2 = stateno = 610 && movecontacttrigger3 = stateno = 640 && movecontact[State -1]type = ChangeStatevalue = 600triggerall = command = "x"trigger1 = stateno = 50 && ctrl || stateno = 51 && ctrl[State -1]type = ChangeStatevalue = 610triggerall = command = "y"trigger1 = stateno = 50 && ctrl || stateno = 51 && ctrltrigger2 = stateno = 600 && movecontacttrigger3 = stateno = 630 && movecontact[State -1]type = ChangeStatevalue = 620triggerall = command = "z"trigger1 = stateno = 50 && ctrl || stateno = 51 && ctrltrigger2 = stateno = 610 && movecontacttrigger3 = stateno = 640 && movecontact;Specials[State -1] ;This is the part you're probably looking fortype = ChangeStatevalue = 1000triggerall = command = "SpinDash"triggerall = statetype = S && ctrltriggerall = Roundstate = 2trigger1 = stateno = 200 && movecontacttrigger2 = stateno = 210 && movecontacttrigger3 = stateno = 220 && movecontactAny help is much appreciated.
Your commands are placed in the wrong order. Try changing the order of your commands & your problem will be solved. M.U.G.E.N creators place their commands in the following order:1) Hypers.2) Specials.3) Aerial Attacks.4) Crouch Attacks.5) Standing Attacks.6) Run Forward & Backward.Hope this helps.
Yeah, MUGEN prioritizes code from top to bottom. So you want to put your more difficult commands above the easier ones. Also, you may not want to use "statetype=s" for attacks that don't specifically require your char to be standing. Rather then just be on the ground. You may want to use "statetype!=a" instead.
So, I changed my -1 to this:Code: ;Specials[State -1]type = ChangeStatevalue = 1000triggerall = command = "SpinDash"triggerall = statetype != A && ctrltriggerall = Roundstate = 2trigger1 = stateno = 200 && movecontacttrigger2 = stateno = 210 && movecontacttrigger3 = stateno = 220 && movecontact;Aerials[State -1]type = ChangeStatevalue = 630triggerall = command = "a"trigger1 = statetype = A && ctrl[State -1]type = ChangeStatevalue = 640triggerall = command = "b"trigger1 = statetype = A && ctrltrigger2 = stateno = 600 && movecontacttrigger3 = stateno = 630 && movecontact[State -1]type = ChangeStatevalue = 650triggerall = command = "c"trigger1 = statetype = A && ctrltrigger2 = stateno = 610 && movecontacttrigger3 = stateno = 640 && movecontact[State -1]type = ChangeStatevalue = 600triggerall = command = "x"trigger1 = statetype = A && ctrl[State -1]type = ChangeStatevalue = 610triggerall = command = "y"trigger1 = statetype = A && ctrltrigger2 = stateno = 600 && movecontacttrigger3 = stateno = 630 && movecontact[State -1]type = ChangeStatevalue = 620triggerall = command = "z"trigger1 = statetype = A && ctrltrigger2 = stateno = 610 && movecontacttrigger3 = stateno = 640 && movecontact;Crouching Normals[State -1]type = ChangeStatevalue = 430triggerall = command = "a"triggerall = command = "holddown"trigger1 = statetype = C && ctrl[State -1]type = ChangeStatevalue = 440triggerall = command = "b"triggerall = command = "holddown"trigger1 = statetype = C && ctrltrigger2 = stateno = 400 && movecontacttrigger3 = stateno = 430 && movecontact[State -1]type = ChangeStatevalue = 450triggerall = command = "c"triggerall = command = "holddown"trigger1 = statetype = C && ctrltrigger2 = stateno = 410 && movecontacttrigger3 = stateno = 440 && movecontact[State -1]type = ChangeStatevalue = 400triggerall = command = "x"triggerall = command = "holddown"trigger1 = statetype = C && ctrl[State -1]type = ChangeStatevalue = 410triggerall = command = "y"triggerall = command = "holddown"trigger1 = statetype = C && ctrltrigger2 = stateno = 400 && movecontacttrigger3 = stateno = 430 && movecontact[State -1]type = ChangeStatevalue = 420triggerall = command = "z"triggerall = command = "holddown"trigger1 = statetype = C && ctrltrigger2 = stateno = 410 && movecontacttrigger3 = stateno = 440 && movecontact;Normals[State -1]type = ChangeStatevalue = 230triggerall = command = "a"trigger1 = statetype = S && ctrltrigger2 = stateno = 100[State -1]type = ChangeStatevalue = 240triggerall = command = "b"trigger1 = statetype = S && ctrltrigger2 = stateno = 200 && movecontacttrigger3 = stateno = 230 && movecontact[State -1]type = ChangeStatevalue = 250triggerall = command = "c"trigger1 = statetype = S && ctrltrigger2 = stateno = 210 && movecontacttrigger3 = stateno = 240 && movecontact[State -1]type = ChangeStatevalue = 255triggerall = command = "fwd_c"trigger1 = stateno = 100 && ctrl[State -1]type = ChangeStatevalue = 200triggerall = command = "x"trigger1 = statetype = S && ctrltrigger2 = stateno = 100[State -1]type = ChangeStatevalue = 210triggerall = command = "y"trigger1 = statetype = S && ctrltrigger2 = stateno = 200 && movecontacttrigger3 = stateno = 230 && movecontact[State -1]type = ChangeStatevalue = 220triggerall = command = "z"trigger1 = statetype = S && ctrltrigger2 = stateno = 210 && movecontacttrigger3 = stateno = 240 && movecontact;Run Fwd[State -1, Run Fwd]type = ChangeStatevalue = 100triggerall = command = "FF"trigger1 = statetype = S && ctrl;Run Back[State -1, Run Back]type = ChangeStatevalue = 105triggerall = command = "BB"trigger1 = statetype = S && ctrlAnd I STILL can't do Sonic's Spin Dash!
Code: [Command]name = "SpinDash"command = ~D, DF, F, xtime = 30[Command]name = "SpinDash"command = ~D, DF, F, ytime = 30[Command]name = "SpinDash"command = ~D, DF, F, ztime = 30
I'm not seeing a problem tbh. 30 time is more than enough. Maybe try copying the changestate for Spin Dash, delete it, then save the CMD. Then reapply the changestate for Spin Dash and save again. I know sometimes the CMD can be a bit funny at times. Make sure 1000 is the right stateno value. Perhaps try rewriting the changestate code to this:Code: [State -1]type = ChangeStatevalue = 1000triggerall = command = "SpinDash"triggerall = Roundstate = 2 && statetype != Atrigger1 = ctrltrigger2 = stateno = 200 && movecontacttrigger3 = stateno = 210 && movecontacttrigger4 = stateno = 220 && movecontact