jcae2798 132 Posted September 2, 2017 Hey guys, wondering if there is a easy way to take vanilla music and set it up in description file to use as a sound or SFX file to allow it to play from objects. Example below but not having much success at multiple attempts. Also searched here and WIKI with no luck. Any advice would be appreciated! class CfgSounds { sounds[] = {}; class MUSIC1 { sound[] = {"\A3\music_f_exp\Music\AmbientTrack02a_F_EXP.ogg",50,1}; titles[] = {}; }; }; OBJECT say3d "MUSIC1" Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted September 3, 2017 As far as I know CfgSounds only accepts mono files, so you'd need to convert them. Cheers 1 Share this post Link to post Share on other sites
feuerexcz 11 Posted September 3, 2017 You can use playSound3D for vanilla sounds, and don't even need the description.ext at all. The command only needs the path to your file and a position / object to play at. playSound3D ["A3\music_f_exp\Music\AmbientTrack02a_F_EXP.ogg", myObject]; If you'd still prefer to have the sound defined in CfgSounds, use a @ instead of \ at the start of the path to the file. Same applies to CfgSFX if you want to use it. class CfgSounds { sounds[] = {}; class MUSIC1 { sound[] = {"@A3\music_f_exp\Music\AmbientTrack02a_F_EXP.ogg",50,1}; titles[] = {}; }; }; See the NOTE on wiki. https://community.bistudio.com/wiki/Description.ext#CfgSounds 1 Share this post Link to post Share on other sites
jcae2798 132 Posted September 4, 2017 Nice! It works. Thanks man, exactly what i needed :) Share this post Link to post Share on other sites