Running attack help

Started by ZayOsiris Gaming, February 12, 2010, 07:39:16 PM

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. :'(

Nnaajj

#1
Basically...
Make a triggerall = stateno = 100 (running animation) on the running attack and do the same on the normal attacks BUT, make sure it's a !=.

Example:
;---------------------------------------------------------------------------
; AttackPhase1
[State -1, AttackPhase1]
type = Changestate
value = 200
triggerall= command != "holddown" && command = "x"
triggerall = command != "FF"
triggerall = command != "ViolentHammer"
triggerall = command != "SpinningLariat"
triggerall = stateno != 100
trigger1 = ctrl
trigger1 = statetype = S
trigger2 = stateno = 400
trigger2 = movecontact

;---------------------------------------------------------------------------
; Run+Attack
[State -1, Run+Attack]
type = ChangeState
value = 230
triggerall= command != "holddown" && command = "x"
triggerall = stateno = 100
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = command = "FF"
trigger3 = stateno = 833
trigger4 = stateno = 701
trigger4 = movecontact
Quote from: Luis Alejandro on July 27, 2010, 07:46:45 PM
Quote from: RaiN on July 27, 2010, 07:44:57 PM
Kinda strange but I woke up today and her hand was on my ass cheek
I won't suspect anything though I'll take it she was sleeping and didn't notice
you should have flipped over slowly

Cyanide

I thought i replied to this.

Your commands are out of whack completely. You tell them you can't be holding forward (drops you out of walk and run) but that you must be in state [100,105] which means you ARE in run, and you need to be holding forward. Sort them out.

Also, bah, copy paste code... sigh.


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.

ZayOsiris Gaming

^_^
Yeah sorry for reposting the same problem, but i got some help a little while ago and the problems fixed now. But thanks anyway you guys.