#1
Posted by ihavenoinsight
in Change state make explod play only once (Started by ihavenoinsight February 05, 2025, 06:42:42 amBoard: M.U.G.E.N Development Help
;==Attack 1=============================================================================================
[Statedef 230]
type = S
movetype = A
physics = S
juggle = 4
ctrl = 0
anim = 230
sprpriority = 2
;effect
[State effect.10511]
type = Explod
trigger1 = time = 2
anim = 10511
ID = 10511
pos = -150,120
postype = front
bindtime = -1
scale = 1,1
removetime = -1
sprpriority = 3
supermovetime = 2147483647
pausemovetime = 2147483647
[State time.10511]
type = VarSet
trigger1 = time = 2
v = 10
value = 0
;sound effect
[State sound]
type = PlaySnd
trigger1 = Time = 1
value = 0, 1
;effect 2
[State effect.10512]
type = Explod
trigger1 = time = 2
anim = 10512
ID = 10512
pos = -140,180
postype = front
bindtime = -1
scale = 1,1
removetime = -1
sprpriority = 3
supermovetime = 2147483647
pausemovetime = 2147483647
[State time.10512]
type = VarSet
trigger1 = time = 2
v = 11
value = 0
[State time.cs]
type = VarSet
trigger1 = var(10) >= 100 ; When Effect 2 has finished, update var(12)
v = 12
value = 1
[State changestate]
type = ChangeState
trigger1 = numexplod(10511) = 0 && numexplod(10512) = 0 && var(12) >= 1
value = 0
ctrl = 1
[State reset.time.cs]
type = VarSet
trigger1 = numexplod(10511) = 0 && numexplod(10512) = 0
v = 10
value = 0
[State reset.time.cs]
type = VarSet
trigger1 = numexplod(10511) = 0 && numexplod(10512) = 0
v = 11
value = 0
;===effect time
[State -2, 10511.var]
type = VarAdd
trigger1 = var(10) >= 0
v = 10
value = 1
[State -2, RemoveExplod.10511]
type = RemoveExplod
trigger1 = var(10) >= 100
id = 10511;<---edit this
[State -2, 10512.var]
type = VarAdd
trigger1 = var(10) >= 0
v = 11
value = 1
[State -2, RemoveExplod.10512]
type = RemoveExplod
trigger1 = var(11) >= 17
id = 10512
[State reset.var.12]
type = VarSet
trigger1 = numexplod(10511) = 0 && numexplod(10512) = 0
v = 12
value = 0
He has a hidden mode, now I remember, it was psycho gouki with psycho power from what I could remember, he needs to be configure in a config file to enable him, tin made a gato with ex mode like what you did to umihei's ryu and in sf3 hitspark and sound effect, one of my best favorite gato back then you might want to consider him if you want and named him Gato Ex or something
This reminded me, I saw Ikaruga's twitter in one of his tweet, he mentioned about deciding to make Kaede from Last Blade series in Mark of the Wolves style, but he seems to be inactive for like two years
pausetime = 5 ,floor(8*0.95**(target,gethitvar(hitcount)))
Yeah, probably just changing mugenversion to 1.0 should fix that.