Home   Help Search Login Register  

Author Topic: need advice with sound  (Read 565 times)

0 Members and 1 Guest are viewing this topic.

The Cat

  • Guest
need advice with sound
« on: 26 Nov 2002, 22:50:52 »
Hope someone can help me this is my first time trying a sound.
I have made a sound using wav calling it west I converted the sound to a ogg and then I created a new folder calling this sound in the my mission called first attack

I went to my game and place the trigger on the map activation west, on activation I put in player say "west"


This is what I did with the converting my sound from wav to ogg
I set the following codemasters\operationflashpoint\user\user
Preserve ID Tag was tick
Encoding variable bitrate
Frequency 44100 HZ

I created a note pad calling this description.exe.

The following description may help you to answer my problem

class CfgSounds
{
   sounds[] =
   {
   };

   class west
   {
      name = "";
      sound[] = {"west.ogg", db-10, 1.0};
      titles[] =
         {
            0, $STRD_west
         };
   };
};

hope someone can help I am willing to also hand my work over to you if you like
thanks
The cat.



Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:need advice with sound
« Reply #1 on: 27 Nov 2002, 17:26:48 »
ok, your file should be called description.ext not description.exe and try this inside it

class CfgSounds
{
   sounds[] = {west};

   class west
   {
      name = "west";
      sound[] = {"west.ogg", db-10, 1.0};
      titles[] =
         {
            0, $STRD_west
         };
   };
};