Jump to content
Sign in to follow this  
fhreed

Music (custom)

Recommended Posts

Hello, im trying to put custom music into my game, i got the file playing and all but its known as "sound" ingame so i need to turn up the sound "bar" to increase the volume.

Anyways, on my mission we are on a boat, and then if increase the boat sound it will blow my headset off my head, if you get my point. and the music sound is so low i can barely hear it...

The way i do it is that i have a folder with sound... the whole:

class CfgSounds

{

// List of sounds (.ogg files without the .ogg extension)

sounds[] = {track1, track2};

// Definition for each sound

class track1

{

name = "track1"; // Name for mission editor

sound[] = {\sound\track1.ogg, 1, 1.0};

titles[] = { };

};

class track2

{

name = "track2"; // Name for mission editor

sound[] = {\sound\track2.ogg, 1, 1.0};

titles[] = { };

};

class track3

{

name = "track3"; // Name for mission editor

sound[] = {\sound\track2.ogg, 1, 1.0};

titles[] = { };

};

class track4

{

name = "track4"; // Name for mission editor

sound[] = {\sound\track2.ogg, 1, 1.0};

titles[] = { };

};

};

and yeah the file as .ogg in the seperate sound folder.

So what i would like to do is to increase the volume of my music file without increasing the boat sound, or if there is a way to turn down the boat sound invidualy i would like to know aswell.

I've also tryed to increase the music file outside the game, but that only fucks up the quality and once its loud enough to "hear" it it just sounds like someone is blowing into a microphone.

Thanks in advance

Fhreed

Share this post


Link to post
Share on other sites

sound[] = {\sound\track1.ogg, [color="Red"]1[/color], 1.0};

That is the volume I think, increase that number to increase the base volume of the sound.

Share this post


Link to post
Share on other sites
sound[] = {\sound\track1.ogg, [color="Red"]1[/color], 1.0};

That is the volume I think, increase that number to increase the base volume of the sound.

Thats it! Thanks Andy. so simple, yet so effective ^^'

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×