News:

MFG's Character of the Month: October 2026 Nominations

Main Menu

CvS2 Roll

Started by unbeknowNst, November 18, 2008, 04:40:32 AM

Previous topic - Next topic

unbeknowNst

CNS:;---------------------------------------------------------------------------
; Roll Forward (Rolling)
[Statedef 800]
type    = S
physics = N
movetype= I
anim = 800
velset = 0
ctrl = 0

[State 800, Voice]
type = PlaySnd
trigger1 = AnimElem = 2
value = S0+(random%6)
channel = 0

[State 800, VelSet]
type = VelSet
trigger1 = AnimElem = 1
x = 5

[State 800, VelSet]
type = VelSet
trigger1 = AnimElem = 3
x = 0

[State 800, HitBy]
type = HitBy
trigger1 = Time <= 20
value = SCA,NT,ST,HT

[State 800, 1]
type = PlayerPush
trigger1 = AnimElemTime(2) > 0
value = 0

[state 800, AfterImage]
type = AfterImage
trigger1 = AnimElem = 1
Time = 20
TimeGap = 1
FrameGap = 10
length = 30
paladd = 0,0,0
palmul = .9,.9,.9
palcontrast = 160,160,160
trans = add1

[State 800, StateChange]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

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

CMD:;---------------------------------------------------------------------------
; Roll Forward
[State -1, Roll/Dodge]
type = ChangeState
value = 800
triggerall = roundstate = 2
triggerall = command = "recovery"
trigger1 = statetype = S
trigger1 = ctrl || (StateNo = 100 && AnimElemTime(2) >1) || StateNo = 101
trigger2 = statetype = C
trigger2 = ctrl
;---------------------------------------------------------------------------

yeah it isn't working... and in the AIR/SFF the anim for rolling is 800.

Cyanide

It isn't working huh? That's informative. I would hope you'd know better and give us something to actually bloody LOOK for by now.


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.

Anjel

Make sure that you don't have throw on 800.
Maybe it changes to throw?
My shitty mugen stuff:

unbeknowNst

My throw stuff States and stuff is ANIM and Statedef 900.
The throw does indeed work.

Quote from: Cyanide on November 18, 2008, 05:08:38 AM
It isn't working huh? That's informative. I would hope you'd know better and give us something to actually bloody LOOK for by now.

Well, you see, I don't quite know what else I should show you. When I press x+a (the buttons set to activate roll) it doesn't even activate.

Bastard Mami

that was FAR more informative. the most likely cause is that you put it after other commands that the same buttons as the recovery to trigger. if the recovery is x+y you cmd code should be before any move that only uses x or y.

unbeknowNst

K so. Actually in CvS2 the mapping for roll is supposed to be x+a, so I went into CMD and changed it to x+a.
[Command]
name = "recovery" ;Required (do not remove)
command = x+a
time = 15

Still doesn't work though... darn nit.

Bastard Mami

I have no idea why you did the last part.

I emant change the order in the cmd, for the changestates.

unbeknowNst

OMFG I SLAPPED MYSELF FOR BEING SO STUPID.

Thank you sir.