pele93 10 Posted June 24, 2010 Hey guys I'm setting up custom sound for the first time and I have a trigger to call on the radio message with this in the init field man sideRadio "RadioMsg2" (I have also tried using bomb instead of "RadioMsg2") where man is the name of the unit and RadioMsg2 the name of the radio message as specified in CfgRadio.hpp like this class Radiomsg2 { name = "bomb"; sound[] = {"\sounds\3.ogg", db+10, 1.0}; title = "Three Two One Bombs away"; }; Which is setup in the description.ext as such: //describtion.ext for Lurchi's AC-130 Script //defines #include "ac130\uiDefines.hpp" #include "ac130\define.hpp" //Dialog #include "ac130\dialog.hpp" #include "ac130\dialogUAV.hpp" //Sounds class CfgSounds { sounds[] = {}; #include "ac130\CfgSounds.hpp" #include "sounds\CfgRadio.hpp" }; all the directories seem to be setup fine and as you can see Lurchies AC-130 script works fine I have eventried putting them in the ac130 folder as well to see if that helps and got nowhere :( I always get "radio message "RadioMsg2" not found" and all the directories seem right :( Any help is appriciated Thanks guys Share this post Link to post Share on other sites
loyalguard 9 Posted June 24, 2010 I am pretty sure you need to put the #include line for the radio messages inside class CfgRadio and not CfgSounds. Try making these changes to the relevant portions of the description.ext. Remove the #include from CfgSounds and add it to the added CfgRadio portion: //Sounds class CfgSounds { sounds[] = {}; #include "ac130\CfgSounds.hpp" }; //Radio class CfgRadio { sounds[] = {}; #include "sounds\CfgRadio.hpp" }; I know you said that all the directories seem to be correct, but just to make sure, CfgRadio.hpp and the sounds are in a folder called "sounds" directly inside your mission folder, correct? Good luck! Share this post Link to post Share on other sites
pele93 10 Posted June 25, 2010 Thanks for the suggestion didn't work.... I've got it to work under the effects tab on a trigger, it shows up under voice, but if I use the same name it's to go man sideRadio "messageOne" I still get error's saying it can't find the file, I've also told it to play it as a sound to no joy... The effect will do for now as I'm just testing stuff in my mission but when completed it would be nice to have it appearing as a radio message... Share this post Link to post Share on other sites