Running attack help

Started by ZayOsiris Gaming, February 11, 2010, 03:10:07 AM

Previous topic - Next topic

ZayOsiris Gaming

There's a problem i can't seem to fix on my own. Any body think thats thay would be able to help out? Basically I'm trying to make an attack that you can only do when running, and i've been trying to salve this for a while now and its really bugging me now! So here it is. :P

;---------------------------------------------------------------------------
;Stand Weak Slice
[State -1: Stand Weak Slice]
type = ChangeState
value = 200
triggerall = (Command = "x") && (Command != "holddown") && (Command != "holdfwd")
trigger1 = ((StateType = S) && (Ctrl)) || ((StateNo = [100,105]) && (AnimElem = 1, > 0) && (Command != "holdfwd") && (BackEdgeBodyDist > -5) && (Pos Y >= 0))
ignorehitpause = 1

;---------------------------------------------------------------------------
;Stand Medium Slice
[State -1: Stand Medium Slice]
type = ChangeState
value = 210
triggerall = (Command = "y") && (Command != "holddown") && (Command != "holdfwd")
trigger1 = ((StateType = S) && (Ctrl)) || ((StateNo = [100,105]) && (AnimElem = 1, > 0) && (Command != "holdfwd") && (BackEdgeBodyDist > -5) && (Pos Y >= 0))
trigger2 = ((StateNo = 200)) && (MoveContact)
ignorehitpause = 1

;---------------------------------------------------------------------------
;Stand Strong Slice
[State -1: Stand Strong Slice]
type = ChangeState
value = 220
triggerall = (Command = "z") && (Command != "holddown") && (Command != "holdfwd")
trigger1 = ((StateType = S) && (Ctrl)) || ((StateNo = [100,105]) && (AnimElem = 1, > 0) && (Command != "holdfwd") && (BackEdgeBodyDist > -5) && (Pos Y >= 0))
trigger2 = ((StateNo = 210)) && (MoveContact)
ignorehitpause = 1

;---------------------------------------------------------------------------
;Running Slice
[State -1: Running Slice]
type = ChangeState
value = 230
triggerall = ((Command = "x") || (Command = "y") || (Command = "z")) && (Command != "a") && (Command != "b") && (Command != "c")
trigger1 = (StateNo = [100,101]) && (Command = "holdfwd") && (BackEdgeBodyDist > 5) && (Pos Y >= 0)
ignorehitpause = 1

;---------------------------------------------------------------------------

I need the value number *200,210,220* to work when walking and not work when running. And i need the value number 230 to work only when running. This is my problem and i need help to fix it. :'(

Cyanide

Wrong forum. Also, you've told it to work while running.

stateno = [100,105] that means "while running is OK" At the same time, you have != "holdfwd" which is also stop running, and strangely enough, stop walking. Basically this code is telling it to do everything you don't want, and everything you do want at the same time.

I also don't see the point in your pos Y triggers, or the backedgebodydist ones. They make no sense if you're in a STANDING state.


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.