Blanco 0 Posted August 20, 2003 Finaly, I found out how to use CfgSFX sounds in a mission. After a billion crashes to desktop , yesterday for the first time I could hear my sample activated via a trigger - effects- trigger sound. But... I made a some kind of riversound and i want it played in a constant loop. Here is the description.ext Quote[/b] ]class CfgSFX{ // sfxfile, vol, frq, probab, min_delay, mid_delay, max_delay sounds[] = { StreamSfx }; class StreamSfx { sounds[]={"river"}; name = "riversounds"; river[]={"Stream_mono1.ogg",0.8,1,1,0,0,0}; empty[]={"","","","",0.000000,2,40}; }; The \\ line is a info line I took from the Official config.ccp so I guess those are the right values. Who on earth knows the usage of the Empty line? The problem is : The sample 's cut off after every loop, why is that? The sound is a constant bitrate,16bit, mono and 22050Khz ogg;file. I tried stereo... no succes... In fact I have only 2 proper examples of a CfgSFX sound in a constant loop. Both were made by AKchester in his AKcustumSoundtuto. I looked how he did it , and looked again and again,... It's a big mistery why it works for him... I use Oggdropper to convert my wav. edited with soundforge 5.0. -When I try to convert a  stereo 22050Khz wav to .ogg with oggdropper, it refuses to do that. -When I save the wav as .ogg directly in soundforge, OFp refuses to play it? why is this so goddamn difficult!  Are there some souls here that made CfgSFX sounds with succes? If you are the one... ENLIGHT mE!!! Btw: I uploaded the example to my briefcase... http://au.f2.pg.briefcase.yahoo.com/ ID ftielemans PW dey8p7 File is triggersounds.noe.zip in the folder tuto's... Share this post Link to post Share on other sites
Guest Posted August 21, 2003 I have amazingly little experience with audio in OFP, but my suggestion is try a Mono wav file rather than Stereo. The little I have done I could get to work with Mono but not Stereo. Share this post Link to post Share on other sites