Home   Help Search Login Register  

Author Topic: HELP!!  (Read 413 times)

0 Members and 1 Guest are viewing this topic.

recon

  • Guest
HELP!!
« on: 25 Mar 2003, 19:07:30 »
How can I record some voices and put them in op-flash, I dont need lip-sync I know how to record on to my computer but how can I put it in the game to be played when a trigger is activated, I know little so if you could be specific and detailed it would help. thanks  recon.

Knut Erik

  • Guest
Re:HELP!!
« Reply #1 on: 25 Mar 2003, 21:48:13 »
Hm.. I'll try to help you as best as i can, but before we begin, make sure that the sound files is in MONO and .ogg format. This is VERY important. Then create a text file and name it description. (this file goes in your ofp\users\yourname\missionname

In this file put this :

class CfgSounds
{
   sounds[] =
      {
         Yoursound
      };
   
   class yoursound
   
   {
      name = "Here is the name that will appear in the voice list. (used in Wps and triggers";
      sound[] = {"\sounds\NameOfYourSoundfile.ogg", 1, 1.0};
      titles[] = {   };
   };
};


Create a folder in your mission folder and name it Sound. Put your sound file there. Now you can play your sound in ofp using this command:

Unitname say "nameofsound"


Just ask for more info if you need, but check out the first topics in this thred...

Offline Burn

  • Members
  • *
Re:HELP!!
« Reply #2 on: 28 Mar 2003, 17:12:50 »
I just thought I should add that if you want a easy\lazy way to create the description file download Chris's OFP script editor.
It has an descriptionWIZARD that is wery handy ;D

DOWNLOAD THIS PUPPY U LOON :P:
http://www.ofpec.com/editors/resource_view.php?id=377
It's soooooo easy to use :D

[shadow=red,left,300]~:BIZON:~ out :-X***[/shadow]