Home   Help Search Login Register  

Author Topic: description.ext help  (Read 696 times)

0 Members and 1 Guest are viewing this topic.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
description.ext help
« on: 04 Dec 2002, 22:18:51 »
Can somone take a look at this and tell me if anything is wrong with it. it plays the sounds but it will not play the music file. I know the file is good because I used it in another mission. The problem is in that mission my description file was only for music this one is multiple sounds,music and radio.
In case your wondering I do have a folder called music with the ogg file called usmc inside it. Well anyway here it is thanks for the help in advance


// Define speech sounds in the game

class CfgSounds
{
   sounds[] = { voice1, voice2, voice3 };

   class voice1
   {
      name = "voice1";
      sound[] = {"voice1.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_voice1
      };
   };
        class voice2
        {
               name = "voice2";
               sound[] = {"voice2.ogg", db-20, 1.0};
               titles[] =
               {
                       0, $STRM_voice2
};
};
       class voice3
   {
      name = "voice3";
      sound[] = {"voice3.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_voice3
};
};
       class CfgRadio
        {
        Sounds[] = {eagle1};

   class eagle1
   {
      name = "eagle1";
      sound[] = {"eagle1.ogg", db-40, 1.0};
      title = $STRM_eagle1;
};
};
       
       class CfgMusic
        {
   Tracks[]={usmc};

   class usmc
   {
      name = "";
      sound[] = {\music\usmc.ogg, db+40, 1.0};
};
};

       
« Last Edit: 04 Dec 2002, 22:19:59 by Killzone »
"Everyone dies so deal with it and move on"

                                                      ME

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:description.ext help
« Reply #1 on: 05 Dec 2002, 05:28:15 »
try this, I think you were missing a };

class CfgSounds
{
   sounds[] = { voice1, voice2, voice3 };

class voice1
{
      name = "voice1";
      sound[] = {"voice1.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_voice1
      };
};
       
class voice2
{
       name = "voice2";
       sound[] = {"voice2.ogg", db-20, 1.0};
       titles[] =
       {
         0, $STRM_voice2
       };
};
     
class voice3
{
      name = "voice3";
      sound[] = {"voice3.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_voice3
      };
};
};
class CfgRadio
{
        Sounds[] = {eagle1};

   class eagle1
   {
      name = "eagle1";
      sound[] = {"eagle1.ogg", db-40, 1.0};
      title = $STRM_eagle1;
   };
};
       
class CfgMusic
{
   Tracks[]={usmc};

class usmc
   {
      name = "";
      sound[] = {\music\usmc.ogg, db+40, 1.0};
   };
};

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Re:description.ext help
« Reply #2 on: 05 Dec 2002, 09:01:01 »
 ;D me happy, you fix ;D


It works great
"Everyone dies so deal with it and move on"

                                                      ME