Loreansz 1 Posted December 9, 2015 Note, I have looked everywhere for a solution. I've used the search function on this forum. I've tried multiple peoples advice on different websites that I found, and I have not found a solution. It's been about 2 hours now. In a quick summary, I'm making a hostage mission. The hostages are AI citizens that are static, they don't move, and Blufor comes and picks them up and brings them to the hostage extraction (Basically CSGO's version of the hostage gamemode.) Everythings gone pretty smooth, everythings working, I'm just making the final touches. I'm trying to add sounds for when you pick up the hostages. Sounds easy, huh? Yea, no. Either Arma 3 is broken or my client is, no matter what I try I just cannot get these sounds working. I have Cfgsounds set up in my description.ext, and I have tried using the following commands in the debug console to no effect hostage say "takehostage"; hostage playSound "takehostage"; Neither work. Here is my description.ext: class CfgSounds { sounds[] = {takehostages,drophostages,breathings}; class takehostages { name = "takehostage"; sound[] = {"sounds\takehostage.ogg", db+10, 0}; titles[] = {0,""}; }; class drophostages { name = "drophostage"; sound[] = {"sounds\drophostage.ogg", db+10, 0}; titles[] = {0,""}; }; class breathings { name = "breathing"; sound[] = {"sounds\drophostage.ogg", db+10, 0}; titles[] = {0,""}; }; }; enableDebugConsole = 1; saving = 0; disabledAI = 1; Whenever I attempt to play the sound, it says that it cannot find the file. Even when it does find the file, it doesn't play the sound. I've tried titles, the titles appear. This isn't the only one I've used, I've copy and pasted at least 3 or 4 different ones from other websites and tried using them. Still didn't work. I am using ogg files and have tried about 2 or 3 different converters, one straight from youtube into ogg, one from a wave file into ogg, and one in sony vegas pro rendered into ogg format. If anyone can help, such as giving me a copy of one of their missions that has working sounds, that was be great. Share this post Link to post Share on other sites
killzone_kid 1331 Posted December 9, 2015 Here is your problemhostage say "takehostage"; https://community.bistudio.com/wiki/say sound: String classname. Defined in Description.ext class takehostages{ name = "takehostage"; hostage say "takehostages"; //WORKS HURRAY! Share this post Link to post Share on other sites
killzone_kid 1331 Posted December 9, 2015 P.S. Just realised, you probably thoughtclass blabla {name = ""was classnameClassname is the name of the class, in this case blabla Share this post Link to post Share on other sites
Loreansz 1 Posted December 10, 2015 It still is not working. Same issue as before, sound isn't playing. It isn't giving me an error that it cannot find the file. Does the ogg file need to be a certain size? Have any special properties? Share this post Link to post Share on other sites
inlesco 233 Posted December 10, 2015 Have you tried the same setup with CfgMusic? Never name actual sound classes so similar to soundnames, you can mistake them easily. Share this post Link to post Share on other sites
killzone_kid 1331 Posted December 10, 2015 It still is not working. Same issue as before, sound isn't playing. It isn't giving me an error that it cannot find the file. Does the ogg file need to be a certain size? Have any special properties? it works for me. I copied one of the .ogg used in game into missiondirectory\sounds and there is no problem Share this post Link to post Share on other sites