zwobot 22 Posted August 7, 2011 (edited) The "Combat Environment 1" environment sound in editor placed triggers is not played. Custom environment sounds defined in the description.ext file are not played either. Excerpt from arma2oa.rpt when launched with version 1.59.79384 ===================================================================== == C:\Games\Arma2\arma2OA.exe == "C:\Games\Arma2\arma2OA.exe" -nosplash -profiles=C:\Games\Arma2 -name=zwobot -cpucount=4 -window ===================================================================== Exe timestamp: 2011/04/03 10:37:12 Current time: 2011/08/07 09:30:11 Version 1.59.79384 Item str_disp_server_control listed twice Error: Audio - enumeration output devices failed. Warning: Audio device creation failed, attempt to create default audio: SamplesPerSec: 44100, channels: 2, bitsPerSample: 16 Audio device successfully created with default settings. Warning: looped for animation: ca\wheeled\data\anim\uaz_cargo01_v0.rtm differs (looped now 0)! MoveName: kia_uaz_cargo02 Warning: looped for animation: ca\wheeled\data\anim\uaz_cargo01_v0.rtm differs (looped now 1)! MoveName: uaz_cargo02 String STR_DN_FACTORY01 not found String STR_DN_FACTORY2 not found String STR_DN_FACTORY3 not found String STR_DN_FACTORY4 not found String STR_DN_FACTORY5 not found String STR_DN_FACTORY6 not found String STR_DN_FACTORY7 not found String STR_DN_FACTORY8 not found String STR_DN_FACTORY9 not found String STR_DN_FACTORY10 not found String STR_DN_FACTORY11 not found String STR_DN_FACTORY12 not found String STR_DN_FACTORY13 not found String STR_DN_FACTORY14 not found String STR_DN_FACTORY15 not found String STR_DN_FACTORY16 not found String STR_DN_FACTORY17 not found String STR_DN_FACTORY18 not found [b]Cannot load sound 'ca\sounds\enviroment\battle1.wss' Cannot load sound 'ca\sounds\enviroment\battle1.wss'[/b] Excerpt from arma2oa.rpt when launched with beta patch 1.59.83363 ===================================================================== == C:\Games\Arma2\Expansion\beta\arma2oa.exe == "C:\Games\Arma2\Expansion\beta\arma2oa.exe" -mod=Expansion\beta;Expansion\beta\Expansion; -nosplash -cpucount=4 -profiles=C:\Games\Arma2 -name=zwobot -window ===================================================================== Exe timestamp: 2011/08/07 09:23:30 Current time: 2011/08/07 09:24:59 Version 1.59.83363 Item str_disp_server_control listed twice Error: Audio - enumeration output devices failed. Warning: Audio device creation failed, attempt to create default audio: SamplesPerSec: 44100, channels: 2, bitsPerSample: 16 Audio device successfully created with default settings. Warning: looped for animation: ca\wheeled\data\anim\uaz_cargo01_v0.rtm differs (looped now 0)! MoveName: kia_uaz_cargo02 Warning: looped for animation: ca\wheeled\data\anim\uaz_cargo01_v0.rtm differs (looped now 1)! MoveName: uaz_cargo02 String STR_DN_FACTORY01 not found String STR_DN_FACTORY2 not found String STR_DN_FACTORY3 not found String STR_DN_FACTORY4 not found String STR_DN_FACTORY5 not found String STR_DN_FACTORY6 not found String STR_DN_FACTORY7 not found String STR_DN_FACTORY8 not found String STR_DN_FACTORY9 not found String STR_DN_FACTORY10 not found String STR_DN_FACTORY11 not found String STR_DN_FACTORY12 not found String STR_DN_FACTORY13 not found String STR_DN_FACTORY14 not found String STR_DN_FACTORY15 not found String STR_DN_FACTORY16 not found String STR_DN_FACTORY17 not found String STR_DN_FACTORY18 not found [b]Cannot load sound 'ca\sounds\enviroment\battle1.wss' Cannot load sound 'ca\sounds\enviroment\battle1.wss'[/b] Edited August 13, 2011 by zwobot Share this post Link to post Share on other sites
zwobot 22 Posted August 11, 2011 No one has similar problems - or a solution? Share this post Link to post Share on other sites
Alan 10 Posted August 13, 2011 Post your description.ext here and tell me how your sound is named. Share this post Link to post Share on other sites
CarlGustaffa 4 Posted August 13, 2011 Do you get these error warnings also when only relying on the builtin sounds? I'm using builting trigger sounds with automatically created triggers all over Takistan without these problems. Share this post Link to post Share on other sites
zwobot 22 Posted August 13, 2011 Thanks for your answers. Yesterday I tried it again with Anonymous and Voice sounds - those work now. Don't know what went wrong the last time I tried it. All the other environment sounds seem to work fine now too with the exception of the "Combat environment 1". Description.ext for my custom environment sound which is not found either: class CfgEnvSounds { sounds[]={battle2}; class battle2 { name="battle2"; sound[]={"battle2.ogg",db+0,0,1}; soundNight[]={"battle2.ogg",db-0,0,1}; }; }; battle2.ogg is located directly in the mission's folder and it shows up in the Environment drop-down of a trigger's effects dialog, however it is not played and the RPT file says it cannot find the file. Share this post Link to post Share on other sites
Alan 10 Posted August 13, 2011 ok look, so if you want to have custon, or normal sound to play in your game, here is what I use and I recommend to use: So first of, make sure you have a "sound" folder in your: documents > ArmA 2 other profiles > "Your player name" > The missions folder. You will need to create the sounds folder by right clicking and hitting new, then selecting folder. and here is the code I recommend: class CfgSounds{ // List of sounds (.ogg files without the .ogg extension) sounds[] = {yoursoundsname}; // Definition for each sound class yoursoundsname { name = "yoursoundsname"; // Name for mission editor sound[] = {\sound\brief.ogg, 1, 1.0}; titles[] = { }; }; }; P.S.: every where were you see "your sounds name" you replace it with the name of your sound I.E: song1. Also make sure that your sound file is a .ogg I.E.: Song.ogg (mp3 and other formats wont work). Now, once in ArmA 2 editor, you go to your triggers, place one down and in your "On Act." line you put PlaySound "song1"; make sure you save before previewing or else it won't work, and voila, you are good to go ;) Share this post Link to post Share on other sites
zwobot 22 Posted August 14, 2011 (edited) Hi alan, thanks for your advice. There are various sound classes in Arma2 which behave differently. CfgSounds only play once when played via playSound whereas CfgEnvSounds are played in a constant loop and that's exactly what I want. I've tried to put the sound into a "sound" subdirectory of my mission and changing the path in the description.ext file to no avail. Edit: After some more research and fiddling around with the parameters, I found that the third parameter (I think it's the sound's pitch) was set to 0 in my description.ext file. After I set it to 1.0 my custom EnvSound is played correctly. I also had changed the fourth parameter since I read that it defines the distance from the source (the trigger) in which the sound can be heard. class CfgEnvSounds { sounds[]={}; class battle2 { name="battle2"; sound[]={"battle2.ogg",db+10,1.0,160}; soundNight[]={"battle2.ogg",db+10,1.0,160}; }; }; This still does not explain why the standard Arma2 combat ambience sound does not work though. But maybe I can extract it from the corresponding .pbo file and include it as custom sound into my mission... Edited August 14, 2011 by zwobot Found a partial solution Share this post Link to post Share on other sites
Alan 10 Posted August 15, 2011 You just make the trigger bigger, intead of once, you place it on repeat (when you double click on the map with the trigger, in the right corner you will see something that says once repeat, hit repeat) Share this post Link to post Share on other sites