Home   Help Search Login Register  

Author Topic: Description.ext quickie REALLY quick question! plz  (Read 711 times)

0 Members and 1 Guest are viewing this topic.

Offline Pr0ph3t

  • Members
  • *
Description.ext quickie REALLY quick question! plz
« on: 09 Mar 2005, 23:34:56 »
Okay I have two sound samples I want to include: shooting.ogg and scream.ogg and they're under the \sound directory.

what do I need to add to this description.ext file I've been trying stuff but it won't show up.

debriefing = 0

class CfgMusic
{
tracks[]=
{
navras
};

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

class CfgSounds
{
name="scream";
sound[] = {\sound\scream.ogg, db+5, 1.0};
}

};

what am I doing wrong?
« Last Edit: 09 Mar 2005, 23:35:56 by Pr0ph3t »

Silencer

  • Guest
Re:Description.ext quickie REALLY quick question! plz
« Reply #1 on: 09 Mar 2005, 23:38:48 »
One thing I notice:

- You don't need a CfgMusic class if you only have a "Sound" map.

Offline Pr0ph3t

  • Members
  • *
Re:Description.ext quickie REALLY quick question! plz
« Reply #2 on: 09 Mar 2005, 23:40:10 »
navras is music.. scream is sound effect

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Description.ext quickie REALLY quick question! plz
« Reply #3 on: 09 Mar 2005, 23:41:16 »
class CfgSounds
{
class Scream
{
name="scream";
sound[] = {"\sound\scream.ogg", db+5, 1.0};
titles[]={};
}
}

That should do it.....I hope


Planck
I know a little about a lot, and a lot about a little.

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:Description.ext quickie REALLY quick question! plz
« Reply #4 on: 09 Mar 2005, 23:47:23 »
mh.. try this:


***EDITED***
Code: [Select]

debriefing = 0

class CfgMusic
{
       tracks[]={navras};

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

class CfgSounds
{
           sounds[]={scream};

           class scream
           {                            
            name="scream";
            sound[] = {\sound\scream.ogg, db+5, 1.0};
            titles[]={};
           };

};


tellme if it works!

P.D: Thanks Pr0ph3t
« Last Edit: 09 Mar 2005, 23:57:27 by Flauta »

Offline Pr0ph3t

  • Members
  • *
Re:Description.ext quickie REALLY quick question! plz
« Reply #5 on: 09 Mar 2005, 23:52:39 »
neither worked.. Hang on I'm gonna trying mixing together
« Last Edit: 09 Mar 2005, 23:55:50 by Pr0ph3t »

Offline Pr0ph3t

  • Members
  • *
Re:Description.ext quickie REALLY quick question! plz
« Reply #6 on: 10 Mar 2005, 00:02:35 »
Good job fellas, with planck's title= and flauta's snippet it worked.

thanks!

Offline Pr0ph3t

  • Members
  • *
Re:Description.ext quickie REALLY quick question! plz
« Reply #7 on: 15 Mar 2005, 04:42:44 »
For anyone stuck in my shoes, here's what the description.ext file looks like for multiple sounds and songs

debriefing = 0

class CfgMusic
{
      tracks[]={whorse,mattek};

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

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

};

class CfgSounds
{
          sounds[]={scream,shooting};

          class scream
          {                            
            name="scream";
            sound[] = {\sound\scream.ogg, db+5, 1.0};
            titles[]={};  
          };

          class shooting
          {                            
            name="shooting";
            sound[] = {\sound\shooting.ogg, db+5, 1.0};
            titles[]={};  
          };
};