Small PlaySND problem

Started by LordShade67, June 02, 2016, 08:15:46 AM

Previous topic - Next topic

LordShade67


Yeah, I hate to call upon you guys again, but....apparently, this is a thing. The first footage is the intention.

Spoiler (click to show)
;Feeling Flat?
[Statedef 9001]
type    = S
physics = N
movetype = H
ctrl = 0
anim = 5002

[State 9001, PlaySnd]
type = PlaySnd
trigger1 = time
value = S2,15
volumescale = 100
ignorehitpause = 1
persistent = 0

[State 9001, LifeAdd]
type = LifeAdd
trigger1 = time = 0
value = -80

[State 9001, 1]
type = ChangeAnim
trigger1 = AnimExist(9001)
trigger1 = Anim != 9001
value = 9001

[State 9001, VelSet]
type = VelSet
trigger1 = time = 0
x = -2

[State 9001, SelfState]
type = SelfState
trigger1 = time > 16
value = 0
ctrl = 1

Cyanide

Why are you having the custom state play that sound? I'm assuming that the sound you have in the custom state is the one you're having issues with. You should not ever have a custom state play a sound, what happens if someone else is using it? If you need any noises to happen P1 should be doing the work.

I don't understand why you have a custom state at all for that move, but whatever. Put all your playsnds in the PLAYER states, not the opponent ones. As it is, well you're hitting him twice, so he's going into that state twice, so he's playing the sound twice.


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.

LordShade67

Quote from: Cyanide on June 02, 2016, 10:06:12 AMI don't understand why you have a custom state at all for that move, but whatever.

Source accuracy. In Clay Fighter 1/Tournament Edition, certain moves like Clown Dive and one of Tiny's force this flattened state. Valid point on the PlaySND part, though.