Jump to content
dragon91

packing problem

Recommended Posts

When I pack my map with pboproject, I get this error:
21:04:55: Extensions:
"</ Texheaders>"
rapify x64UnicodeVersion 1.76, Dll 6.44 "config.cpp"
In File error_island \ config.cpp: Line 83 Rap: duplicated token or class

 

this is my config:

class CfgPatches
{
    class error_island
    {
        units[] =
        {
            "error_island"
        };
        weapons[] = {};
        requiredVersion = 1;
        requiredAddons[] =
        {
            "A3_Map_Stratis"
        };
    };
};
 
class CfgWorldList
{
    class error_island{};
};
 
class CfgWorlds
{
    class Stratis;
    class error_island: Stratis
    {
        cutscenes[] = {};
        description = "error_island";
        worldName = "error_island\error_island.wrp";
        author = "PMC";
        pictureMap = "error_island\data\yourtag_yourproject_pictureMap.paa";
        pictureShot = "";
 
        newRoadsShape = "";
 
        centerPosition[] =
        {
            2560, 2560
        };
        ilsDirection[] =
        {
            0, 0.08, 1
        };
        ilsPosition[] =
        {
            0, 0
        };
        ilsTaxiIn[] = {};
        ilsTaxiOff[] = {};
        drawTaxiway = false;
        class SecondaryAirports{};
        class ReplaceObjects{};
 
        class Sounds
        {
            sounds[] = {};
        };
 
        class Animation
        {
            vehicles[] = {};
        };
 
        minTreesInForestSquare = 2;
        minRocksInRockSquare = 2;
 
        class Subdivision{};
        class Names{};
    };
};
class Clutter  

    class DefaultClutter;
      class santry_BigFallenBranches_pine: DefaultClutter
    {
        model = "A3\Plants_F\Clutter\c_bigFallenBranches_pine.p3d";
        affectedByWind = 0.0;
        swLighting = "false";
        scaleMin = 0.3;
        scaleMax = 0.7;
    };
   class DefaultClutter;
   class error_island_pine02: DefaultClutter
    {
        model = "A3\Plants_F\Clutter\c_bigFallenBranches_pine02.p3d";
        affectedByWind = 0.0;
        swLighting = "false";
        scaleMin = 0.3;
        scaleMax = 0.7;
    };
   class DefaultClutter;
   class error_island_BigFallenBranches_pine03: DefaultClutter
    {
        model = "A3\Plants_F\Clutter\c_bigFallenBranches_pine03.p3d";
        affectedByWind = 0.0;
        swLighting = "false";
        scaleMin = 0.3;
        scaleMax = 0.7;
    };
   class DefaultClutter;
   class error_island_GrassGreenGroup: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_StrGrassGreen_group.p3d";
        affectedByWind = 0.6;
        swLighting = "true";
        scaleMin = 0.7;
        scaleMax = 1.0;
    };
   class DefaultClutter;
   class error_island_GrassDry: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_StrGrassDry.p3d";
        affectedByWind = 0.5;
        swLighting = "true";
        scaleMin = 0.8;
        scaleMax = 1.2;
    };
   class DefaultClutter;
   class error_island_GrassDryGroup: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_StrGrassDry_group.p3d";
        affectedByWind = 0.65;
        swLighting = "true";
        scaleMin = 0.65;
        scaleMax = 1.0;
    };
   class DefaultClutter;
   class error_island_GrassDryMediumGroup: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_StrGrassDryMedium_group.p3d";
        affectedByWind = 0.7;
        swLighting = "true";
        scaleMin = 0.8;
        scaleMax = 1.0;
    };
   class DefaultClutter;
   class error_island_WeedBrownTallGroup: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_StrWeedBrownTall_group.p3d";
        affectedByWind = 0.3;
        swLighting = "true";
        scaleMin = 0.9;
        scaleMax = 1.25;
    };
   class DefaultClutter;
   class error_island_WeedGreenTall: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_StrWeedGreenTall.p3d";
        affectedByWind = 0.3;
        swLighting = "true";
        scaleMin = 0.8;
        scaleMax = 1.2;
    };
   class DefaultClutter;
   class error_island_PlantMullein: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_StrPlantMullein.p3d";
        affectedByWind = 0.35;
        swLighting = "true";
        scaleMin = 0.7;
        scaleMax = 1.15;
    };
   class DefaultClutter;
   class error_island_ThistleYellowShrub: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_StrThistleYellowShrub.p3d";
        affectedByWind = 0.2;
        swLighting = "true";
        scaleMin = 0.7;
        scaleMax = 1.1;
    };
   class DefaultClutter;
   class error_island_ThistleThornGreen: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_Thistle_Thorn_Green.p3d";
        affectedByWind = 0.3;
        swLighting = "false";
        scaleMin = 0.3;
        scaleMax = 1.0;
    };
   class DefaultClutter;
   class error_island_ThistleThornGreenSmall: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_Thistle_Thorn_Green.p3d";
        affectedByWind = 0.25;
        swLighting = "false";
        scaleMin = 0.4;
        scaleMax = 0.7;
    };
   class DefaultClutter;
   class error_island_FlowerLowYellow2: DefaultClutter
    {
        model = "A3\plants_f\Clutter\c_Flower_Low_Yellow2.p3d";
        affectedByWind = 0.4;
        swLighting = "true";
        scaleMin = 0.6;
        scaleMax = 1.0;
    };

 };
class CfgSurfaces 
{
    class Default {};
    class error_island_dirt_Surface : Default
    {    
         files = "error_island_dirt_*";
         rough = 0.09;
         maxSpeedCoef = 0.9;
         dust = 0.5;
         soundEnviron = "dirt";
         character = "Empty";
         soundHit = "soft_ground";
         lucidity = 1;
         grassCover = 0.03;
    };
    class error_island_Surface : Default
    {    
         files = "error_island_dry_grass_*";
         rough = 0.08;
         maxSpeedCoef = 0.9;
         dust = 0.75;
         soundEnviron = "drygrass";
         character = "error_island_dry_grass_Character";
         soundHit = "soft_ground";
         lucidity = 2;
         grassCover = 0.1;
    };
    class error_island_pine_Surface : Default
    {    
         files = "error_island_forest_pine_*";
         rough = 0.12;
         maxSpeedCoef = 0.8;
         dust = 0.4;
         soundEnviron = "drygrass";
         character = "error_island_forest_pine_Character";
         soundHit = "soft_ground";
         lucidity = 3.5;
         grassCover = 0.04;
    };
    class error_island_grass_green_Surface : Default
    {    
         files = "error_island_grass_green_*";
         rough = 0.08;
         maxSpeedCoef = 0.9;
         dust = 0.15;
         soundEnviron = "grass";
         character = "error_island_green_grass_Character";
         soundHit = "soft_ground";
         lucidity = 4;
         grassCover = 0.05;
    };
    class error_island_soil_Surface : Default
    {    
         files = "error_island_soil_*";
         rough = 0.09;
         maxSpeedCoef = 0.9;
         dust = 0.5;
         soundEnviron = "dirt";
         character = "Empty";
         soundHit = "hard_ground";
         lucidity = 1;
         grassCover = 0.0;
    };
};

class CfgSurfaceCharacters
{
        class error_island_forest_pine_Character
    {
        probability[] = {0.05,0.012,0.01,0.1,0.05};
        names[] = {"error_island_BigFallenBranches_pine","error_island_BigFallenBranches_pine02","error_island_BigFallenBranches_pine03","error_island_GrassDryGroup","error_island_GrassGreenGroup"};
    };
    class error_island_green_grass_Character
      {
        probability[] = {0.92,0.07};
        names[] = {"error_island_GrassGreenGroup","error_island_FlowerLowYellow2"};
      };
    class error_island_dry_grass_Character
      {
        probability[] = {0.21,0.35,0.21,0.09,0.06,0.02};
        names[] = {"error_island_GrassDryGroup","error_island_GrassDryMediumgroup","error_island_WeedBrownTallGroup","error_island_WeedGreenTall","error_island_ThistleYellowShrub","error_island_PlantMullein"};
      };
};

Share this post


Link to post
Share on other sites

The clue is in the error Line 83 Rap: duplicated token or class

 

So looking at Line 83, you have "class DefaultClutter;" which is also ready there on Line 74. You also have it above all your other clutters! Remove them and keep line 74

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

×