Forum Jump :

Author Message


Posts: 13
Rank:


Level: Member

Country: ca
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2010-08-09 03:55        
     
I can't seem to get my second song working?
class CfgMusic
{
	sounds[] = {Cheeseburger};
	class Cheeseburger
	{ 
	    name="Cheeseburger";
		sound[]={\Music\Cheeseburger.ogg, db+15, 1.0};
		titles[]={};
    };

};

	sounds[] = {Timesplitters};
	class Timesplitters
	{ 
	    name="Timesplitters";
		sound[]={\Music\Timesplitters.ogg, db+15, 1.0};
		titles[]={};
    };

};



Author Message

Pirin  



Posts: 1547
Rank:


Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 45
In-game name: kylania

 
#2 Posted at 2010-08-09 04:59        
     
class CfgMusic
{
	// List of tracks (.ogg files without the .ogg extension)
	tracks[] = {Cheeseburger, Timesplitters};

	// Definition for each sound
	class inflight
	{
		name = "Cheeseburger"; // Name for mission editor
		sound[] = {\Music\Cheeseburger.ogg, db + 0, 1.0};
		titles[] = {0, ""};
	};
	class nooneknows
	{
		name = "Timesplitters"; // Name for mission editor
		sound[] = {\Music\Timesplitters.ogg, db + 0, 1.0};
		titles[] = {0, ""};
	};
};


Advertisement


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 30
In-game name: VIPER [RR]

 
#3 Posted at 2010-08-10 22:44        
     
class CfgMusic
{
  tracks[]={nam,eve};
  class nam
  {
    name = "Cheeseburger";
    sound[] = {\music\Cheeseburger.ogg, db+10, 1.0};
  };
  class eve
  {
    name = "Timesplitters";
    sound[] = {\music\Timesplitters.ogg,db+15, 1.0};
  };
};

I increase my decibels though you can change this, and make sure you delete the mission from your program files and then search for the song in editor, I found that sometimes the mission in your missions/mpmissions folder stops you from finding your extra songs