Jump to content
Sign in to follow this  
lukemax

I Broke the config  : (

Recommended Posts

Hi all

I was fiddleing with my config for an island, but i have made an error which i cant correct.

Any ideas whats wrong?

#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define true 1

#define false 0

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class StargateWorld

{

units[] = {};

weapons[] = {};

worlds[] = {"StargateWorld"};

requiredVersion = 1.85;

};

};

class CfgVehicles{};

class CfgSurfaces

{

class Default {};

};

class CfgEnvSounds {};

class CfgWorlds

{

class DefaultWorld {};

class StargateWorld : DefaultWorld

     {

access = 3;

description = "Stargate Worlds";

icon = "\StargateWorld\_DOA.paa";

worldName = "\StargateWorld\StargateWorld.wrp";

cutscenes[] = {"..\Res\Addons\AEF_Treben_Anim\intro"};

class Sounds

{

sounds[]={};

};

class Animation

{

vehicles[]={};

};

class Names {};

};

class Lukemax

{

name="Lukemax";

position[]={10531,4076,100};

};

};

class CfgWorldList

{

class StargateWorld {};

};

Share this post


Link to post
Share on other sites

I think the names section might be wrong, try this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define true 1

#define false 0

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class StargateWorld

{

units[] = {};

weapons[] = {};

worlds[] = {"StargateWorld"};

requiredVersion = 1.85;

};

};

class CfgVehicles{};

class CfgSurfaces

{

class Default {};

};

class CfgEnvSounds {};

class CfgWorlds

{

class DefaultWorld {};

class StargateWorld : DefaultWorld

    {

access = 3;

description = "Stargate Worlds";

icon = "\StargateWorld\_DOA.paa";

worldName = "\StargateWorld\StargateWorld.wrp";

cutscenes[] = {"..\Res\Addons\AEF_Treben_Anim\intro"};

class Sounds

{

sounds[]={};

};

class Animation

{

vehicles[]={};

};

class Names

{

class Lukemax

{

name="Lukemax";

position[]={10531,4076,100};

};

};

};

};

class CfgWorldList

{

class StargateWorld {};

};

-Pilot

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  

×