Jump to content
Sign in to follow this  
Ssgt McKain

need help putting Multiple Music in game

Recommended Posts

Hello there people. I'm trying to put multiple music files in my mission, but I keep on getting errors like

"something doesn't have an entry" can anyone help me to put more than 1 song in this thing please.

what line do i need to fix?

respawn="group";

onLoadMission=Desert Island

class CfgMusic

{tracks[]={2};

class 2{name = "2";sound[] = {\music\2.ogg, db+30, 1.0};

class 1{name = "1";sound[] = {\music\1.ogg, db+30, 1.0};

class 3{name = "3";sound[] = {\music\3.ogg, db+30, 1.0};

};

Share this post


Link to post
Share on other sites

I have this problem too and asked it to RED by a private message here on this forum... We'll just have 2 wait then smile.gif It is possible and it's not very difficult but I tried it and my game crashes then smile.gif

Share this post


Link to post
Share on other sites

this is a working example, sorry i can't log in to see messages.

class CfgMusic

{

tracks[]=

{

mgun, rock

};

class mgun

{

name = "mgun";

sound[] = {\music\mgun.ogg, db+270, 1.0};

};

class rock

{

name = "rock";

sound[] = {\music\rock.ogg, db+70, 1.0};

};

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  

×