Home   Help Search Login Register  

Author Topic: This Error is Bugging Me  (Read 647 times)

0 Members and 1 Guest are viewing this topic.

Offline OFPWiZard

  • Members
  • *
This Error is Bugging Me
« on: 13 Feb 2005, 11:15:17 »
OK i have this big ass description.ext file.
It has text/pic/identities/sounds/radio/soundeffects too... etc.

I edited a lot and i got it done to what i want it to be.  There was some errors befre this error i don't understand.::

Config User\NP Video\missions\NP Video.Noe\description.ext: some input after EndOfFile.

^
That is what it says... i did change things around and found mor emistakes but i am pretty sure it's good enough.  Unless there ia a format that i am using wrong.

So if anyone could give up time to look at this problem, i will be greatful of you.

Thanks  ;D

description.ext file
Code: [Select]
onLoadMission=$STRD_np01
onLoadIntro=$STRD_np01

class RscStdText
  {
   type=0;
   idc=-1;
   style=2;
   colorBackground[]={0,0,0,0};
   colorText[]={1,1,1,1};      
   font="tahomaB24";
   size=1;
  };
   type=0;
   idc=-1;
   style=2;
   colorBackground[]={0,0,0,0};
   colorText[]={1,1,1,1};      
   font="garamond64";
   size=1;
  };
   type=0;
   idc=-1;
   style=2;
   colorBackground[]={0,0,0,0};
   colorText[]={1,1,1,1};      
   font="SteelfishB128";
   size=1;
  };

class RscTitles
{
   titles[]={ofppic,ofpdreed,production,name};
   
   class ofppic
   {
        idd=-1;
        movingEnable=0;
        duration=10;
        fadein=1;
      fadeout=2;
        name="ofppic";
        controls[]={"Pic",};
       
        class Pic : RscStdText
          {
             style=48;
         colorBackground[]={0,0,0,1};
             text="ofpwizard.jpg";
             x=0.25;
             y=0.40;
             w=0.512;
             h=0.256;
          };
       
   };
   class ofpdreed
   {
      name = "ofpdreed";
      duration = 10;
      idd = -1;
      movingEnable = false;
     
      controls[]=
      {
         work1,
         name1
      };
     

      class work1 : RscText
      {
         style = ST_MULTI + ST_CENTER + ST_NO_RECT;
         lineSpacing = 1.0;
         text = "$STR_np01";
         x = 0.15; y = 0.50; w = 0.65; h = 0.6;
         colorText[] = {1.0, 1.0, 1.0, 1};
         font = garamond64;
         sizeEx = 1.5 * 0.1;
         size = 2;
      };
      class name1 : RscText
      {
         style = ST_MULTI + ST_CENTER + ST_NO_RECT;
         lineSpacing = 1.0;
         text = "$STR_np02";
         x = 0.35; y = 0.55; w = 0.65; h = 0.3;
         colorText[] = {1.0, 1.0, 1.0, 1};
         font = garamond64;
         sizeEx = 1.5 * 0.1;
         size = .5;
      };
   };
   class production
   {
      name = "production";
      duration = 3;
      idd = -1;
      movingEnable = false;
     
      controls[]=
      {
         name1
      };
     
      class name1 : RscText
      {
         style = ST_MULTI + ST_CENTER;
         lineSpacing = 1.0;
         text = "$STR_np03";
         x = 0.18; y = 0.50; w = 0.65; h = 0.4;
         colorText[] = {1.0, 1.0, 1.0, 1};
         font = SteelfishB128;
         sizeEx = 1.5 * 0.1;
         size = .8;
      };
   };
   class name
   {
      name = "name";
      duration = 3;
      idd = -1;
      movingEnable = false;
     
      controls[]=
      {
         name1
      };
     
      class name1 : RscText
      {
         style = ST_MULTI + ST_CENTER;
         lineSpacing = 1.0;
         text = "$STR_np04";
         x = 0.18; y = 0.50; w = 0.65; h = 0.4;
         colorText[] = {1.0, 1.0, 1.0, 1};
         font = AudreysHandI48;
         sizeEx = 1.5 * 0.1;
         size = 2;
      };
   };  
};

class CfgSounds
{
   sounds[] = { };


   class Mnp01
   {
      name = "Mnp01";
      sound[] = {"Mnp01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp01
      };
   class Mnp02
   {
      name = "Mnp02";
      sound[] = {"Mnp02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp02
      };
   class Mnp03
   {
      name = "Mnp03";
      sound[] = {"Mnp03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp03
      };
   class Mnp04
   {
      name = "Mnp04";
      sound[] = {"Mnp04.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp04
      };
   class Mnp05
   {
      name = "Mnp05";
      sound[] = {"Mnp05.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp05
      };
   class Mnp06
   {
      name = "Mnp06";
      sound[] = {"Mnp06.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp06
      };
   class Mnp07
   {
      name = "Mnp07";
      sound[] = {"Mnp07.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp07
      };
   class Mnp08
   {
      name = "Mnp08";
      sound[] = {"Mnp08.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp08
      };
   class Mnp09
   {
      name = "Mnp09";
      sound[] = {"Mnp09.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp09
      };
   class Mnp10
   {
      name = "Mnp10";
      sound[] = {"Mnp10.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp10
      };
   class Mnp11
   {
      name = "Mnp11";
      sound[] = {"Mnp11.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp11
      };
   class Mnp12
   {
      name = "Mnp12";
      sound[] = {"Mnp12.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp12
      };
   class Mnp13
   {
      name = "Mnp13";
      sound[] = {"Mnp13.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp13
      };
   class Mnp14
   {
      name = "Mnp14";
      sound[] = {"Mnp14.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp14
      };
   class Mnp15
   {
      name = "Mnp15";
      sound[] = {"Mnp15.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp15
      };
   class Mnp16
   {
      name = "Mnp16";
      sound[] = {"Mnp16.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp16
      };
   class Mnp17
   {
      name = "Mnp17";
      sound[] = {"Mnp17.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp17
      };
   class Mnp18
   {
      name = "Mnp18";
      sound[] = {"Mnp18.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp18
      };
   class Mnp19
   {
      name = "Mnp19";
      sound[] = {"Mnp19.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp19
      };
   class Mnp20
   {
      name = "Mnp20";
      sound[] = {"Mnp20.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp20
      };
   class Mnp21
   {
      name = "Mnp21";
      sound[] = {"Mnp21.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp21
      };
   class Mnp22
   {
      name = "Mnp22";
      sound[] = {"Mnp22.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp22
      };
   class Mnp23
   {
      name = "Mnp23";
      sound[] = {"Mnp23.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp23
      };
   class Mnp24
   {
      name = "Mnp24";
      sound[] = {"Mnp24.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp24
      };
   class Mnp25
   {
      name = "Mnp25";
      sound[] = {"Mnp25.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp25
      };
   class Mnp26
   {
      name = "Mnp26";
      sound[] = {"Mnp26.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp26
      };
   class Mnp27
   {
      name = "Mnp27";
      sound[] = {"Mnp27.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp27
      };
   class Mnp28
   {
      name = "Mnp28";
      sound[] = {"Mnp28.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp28
      };
   class Mnp29
   {
      name = "Mnp29";
      sound[] = {"Mnp29.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp29
      };
   class Mnp30
   {
      name = "Mnp30";
      sound[] = {"Mnp30.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp30
      };
   class Mnp31
   {
      name = "Mnp31";
      sound[] = {"Mnp31.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp31
      };
   class Mnp32
   {
      name = "Mnp32";
      sound[] = {"Mnp32.ogg", db+25, 1.0};
      titlesfont = "Mnp01";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp32
      };
   class Mnp33
   {
      name = "Mnp33";
      sound[] = {"Mnp33.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp33
      };
   class Mnp34
   {
      name = "Mnp34";
      sound[] = {"Mnp34.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Mnp34
      };


   class Anp01
   {
      name = "Anp01";
      sound[] = {"Anp01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp01
      };
   class Anp02
   {
      name = "Anp02";
      sound[] = {"Anp02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp02
      };
   class Anp03
   {
      name = "Anp03";
      sound[] = {"Anp03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp03
      };
   class Anp04
   {
      name = "Anp04";
      sound[] = {"Anp04.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp04
      };
   class Anp05
   {
      name = "Anp05";
      sound[] = {"Anp05.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp05
      };
   class Anp06
   {
      name = "Anp06";
      sound[] = {"Anp06.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp06
      };
   class Anp07
   {
      name = "Anp07";
      sound[] = {"Anp07.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp07
      };
   class Anp08
   {
      name = "Anp08";
      sound[] = {"Anp08.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp08
      };
   class Anp09
   {
      name = "Anp09";
      sound[] = {"Anp09.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp09
      };
   class Anp10
   {
      name = "Anp10";
      sound[] = {"Anp10.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp10
      };
   class Anp11
   {
      name = "Anp11";
      sound[] = {"Anp11.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp11
      };
   class Anp12
   {
      name = "Anp12";
      sound[] = {"Anp12.ogg", db+25, 1.0};
      titlesfont = "tahomaB10";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp12
      };
   class Anp13
   {
      name = "Anp13";
      sound[] = {"Anp13.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp13
      };
   class Anp14
   {
      name = "Anp14";
      sound[] = {"Anp14.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp14
      };
   class Anp15
   {
      name = "DAnp15";
      sound[] = {"Anp15.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp15
      };
   class Anp16
   {
      name = "Anp16";
      sound[] = {"Anp16.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp16
      };
   class Anp17
   {
      name = "Anp17";
      sound[] = {"Anp17.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp17
      };
   class Anp18
   {
      name = "Anp18";
      sound[] = {"Anp18.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp18
      };
   class Anp19
   {
      name = "Anp19";
      sound[] = {"Anp19.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp19
      };
   class Anp20
   {
      name = "Anp20";
      sound[] = {"Anp20.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp20
      };
   class Anp21
   {
      name = "Anp21";
      sound[] = {"Anp21.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp21
      };
   class Anp22
   {
      name = "Anp22";
      sound[] = {"Anp22.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp22
      };
   class Anp23
   {
      name = "Anp23";
      sound[] = {"Anp23.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp23
      };
   class Anp24
   {
      name = "Anp24";
      sound[] = {"Anp24.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Anp24
      };


   class Nnp01
   {
      name = "Nnp01";
      sound[] = {"Nnp01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp01
      };
   class Nnp02
   {
      name = "Nnp02";
      sound[] = {"Nnp02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp02
      };
   class Nnp03
   {
      name = "Nnp03";
      sound[] = {"Nnp03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp03
      };
   class Nnp04
   {
      name = "Nnp04";
      sound[] = {"Nnp04.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp04
      };
   class Nnp05
   {
      name = "Nnp05";
      sound[] = {"Nnp05.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp05
      };
   class Nnp06
   {
      name = "Nnp06";
      sound[] = {"Nnp06.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp06
      };
   class Nnp07
   {
      name = "Nnp07";
      sound[] = {"Nnp07.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp07
      };
   class Nnp08
   {
      name = "Nnp08";
      sound[] = {"Nnp08.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp08
      };
   class Nnp09
   {
      name = "Nnp09";
      sound[] = {"Nnp09.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp09
      };
   class Nnp10
   {
      name = "Nnp10";
      sound[] = {"Nnp10.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp10
      };
   class Nnp11
   {
      name = "Nnp11";
      sound[] = {"Nnp11.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp11
      };
   class Nnp12
   {
      name = "Nnp12";
      sound[] = {"Nnp12.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Nnp12
      };


   class Snp01
   {
      name = "Snp01";
      sound[] = {"Snp01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp01
      };
   class Snp02
   {
      name = "Snp02;
      sound[] = {"Snp02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp02
      };
   class Snp03
   {
      name = "Snp03";
      sound[] = {"Snp03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp03
      };
   class Snp04
   {
      name = "Snp04";
      sound[] = {"Snp04.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp04
      };
   class Snp05
   {
      name = "Snp05";
      sound[] = {"Snp05.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp05
      };
   class Snp06
   {
      name = "Snp06";
      sound[] = {"Snp06.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp06
      };
   class Snp07
   {
      name = "Snp07";
      sound[] = {"Snp07.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp07
      };
   class Snp08
   {
      name = "Snp08";
      sound[] = {"Snp08.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp08
      };
   class Snp09
   {
      name = "Snp09";
      sound[] = {"Snp09.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp09
      };
   class Snp10
   {
      name = "Snp10";
      sound[] = {"Snp10.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp10
      };
   class Snp11
   {
      name = "Snp11";
      sound[] = {"Snp11.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp11
      };
   class Snp12
   {
      name = "Snp12";
      sound[] = {"Snp12.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp12
      };
   class Snp13
   {
      name = "Snp13";
      sound[] = {"Snp13.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp13
      };
   class Snp14
   {
      name = "Snp14";
      sound[] = {"Snp14.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_Snp14
      };


   class C1np01
   {
      name = "C1np01";
      sound[] = {"C1np01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_C1np01
      };
   class C1np02
   {
      name = "C1np02";
      sound[] = {"C1np02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_C1np02
      };
   class C1np03
   {
      name = "C1np03";
      sound[] = {"C1np03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_C1np03
      };
   class C2np01
   {
      name = "C2np01";
      sound[] = {"C2np01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_C2np01
      };
   };
   class C3np01
   {
      name = "C3np01";
      sound[] = {"C3np01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] =
      {
         0, $STRD_C3np01
      };
   };
};

class CfgRadio
{
   sounds[] = { };

   class Rnp01
   {
      name = "Rnp01";
      sound[] = {"Rnp01.ogg", db-05, 1.0};
      title = $STRD_Rnp01;
   };
   class C2np02
   {
      name = "C2np02";
      sound[] = {"C3np02.ogg", db-05, 1.0};
      title = $STRD_C2np02;
   };
   class C3np02
   {
      name = "C3np02";
      sound[] = {"C3np02.ogg", db-05, 1.0};
      title = $STRD_C3np02;
   };
   class HQnp01
   {
      name = "HQnp01";
      sound[] = {"HQnp01.ogg", db-05, 1.0};
      title = $STRD_HQnp01;
   };
   class HQnp02
   {
      name = "HQnp02";
      sound[] = {"HQnp02.ogg", db-05, 1.0};
      title = $STRD_HQnp02;
   };
};

class CfgSFX
{
   sounds[] =
      {
          boom, end, fire1, fire2, fire3, reload, siren
      };

    class boom
    {
        sounds[]={sound1};
        name = "boom";
       
        sound1[]={"boom.ogg", db-05,1, 1, 0, 0, 0};
        empty[]= {, , , , , , ,};
    };


    class end
    {
        sounds[]={sound1};
        name = "end";
       
        sound1[]={"end.ogg", db-10,1, 1, 0, 0, 0};
        empty[]= {, , , , , , ,};
    };    



    class fire1
    {
        sounds[]={sound1};
        name = "fire1";
       
        sound1[]={"fire1.ogg", db-05,1, 1, 0, 0, 0};
        empty[]= {, , , , , , ,};
    };    



    class fire2
    {
        sounds[]={sound1};
        name = "fire2";
       
        sound1[]={"fire2.ogg", db-05,1, 1, 0, 0, 0};
        empty[]= {, , , , , , ,};
    };    



    class fire3
    {
        sounds[]={sound1};
        name = "fire3";
       
        sound1[]={"fire3.ogg", db-05,1, 1, 0, 0, 0};
        empty[]= {, , , , , , ,};
    };    



    class reload
    {
        sounds[]={sound1};
        name = "reload";
       
        sound1[]={"reload.ogg", db-05,1, 1, 0, 0, 0};
        empty[]= {, , , , , , ,};
    };    



    class siren
    {
        sounds[]={sound1};
        name = "siren";
       
        sound1[]={"siren.ogg", db-05,1, 1, 0, 0, 0};
        empty[]= {, , , , , , ,};
    };
   
};

class CfgMusic
{
   tracks[]={50cent,blindside,starsailor};

   class 50cent
   {
      name = "50 Cent - In Da Club";
      sound[] = {\music\50cent.ogg, db+30, 1.0};
   };
   class blindeside
   {
      name = "Blindside - Caught A Glimpse";
      sound[] = {\music\blindeside.ogg, db+30, 1.0};
   };
   class starsailor
   {
      name = "Starsailor - Way to Fall";
      sound[] = {\music\starsailor.ogg, db+30, 1.0};
   };
};

class CfgIdentities
{
   class Adam
   {
      name = "Adam";
      face="Face13";
      glasses="Sunglasses3";
      speaker="Jonah";
      pitch=1.000000;
   };
   class Matt
« Last Edit: 13 Feb 2005, 11:18:01 by OFPWiZard »

Offline OFPWiZard

  • Members
  • *
Re:This Error is Bugging Me
« Reply #1 on: 13 Feb 2005, 11:20:52 »
Code: [Select]
   {
      name = "Matt";
      face="Face8";
      glasses="Spectacles";
      speaker="George";
      pitch=1.000000;
   };
   class Niga
   {
      name = "Niga";
      face="Face49";
      glasses="Sunglasses5_2";
      speaker="Jonah";
      pitch=1.000000;
   };
   class Sarah
   {
      name = "Sarah";
      face = "Lada";
      glasses="Sunglasses5_4";
      speaker = "Paul";
      pitch=1.000000;
   };
   class Cop1
   {
      name = "Cop1";
      face="Face4";
      glasses="Sunglasses11";
      speaker="Dan";
      pitch=1.000000;
   };
   class Cop2
   {
      name = "Cop2";
      face = "Face50";
      glasses="Sunglasses5_1";
      speaker = "Rob";
      pitch = 1.000000;
   };
   class Cop3
   {
      name = "Cop3";
      face="FaceR04";
      glasses="Spectacles";
      speaker="Dan";
      pitch=1.000000;
   };
   class Cop4
   {
      name = "Cop4";
      face="Face45";
      glasses="Sunglasses2";
      speaker="Adam";
      pitch=1.000000;
   };
   class Cop5
   {
      name = "Cop5";
      face="FaceR02";
      glasses="Glasses3";
      speaker="Paul";
      pitch=1.000000;
   };
   class Cop6
   {
      name = "Cop6";
      face="Face5";
      glasses="Glasses2";
      speaker="George";
      pitch=1.000000;
   };
};

YES I AM SORRY, there is a lot... but like i said i tried myself too.

I am looking within the stringtable to see if that could be the problem... i found some misups but it looks fine now.

Well ya, hopefully someone could point me to the right place towards this error.  Myabe tell me what i should look at or even create.

Thanks again.
l8r
pe@ce   ;)

AK-Chester

  • Guest
Re:This Error is Bugging Me
« Reply #2 on: 13 Feb 2005, 18:26:34 »
Lots of brackets missing there, a few defines used (but undefined) and some weird coding.

This should work - or at least NOT give you an error message:
Code: [Select]
onLoadMission = $STRD_np01;
onLoadIntro = $STRD_np01;

#define CT_STATIC      0
#define CT_BUTTON      1
#define CT_EDIT         2
#define CT_SLIDER      3
#define CT_COMBO      4
#define CT_LISTBOX      5
#define CT_TOOLBOX      6
#define CT_CHECKBOXES      7
#define CT_PROGRESS      8
#define CT_HTML         9
#define CT_STATIC_SKEW      10
#define CT_ACTIVETEXT      11
#define CT_TREE         12
#define CT_3DSTATIC      20
#define CT_3DACTIVETEXT      21
#define CT_3DLISTBOX      22
#define CT_3DHTML      23
#define CT_3DSLIDER      24
#define CT_3DEDIT      25
#define CT_OBJECT      80
#define CT_OBJECT_ZOOM      81
#define CT_OBJECT_CONTAINER   82
#define CT_OBJECT_CONT_ANIM   83
#define CT_USER         99
#define ST_HPOS         0x0F
#define ST_LEFT         0
#define ST_RIGHT      1
#define ST_CENTER      2
#define ST_UP         3
#define ST_DOWN         4
#define ST_VCENTER      5
#define ST_TYPE         0xF0
#define ST_SINGLE      0
#define ST_MULTI      16
#define ST_TITLE_BAR      32
#define ST_PICTURE      48
#define ST_FRAME      64
#define ST_BACKGROUND      80
#define ST_GROUP_BOX         96
#define ST_GROUP_BOX2      112
#define ST_HUD_BACKGROUND   128
#define ST_TILE_PICTURE      144
#define ST_WITH_RECT      160
#define ST_LINE         176
#define ST_SHADOW      256
#define ST_NO_RECT      512
#define ST_TITLE      ST_TITLE_BAR + ST_CENTER
#define IDC_OK         1
#define IDC_CANCEL      2
#define TextColor      0.08, 0.08, 0.12
#define InvTextColor      0.35, 0.38, 0.36
#define FontS          "tahomaB24"
#define FontM          "tahomaB36"
#define FontHTML       "courierNewB64"
#define FontHTMLBold       "courierNewB64"
#define FontMAP       "courierNewB64"
#define FontMAIN       "SteelfishB64"
#define FontMAINCZ       "SteelfishB64CE"
#define FontTITLE       "SteelfishB128"
#define FontTITLEHalf       "SteelfishB64"
#define FontBOOK       "garamond64"
#define FontNOTES       "AudreysHandI48"

class RscStdText
{
   type=0;
   idc=-1;
   style=2;
   colorBackground[]={0,0,0,0};
   colorText[]={1,1,1,1};    
   font="tahomaB24";
   size=1;
};

class RscText
{
   type = CT_STATIC;
   idc = -1;
   style = ST_LEFT;
   h = 0.04;
   colorBackground[] = {0, 0, 0, 0};
   colorText[] = {TextColor, 0.75};
   font = FontS;
   sizeEx = 0.02;
};

class RscTitles
{
   titles[]={ofppic,ofpdreed,production,name};
 
   class ofppic
   {
      idd=-1;
      movingEnable=0;
      duration=10;
      fadein=1;
      fadeout=2;
      name="ofppic";
      controls[]={Pic};
       
      class Pic : RscStdText
      {
         style=48;
         colorBackground[]={0,0,0,1};
         text="ofpwizard.jpg";
         x=0.25;
         y=0.40;
         w=0.512;
         h=0.256;
      };      
   };
   class ofpdreed
   {
      name = "ofpdreed";
      duration = 10;
      idd = -1;
      movingEnable = false;
     
      controls[]= {work1,name1};
     
      class work1 : RscText
      {
         style = ST_MULTI + ST_CENTER + ST_NO_RECT;
         lineSpacing = 1.0;
         text = "$STR_np01";
         x = 0.15; y = 0.50; w = 0.65; h = 0.6;
         colorText[] = {1.0, 1.0, 1.0, 1};
         font = garamond64;
         sizeEx = 1.5 * 0.1;
         size = 2;
      };
      class name1 : RscText
      {
         style = ST_MULTI + ST_CENTER + ST_NO_RECT;
         lineSpacing = 1.0;
         text = "$STR_np02";
         x = 0.35; y = 0.55; w = 0.65; h = 0.3;
         colorText[] = {1.0, 1.0, 1.0, 1};
         font = garamond64;
         sizeEx = 1.5 * 0.1;
         size = .5;
      };
   };
   class production
   {
      name = "production";
      duration = 3;
      idd = -1;
      movingEnable = false;
     
      controls[]={name1};
     
      class name1 : RscText
      {
         style = ST_MULTI + ST_CENTER;
         lineSpacing = 1.0;
         text = "$STR_np03";
         x = 0.18; y = 0.50; w = 0.65; h = 0.4;
         colorText[] = {1.0, 1.0, 1.0, 1};
         font = SteelfishB128;
         sizeEx = 1.5 * 0.1;
         size = .8;
      };
   };
   class name
   {
      name = "name";
      duration = 3;
      idd = -1;
      movingEnable = false;
     
      controls[]={name1};
     
      class name1 : RscText
      {
         style = ST_MULTI + ST_CENTER;
         lineSpacing = 1.0;
         text = "$STR_np04";
         x = 0.18; y = 0.50; w = 0.65; h = 0.4;
         colorText[] = {1.0, 1.0, 1.0, 1};
         font = AudreysHandI48;
         sizeEx = 1.5 * 0.1;
         size = 2;
      };
   };
};

class CfgSounds
{
   sounds[] = { };

   class Mnp01
   {
      name = "Mnp01";
      sound[] = {"Mnp01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp01};
   };
   class Mnp02
   {
      name = "Mnp02";
      sound[] = {"Mnp02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp02};
   };
   class Mnp03
   {
      name = "Mnp03";
      sound[] = {"Mnp03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp03};
   };
   class Mnp04
   {
      name = "Mnp04";
      sound[] = {"Mnp04.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp04};
   };
   class Mnp05
   {
      name = "Mnp05";
      sound[] = {"Mnp05.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp05};
   };
   class Mnp06
   {
      name = "Mnp06";
      sound[] = {"Mnp06.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp06};
   };
   class Mnp07
   {
      name = "Mnp07";
      sound[] = {"Mnp07.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp07};
   };
   class Mnp08
   {
      name = "Mnp08";
      sound[] = {"Mnp08.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp08};
   };
   class Mnp09
   {
      name = "Mnp09";
      sound[] = {"Mnp09.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp09};
   };
   class Mnp10
   {
      name = "Mnp10";
      sound[] = {"Mnp10.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] ={0, $STRD_Mnp10};
   };
   class Mnp11
   {
      name = "Mnp11";
      sound[] = {"Mnp11.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp11};
   };
   class Mnp12
   {
      name = "Mnp12";
      sound[] = {"Mnp12.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp12};
   };
   class Mnp13
   {
      name = "Mnp13";
      sound[] = {"Mnp13.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp13};
   };
   class Mnp14
   {
      name = "Mnp14";
      sound[] = {"Mnp14.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp14};
   };
   class Mnp15
   {
      name = "Mnp15";
      sound[] = {"Mnp15.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp15};
   };
   class Mnp16
   {
      name = "Mnp16";
      sound[] = {"Mnp16.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp16};
   };
   class Mnp17
   {
      name = "Mnp17";
      sound[] = {"Mnp17.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp17};
   };
   class Mnp18
   {
      name = "Mnp18";
      sound[] = {"Mnp18.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp18};
   };
   class Mnp19
   {
      name = "Mnp19";
      sound[] = {"Mnp19.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp19};
   };
   class Mnp20
   {
      name = "Mnp20";
      sound[] = {"Mnp20.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp20};
   };
   class Mnp21
   {
      name = "Mnp21";
      sound[] = {"Mnp21.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp21};
   };
   class Mnp22
   {
      name = "Mnp22";
      sound[] = {"Mnp22.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp22};
   };
   class Mnp23
   {
      name = "Mnp23";
      sound[] = {"Mnp23.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp23};
   };
   class Mnp24
   {
      name = "Mnp24";
      sound[] = {"Mnp24.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp24};
   };
   class Mnp25
   {
      name = "Mnp25";
      sound[] = {"Mnp25.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp25};
   };
   class Mnp26
   {
      name = "Mnp26";
      sound[] = {"Mnp26.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp26};
   };
   class Mnp27
   {
      name = "Mnp27";
      sound[] = {"Mnp27.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp27};
   };
   class Mnp28
   {
      name = "Mnp28";
      sound[] = {"Mnp28.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp28};
   };
   class Mnp29
   {
      name = "Mnp29";
      sound[] = {"Mnp29.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp29};
   };
   class Mnp30
   {
      name = "Mnp30";
      sound[] = {"Mnp30.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp30};
   };
   class Mnp31
   {
      name = "Mnp31";
      sound[] = {"Mnp31.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp31};
   };
   class Mnp32
   {
      name = "Mnp32";
      sound[] = {"Mnp32.ogg", db+25, 1.0};
      titlesfont = "Mnp01";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp32};
   };
   class Mnp33
   {
      name = "Mnp33";
      sound[] = {"Mnp33.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp33};
   };
   class Mnp34
   {
      name = "Mnp34";
      sound[] = {"Mnp34.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Mnp34};
   };
   class Anp01
   {
      name = "Anp01";
      sound[] = {"Anp01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp01};
   };
   class Anp02
   {
      name = "Anp02";
      sound[] = {"Anp02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp02};
   };
   class Anp03
   {
      name = "Anp03";
      sound[] = {"Anp03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp03};
   };
   class Anp04
   {
      name = "Anp04";
      sound[] = {"Anp04.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp04};
   };
   class Anp05
   {
      name = "Anp05";
      sound[] = {"Anp05.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp05};
   };
   class Anp06
   {
      name = "Anp06";
      sound[] = {"Anp06.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp06};
   };
   class Anp07
   {
      name = "Anp07";
      sound[] = {"Anp07.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp07};
   };
   class Anp08
   {
      name = "Anp08";
      sound[] = {"Anp08.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp08};
   };
   class Anp09
   {
      name = "Anp09";
      sound[] = {"Anp09.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp09};
   };
   class Anp10
   {
      name = "Anp10";
      sound[] = {"Anp10.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp10};
   };
   class Anp11
   {
      name = "Anp11";
      sound[] = {"Anp11.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp11};
   };
   class Anp12
   {
      name = "Anp12";
      sound[] = {"Anp12.ogg", db+25, 1.0};
      titlesfont = "tahomaB10";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp12};
   };
   class Anp13
   {
      name = "Anp13";
      sound[] = {"Anp13.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp13};
   };
   class Anp14
   {
      name = "Anp14";
      sound[] = {"Anp14.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp14};
   };
   class Anp15
   {
      name = "DAnp15";
      sound[] = {"Anp15.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp15};
   };
   class Anp16
   {
      name = "Anp16";
      sound[] = {"Anp16.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp16};
   };
   class Anp17
   {
      name = "Anp17";
      sound[] = {"Anp17.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp17};
   };
   class Anp18
   {
      name = "Anp18";
      sound[] = {"Anp18.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp18};
   };
   class Anp19
   {
      name = "Anp19";
      sound[] = {"Anp19.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp19};
   };
   class Anp20
   {
      name = "Anp20";
      sound[] = {"Anp20.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp20};
   };
   class Anp21
   {
      name = "Anp21";
      sound[] = {"Anp21.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp21};
   };
   class Anp22
   {
      name = "Anp22";
      sound[] = {"Anp22.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp22};
   };
   class Anp23
   {
      name = "Anp23";
      sound[] = {"Anp23.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp23};
   };
   class Anp24
   {
      name = "Anp24";
      sound[] = {"Anp24.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Anp24};
   };
   class Nnp01
   {
      name = "Nnp01";
      sound[] = {"Nnp01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp01};
   };
   class Nnp02
   {
      name = "Nnp02";
      sound[] = {"Nnp02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp02};
   };
   class Nnp03
   {
      name = "Nnp03";
      sound[] = {"Nnp03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp03};
   };
   class Nnp04
   {
      name = "Nnp04";
      sound[] = {"Nnp04.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp04};
   };
   class Nnp05
   {
      name = "Nnp05";
      sound[] = {"Nnp05.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp05};
   };
   class Nnp06
   {
      name = "Nnp06";
      sound[] = {"Nnp06.ogg", db+25, 1.0};
            titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp06};
   };
   class Nnp07
   {
      name = "Nnp07";
      sound[] = {"Nnp07.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] ={0, $STRD_Nnp07};
   };
   class Nnp08
   {
      name = "Nnp08";
      sound[] = {"Nnp08.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp08};
   };
   class Nnp09
   {
      name = "Nnp09";
      sound[] = {"Nnp09.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp09};
   };
   class Nnp10
   {
      name = "Nnp10";
      sound[] = {"Nnp10.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp10};
   };
   class Nnp11
   {
      name = "Nnp11";
      sound[] = {"Nnp11.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp11};
   };
   class Nnp12
   {
      name = "Nnp12";
      sound[] = {"Nnp12.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Nnp12};
   };
   class Snp01
   {
      name = "Snp01";
      sound[] = {"Snp01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp01};
   };
   class Snp02
   {
      name = "Snp02";
      sound[] = {"Snp02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp02};
   };
   class Snp03
   {
      name = "Snp03";
      sound[] = {"Snp03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp03};
   };
   class Snp04
   {
      name = "Snp04";
      sound[] = {"Snp04.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp04};
   };
   class Snp05
   {
      name = "Snp05";
      sound[] = {"Snp05.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp05};
   };
   class Snp06
   {
      name = "Snp06";
      sound[] = {"Snp06.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp06};
   };
   class Snp07
   {
      name = "Snp07";
      sound[] = {"Snp07.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp07};
   };
   class Snp08
   {
      name = "Snp08";
      sound[] = {"Snp08.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp08};
   };
   class Snp09
   {
      name = "Snp09";
      sound[] = {"Snp09.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp09};
   };
   class Snp10
   {
      name = "Snp10";
      sound[] = {"Snp10.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp10};
   };
   class Snp11
   {
      name = "Snp11";
      sound[] = {"Snp11.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp11};
   };
   class Snp12
   {
      name = "Snp12";
      sound[] = {"Snp12.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp12};
   };
   class Snp13
   {
      name = "Snp13";
      sound[] = {"Snp13.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp13};
   };
   class Snp14
   {
      name = "Snp14";
      sound[] = {"Snp14.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_Snp14};
   };
   class C1np01
   {
      name = "C1np01";
      sound[] = {"C1np01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_C1np01};
   };
   class C1np02
   {
      name = "C1np02";
      sound[] = {"C1np02.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_C1np02};
   };
   class C1np03
   {
      name = "C1np03";
      sound[] = {"C1np03.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_C1np03};
   };
   class C2np01
   {
      name = "C2np01";
      sound[] = {"C2np01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_C2np01};
   };
   class C3np01
   {
      name = "C3np01";
      sound[] = {"C3np01.ogg", db+25, 1.0};
      titlesfont = "tahomaB24";
      titlessize = 0.025;
      titles[] = {0, $STRD_C3np01};
   };
};

class CfgRadio
{
   sounds[] = { };

   class Rnp01
   {
      name = "Rnp01";
      sound[] = {"Rnp01.ogg", db-05, 1.0};
      title = $STRD_Rnp01;
   };
   class C2np02
   {
      name = "C2np02";
      sound[] = {"C3np02.ogg", db-05, 1.0};
      title = $STRD_C2np02;
   };
   class C3np02
   {
      name = "C3np02";
      sound[] = {"C3np02.ogg", db-05, 1.0};
      title = $STRD_C3np02;
   };
   class HQnp01
   {
      name = "HQnp01";
      sound[] = {"HQnp01.ogg", db-05, 1.0};
      title = $STRD_HQnp01;
   };
   class HQnp02
   {
      name = "HQnp02";
      sound[] = {"HQnp02.ogg", db-05, 1.0};
      title = $STRD_HQnp02;
   };
};

class CfgSFX
{
   sounds[] = {boom, end, fire1, fire2, fire3, reload, siren};

   class boom
   {
      sounds[]={sound1};
      name = "boom";
      sound1[]={"boom.ogg", db-05,1, 1, 0, 0, 0};
      empty[]= {, , , , , , ,};
   };
   class end
   {
      sounds[]={sound1};
      name = "end";
      sound1[]={"end.ogg", db-10,1, 1, 0, 0, 0};
      empty[]= {, , , , , , ,};
   };
   class fire1
   {
      sounds[]={sound1};
      name = "fire1";
      sound1[]={"fire1.ogg", db-05,1, 1, 0, 0, 0};
      empty[]= {, , , , , , ,};
   };
   class fire2
   {
      sounds[]={sound1};
      name = "fire2";
      sound1[]={"fire2.ogg", db-05,1, 1, 0, 0, 0};
      empty[]= {, , , , , , ,};
   };
   class fire3
   {
      sounds[]={sound1};
      name = "fire3";
      sound1[]={"fire3.ogg", db-05,1, 1, 0, 0, 0};
      empty[]= {, , , , , , ,};
   };
   class reload
   {
      sounds[]={sound1};
      name = "reload";
      sound1[]={"reload.ogg", db-05,1, 1, 0, 0, 0};
      empty[]= {, , , , , , ,};
   };
   class siren
   {
      sounds[]={sound1};
      name = "siren";
      sound1[]={"siren.ogg", db-05,1, 1, 0, 0, 0};
      empty[]= {, , , , , , ,};
   };
};

class CfgMusic
{
   tracks[]={50cent,blindside,starsailor};

   class 50cent
   {
      name = "50 Cent - In Da Club";
      sound[] = {\music\50cent.ogg, db+30, 1.0};
   };
   class blindeside
   {
      name = "Blindside - Caught A Glimpse";
      sound[] = {\music\blindeside.ogg, db+30, 1.0};
   };
   class starsailor
   {
      name = "Starsailor - Way to Fall";
      sound[] = {\music\starsailor.ogg, db+30, 1.0};
   };
};

class CfgIdentities
{
   class Adam
   {
      name = "Adam";
      face="Face13";
      glasses="Sunglasses3";
      speaker="Jonah";
      pitch=1.000000;
   };
   class Matt
   {
      name = "Matt";
      face="Face8";
      glasses="Spectacles";
      speaker="George";
      pitch=1.000000;
   };
   class Niga
   {
      name = "Niga";
      face="Face49";
      glasses="Sunglasses5_2";
      speaker="Jonah";
      pitch=1.000000;
   };
   class Sarah
   {
      name = "Sarah";
      face = "Lada";
      glasses="Sunglasses5_4";
      speaker = "Paul";
      pitch=1.000000;
   };
   class Cop1
   {
      name = "Cop1";
      face="Face4";
      glasses="Sunglasses11";
      speaker="Dan";
      pitch=1.000000;
   };
   class Cop2
   {
      name = "Cop2";
      face = "Face50";
      glasses="Sunglasses5_1";
      speaker = "Rob";
      pitch = 1.000000;
   };
   class Cop3
   {
      name = "Cop3";
      face="FaceR04";
      glasses="Spectacles";
      speaker="Dan";
      pitch=1.000000;
   };
   class Cop4
   {
      name = "Cop4";
      face="Face45";
      glasses="Sunglasses2";
      speaker="Adam";
      pitch=1.000000;
   };
   class Cop5
   {
      name = "Cop5";
      face="FaceR02";
      glasses="Glasses3";
      speaker="Paul";
      pitch=1.000000;
   };
   class Cop6
   {
      name = "Cop6";
      face="Face5";
      glasses="Glasses2";
      speaker="George";
      pitch=1.000000;
   };
};
;)

Offline OFPWiZard

  • Members
  • *
Re:This Error is Bugging Me
« Reply #3 on: 14 Feb 2005, 15:08:06 »
ya thanks i used most of your code, then i configed a lot... then i changed some files in the cvs file.


also i have a problem with the command::

username say "filename"

****
the description exe file works... and it shows everything in the effects of a trigger/waypoint... etc.  also when i put this in the ini field of have it triggered:

adam say "Anp01"
****

once i try to put it in a script... it only does lip file, unless i just do all the voices in the game before i do it in the script... for example:

to make Anp01 work in the script, i make a trigger like this:
Repeditly
Activated By:  Radio Alpha
condition:  alive(adam)
on aciv:     adam say "Anp01"

^ then it still doesn't work... but

i still have that in there.. but go to effects and go to Annoyonmous or whatever and voice... and have them Anp01.

Then preview it...

then i play it once, it works, then second time, it works but i can he it repeat in the background... then i delete the effects and only have the on aciv still the same... then it works... then it works in the script as well.

****
how to fix that?
****

also my stringtable.cvs isn't working...

i have it in tehe script but i don't know how ot activate it... it doesn't pop up the words when the dude talks... extra.

where could i find more info about that?