Try this, make a folder, ofp/users/yourname/missions/missionname/sound
put your sounds in the sound folder
in the description.ext put:
// ***********************************************************************
// **** Description file for Operation Flashpoint
// **** Generated by Chris's OFP Script Editor
// **** Create Description Wizard
// ***********************************************************************
class CfgSounds
{
// List of sounds (.ogg files without the .ogg extension)
sounds[] = {blah1, blah2};
// Class definition needed for each sound
class blah1
{
// Name to display in mission editor
name = "blah1";
// Sound path, volume, pitch
sound[] = {\sound\blah1.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class blah2
{
// Name to display in mission editor
name = "blah2";
// Sound path, volume, pitch
sound[] = {\sound\blah2.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
};
then the sounds can be played from script:
PlaySound "blah1"
or even called from a trigger in the editor:
trigger-effects-voice-blah1
All of that is really the easy part. The hard part is making your sounds, (I called them blah1,blah2 etc), you gotta record the voice, then make it an .ogg. There are plenty tutes on how to make a .wav and .ogg
The sounds fom the game campaign missions are also usable, but I haven't figured that out yet.
Hope this helps. If you noticed, I use Chris's OFP Script Editor, it is an essential tool avail in the editors depot. Good luck and good scripting!