Home   Help Search Login Register  

Author Topic: another description.ext problem  (Read 645 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
another description.ext problem
« on: 12 Dec 2005, 20:58:26 »
okay ive got another problem with the description.ext where im trying to get my sound to work this is the whole sound part

Code: [Select]
class CfgSounds
{
   sounds[] = {mortar, emptymen, cockgear, clipnotes, reloadplan, incoming, Trust, intro_Sir};

   class mortar
   {
      name = "mortar";
      sound[] = {\sound\mortar.ogg, db + 0, 1.0};
      titles[] = {0, ""};
   };
   class emptymen
   {
      name = "emptymen";
      sound[] = {\sound\emptymen.ogg, db + 0, 1.0};
      titles[] = {0, ""};
   };
   class cockgear
   {
      name = "cockgear";
      sound[] = {\sound\cockgear.ogg, db + 0, 1.0};
      titles[] = {0, ""};
   };
   class clipnotes
   {
      name = "clipnotes";
      sound[] = {\sound\clipnotes.ogg, db + 0, 1.0};
      titles[] = {0, ""};
   };
   class reloadplan
   {
      name = "reloadplan";
      sound[] = {\sound\reloadplan.ogg, db + 0, 1.0};
      titles[] = {0, ""};
   };
   class incoming
   {
      name = "incoming";
      sound[] = {\sound\incoming.ogg, db + 0, 1.0};
      titles[] = {0, ""};
   };
   class intro_Sir
   {
      name = "intro_Sir";
      sound[] = {\sound\intro_Sir.ogg, db + 0, 1.0};
      titles[] =
      {
         0, $STRM_intro_Sir
      };
   class Trust
   {
      name = "Trust";
      sound[] = {"Trust.ogg", db-40, 1.0};
      titles[] =
      {
         0, $STRM_Trust
      };
   };
};

the sound that doesnt work is labbeled "Trust" the last one at the bottom of that
ive named the sound in the folder "Trust" and it has a .lip with it named the same thing its the right format ive checked several times
i run the sound using
Code: [Select]
soldier1 say "Trust"
I have my stringtable set up like all my others
Code: [Select]
STRM_Trust
Its okay you can trust me
english

the thing that doesnt work is when i play my intro it says

Cannot find sound Trust

and it doesnt play the sound nor the text which should play is there anything wrong

I save the mission and re load it before each fiddle with the .ext but still doesnt work

if i re name all the different sounds and classes so it should work i get the same error but with the new name. I cant see whats wrong ive tried description.ext which i do know thta work but for some reason this doesnt ?
any clues cheers

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:another description.ext problem
« Reply #1 on: 12 Dec 2005, 21:31:06 »
It is probably looking in folder sounds for Trust.ogg.

You don't specify any particular folder.

sound[] = {"Trust.ogg", db-40, 1.0};

Try putting it with the other sounds and changing the path.


Planck
« Last Edit: 12 Dec 2005, 21:31:23 by Planck »
I know a little about a lot, and a lot about a little.

Offline Pilot

  • Contributing Member
  • **
Re:another description.ext problem
« Reply #2 on: 13 Dec 2005, 00:40:08 »
I think you're missing a "};" just above "class Trust"

Should be:
Code: [Select]
  class intro_Sir
   {
      name = "intro_Sir";
      sound[] = {\sound\intro_Sir.ogg, db + 0, 1.0};
      titles[] =
      {
         0, $STRM_intro_Sir
      };
   };
   class Trust
   {

-Pilot

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:another description.ext problem
« Reply #3 on: 13 Dec 2005, 00:55:25 »
oh yes...... ;D

I missed that.   :-X


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

Offline 456820

  • Contributing Member
  • **
Re:another description.ext problem
« Reply #4 on: 13 Dec 2005, 20:45:55 »
YAY success thanks pilot

topic solved