Jump to content
Sign in to follow this  
frankie2spankie

Desperately need help

Recommended Posts

hi guyz, im just finishin part 1 of my mission pack and ive got a syntax in my description file. The purpose of it is to enable myself and my squad to have a number of weapons available to them. I also got a changing name syntax on there. Can some1 tell me what is wrong with this syntax. The name changes but the weapons do not appear in the gear.

respawn="group";

onLoadMission=War engulfed Everon

class CfgIdentities

{

class player1

{

name = "Ferdinand Blake";

face = "Face34";

glasses="sunglasses";

speaker = "Adam";

pitch = 1.10;

}

class Weapons

{

class AK47{count = 1};

class PK{count = 1};

class FAL{count = 1};

class HKG3{count = 1};

class M21{count = 1};

class Glock{count = 1};

};

class Magazines

{

class AK47{count = 10};

class PK{count = 10};

class FALmag{count = 10};

class GlockMag{count = 10};

class Pipebomb{count = 10};

class HandGrenade{count = 10};

};

Share this post


Link to post
Share on other sites

I usually do it this way;

class Weapons

{

class FAL

{

Count = 1;

};

class HKG3

{

Count = 1;

};

class PK

{

Count = 1;

};

class M21

{

Count = 1;

};

class Glock

{

Count = 1;

};

class AK47

{

Count = 1;

};

};

class Magazines

{

class HKG3Mag

{

Count = 10;

};

class FALMag

{

Count = 10;

};

class GlockMag

{

Count = 10;

};

class M21

{

Count = 10;

};

class PK

{

Count = 10;

};

class AK47

{

Count = 10;

};

};

So maybe its just the ; after your numbers.

Hope this is your problem.. smile_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×