Brother Jason 0 Posted March 29, 2017 Sorry for the repost, I know this has been discussed before, but I have tried five different step by step tutorials, and have not been able to get music to play in my mission. I just want to add a few custom songs for the mission's music. Can anyone assist? Many thanks in advance. Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 29, 2017 What have you tried so far? Share this post Link to post Share on other sites
Brother Jason 0 Posted March 29, 2017 41 minutes ago, killzone_kid said: What have you tried so far? Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 29, 2017 Seems legit, but what you have tried so far that doesn't work? Share this post Link to post Share on other sites
Brother Jason 0 Posted March 29, 2017 13 minutes ago, killzone_kid said: Seems legit, but what you have tried so far that doesn't work? So the 1st and 3rd ones yielded nothing. The 2nd one got me this and this Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 29, 2017 0 = [] spawn... for starters. If your config is correct it should work after you correct this. Share this post Link to post Share on other sites
Brother Jason 0 Posted March 29, 2017 Hmm, that got rid of the error, still no music. Here's my config.https://gyazo.com/ff9b5b252d03dbcf07dacd4db28a1234 Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 29, 2017 You are supposed to use class name, not the file name. The class name is "music1" in that picture. So it should be playMusic ["music1", 1] and not playMusic ["Track01", 1] Share this post Link to post Share on other sites
Brother Jason 0 Posted March 30, 2017 Current setup, still not yielding results.https://gyazo.com/63d8067931f6efcb5391cabcb05afdcehttps://gyazo.com/c6b98582853804b4d7a1d8b032a9583f Share this post Link to post Share on other sites
MKD3 27 Posted March 30, 2017 I use it as a sound config so players who have music turned off hear it. Same thing for music but slightly different configs. Add (in this case) music.ogg to your mission file (copy class music and change it for additional files) //In description.ext class CfgSounds { class music { name = "music"; sound[] = {"music.ogg", db+5, 1}; titles[] = {}; }; }; //Locally on clients player say2d 'Music'; Thats how I do it for intro scenes, basic and works Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 30, 2017 1 hour ago, Brother Jason said: Current setup, still not yielding results.https://gyazo.com/63d8067931f6efcb5391cabcb05afdcehttps://gyazo.com/c6b98582853804b4d7a1d8b032a9583f Seems ok. Other things to check 1. make sure that the description.ext is just that and not description.ext.txt as some editors can save it this way 2. the ogg files encoded correctly. I would copy and paste arma ogg just to eliminate the possibility of wrong encoding 3. remove first \ from file path so it starts with music not \music 4. make sure files are actually present in folder music which is in mission folder 5. save mission after every description.ext editing, this will refresh it. 6. make sure the music volume is turned up in sound options Share this post Link to post Share on other sites
Brother Jason 0 Posted March 30, 2017 1 hour ago, killzone_kid said: Seems ok. Other things to check 1. make sure that the description.ext is just that and not description.ext.txt as some editors can save it this way 2. the ogg files encoded correctly. I would copy and paste arma ogg just to eliminate the possibility of wrong encoding 3. remove first \ from file path so it starts with music not \music 4. make sure files are actually present in folder music which is in mission folder 5. save mission after every description.ext editing, this will refresh it. 6. make sure the music volume is turned up in sound options Hmm, double checked all of these. Everything looks good. 2 hours ago, MKD3-FHI said: I use it as a sound config so players who have music turned off hear it. Same thing for music but slightly different configs. Add (in this case) music.ogg to your mission file (copy class music and change it for additional files) //In description.ext class CfgSounds { class music { name = "music"; sound[] = {"music.ogg", db+5, 1}; titles[] = {}; }; }; //Locally on clients player say2d 'Music'; Thats how I do it for intro scenes, basic and works I'll try this out tomorrow, going to bed for now, I'll get back to you on how it works though. Share this post Link to post Share on other sites