YesNoOk
avatar

Stop sliding! (Read 192 times)

Started by Nitroshock6, January 27, 2013, 08:57:40 pm
Share this topic:
Stop sliding!
#1  January 27, 2013, 08:57:40 pm
  • *
  • Everybody has a jerk side in them, trust me.
    • Canada
    • nitroshock6@gmail.com
I was making and edit of Rcw's Snivy with attacks, and I made a new move but it reapeats until I'm hit.

[Statedef 9000]
type    = S
movetype= A
physics = S
juggle  = 4
poweradd= 65
ctrl = 0
velset = 0,0
anim = 9000
sprpriority = -1

[State 9000, Width]
type = Width
trigger1 = (AnimElemTime (2) >= 0) && (AnimElemTime (7) < 0)
value = 15,0

[State 9000, 1]
type = PlaySnd
trigger1 = Time = 2
value = 0, 4

[State 9000, 2]
type = HitDef
trigger1 = AnimElem = 3
attr = S, NA
animtype  = Medium
damage    = 57
guardflag = MA
pausetime = 12,12
sparkno = 1
sparkxy = -10,-70
hitsound   = 5,2
guardsound = 6,0
ground.type = High
ground.slidetime = 12
ground.hittime  = 15
ground.velocity = -5.5
air.velocity = -2.5,-4

[State 9000, 1]
type = PosAdd
trigger1 = AnimElem = 1
x = 25


[State 9000, 2]
type = PosAdd
trigger1 = AnimElem = 2
x = 25

[State 9000, 3]
type = HitDef
trigger1 = AnimElem = 2
attr = S, NA
animtype  = Medium
damage    = 57
guardflag = MA
pausetime = 12,12
sparkno = 1
sparkxy = -10,-70
hitsound   = 5,2
guardsound = 6,0
ground.type = High
ground.slidetime = 12
ground.hittime  = 13
ground.velocity = -5.5
air.velocity = -2.5,-4

[State 9000, 5]
type = ChangeAnim
trigger1 = AnimElemTime(5) > 0 && AnimElemTime(6) <= 0
trigger1 = movecontact
ignorehitpause = 1
persistent = 1
value = 1
elem = 6

; ‰º‚̃Xƒe[ƒg‚Å•\ަ‡ˆÊ‚ð‚Q‚É‚µ‚Ä‘ŠŽè‚æ‚èŽè‘O‚É‚µ‚Ä‚¢‚Ü‚·B
[State 9000, 4]
type = SprPriority
trigger1 = AnimElem = 5
value = 0
ctrl = 1

[State 9000, 5]
type = ChangeState
trigger1 = AnimTime = 4
value = 0
ctrl = 1
Re: Stop sliding!
#2  January 27, 2013, 09:19:49 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
iirc, you'll never reach animtime = 4 because that's 4 ticks after the end of the animation.

Try animtime = 0


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.
Re: Stop sliding!
#3  January 28, 2013, 05:30:10 am
  • *
  • Everybody has a jerk side in them, trust me.
    • Canada
    • nitroshock6@gmail.com
Thanx man