EO 11231 Posted June 18, 2015 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
davidoss 550 Posted June 18, 2015 (edited) 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 June 18, 2015 by DaVIdoSS Share this post Link to post Share on other sites
Kydoimos 915 Posted June 18, 2015 Be sure to check out the music eventHandlers too - they're very helpful! https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#addMusicEventHandler Share this post Link to post Share on other sites
EO 11231 Posted June 18, 2015 Thanks for the replies guys, something to chew on!! Share this post Link to post Share on other sites
Undeceived 392 Posted June 19, 2015 Keep in mind that you can also set / change the volume of music and sound effects: https://community.bistudio.com/wiki/fadeMusic https://community.bistudio.com/wiki/fadeSound Share this post Link to post Share on other sites