Jump to content
Sign in to follow this  
memphisbelle

My config.cpp makes my crazy

Recommended Posts

Hello all,

I have a problem with my config.cpp. To all guys where I was talking to in another topic, dont wonder why I started a new one. But this is definately another theme then RVMAT Templates.

Back to my Problem.

I used some example configs from this board. I only changed the respective names of the wrp files and the folders.

When I create the pbo file (with Makepbo 1.1 by Amalfi) and run the game then always this error message appears:

fehler1.JPG

Cause I dont want to keep all the needed informations back for you so I added my config.cpp here as well. I hope you can help me locating the mistake I made.

The wrp filename is MB_Nova

the foldername is Testinsel

The description is Nova Island

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

class MB_Nova{

units[]={"MB_Nova"};

weapons[]={};

requiredVersion=0.1;

requiredAddons[]={"CAData", "CABuildings", "CAMisc", "CAPlants", "CARoads", "CARocks"};

};

};

class DefaultLighting; /* extern */

class DefaultLighting_CA:DefaultLighting{};

class CfgWorlds{

class DefaultClutter{

scaleMin=0.9;

scaleMax=1.4;

};

class DefaultWorld; /* extern */

class CAWorld:DefaultWorld{

class Grid{};

};

class MB_Nova:CAWorld{

access=3;

cutscenes[]={"DesertIntro1"};

description="Nova Island";

icon="";

worldName="\Testinsel\MB_Nova.wrp";

pictureMap="";

pictureShot="";

plateFormat="MB - $$ - ##";

plateLetters="ABCDEGHIKLMNOPRSTVXZ";

longitude=-40;

latitude=-40;

class Grid:Grid{

offsetX=0;

offsetY=-15360;

class Zoom1{

zoomMax=0.5;

format="XY";

formatX="Aa";

formatY="00";

stepX=200;

stepY=200;

};

class Zoom2{

zoomMax=1e+30;

format="XY";

formatX="A";

formatY="0";

stepX=2000;

stepY=2000;

};

};

startTime="8:30";

startDate="07/06/2007";

startWeather=0.1;

startFog=0;

forecastWeather=0.3;

forecastFog=0;

seagullPos[]={1272.842041, 150.000000, 14034.961914};

centerPosition[]={2500, 2500, 300};

ilsPosition[]={2545, 3000};

ilsDirection[]={0, 0.080000, 1};

ilsTaxiIn[]={2495, 2725, 2495, 2850, 2508, 2860, 2508, 3000, 2520, 3010, 2545, 3000};

ilsTaxiOff[]={2545, 2445, 2520, 2425, 2495, 2445, 2495, 2725};

drawTaxiway=0;

class ReplaceObjects{};

class Sounds{

sounds[]={};

};

class Animation{

vehicles[]={};

};

class Lighting:DefaultLighting{};

clutterGrid=1.11;

clutterDist=55;

noDetailDist=40;

fullDetailDist=5;

minTreesInForestSquare=3;

minRocksInRockSquare=4;

class clutter{

class GrassGeneral:DefaultClutter{

model="ca\plants\clutter_grass_general.p3d";

affectedByWind=0.3;

swLighting=1;

scaleMin=0.75;

scaleMax=1;

};

class GrassFlowers:GrassGeneral{

model="ca\plants\clutter_grass_flowers.p3d";

};

class GrassLong:GrassGeneral{

model="ca\plants\clutter_grass_long.p3d";

affectedByWind=0.6;

scaleMin=0.6;

scaleMax=1.1;

};

class GrassSevenbeauty:GrassGeneral{

model="ca\plants\clutter_grass_sevenbaeuty.p3d";

affectedByWind=0.2;

scaleMin=0.7;

scaleMax=1.1;

};

class GrassYellow:GrassGeneral{

model="ca\plants\clutter_grass_yellow.p3d";

affectedByWind=0.2;

scaleMin=0.7;

scaleMax=1.1;

};

class GrassDesert:GrassGeneral{

model="ca\plants\clutter_grass_desert.p3d";

};

class ForestFern:GrassGeneral{

model="ca\plants\clutter_forest_fern.p3d";

affectedByWind=0.1;

scaleMin=0.9;

scaleMax=1.1;

};//ForestFern

class SmallRocks:GrassGeneral{

model="ca\rocks\clutter_stone_small.p3d";

affectedByWind=0;

scaleMin=0.9;

scaleMax=1.1;

};

class FlowersColor:GrassGeneral{

model="ca\plants\clutter_smetanka.p3d";

};

class FlowersWhite:GrassGeneral{

model="ca\plants\clutter_white_flower.p3d";

};

class MushroomsHorcak:GrassGeneral{

model="ca\plants\clutter_horcak.p3d";

affectedByWind=0;

scaleMin=0.85;

scaleMax=1.25;

};

class MushroomsPrasivka:MushroomsHorcak{

model="ca\plants\clutter_prasivky.p3d";

};

class MushroomsBabka:MushroomsHorcak{

model="ca\plants\clutter_babka.p3d";

};

class MushroomsMuchomurka:MushroomsHorcak{

model="ca\plants\clutter_muchomurka.p3d";

};

};

class Subdivision{

class Fractal{

rougness=5;

maxRoad=0.02;

maxTrack=0.5;

maxSlopeFactor=0.05;

};//Fractal

class WhiteNoise{

rougness=2;

maxRoad=0.01;

maxTrack=0.05;

maxSlopeFactor=0.00249999;

};

minY=-0;

minSlope=0.02;

};

class Ambient{

class BigBirds{

radius=300;

cost="((1 + forest + trees) - ((2 * rain)) - houses) * (1 - night) * (1 - sea)";

class Species{

class Hawk{

probability=0.2;

cost=1;

};

};

};

class Birds{

radius=170;

cost="(1 - night) * ((1 + (3 * sea)) - (2 * rain))";

class Species{

class Seagull{

probability=0.2;

cost=1;

};

};

};

class BigInsects{

radius=20;

cost="(5 - (2 * houses)) * (1 - night) * (1 - rain) * (1 - sea) * (1 - windy)";

class Species{

class DragonFly{

probability="0.6 - (meadow * 0.5) + (forest * 0.4)";

cost=1;

};

class ButterFly{

probability="0.4 + (meadow * 0.5) - (forest * 0.4)";

cost=1;

};

};

};

class BigInsectsAquatic{

radius=20;

cost="(3 * sea) * (1 - night) * (1 - rain) * (1 - windy)";

class Species{

class DragonFly{

probability=1;

cost=1;

};

};

};

class WindClutter{

radius=10;

cost="((20 - 5 * rain) * (3 * (windy factor [0.2, 0.5]))) * (1 - sea)";

class Species{

class FxWindGrass1{

probability="0.4 - 0.2 * hills - 0.2 * trees";

cost=1;

};

class FxWindGrass2{

probability="0.4 - 0.2 * hills - 0.2 * trees";

cost=1;

};

class FxWindRock1{

probability="0.4 * hills";

cost=1;

};

class FxWindLeaf1{

probability="0.2 * trees";

cost=1;

};/

class FxWindLeaf2{

probability="0.1 * trees + 0.2";

cost=1;

};

class FxWindLeaf3{

probability="0.1 * trees";

cost=1;

};

};

};

class NoWindClutter{

radius=15;

cost="(20 * (windy factor [0.1, 0.2])) * meadow * (1 - rain) * (1 - sea) * (1 - forest) * (1 - houses)";

class Species{

class FxWindPollen1{

probability=1;

cost=1;

};

};

};

class SmallInsects{

radius=3;

cost="(12 - 8 * hills) * (1 - night) * (1 - rain) * (1 - sea) * (1 - windy)";

class Species{

class HouseFly{

probability="deadBody + (1 - deadBody) * (0.5 - forest * 0.1 - meadow * 0.2)";

cost=1;

};

class HoneyBee{

probability="(1 - deadBody) * (0.5 - forest * 0.1 + meadow * 0.2)";

cost=1;

};

class Mosquito{

probability="(1 - deadBody) * (0.2 * forest)";

cost=1;

};

};

};

class NightInsects{

radius=3;

cost="(9 - 8 * hills) * night * (1 - rain) * (1 - sea) * (1 - windy)";

class Species{

class Mosquito{

probability=1;

cost=1;

};

};

};

};

class Names{

class Veg_1{

name="";

position[]={2713.620117, 2140.919922};

type="VegetationPalm";

radiusA=50;

radiusB=50;

};

class Veg_2{

name="";

position[]={2446.090088, 3038.290039};

type="VegetationPalm";

radiusA=50;

radiusB=50;

};

class Veg_3{

name="";

position[]={2940.520020, 2923.189941};

type="VegetationPalm";

radiusA=50;

radiusB=50;

};

};

};

};

class CfgWorldList{

class MB_Nova{};

};

class CfgMissions{

class Cutscenes{

class NovaIntro1{

directory="\Testinsel\Data\scenes\intro.MB_Nova";

};

};

};//CfgMissions

Share this post


Link to post
Share on other sites

Go to line 268 in that config and then one line up (267) and you find:

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

{

probability="0.2 * trees";

cost=1;

};/

Then remove the <span style='color:red'>/</span> from the line. wink_o.gif

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  

×