Home   Help Search Login Register  

Author Topic: non working custom sounds...  (Read 534 times)

0 Members and 1 Guest are viewing this topic.

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
non working custom sounds...
« on: 14 Jun 2005, 23:06:38 »
Hey this is my description. ext

Code: [Select]
class CfgMusic
{
      tracks[]={vientos};

      class vientos
      {
                            name = "Huaykil - Vientos De Poder (Hermetica)";
                            sound[] = {\music\vientos.ogg, db+0, 1.0};
                            titles[]={};
      };
};


class Cfgsounds
{
   sounds[] =
   {
      stanbyr, you_join, pak_secured, okay, hh66r
   };

   class stanbyr
   {
      name = "Sending trasport now stanby";
      sound[] = {"radio\stanbyr.ogg", db+0, 1.0};
      titles[] = {};
   };
   class you_join
   {
      name = "hey you r u join us?";
      sound[] = {"radio\you_join.ogg", db+0, 1.0};
      titles[] = {};
   };
   class pak_secured
   {
      name = "packaje is sekured";
      sound[] = {"radio\pak_secured.ogg", db+0, 1.0};
      titles[] = {};
   };
   class okay
   {
      name = "okay, we must stay here go you";
      sound[] = {"radio\okay.ogg", db+0, 1.0};
      titles[] = {};
   };
   class hh66r
   {
      name = "hh66r";
      sound[] = {"radio\hh66r.ogg", db+0, 1.0};
      titles[] = {};
   };
};

class Cfgradio
{
   sounds[] =
   {
      stanbyr, pak_secured, hh66r
   };

   class stanbyr
   {
      name = "Sending trasport now stanby";
      sound[] = {"radio\stanbyr.ogg", db+0, 1.0};
      titles[] = {};
   };
   {
      name = "hh66r";
      sound[] = {"radio\hh66r.ogg", db+0, 1.0};
      titles[] = {};
   };
   {
      name = "packaje is sekured";
      sound[] = {"radio\pak_secured.ogg", db+0, 1.0};
      titles[] = {};
   };

The music Works great... I have tried using the sounds in .wss format, but still the same.. in the stringtable.csv i have this (I dont have Exel, so I use Word pad instead :P)

LANGUAGE,English,Comment
STRD_pak_secured,"Packaje is secured, Waiting for estraction".
STRD_hh66r,"Sorry comrades but the trasport didnt make it, please bring the packaje by foot to HH66"
STRD_standbyr,"good job! Sending trasport now, Please stand by"

there is no error message, just nothing happens when I put a trigger whit the sound on it

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:non working custom sounds...
« Reply #1 on: 15 Jun 2005, 01:06:42 »
Where abouts are your sound files (ie. What directory?)

Are they at:
missionname\Sound\Radio\file.ogg ?


Also, the problem may with with the order you have things in the .ext. Try putting the music section a the end.
I'm not sure if that's the right order, I'll check one of my (working) .ext files when I get home tonight ;)

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:non working custom sounds...
« Reply #2 on: 15 Jun 2005, 01:19:42 »
It might just be that you missed it in your copy/paste, but.....


class CfgRadio needs a last '}' to close it off.

Apart from that I can't see anything wrong with the .ext.


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:non working custom sounds...
« Reply #3 on: 15 Jun 2005, 01:57:54 »
@sui

Emh.. nope!! they aren't on missionname\Sound\Radio\file.ogg, they are on missionname\Radio\file.ogg

The description.ext applies automaticaly the"\Sound" subfolder???

and I will che the order

@PLanck
thanks for that Missing "}" jeje it wasn't there from the begining..


I think thats alll I will try them as soon as I can...

And the order of Cfgsoundsc, music, ect. matters?

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:non working custom sounds...
« Reply #4 on: 15 Jun 2005, 10:20:14 »
Yeah... it's a bit of a wierd one. Seems to me that sometimes it doesn't, and sometimes it does.

Anyway, to remove all doubt try ordering your sections like this:

- identities
- cfgsounds
- cfgsfx
- cfgenvsounds
- cfgradio
- cfgmusic
- cfgweapons
- cfgmagazines

Obviously omitting any sections you're not using ;)

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:non working custom sounds...
« Reply #5 on: 15 Jun 2005, 20:55:11 »
Thabks a lot!! Trhead Done!!! 8)