Home   Help Search Login Register  

Author Topic: why wont you talk  (Read 640 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
why wont you talk
« on: 23 Mar 2005, 21:21:50 »
i have made an intro where some soldiers get briefed with sounds but i cant make the soldier named off1 to say the sounds in the description.ext file i have

Code: [Select]
class cfgSounds
{
sounds[] = {intro1, intro2, intro3, intro4, intro5};

class intro1
{ name = "intro1";sound[] = {"intro1.ogg", db-0, 1.0}; titles[] = {0, $STRM_intro1};};
class intro2
{ name = "intro2";sound[] = {"intro2.ogg", db-0, 1.0}; titles[] = {0, $STRM_intro2};};
class intro3
{ name = "intro3";sound[] = {"intro3.ogg", db-0, 1.0}; titles[] = {0, $STRM_intro3};};
class intro4
{ name = "intro4";sound[] = {"intro4.ogg", db-0, 1.0}; titles[] = {0, $STRM_intro4};};
class intro5
{ name = "intro5";sound[] = {"intro5.ogg", db-0, 1.0}; titles[] = {0, $STRM_intro5};};
};

im pretty sure thats wright and i know my stringtable.csv file is right because it shows the text on the screen.

i have run it from a script like this (not exact)

Code: [Select]
off1 say "intro1"
~5
off1 say "intro2"

and so on i have music playing in the background but i have faded that to 0
still no look any one know why

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:why wont you talk
« Reply #1 on: 23 Mar 2005, 23:56:55 »
No error message saying "Sound intro1 cannot be found"?!?

Then the problem is most likely the quality of the sound file. Are you sure it was the correct format before you changed it into .ogg? That's the most common problem.

Second most common problem is if the sound file is too small, then OFP wont play it. Solution: record a few seconds of silence in the end of the file
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline Blanco

  • Former Staff
  • ****
Re:why wont you talk
« Reply #2 on: 24 Mar 2005, 02:28:49 »
Don't forget to reload your mission in the editor when you make changes in your description.ext  :)

Did you try it without the fadesound command?



« Last Edit: 24 Mar 2005, 02:29:37 by Blanco »
Search or search or search before you ask.

Offline 456820

  • Contributing Member
  • **
Re:why wont you talk
« Reply #3 on: 24 Mar 2005, 09:06:06 »
theres no error message the sound files are about 98.3kb is the highest and the lowest is 33.5kb i didnt even know that they had to be in the right quality so i will try that but i dont have a file that can do that so if any one knows a good one please send a link
EDIT-i converted it to 44,100khz i think but that was with the ogg converter.
« Last Edit: 24 Mar 2005, 10:44:42 by 456820 »

Offline 456820

  • Contributing Member
  • **
Re:why wont you talk
« Reply #4 on: 24 Mar 2005, 13:53:48 »
ive also tried using the playsound function and having the titlecuts running about ~0.1 seconds afterwards but it still doesnt seem to work

Offline 456820

  • Contributing Member
  • **
Re:why wont you talk
« Reply #5 on: 24 Mar 2005, 14:09:40 »
ive made a new description.ext file and it follow like this

Code: [Select]
onLoadOutroTime = false;
onLoadIntroTime = false;
debriefing = 1;
onLoadMission = "Approaching Montignac from the bottom of the hill"
showGPS = 1;
showMap = 1;
class CfgSound
{
   sounds[] =
      {
         intro1,intro2,intro3,intro4,intro5,intro6,intro7
      };

   class intro1
   {
      name = "intro1";
      sound[] = {"intro1.ogg", db-40, 1.0};
      title = $STRM_intro1;
   };
   class intro2
   {
      name = "intro2";
      sound[] = {"intro2.ogg", db-40, 1.0};
      title = $STRM_intro2;
   };
      class intro3
   {
      name = "intro3";
      sound[] = {"intro3.ogg", db+10, 1.0};
      title = $STRM_intro3;
   };
      class intro4
   {
      name = "intro4";
      sound[] = {"intro4.ogg", db+10, 1.0};
      title = $STRM_intro4;
   };
      class intro5
   {
      name = "intro5";
      sound[] = {"intro5.ogg", db+10, 1.0};
      title = $STRM_intro5;
   };
      class intro6
   {
      name = "intro6";
      sound[] = {"intro6.ogg", db+10, 1.0};
      title = $STRM_intro6;
   };
      class intro7
   {
      name = "intro7";
      sound[] = {"intro7.ogg", db+10, 1.0};
      title = $STRM_intro7;
   };
};
class CfgIdentities
{
   class HarryPotter
   {
      name = "Brian Sheplan";
      face = "Johan Way";
      glasses = "none";
      speaker = "Rob";
      pitch = 1;
   };
};

the CfgIdentities part and the first bit is just to see if they could be messing this up somehow
the files are in a folder named "Sound" and they are called "intro1" through to "intro7"
they have been converted using jetes sound lab in the editor depot.
i have also got a lip file with them.

i use a forcemap command and fade the music to 0.15 then i run a new script and have inside it

Code: [Select]
off1 say intro1
~5
"markername" setmarkertype "arrow"
~1.5
off1 say intro2
"marker2" setmakertype "destroy"

please can someone check all this and tell me what the cause of this is
and also the sound files sixes are
intro1 = 28.1kb
intro2 = 27.0kb
intro3 = 17.3kb
intro4 = 24.3kb
intro5 = 27.2kb
intro6 = 38.1kb
intro7 = 19.8kb

Offline 456820

  • Contributing Member
  • **
Re:why wont you talk
« Reply #6 on: 25 Mar 2005, 09:06:50 »
i got it working now i un pboed a bis mission then edited the description.ext file to work with me