Home   Help Search Login Register  

Author Topic: someone proofread this description.ext for me please  (Read 956 times)

0 Members and 2 Guests are viewing this topic.

futurehornetdriver

  • Guest
Sup all..I keep getting a "class: "W" while expected "=" error" when I try to load up this mission in the editor..here's my description.ext..thanks in advance

class CfgMusic
{
class Vines
{
name = "GetFree";
sound[] = {\music\Vines.ogg, db+30, 1.0};
};

class Green
{
name = "GreenBerets";
sound[] = {\music\Green.ogg, db+30, 1.0};
};

class Radio
{
name = "GuerillaRadio";
sound[] = {\music\Radio.ogg, db+30, 1.0};
};

class Sarge
{
name = "Sgt.Mackenzie";
sound[] = {\music\Sarge.ogg, db+30, 1.0};
};

class Man
{
name = "Leave No Man Behind";
sound[] = {\music\Man.ogg, db+30, 1.0};
};

class Son
{
name = "Fortunate Son";
sound[] = {\music\Son.ogg, db+30, 1.0};
};

class Platoon1
{
name = "Platoon-Tears";
sound[] = {\music\Platoon1.ogg, db+30, 1.0};
};

class Stop
{
name = "Stop Childeren";
sound[] = {\music\Stop.ogg, db+30, 1.0};
};

class Black
{
name = "Paint it Black"
sound[] = {\music\black.ogg, db+30, 1.0};
};

class Minstrel
{
name = "Minstrel Boy";
sound[] = {\music\Minstrel.ogg, db+30, 1.0};
};

class Animals
{
name = "Outta This Place"
sound[] = {\music\Animals.ogg, db+30, 1.0};
};
};

class Weapons
{
class FLPM4a1
{
count = 10;
};
class FLPM4A1SD
{
count = 10;
};
class FLPM4a1M203
{
count = 10;
};
class M136AT4
{
count = 10;
};
class M16
{
cound = 10;
};
class LAWlauncher
{
count = 10:
};
class M16GrenadeLauncher
{
count = 10;
};
class JMGBarrettM82
{
count = 10;
};
class Binocular
{
count = 10;
};
class M21
{
count = 10;
};
class HK
{
count = 10;
};
class HandGrenade
{
count = 80;
};
class NVgoggles
{
count = 20;
};
class Timebomb
{
count = 20;
};
class FlareRed
{
count = 20;
};
class FlareYellow
{
count = 20;
};
class Smokeshell
{
count = 20;
};
class SmokeShellRed
{
count = 20;
};
class otwm249mg
{
count = 10;
};
class otwsm249spwscopemg
{
count = 10;
};
class otwm249parascopemg
{
count = 10;
};
class otwm240mg
{
count = 10;
};
class Mine
{
count = 20;
};
};

class Magazines
{
class otwm249mag
{
count = 60;
};
class otwm240mag
{
count = 60;
};
class FLPM4a1SDmag
{
count = 60;
};
class FLPm4a1mag
{
count = 80;
};
class M16
{
count = 50;
};
class HK
{
count = 50;
};
class GrenadeLauncher
{
count = 50;
};
class Lawlauncher
{
count = 50;
};
class M21
{
count = 20;
}:
class M136AT4
{
count = 20;
};
class FlareRed
{
count = 20;
};
class Flareyellow
{
count = 20;
};
class Smokeshell
{
count = 20;
};
class SmokeshellRed
{
count = 20;
};
class handgrenade
{
count = 80;
};
class Mine
{
count = 20;
};
class Timebomb
{
count = 20;
};
class JMGBarrettM82mag
{
count = 20;
};
};

crow

  • Guest
Re:someone proofread this description.ext for me please
« Reply #1 on: 02 Oct 2002, 08:02:41 »
The only thing I see is the class and the name are not the same.  I may be wrong but I thought they had to be the same.
class CfgMusic
{
class Vines
{
name = "GetFree";    <--- should be "Vine"
sound[] = {\music\Vines.ogg, db+30, 1.0};
};

I hope I am correct in telling you this.  I believe I am. :cheers:

Offline Jonno

  • Former Staff
  • ****
  • (retired)
Re:someone proofread this description.ext for me please
« Reply #2 on: 02 Oct 2002, 15:25:27 »
I believe your not  :)
Iv always used different Track names to class names,and it doesnt effect it atall.

If you carefully look over this file you can see a few little silly mistakes im used to finding silly little things like this as im always making silly little mistakes like this :P

Quote
class Black
{
name = "Paint it Black"
sound[] = {\music\black.ogg, db+30, 1.0};
};

class Black
{
name = "Paint it Black";
sound[] = {\music\black.ogg, db+30, 1.0};
};

Quote
class Animals
{
name = "Outta This Place"
sound[] = {\music\Animals.ogg, db+30, 1.0};
};
};

class Animals
{
name = "Outta This Place";
sound[] = {\music\Animals.ogg, db+30, 1.0};
};
};

Quote
class LAWlauncher
{
count = 10:
};

class LAWlauncher
{
count = 10;
};

Quote
class M21
{
count = 20;
}:

class M21
{
count = 20;
};

see its always the smallest little typos that bugger stuff up  ;D
Paint It Black, thats like the only Strolling Bones ermmmm... Rolling Stones song I like, that I know of :D




7 P's, Proper Planning And Preparation Prevents Piss Poor Performance

futurehornetdriver

  • Guest
Re:someone proofread this description.ext for me please
« Reply #3 on: 02 Oct 2002, 20:07:32 »
thanks for the feedback guys...who knew all this stuff went into making a mission...