Home   Help Search Login Register  

Author Topic: error in description.ext file  (Read 706 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
error in description.ext file
« on: 23 Apr 2005, 09:38:19 »
okay i have an error in this description.ext something about the max score but it worked ok when i moved the cfgIdentities class to the top aswell my player doesnt have the name brain sheplan he has mt user name
and i have this in his init field
Code: [Select]
this setidentity "BS"
So if anyone knows what wrong with either of these two things

Quote
class CfgIdentities
{
   class BS
   {
      name = "Brian Sheplan";
      face = "Johan Way";
      glasses = "none";
      speaker = "Rob";
      pitch = 1;
   };
};
class CfgSounds
{
   sounds[] = { };
   
      class clipnotes
{
      name = "clipnotes";
      sound[] = {"clipnotes.ogg", db, 1.0};
      titles[] =
      {
         0, $STRM_clipnotes
      };
   };
   class cockgear
   {
      name = "cockgear";
      sound[] = {"cockgear.ogg", db, 1.0};
      titles[] =
      {
         0, $STRM_cockgear
      };
   };
   class emptymen
   {
      name = "emptymen";
      sound[] = {"emptymen.ogg", db, 1.0};
      titles[] =
      {
         0, $STRM_emptymen
      };
   };
   class reloadplan
   {
      name = "reloadplan";
      sound[] = {"reloadplan.ogg", db, 1.0};
      titles[] =
      {
         0, $STRM_reloadplan
      };
   };
};

class CfgRadio
{
   sounds[] = { };
   
   class units
   {
      name = "units";
      sound[] = {"units.ogg", db-40, 1.0};
      title = $STRM_units;
   };
   class out
   {
      name = "out";
      sound[] = {"out.ogg", db-40, 1.0};
      title = $STRM_out;
   };
   class defeat
   {
      name = "defeat";
      sound[] = {"defeat.ogg", db-40, 1.0};
      title = $STRM_defeat;
   };
   class great
   {
      name = "great";
      sound[] = {"great.ogg", db-40, 1.0};
      title = $STRM_great;
   };

onloadmission = "In Saint Pierre";
debriefing = 1;
showGPS = 1;
showMap = 1;
minScore = 850
avgScore = 1300
maxScore = 2700

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:error in description.ext file
« Reply #1 on: 23 Apr 2005, 11:51:18 »
1 - class CfgRadio lacks a closing bracket ("};") just above onLoadMission

2 - the two sounds[] arrays in CfgSounds and CfgRadio should, IIRC, list the sounds/radio messages defined.

E.g in CfgSounds:
Code: [Select]
...
sounds[] = {clipnotes, cockgear, emptymen, reloadplan };
...
and likewise for CfgRadio.
« Last Edit: 23 Apr 2005, 11:52:02 by Killswitch »