Jump to content
Sign in to follow this  
Laviski

simple music problem.

Recommended Posts

ok can some one point out what i did wrong here?

class CfgMusic
{
tracks[] = {Grave, possible, saw, Break};

class Graveyard
{
	name = "Graved";
	sound[] = {\sound\Grave.ogg, db + 0, 1.0};
};

class Mimpossible
{
	name = "possible";
	sound[] = {\sound\possible.ogg, db + 0, 1.0};
};

class saw
{
	name = "saw";
	sound[] = {\sound\saw.ogg, db + 0, 1.0};
};

class Break
{
	name = "Break";
	sound[] = {\sound\Break.ogg, db + 0, 1.0};
};
};

the grave song works but the rest don't obviously i missed something....

Share this post


Link to post
Share on other sites

Not sure why you're using different names all over the place, but try this:

class CfgMusic
{
// List of tracks (.ogg files without the .ogg extension)
tracks[] = {Grave, possible, saw, Break};

// Definition for each sound
class Grave
{
	name = "Grave"; // Name for mission editor
	sound[] = {\sound\Grave.ogg, db + 0, 1.0};
	titles[] = {0, ""};
};
class possible
{
	name = "possible"; // Name for mission editor
	sound[] = {\sound\possible.ogg, db + 0, 1.0};
	titles[] = {0, ""};
};
class saw
{
	name = "saw"; // Name for mission editor
	sound[] = {\sound\saw.ogg, db + 0, 1.0};
	titles[] = {0, ""};
};
class Break
{
	name = "Break"; // Name for mission editor
	sound[] = {\sound\Break.ogg, db + 0, 1.0};
	titles[] = {0, ""};
};
};

Share this post


Link to post
Share on other sites

first off i wanna say thx kylania for helpin me in my threads.

ok but i'm gonna start losing hair soon on why some things choose to work when they want to.

music works now magically :D

another problem i noticed is when i export to multiplayer mission it doesn't do it right. I have 24 team1 and 3 on team 2 but when i load the pbo i only have 12 on team 1 and 1 team 2. and i might as well ask back in ofp days it was .sqs files for the scripts can someone explain the difference of .sqf other than the extension?

Edited by Laviski
music works now.

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  

×