howdy m8.
well, there are several ways to create special sound effects (SFX)
one is to make a sound (making a house or a vehicle play a looped sound effect).
This is cool if ya wanna make that disco or bar for yer cutscene:
In CfgVehicles you have a class called "sound":
class Sound{};
class MySound: Sound
{
scope=public;
side = -1;
vehicleClass = Sounds;
icon = unknown_move;
mapSize = 1;
sound = "\MyAddon\MySound.ogg";
displayName = MySound;
};
...something like that anyway (try it for size, I cant remember the details)
Then, and this is what YOU wanna do, you can make a complete environSoundEffect :
This is both good & bad - the bad part is that the sound will play on & on 'till you leave the mission,
or fade the sounds & remove the trigger...
The cpp defines are almost like the ones above... lets see if I can remember it now... hmm..
class CfgEnvSounds
{
class MyAmbience
{
name="This Name will appear in the trigger";
sound[]={"\MyAddon\MyAmbience.ogg", db+5, 1};
soundNight[]={"\MyAddon\MyAmbience.ogg", db+5, 1}; titles[]={};
};
};
... I think its right! :-X ;D if not - I'll buy you a beer man
;D