Jump to content
Sign in to follow this  
 EO

Adding music to mission....Help!

Recommended Posts

Good evening Armaholics......i would like to add a custom soundtrack to a mission i'm creating, similar to the way the DayZ music was structured in the original DayZ mod. I always loved the way the music would randomly just bubble up out of nowhere during gameplay.....I would like some help as to how to do something similar.....:confused:

Thanks.

Share this post


Link to post
Share on other sites

Hi. First of you need to define class at description.ext file.

For example:

class CfgMusic {
tracks[] = {intro,task};
class intro {name="m_intro";sound[] = {"music\intro.ogg",db,1.0};titles[] = {};};
class task {name="m_task";sound[] = {"music\task.ogg",db,1.0};titles[] = {};};
};

Then you can play this client side through command:

playMusic "task";
playMusic "intro";

Edited by DaVIdoSS

Share this post


Link to post
Share on other sites

Thanks for the replies guys, something to chew on!! :thanx:

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  

×