Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Newbie on April 01, 2003, 11:43:00 PM

Title: How can I put music in the game? Play *.wav files?
Post by: Newbie on April 01, 2003, 11:43:00 PM
How can I play *.wav file? The help doesn't say much about it.
Title: Re:How can I put music in the game? Play *.wav files?
Post by: Jerrot on April 02, 2003, 12:01:41 AM
Hi, err... newbie Newbie!  ;)

How can I play *.wav file? The help doesn't say much about it.

It works the same way as it does with .ogg files.
Have a try with these fine commands :

Code: [Select]
Game.PlaySound("sounds\mail.wav");and
Code: [Select]
Game.PlayMusic("music\loop.wav");
If you want to use it for speaking characters, you can also use the Talk command:

Code: [Select]
actor.Talk("Wow, a green moon! Where am I ?", "alienmoon.ogg");
Hope this helps, until the documentation is finished (hint, hint... ;-) !).

Greetings, Jerrot.
Title: Re:How can I put music in the game? Play *.wav files?
Post by: Mnemonic on April 02, 2003, 04:30:15 PM
Hope this helps, until the documentation is finished (hint, hint... ;-) !).
Ok, ok, the updated documentation is currently (almost) on top of my priority list, satisfied? ;)
Title: Re:How can I put music in the game? Play *.wav files?
Post by: Jerrot on April 02, 2003, 04:35:03 PM
Ok, ok, the updated documentation is currently (almost) on top of my priority list, satisfied? ;)

VERY! (almost)  ;) :D