Icaruk 14 Posted August 16, 2016 In description.ext When the file is on mission folder, it works: class CfgMusic { tracks[]={}; class music1 { name = "music1"; sound[] = {"music1.ogg", db-2, 1.0}; }; }; The problem comes when I put the file inside a addon:I tried: sound[] = {"\modFolder\music1.ogg", db-2, 1.0}; And: sound[] = {"@modFolder\music1.ogg", db-2, 1.0}; (Like cfgSounds)None of these works.I have files on the same addon working with cfgSounds. Share this post Link to post Share on other sites
davidoss 552 Posted August 16, 2016 If there any sound files in @modFolder mod they are already have class defined in mod config. Use those classes in your playMusic command. Share this post Link to post Share on other sites
Icaruk 14 Posted August 18, 2016 If there any sound files in @modFolder mod they are already have class defined in mod config. Use those classes in your playMusic command. Defining clases on config.cpp in such addon works fine. Thanks! Share this post Link to post Share on other sites