Need help adding sounds.

Started by Mrcrab, September 21, 2007, 01:08:47 AM

Previous topic - Next topic

Mrcrab

Ok I have ripped sounds I want to use for my character.Its in a "wav." format.I put the sound & group # to 8000.I put in the right codes in,but I cant hear anything,what am I doing wrong?

[State 8000, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = 8000,8000
volume = 165
channel = -1
freqmul = 1.0
loop = 0
pan = 0

ZzEzZ

u did define ur .snd file in ur .def right?

Mrcrab

Yes
; Files for the player
[Files]
cmd     = Bouncer.cmd   ;Command set
cns     = Bouncer.cns   ;Constants
st      = Bouncer.cns   ;States
stcommon = common1.cns ;Common states
sprite  = Bouncer.sff   ;Sprite
anim    = Bouncer.air   ;Animation
;sound   = Bouncer.snd   ;Sound
pal1    = Bouncer.act  ;Palettes

tetsuo9999

Add an S infront and changed the...just look here..

[State 8000, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S8000,0
volume = 165
WOO! WOO! WOO!
PSN / XBLA - ViewtifulSuxx

じゆう

Quote from: Mrcrab on September 22, 2007, 03:18:42 AM
Yes
; Files for the player
[Files]
cmd     = Bouncer.cmd   ;Command set
cns     = Bouncer.cns   ;Constants
st      = Bouncer.cns   ;States
stcommon = common1.cns ;Common states
sprite  = Bouncer.sff   ;Sprite
anim    = Bouncer.air   ;Animation
;sound   = Bouncer.snd   ;Sound
pal1    = Bouncer.act  ;Palettes


It could either be your plugins or your screen pack because the mugen fighters evolution screen pack doesn't play any sounds at all.

ZzEzZ

gintoki is right, but also... if its after a ; then mugen doesnt read it (it thinks its a comment) so delete that ; here
Quote;sound   = Bouncer.snd   ;Sound
and add the S as gintoki suggested previously

Mrcrab

Im still having a problem

Heres what I have done on the sounds.

-Sound is 8000 & its a group 8000
-sound   = Bouncer.snd   ;Sound(I deleted the symbol thingy)
-[State 8000, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S8000,0
volume = 165(changed the code to look like this)

Yet no sound is playing. --;

ZzEzZ

should b S8000,8000 bcuz of the way u added ur sound not S8000,0

edit: im not sure, bcuz i nvr tried... but i think the debug screen should tell u that sound S8000,0 doesnt exist in ur .snd
try testing in debug (ctrl + d)