Jump to content
Sign in to follow this  
aaman

TutIsland config.cpp dont work..

Recommended Posts

Made a island in visitor, look good happy.

Now OFP cant start.

"" tutisland\config.cpp/cfgworlds.`:{ encountered instead of = ""

Ok

So i change the { to = in the config.cpp

And now it´s

tutisland\config.cpp/: = encountered instead of {

What can i do about it?

Here is the config file.

// Example config file for Visitor Tutorial island

// some basic defines

#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

// type scope

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class TutIsland{units[]={};weapons[]={};requiredVersion = 1.40;};

};

class CfgWorldList {

class TutIsland {};

}

class CfgEnvSounds {};

class CfgWorlds

{

class DefaultWorld {};

class Eden: DefaultWorld {};

class TutIsland: Eden {};

{

worldName="\TutIsland\TutIsland.wrp";

description="Visitor Tutorial";

startTime="10:00";

startDate="29/2/84";

centerPosition[]={5931,6747,0};

class Names

{

};

};

};

Cant understand why there is "class TutIsland: Eden" inside the config.cpp, what has Eden to do with TutIsland?

Should i replace Eden with TutIsland?

Edited by aaman

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  

×