YesNoOk
avatar

How do I make the Win sound and Draw sound work? (Read 1668 times)

Started by ReduxMercenaryT, December 19, 2009, 11:02:16 am
Share this topic:
How do I make the Win sound and Draw sound work?
#1  December 19, 2009, 11:02:16 am
  • ***
  • 2Lazy2SpriteMoreNova
I want to add a Winner-Sound and Draw sound.

Both sounds are in Fighter factory.

You Win
Group: 0
Sound: 9

Draw Game
Group: 0
Sound: 10

I tried to go into the fight.def and added win.snd = 0,9 in the Win section - But it doesnt work.


fight.def


This is what it looked like

;------------------------------------------------- Time to wait before showing win/draw message
win.time = 60

;------------------------------------------------- 1-Player Win
; Win text
win.offset = 160, 70
win.font = 6,0
win.text = %s Wins
win.displaytime = 540
win.snd = 0,9

;------------------------------------------------- 2-Player Win
; 2-player win text
win2.offset = 160, 70
win2.font = 6,0
win2.text = %s and %s Win
win2.displaytime = 540
win2.snd = 0,9

;------------------------------------------------- Draw Game
; Draw text
draw.offset = 160, 70
draw.font = 6,0
draw.text = Draw Game
draw.displaytime = 540
draw.snd = 0,10
Re: How do I make the Win sound and Draw sound work?
#2  December 19, 2009, 08:45:52 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Up a bit

Quote
; KO
KO.time    = 0              ;Time to show KO component
KO.offset  = 160, 70        ;Component for KO display
KO.anim    = 200            ;.
KO.snd     = 2,0            ;Sound to play for KO announcement
; Double KO
DKO.offset = 160, 70
DKO.font   = 1,5
DKO.text   = Double K.O.
DKO.displaytime = 60
DKO.snd    = 2,1
; Time Over
TO.offset  = 160, 70
TO.font    = 1,5
TO.text    = Time Over
TO.displaytime = 60
TO.snd     = 2,2
KO.sndtime = 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: How do I make the Win sound and Draw sound work?
#3  December 20, 2009, 02:26:42 am
  • ***
  • 2Lazy2SpriteMoreNova
Already got those covered,  was talikng about the sound it plays when a fighter wins.
Re: How do I make the Win sound and Draw sound work?
#4  December 20, 2009, 02:31:40 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
That is the sound played. It doesn't play more than KO. At no point does it say "you win"

Mugen doesn't do that. Yet.


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: How do I make the Win sound and Draw sound work?
#5  December 20, 2009, 05:31:54 am
  • ***
  • 2Lazy2SpriteMoreNova
That is the sound played. It doesn't play more than KO. At no point does it say "you win"

Mugen doesn't do that. Yet.

I guess not, yet Syn pulled it off on his screenpack, the You win and You lose he made were programmed seperately in the fighter factory thats how I knew he made it possible.