Jump to content
Sign in to follow this  
Anargy

Custom Music has no sound?

Recommended Posts

Hello,

I've been looking trough like 20 posts right now about the Custom Music and it not working or not making any sound.

I know this has been asked for like 20 times but non of these solutions seem to work for me. I tried FoxHound's website aswell but it just doesn't seem to work for me.

Well anyway, i made a trigger with Activated by Radio Alpha, and it can find the file but it doesn't play it.

I get no errors but just no sound. This here is my scriptcode.

//Music//

class CfgMusic

{

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

tracks[] = {leone};

// Definition for each sound

class leone

{

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

sound[] = {\music\leone.ogg, db + 10, 1.0};

titles[] = {0, ""};

};

};

Thanks in advance, Justin.

[[solution posted below, can be closed]]

Edited by Anargy

Share this post


Link to post
Share on other sites

Nvm, found the solution already.

class CfgSounds

{

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

sounds[] = {leone};

// Definition for each sound

class leone

{

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

sound[] = {\sound\leone.ogg, db+20, 1.0};

titles[] = {};

};

};

Sounds worked better and put every file outside the map aswell.

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  

×