Results 1 to 1 of 1

Thread: TutIsland config.cpp dont work..

  1. #1

    TutIsland config.cpp dont work..

    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?
    Last edited by aaman; Dec 3 2010 at 19:44.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •