Purzel 35 Posted July 10, 2014 (edited) Hi there, I want to do the following things, before a helicopter reaches the landing zone: A simple radio-chat between a spotter (Sierra) and the chopper-pilot (Alpha), but the player should hear the Radio-Chat AND read it in sidechat. - Sierra calls Alpha, that he can hear the copper approaching. - Alpha answers - Sierra tells Alpha, that the landing zone is marked by smoke, - Alpha tells Sierra that he can see blue smoke, - Sierra confirmes blue smoke and tell Alpha, that the LZ is hot. - Alpha confirmes the last radio chat. This is what I did until now: Sierra and Alpha each are marked as its own groups by Alpha = group this; this setGroupId ["Alpha"]; and Sierra = group this; this setGroupId ["Sierra"]; Both are each synchronized to a callsign-module (callsign Alpha and callsign Sierra) In description.ext the recorded radiochat.oggs are listed. class CfgMusic { tracks[]={}; class radio2 { name = "radio2"; sound[] = {\radio\Alpha1.ogg, db+10, 1.0}; }; class radio4 { name = "radio4"; sound[] = {\radio\Alpha2.ogg, db+5, 1.0}; }; class radio5 { name = "radio5"; sound[] = {\radio\Alpha3.ogg, db+5, 1.0}; }; class radio7 { name = "radio7"; sound[] = {\radio\Alpha4.ogg, db+5, 1.0}; }; class radio9 { name = "radio9"; sound[] = {\radio\Alpha5.ogg, db+5, 1.0}; }; class radio1 { name = "radio1"; sound[] = {\radio\Sierra1.ogg, db+10, 1.0}; }; class radio3 { name = "radio3"; sound[] = {\radio\Sierra2.ogg, db+10, 1.0}; }; class radio6 { name = "radio6"; sound[] = {\radio\Sierra3.ogg, db+10, 1.0}; }; class radio8 { name = "radio8"; sound[] = {\radio\Sierra4.ogg, db+10, 1.0}; }; }; A trigger is set on map with the following activation: nul=[] execVM "approach.sqf"; the approach.sqf is written as this far: Sierra sidechat "Alpha, we can hear you approaching!"; sleep 5; Alpha sidechat "Sierra, go ahead!"; sleep 5; Sierra sidechat "Alpha, we are marking the landing zone with smoke!"; sleep 10; Alpha sidechat "Sierra, we can see blue smoke!"; sleep 5; Alpha sidechat "Sierra, we can see blue smoke and units at landing zone!"; sleep 5; Sierra sidechat "Alpha, we confirm blue smoke at landing zone - LZ is hot!"; sleep 5; Alpha sidechat "Sierra, Affirmative- LZ is hot!"; What I want is to get the spoken .ogg-files in between this lines, so every readable radio-chat goes along with the spoken radio-chat... How do i get this done? I have no clue about that issue. I´ve played around with "playsound", but I don´t get it...! :-( Thanks for any help! Greetz Purzel Edited July 10, 2014 by Purzel Share this post Link to post Share on other sites
PlacidPaul 11 Posted July 10, 2014 Try this, class CfgRadio { sounds[] = {radio2}; class radio2 { name = "radio2"; sound[] = {\sound\Alpha1.ogg, db + 0, 1.0};//put in [color="#FF0000"]sound[/color] file title = "this will be lower case"; //text for radio }; }; remember if something is in music, most people have music adjusted in someway. Share this post Link to post Share on other sites
SavageCDN 231 Posted July 10, 2014 To get the custom sounds to play in an MP environment you would need to create a function that broadcasts the event to all players. I figured this out trying to get a custom sound to work with the DLC karts... other players on the server could not hear the sounds. I don't have the stuff in front of me but I can post an example later today. *sorry just noticed these files are under cfgMusic... not sure if the same applies as cfgSounds* Share this post Link to post Share on other sites
PlacidPaul 11 Posted July 10, 2014 (edited) Right, playSound is local, so you can use a trigger. But, that's a bad route if you want JIP. When you put a trigger down, remember it exists and fires separately on each computer. Which is ok with this local command. So, if someone joins after the heli sequence is over, if the condition exists he will hear the sounds then. Eventually learning how to do functions in A3 will make things easier, some posts by Grimes have been helpful to me http://forums.bistudio.com/showthread.php?171490-Help-quot-Dynamic-quot-enableRadio Edited July 10, 2014 by PlacidPaul Share this post Link to post Share on other sites
SavageCDN 231 Posted July 10, 2014 Does it matter if he's using playSound and his files are configured under cfgMusic? Maybe an (isServer) condition in the trigger? Share this post Link to post Share on other sites
PlacidPaul 11 Posted July 10, 2014 I think it should be in Sound, not sure if it will work regardless. I think music can play in stereo, these files should be in mono. If you put isServer in trigger condition, it will play local command only on server. Share this post Link to post Share on other sites
CallMehTOMMEH 126 Posted July 10, 2014 I use MoprhVOX and the DJ radio streaming plugin on ARMA whenever I want to play music files over multiplayer. It works quite well, but you need a good quality microphone for it not to sound terrible. Share this post Link to post Share on other sites
Purzel 35 Posted July 10, 2014 (edited) Try this, class CfgRadio { sounds[] = {radio2}; class radio2 { name = "radio2"; sound[] = {\sound\Alpha1.ogg, db + 0, 1.0}; title = "this will be lower case"; }; }; . Where Do I have to put this? Looks like in description.ext... ??? Sorry, but I dont have any clues about scripting but some easy scripting stuff... Is there a special .ogg-format (e.g. 22Khz, mono, etc..?) which I have to use? I´ve seen a mission ("STARS Midnight Flash") in the ArmA3/Steam-Workshop from User "Grollig", which has exactly that stuff, what I need. But its not downloadable, just the abonnement-thing... I´ve tried to contact him, but he has been not online for a while... So I need your help. Edited July 11, 2014 by Purzel Share this post Link to post Share on other sites