Home   Help Search Login Register  

Author Topic: Animations with sound  (Read 833 times)

0 Members and 1 Guest are viewing this topic.

Kaliyuga

  • Guest
Animations with sound
« on: 07 Jul 2003, 23:36:42 »
 Now... I've been working on an addon of ours....

and wanting to add some custom sounds that will be played along with animations

 So I'm pretty clear on how to go about this..... my only problem is an error message saying the sound file wasn't found once I get the addon  in-game  and set off the animation.


Here are the relevant parts of my config.cpp:

Code: [Select]
class CfgRadio
{
   class ECLDive
    {
         sound[]={"\ECL_KL42otst\ECLDive.wav",db+10,1};
         name = "ECLDive";
      title = "";
    };
};

and

Code: [Select]
class UserActions
      {
         class OpenArm1
         {
            displayName="Dive";
            position="osa_arm1";
            radius=100.0;
            condition="true";
            statement="this say ""ECLDive""; this animate [""arm1"", 1]";
         };

the .wav file is named "ECLDive" and it is in the folder with everything else.


thanks in advance for any insight into this problem.
:cheers:

Kaliyuga

  • Guest
Re:Animations with sound
« Reply #1 on: 08 Jul 2003, 00:34:53 »
 Problem Solved