coding sharingan

Started by YoungSamurai5, March 11, 2012, 02:15:12 AM

Previous topic - Next topic

YoungSamurai5

i have evrything right except for i dont know how to make the other player move slower can someone please help it would be much appreciated


[Statedef 50000]
type    = S
movetype= A
physics = S
juggle  = 7
poweradd= -3000
ctrl = 0
anim = 3050
sprpriority = 2

[State 50000, Explod]
type = Explod
trigger1 = Animelem = 1
anim = 3050
ID = 3050
pos = 0,0
postype = p1 ;p2,front,back,left,right
facing = 1
vfacing = 1
bindtime = 1
sprpriority = 3
supermovetime = 80

[State 50000, SuperPause]
type = SuperPause
trigger1 = Animelem = 1
time = 80
movetime = 80
darken = 1


[State 50000, VarSet]
type = VarSet
trigger1 = Animelem = 1
v = 0
value = 120




[State 50000, Changestate]
type = ChangeState
trigger1 = AnimTime = 0
value = -2
ctrl = 1


[state -2]
type = pause
trigger1 = var(0) > 0 && gametime%2 = 0
time = 1
movetime = 1


[state -2]
type = varadd
trigger1 = var(0) > 600 && gametime%2
v = 0
value = -1
supermovetime = 1
ignorehitpause = 1

[State -2]
type = BGPalFX
trigger1 = var(0) > 0
time = 10000
add = 100,-100,-100
mul = 256,256,256
ignorehitpause = 1

there is my code
mugen or nothin


YoungSamurai5

lol no one pay attention to this i figured it out
mugen or nothin


Fighting Toys Freak

 Add this to your code:

;Slow Down
[State 50000, Slow Down]
type = Pause
trigger1 = Timemod = (4,3)
time = 3
movetime = 3

or if the opponent is attacking you

;Slow Down when attacking
[State 50000, Slow Down]
type = Pause
trigger1 = (Enemynear(0),Movetype = A)&&(EnemyNear(0),MoveContact=1)
time = 3
movetime=3

To speed it up increase the time and movetime parameter.
Give more details of how you want to fix this "sharingan" statedef.