Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Roy fokker on March 19, 2004, 06:25:20 am

Title: play-sound-from-file sexp
Post by: Roy fokker on March 19, 2004, 06:25:20 am
how the hell do you get this sexp to work i did everything the readme said it 44hz and 16bit and i placed it in the music folder and stopped the current music from playing just before the file starts but nothing? do you have to have the wav extention on the end of the file name or just its name??:confused: :confused: :confused: :(
Title: play-sound-from-file sexp
Post by: phreak on March 19, 2004, 10:40:05 am
you have to have the wav extension and it should be in the data/music directory.  also make sure it plays ingame first by renaming it to Aquitane.wav so it will play in the terran main hall
Title: play-sound-from-file sexp
Post by: Roy fokker on March 19, 2004, 04:48:31 pm
hmmm it doesn't seem to work maybe cause the files to big know any programs good for compressing files
Title: play-sound-from-file sexp
Post by: Darkblade on March 20, 2004, 11:09:46 am
Quote
Originally posted by Roy fokker
hmmm it doesn't seem to work maybe cause the files to big know any programs good for compressing files


To encode wave files (to ADPCM or whatever they are)?

Goldwave is quite good. :)
Title: play-sound-from-file sexp
Post by: Silent Warrior on March 22, 2004, 05:51:21 am
Hell, even Sound recorder can do that. Not that anyone'll vouch for it's quality or anything, but it's easy to find and use.