sound1[]={"bum2.ogg", db-05,1, 1, 0, 0, 0};
sfxfile = "burn.ogg"
volume = db-05
freq = 1 (pitch)
probab = 1 (always)
min_delay = 0
mid_delay = 0,
max_delay = 0
but what is ?
empty[]= {, , , , , , ,};
I'm struggling for so long with the cfgSFX class now.
I've made a river sound ("stream_mono.ogg") and I want it to play in a constant loop. After a billion crashes to desktop, finaly it worked with a 16bit,mono, 22015Khz ogg file.
44100Khz worked too but not in stereo...
but...
The sample is cut off...I have a very short silence between every loop. So it's useluss...
this is my description.ext
class CfgSFX
{sounds[] = { StreamFX};
class StreamFX
{
sounds[]={"river"};
name = "riversounds";
river[]={"Stream_mono1.ogg",db-08,1,1,0,0,0};
empty[]={"","","","",0.000000,2,40};
};
I took the empty[] line from AKchester soundtuto cause it has two proper CfgSFX sounds in a constant loop. The only 2 custom Sfxsounds I ever found in a tuto or mission btw
db-08,1,1,0,0,0
this is right huh?
prob is 1, delays are all 0
I've uploaded a testmission to my briefcase so if UR interested U can see it by yourself.
http://au.f2.pg.briefcase.yahoo.com/ID : ftielemans
PW : dey8p7
File is triggersounds.Noe.zip in the tuto's folder.
What am I doing wrong
I guess it has something to do with the format,...
When I use stereo it just don't work (only with cfgfSfx), I use oggdropper to convert and Soundforge for editing the sounds.
please HELP