Jump to content
Sign in to follow this  
BlackScorpion

Some help needed.

Recommended Posts

help.gif

Hello there, I started making my 1st island few weeks ago. Nothing special there yet. Anyways, after many tries, I managed to import the island to OFP somehow. But when I try to start mission editor, I get this message:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">No entry 'config.cpp/CfgWorlds.mytest1'.

When I choose the island from the list, the same message appears and the map is Desert Island. I assume that the OFP config is missing few lines, but I wouldn't want to edit it.

Island config is short and simple, made using the WrpTool 12km template.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgPatches {

class mytest1 {

units[] = {};

weapons[] = {};

worlds[] = {mytest1};

requiredVersion = 1.96;

};

};

class CfgWorlds {

class Myworld {};

class Intro : Myworld {};

class mytest : Intro {

description = "Mytest1";

icon = "\mytest\_wrptool_12km.paa";

worldName = "\mytest\mytest1.wrp";

};

};

class CfgWorldList {

class mytest1 {};

};

confused_o.gif

Any idea of the reason? All help is appreciated. Thanks in advance.

Share this post


Link to post
Share on other sites

Try this one:

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

// mytest1

#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 mytest

{

units[] = {};

weapons[] = {};

worlds[] = {"mytest1"};

requiredVersion = 1.30;

};

};

class CfgVehicles{};

class CfgSurfaces

{

class Default {};

};

class CfgEnvSounds {};

class CfgWorlds

{

class DefaultWorld {};

class mytest1: DefaultWorld

{

access=3;

description="Mytest1";

icon="_training.paa";

worldName="\mytest\mytest1.wrp";

class Sounds

{

sounds[]={};

};

class Animation

{

vehicles[]={};

};

class Names

{

};

};

};

class CfgWorldList

{

class mytest1{};

};

Planck

Share this post


Link to post
Share on other sites

Ah, thanks, it worked after slight modifications (I had given the wrong .pbo name, for example).

Now I have to learn how to make roads...

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  

×