Home   Help Search Login Register  

Author Topic: Cant hear stuff all!  (Read 3585 times)

0 Members and 1 Guest are viewing this topic.

Cedaie

  • Guest
Cant hear stuff all!
« on: 26 Aug 2002, 14:38:37 »


[attachment deleted by admin]

seanver

  • Guest
Re:Cant hear stuff all!
« Reply #1 on: 26 Aug 2002, 14:54:21 »
Hmm firstly you have to have a mono, 16-bits sound. And as far as I know, youmust have in each sound declared in description a Titles[] which "links" to a text in stringtable.csv, although you don't put any text there:

titles[] = {0,"" }; ==> titles [] = { 0, $STRM_Text1};, etc.

Here is an example of a stringtable.csv:


LANGUAGE,English,Spanish,Comment

STRM_Text1,"There was a farmer who had a dog","Había un granjero que tenía un perro",,


You can have only a language -English- or several, Spanish, French, German, etc.
« Last Edit: 26 Aug 2002, 14:55:35 by SeAnVeR »

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #2 on: 26 Aug 2002, 15:07:36 »
nope, not a peep, and now I just lost my Lip movements  >:(

btw, the sound files are good, I tried them with playsound, and heard them
« Last Edit: 26 Aug 2002, 15:08:40 by Cedaie »

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #3 on: 26 Aug 2002, 15:11:55 »
AAHH, i just got a message when I tried to save saying "config: some input after EndOfFile"

seanver

  • Guest
Re:Cant hear stuff all!
« Reply #4 on: 26 Aug 2002, 15:17:14 »
{
class CfgSounds
{
sounds[] = {officerv1,captv1,officerv2};
   };
   };
   class officer1
   
   {
      name = "officerv1";
      sound[] = {"officerv1.ogg", db-40, 1.0};
      titles[] = {0,""
   };
   };
   class captv1
   
   {
      name = "captv1";
      sound[] = {"captv1.ogg", db+0, 1.0};
      titles[] = {0,""
   };
   };
   class officer2
   
   {
      name = "officerv2";
      sound[] = {"officerv2.ogg", db+0, 1.0};
      titles[] = {0,"$stroff"
};

Add these:

};
};

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #5 on: 26 Aug 2002, 15:24:00 »
now I got a crash message saying: Users\C.Nicholas\Missions\Resistancebase.intro\description.ext':'{' encountered instead of '='

HEELP, i cant open my mission anymore!
« Last Edit: 26 Aug 2002, 15:24:58 by Cedaie »

seanver

  • Guest
Re:Cant hear stuff all!
« Reply #6 on: 26 Aug 2002, 15:31:59 »
{
class CfgSounds
{
sounds[] = {officerv1,captv1,officerv2};

   }; <== TRy deleting this one

   };

   class officer1
   
   {
      name = "officerv1";
      sound[] = {"officerv1.ogg", db-40, 1.0};
      titles[] = {0,""
   };
   };
   class captv1
   
   {
      name = "captv1";
      sound[] = {"captv1.ogg", db+0, 1.0};
      titles[] = {0,""
   };
   };
   class officer2
   
   {
      name = "officerv2";
      sound[] = {"officerv2.ogg", db+0, 1.0};
      titles[] = {0,"$stroff"
};

Add these:

};
};


If it doesn't work and your mission doesn't open, just put your original description.ext, without the ghages I've suggested

Navy_Seals

  • Guest
Re:Cant hear stuff all!
« Reply #7 on: 26 Aug 2002, 17:48:22 »
People! people, oh boy! I defenetly need to get the tutorial online ASAP  ::) or the cutscenes forum will be full with all the same questions all over again   :P

class CfgSounds
{
   sounds[] =
      {
         officerv1, captv1, officerv2
      };
   
   class officerv1
   
   {
      name = "officerv1";
      sound[] = {"\sounds\officerv1.ogg", db+30, 1.0};
      titles[] = {   };
   };
   class captv1
   
   {
      name = "captv1";
      sound[] = {"\sounds\captv1.ogg", db+30, 1.0};
      titles[] = {   };
   };
   class officerv2
   
   {
      name = "officerv2";
      sound[] = {"\sounds\officerv2.ogg", db+30, 1.0};
      titles[] = {   };
   };
};

Well i hope u know everything else, cos im not going to write everything, where to do what and how, cheers ;)

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #8 on: 27 Aug 2002, 17:29:33 »
so I was missing the \sounds\ coz I put that in but still no worky, and yeah seals hurry up wif that tut :P

this is wierd, why doesnt anything work with this.  I'm doin a new mission and still no work

UPDATE OMG IT WORKS!!!

I had to do civil say "civil1"----being that Civil1 is the "class", all along I thought it was the "name"
« Last Edit: 27 Aug 2002, 17:41:05 by Cedaie »

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #9 on: 27 Aug 2002, 18:39:59 »
rargh, IT JUST STOPPED WORKING!!!!!!!!

what is up with this ^$*$&#( corobbery, I added another class sound and I get nothing again, here's the descript


class CfgSounds
{
   sounds[] =
   {
      civil1,ap1
   };

   class civil1

   {
      name = "chat1";
      sound[] = {"\sounds\German1.ogg", db+30, 1.0};
      titles[] =
      {

      };
   };

   class ap1

   {
      name = "chat2";
      sound[] = {"\sounds\ap1.ogg", db+30, 1.0};
      titles[] =
      {

      };
   };

};


look carefully!!!

Navy_Seals

  • Guest
Re:Cant hear stuff all!
« Reply #10 on: 27 Aug 2002, 18:48:17 »
class CfgSounds
{
   sounds[] =
   {
      civil1,ap1
   };

   class civil1

   {
      name = "chat1";
      sound[] = {"\sounds\German1.ogg", db+30, 1.0}; <- it should be "\sounds\civil1.ogg"
      titles[] =
      {

      };
   };

   class ap1

   {
      name = "chat2";
      sound[] = {"\sounds\ap1.ogg", db+30, 1.0};
      titles[] =
      {

      };
   };

};


The rest looks pretty good, though i would still change the names for civil1 and ap1 so u know whats where, cheers ;)

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #11 on: 27 Aug 2002, 18:54:34 »
ok, now the top ones working, but the bottom one isnt yet, the lip movement for the bottom one works tho..?

do I have to restart everytime I add a new sound file?
does the player unit talk like all others?
does oggdrop occasionally not work?
does OFP do random stuff ups?

Heelpp!!!
« Last Edit: 28 Aug 2002, 07:45:18 by Cedaie »

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #12 on: 28 Aug 2002, 09:32:47 »
Heloo, does anyone else have this problem???


First sound plays, lips and all, second sound doesnt play, but lip file does, this is my campaign I'm working on, if I cant get this to work, there will be no sound  :'(
« Last Edit: 28 Aug 2002, 09:33:18 by Cedaie »

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Cant hear stuff all!
« Reply #13 on: 28 Aug 2002, 10:02:06 »
You don't need to put the sound dirs so this will work too, if your not using resistance you might need to exit the editor then reload before the game notices the changes in your description file. And are you sure your second sound is 16-bit, Mono & a constant bitrate? It needs to be longer than a second too.

class CfgSounds
{
  sounds[] = {civil1,ap1};

  class civil1
  {
      name = "chat1";
      sound[] = {"German1.ogg", db+30, 1.0};
      titles[] = {};
  };

  class ap1
  {
      name = "chat2";
      sound[] = {"ap1.ogg", db+30, 1.0};
      titles[] = {};
  };

};

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #14 on: 28 Aug 2002, 10:32:59 »
I haven't got resistance  :-X :'( I want it so damn much, im gonna work my ass off to nab it off Wolfsbane  :D

about that more than second thing, I dunno if it is, I can make it longer I supose, but that kinda sucks, what if you just want him to say "yes", damn you BIS! ;)

the second sound is what ever is default in OggDrop
and the file is straight off of where the first one came from (text-to-speech)

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #15 on: 28 Aug 2002, 10:33:46 »
I haven't got resistance  :-X :'( I want it so damn much, im gonna work my ass off to nab it off Wolfsbane  :D

about that more than second thing, I dunno if it is, I can make it longer I supose, but that kinda sucks, what if you just want him to say "yes", damn you BIS! ;)

the second sound is what ever is default in OggDrop
and the file is straight off of where the first one came from (text-to-speech)

Cedaie

  • Guest
Re:Cant hear stuff all!
« Reply #16 on: 28 Aug 2002, 10:44:12 »
Rack this Up and ship it to depot island moderators, this ones for the books

all is working, thanks black_feather, it was 1 second with "sorry, i dont speak German" so I made it "oh, Im sorry, I don't speak German"

fickle thing.

Cheers OFPEC  :D
« Last Edit: 28 Aug 2002, 10:44:40 by Cedaie »