News:

MFG's Character of the Month: September 2026 Voting

Main Menu

Run Sound..

Started by tetsuo9999, October 08, 2007, 03:19:13 PM

Previous topic - Next topic

tetsuo9999

Im trying to have a stepping noise when my character runs..

[State -3, Running]
type = PlaySnd
trigger1 = stateno = 100 && Animelem = 1
value = s1, 0
loop = 1

[State -3, Running]
type = StopSnd
trigger1 = stateno != 100

It doesn't work.  ???
WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx

Bastard Mami

do not use animelem as a trigger, first play aorund wiht it a bit by using time as a trigger.

tetsuo9999

WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx

Elix

I use this:
[State 100, Run Snd]
type = PlaySnd
trigger1 = AnimElem = 7
Persistent = 0
value = 100,0
loop = 1
channel = 20

[State -3]
type = StopSnd
trigger1 = PrevStateNo = 100
trigger2 = MoveType = H
IgnoreHitPause = 1
Persistent = 0
channel = 20
But still there's a bug when sound doesn't stop when you go to a custom state. (When being thrown, for example)

Bastard Mami

yah, because you use st-3, try using st-2 instead.

tetsuo9999

Thanks.


how can i make a Scream sound when he  gets k.o-ed.. ???
WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx

Bastard Mami

enable debug, then when killing someone check what states they enter. profit by modifying that state, you can take it from common1.cns then modify. another way is to check in the constants, as for that specific situation there is alreadya  reserved sound no.

ZzEzZ

put your scream under -3 with the trigger !alive

tetsuo9999

I did what "[E]arly Morning Poison" said.
It worked.  ;)
WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx