Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  

Recommended Posts

I'm finally going to attempt learning this CfgRadio since I am starting to find the all caps sidechat annoying. Problem is I can't find any solid info on sound, I'm sure everything else is good, but I don't have a voice for the dialogue and don't know what to put:

class CfgRadio

{

sounds[]={};

class Veh1 {

name="vehchat1";

sound[]={};

title=The Ural will take you just outside the objective, our paratroops hit them hard earlier but the Taki's are still dug in well enough to put up a good fight;

};

Also, in game I'd put this in a trigger right?

pilot vehicleradio "Veh1";
Edited by Devil Dogs SF

Share this post


Link to post
Share on other sites

Right, that's one option. But, not really sure what the question is. But I see some mistakes:

1) class CfgRadio { is not terminated with a }; (unless you only copied one as example).

2) Sound should at least have a dummy in there, I think.

3) Put the title within " ".

Share this post


Link to post
Share on other sites

How would I go about making a blank file? Also is this now correct?

class CfgRadio

{

sounds[]={};

class Veh1 {

name="vehchat1";

sound[]={};

title="The Ural will take you just outside the objective, our paratroops hit them hard earlier but the Taki's are still dug in well enough to put up a good fight";

};

};

On Act: pilot vehicleradio "Veh1";

Share this post


Link to post
Share on other sites

I looked at that but still don't get the sound, I don't have sound for the text yet and don't know how to go about making a dummy sound file.

Share this post


Link to post
Share on other sites

Sort of empty in OA:

\Bohemia Interactive\ArmA 2\Expansion\Addons\dubbingradio_e\Data\empty01sec.ogg

or Arma2:

\Bohemia Interactive\ArmA 2\Addons\dubbing\global\radio\empty01sec.wss

Share this post


Link to post
Share on other sites

You won't get any sound, if you don't specify a sound file.

class CfgRadio
{
sounds[]={[color=SeaGreen]"[color=DarkOrange]Veh1[/color]"[/color]};

class [color=DarkOrange]Veh1[/color] {
 name="vehchat1";
 sound[]={[color=SeaGreen]"SampleSoundInYourMissionFolder.ogg", db-20, 1.0[/color]};
 title="The Ural will take you just outside the objective, our paratroops  hit  them hard earlier but the Taki's are still dug in well enough to  put up a good fight";
};
};                      

You have to state each of your sound classes (class Veh1) in the first sound array in the CfgRadio class (I marked the two orange)

To hear a sound, you have to create a soundfile, put it somewhere in your mission directory, and must reference it to the sound array of your sound class (here Veh1). I marked an example green. "db-20" is the volume, and "1.0" is the pitch of the sound.

There is a more detailed sound tut in the web here:

http://ofp.toadlife.net/downloads/tutorials/tutorial_sound/tutorial_sound.html

Share this post


Link to post
Share on other sites
Sign in to follow this  

×