-martin- 10 Posted September 5, 2011 Hi guys, I've been having this problem on my island for a long time now, if I remember correctly it first happened when I added key points (city/forest/lake names etc...). When I start ArmA 2 I get an error window showing this message: Config: "names" array does not have 3 entries When I click OK the game runs normally and all the names appear on the map. This is the config that I am using, any ideas on what can be causing it?: #define _ARMA_ #define private 0 #define protected 1 #define public 2 #define ReadAndWrite 0 #define ReadAndCreate 1 #define ReadOnly 2 #define ReadOnlyVerified 3 //Class config.bin{ class CfgPatches { class tavi { units[] = {"tavi"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"CAData","Chernarus"}; version = "2009-9-1"; fileName = "tavi.pbo"; author = "Martin"; mail = "Bauerek@Hotmail.co.uk"; }; }; class CfgWorlds { class DefaultWorld { class Weather; }; class CAWorld: DefaultWorld { class Grid{}; class DayLightingBrightAlmost; class DayLightingRainy; class DefaultClutter; class Weather: Weather { class Lighting; }; }; class DefaultLighting; class tavi: CAWorld { access = 3; worldId = 4; cutscenes[] = {"taviIntro"}; description = "Taviana (BETA1)"; worldName= "tavi\tavi\tavi.wrp"; pictureShot = "tavi\tavi\data\Tav_Picture_ca.paa"; icon = ""; pictureMap = ""; plateFormat = "PT$ - #####"; plateLetters = "ABCDEGHIKLMNOPRSTVXZ"; centerPosition[] = {2720,2462,500}; seagullPos[] = {2720,2462,500}; longitude = 30; latitude = -45; landGrid = 12.5; startTime = "10:00"; startDate = "05/08/2010"; startWeather = 0.1; startFog = 0; forecastWeather = 0.4; forecastFog = 0; clutterGrid = 1; clutterDist = 150; noDetailDist = 40; fullDetailDist = 15; midDetailTexture = "ca\utes\data\ut_middle_mco.paa"; minTreesInForestSquare = 3; minRocksInRockSquare = 3; class ReplaceObjects{}; class Sounds { sounds[] = {}; }; class Animation { vehicles[] = {}; }; class Grid: Grid { offsetX = 0; offsetY = 0; class Zoom1 { zoomMax = 0.15; format = "XY"; formatX = "000"; formatY = "000"; stepX = 100; stepY = 100; }; class Zoom2 { zoomMax = 0.85; format = "XY"; formatX = "00"; formatY = "00"; stepX = 1000; stepY = 1000; }; class Zoom3 { zoomMax = 1e+030; format = "XY"; formatX = "0"; formatY = "0"; stepX = 10000; stepY = 10000; }; }; class Lighting: DefaultLighting { groundReflection[] = {0.06,0.06,0.03}; }; class DayLightingBrightAlmost: DayLightingBrightAlmost { deepNight[] = {-15, { 0.05,0.05,0.06 }, { 0.001,0.001,0.002 }, { 0.02,0.02,0.05 }, { 0.003,0.003,0.003 }, { 0.0001,0.0001,0.0002 }, { 0.0001,0.0001,0.0002 },0}; fullNight[] = {-5, { 0.05,0.05,0.05 }, { 0.02,0.02,0.02 }, { 0.04,0.04,0.04 }, { 0.04,0.04,0.04 }, { 0.01,0.01,0.02 }, { 0.08,0.06,0.06 },0}; sunMoon[] = {-3.75, { 0.045,0.04,0.04 }, { 0.04,0.04,0.04 }, { 0.045,0.04,0.04 }, { 0.04,0.04,0.04 }, { 0.04,0.035,0.04 }, { 0.1,0.08,0.09 },0.5}; earlySun[] = {-2.5, { 0.12,0.1,0.1 }, { 0.08,0.06,0.07 }, { 0.12,0.1,0.1 }, { 0.08,0.06,0.07 }, { 0.08,0.07,0.08 }, { 0.1,0.1,0.12 },1}; sunrise[] = {0, { { 0.7,0.45,0.45 },"5.16+(-4)" }, { { 0.07,0.09,0.12 },"4.0+(-4)" }, { { 0.6,0.47,0.25 },"4.66+(-4)" }, { { 0.1,0.09,0.1 },"4.3+(-4)" }, { { 0.5,0.4,0.4 },"6.49+(-4)" }, { { 0.88,0.51,0.24 },"8.39+(-4)" },1}; earlyMorning[] = {3, { { 0.65,0.55,0.55 },"6.04+(-4)" }, { { 0.08,0.09,0.11 },"4.5+(-4)" }, { { 0.55,0.47,0.25 },"5.54+(-4)" }, { { 0.1,0.09,0.1 },"5.02+(-4)" }, { { 0.5,0.4,0.4 },"7.05+(-4)" }, { { 0.88,0.51,0.24 },"8.88+(-4)" },1}; midMorning[] = {8, { { 0.98,0.85,0.8 },"8.37+(-4)" }, { { 0.08,0.09,0.11 },"6.42+(-4)" }, { { 0.87,0.47,0.25 },"7.87+(-4)" }, { { 0.09,0.09,0.1 },"6.89+(-4)" }, { { 0.5,0.4,0.4 },"8.9+(-4)" }, { { 0.88,0.51,0.24 },"10.88+(-4)" },1}; morning[] = {16, { { 1,1,0.9 },"13.17+(-4)" }, { { 0.17,0.18,0.19 },"10.26+(-4)" }, { { 1,1,0.9 },"12.67+(-4)" }, { { 0.17,0.18,0.19 },"11.71+(-4)" }, { { 0.15,0.15,0.15 },"12.42+(-4)" }, { { 0.17,0.17,0.15 },"14.42+(-4)" },1}; noon[] = {45, { { 1,1,1 },"17+(-4)" }, { { 1,1.3,1.55 },"13.5+(-4)" }, { { 1,1,1 },"15+(-4)" }, { { 0.36,0.37,0.38 },"13.5+(-4)" }, { { 1,1,1 },"16+(-4)" }, { { 1,1,1 },"17+(-4)" },1}; }; class DayLightingRainy: DayLightingRainy { deepNight[] = {-15, { 0.0034,0.0034,0.004 }, { 0.003,0.003,0.003 }, { 0.0034,0.0034,0.004 }, { 0.003,0.003,0.003 }, { 0.001,0.001,0.002 }, { 0.001,0.001,0.002 },0}; fullNight[] = {-5, { 0.023,0.023,0.023 }, { 0.02,0.02,0.02 }, { 0.023,0.023,0.023 }, { 0.02,0.02,0.02 }, { 0.01,0.01,0.02 }, { 0.08,0.06,0.06 },0}; sunMoon[] = {-3.75, { 0.04,0.04,0.05 }, { 0.04,0.04,0.05 }, { 0.04,0.04,0.05 }, { 0.04,0.04,0.05 }, { 0.04,0.035,0.04 }, { 0.11,0.08,0.09 },0.5}; earlySun[] = {-2.5, { 0.0689,0.0689,0.0804 }, { 0.06,0.06,0.07 }, { 0.0689,0.0689,0.0804 }, { 0.06,0.06,0.07 }, { 0.08,0.07,0.08 }, { 0.14,0.1,0.12 },0.5}; earlyMorning[] = {0, { { 1,1,1 },"(-4)+3.95" }, { { 1,1,1 },"(-4)+3.0" }, { { 1,1,1 },"(-4)+3.95" }, { { 1,1,1 },"(-4)+3.0" }, { { 1,1,1 },"(-4)+4" }, { { 1,1,1 },"(-4)+5.5" },1}; morning[] = {5, { { 1,1,1 },"(-4)+5.7" }, { { 1,1,1 },"(-4)+4.5" }, { { 1,1,1 },"(-4)+5.7" }, { { 1,1,1 },"(-4)+4.5" }, { { 1,1,1 },"(-4)+7" }, { { 1,1,1 },"(-4)+8" },1}; lateMorning[] = {25, { { 1,1,1 },"(-4)+10.45" }, { { 1,1,1 },"(-4)+9.75" }, { { 1,1,1 },"(-4)+10.45" }, { { 1,1,1 },"(-4)+9.75" }, { { 1,1,1 },"(-4)+12" }, { { 1,1,1 },"(-4)+12.75" },1}; noon[] = {70, { { 1,1,1 },"(-4)+12.5" }, { { 1,1,1 },"(-4)+11" }, { { 1,1,1 },"(-4)+12" }, { { 1,1,1 },"(-4)+11" }, { { 1,1,1 },"(-4)+13.5" }, { { 1,1,1 },"(-4)+14" },1}; }; class Weather: Weather { class Lighting: Lighting { class BrightAlmost: DayLightingBrightAlmost { overcast = 0; }; class Rainy: DayLightingRainy { overcast = 1; }; }; }; class Ambient { class Mammals { radius = 200; cost = "(1 + forest + trees) * (0.5 + (0.5 * night)) * (1 - sea) * (1 - houses)"; class Species { class Rabbit { probability = 0.2; cost = 1; }; }; }; 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 Crow { probability = 0.1; 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 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 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 NoWindClutter { radius = 15; cost = 8; class Species { class FxWindPollen1 { probability = 1; cost = 1; }; }; }; }; class Clutter { #include "cfgClutter.hpp" }; class Names { #include "tavi.hpp" }; }; }; class CfgWorldList { class tavi {}; }; class CfgMissions { class Cutscenes { class taviIntro { directory = "tavi\tavi\data\scenes\Intro.tavi"; }; }; }; //SURFACES #include "cfgSurfaces.hpp" class CfgVehicles { class Thing; class GrassCutter: Thing { model="Bush\LFA14\obj\ClutterCutter.p3d"; displayName="Grass Cutter"; vehicleClass="Misc"; icon="\ca\data\data\Unknown_object.paa"; scope=2; simulation="thing"; nameSound=""; transportFuel=0; mapSize=0.700000; accuracy=0.200000; cost=0; armor=200000; }; }; I am using a seperate .HPP file for the names (tavi.hpp) class Zatok { name="Zatok"; position[]={14804,9510.57}; type="NameMarine"; radiusA=30; radiusB=30; }; class BjelaGora { name="Bjela Gora"; position[]={13191.6,10566.6}; type="Hill"; radiusA=25; radiusB=25; }; class Podgorica { name="Podgorica"; position[]={14631.4,9723.67}; type="NameLocal"; radiusA=20; radiusB=20; }; class lespodgoricak { name="Les PodgoriÄak"; position[]={14158.3,10141.5}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class Ujezd { name="Ujezd"; position[]={15193.1,10128.3}; type="NameLocal"; radiusA=20; radiusB=20; }; class kopec { name="KopeÄ"; position[]={16500.9,8339.07}; type="NameVillage"; radiusA=25; radiusB=25; }; class Krushevic { name="Grad KruÅ¡eviÄ"; position[]={16244.2,7406.14}; type="NameLocal"; radiusA=25; radiusB=25; }; class Postojna { name="Postojna"; position[]={15501.5,8512.26}; type="NameVillage"; radiusA=25; radiusB=25; }; class Novi_Boch { name="Novi BoÄ"; position[]={16873.2,8158.5}; type="NameVillage"; radiusA=25; radiusB=25; }; class karelski_kanal { name="Karelski Zaliv"; position[]={11010,8911.25}; type="NameMarine"; radiusA=250; radiusB=250; }; class les_8 { name=""; position[]={17651.9,4347.67}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class Boje { name="Boje"; position[]={15201,7886.56}; type="NameVillage"; radiusA=30; radiusB=30; }; class Balticno_more { name="BaltiÄno More"; position[]={13583.8,5618.82}; type="NameMarine"; radiusA=400; radiusB=400; }; class Les_Podgradcak { name="Les PodgradÄak "; position[]={17530.5,6845.75}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class ZutaGora { name="Žuta Gora"; position[]={17468.7,5239.15}; type="Hill"; radiusA=25; radiusB=25; }; class Stari_Sad { name="Stari Sad"; position[]={17555.4,6343.25}; type="NameVillage"; radiusA=25; radiusB=25; }; class les_9 { name=""; position[]={16657.5,5590.51}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class ljubolskij_zaliv { name="Ljubolskij Zaliv"; position[]={10222.5,14787.7}; type="NameMarine"; radiusA=50; radiusB=50; }; class Crveni_gradek { name="Crveni Gradek"; position[]={12878.5,14324.8}; type="NameVillage"; radiusA=30; radiusB=30; }; class certovo_oko { name="ÄŒertovo Oko"; position[]={17925.8,5039.47}; type="NameLocal"; radiusA=20; radiusB=20; }; class les_1 { name=""; position[]={18274.8,5477.9}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class les_2 { name=""; position[]={17039.9,8205.55}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class Les_krusevak { name="Les KruÅ¡evak"; position[]={16459.8,6608.39}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class les_4 { name=""; position[]={16874.1,7544.71}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class les_5 { name=""; position[]={16361.4,7974.87}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class nizina { name="Nižina"; position[]={17751.4,5737.78}; type="NameLocal"; radiusA=10; radiusB=10; }; class Bielov { name="Bjelov"; position[]={17319.5,7487.96}; type="NameCity"; radiusA=30; radiusB=30; }; class les_10 { name=""; position[]={15153.7,7476.7}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class Les_vrse { name="Les VrÅ¡e"; position[]={17725.2,7915.35}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class cement_1 { name="Cementarskje"; position[]={17305.4,8142.75}; type="NameLocal"; radiusA=5; radiusB=5; }; class Cement_2 { name="Zavodi"; position[]={17305.3,8104.2}; type="NameLocal"; radiusA=5; radiusB=5; }; class spicak { name="Å piÄak"; position[]={17474.7,9216.06}; type="Hill"; radiusA=25; radiusB=25; }; class balticno_more_2 { name="BaltiÄno More"; position[]={22327.6,5360.23}; type="NameMarine"; radiusA=400; radiusB=400; }; class Slovane { name="Slovane"; position[]={15250.3,9386.37}; type="NameLocal"; radiusA=20; radiusB=20; }; class Sabina { name="Sabina"; position[]={15022.2,9693.54}; type="NameCityCapital"; radiusA=30; radiusB=30; }; class stare_pole { name="Stare Pole"; position[]={16912.3,6213.9}; type="NameLocal"; radiusA=10; radiusB=10; }; class Les_Sumav { name="Les Å umav"; position[]={16215.5,9371.08}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class skalka { name="Skalka"; position[]={18311.1,6596.5}; type="NameLocal"; radiusA=20; radiusB=20; }; class Bolota { name="Bolota"; position[]={16274.8,9866.61}; type="NameMarine"; radiusA=30; radiusB=30; }; class Chlumek { name="Chlumek"; position[]={13908.5,9022.43}; type="Hill"; radiusA=25; radiusB=25; }; class Chlumec { name="Chlumec"; position[]={13261,9969.38}; type="Hill"; radiusA=25; radiusB=25; }; class Certova_stjena { name="ÄŒertova Stjena"; position[]={13044.6,8575.23}; type="NameLocal"; radiusA=20; radiusB=20; }; class les_11 { name=""; position[]={12669.2,9137.91}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class Novi_Bor { name="Novi Bor"; position[]={14507.3,11346.6}; type="NameVillage"; radiusA=25; radiusB=25; }; class Vrsina { name="VrÅ¡ina"; position[]={17392.8,10215.2}; type="Hill"; radiusA=25; radiusB=25; }; class Klet { name="Klet'"; position[]={17305.9,10800.6}; type="Hill"; radiusA=25; radiusB=25; }; class Djelnica { name="Djelnica"; position[]={15471,9560.89}; type="NameLocal"; radiusA=20; radiusB=20; }; class Centr { name="Centr"; position[]={15140.5,9836.14}; type="NameLocal"; radiusA=20; radiusB=20; }; class petrovice { name="Petrovice"; position[]={14592.7,10252.1}; type="NameLocal"; radiusA=20; radiusB=20; }; class les_12 { name=""; position[]={14836.4,11526.4}; type="VegetationBroadleaf"; radiusA=15; radiusB=15; }; class Jezero_umag { name="Jezero Umag"; position[]={15451.4,11600.5}; type="NameMarine"; radiusA=30; radiusB=30; }; class les_13 { name=""; position[]={18003,10778.3}; type="VegetationFir"; radiusA=15; radiusB=15; }; class les_14 { name=""; position[]={10932.1,11627.8}; type="VegetationFir"; radiusA=15; radiusB=15; }; class aero1 { name="Aerodrom Dubovo"; position[]={16442.4,10940.6}; type="NameLocal"; radiusA=5; radiusB=5; }; class baltiÄno_more_3 { name="Balticno More"; position[]={22252.5,13237.4}; type="NameMarine"; radiusA=400; radiusB=400; }; class otok { name="Otok"; position[]={13605.7,3643.98}; type="NameLocal"; radiusA=25; radiusB=25; }; class K { name="K"; position[]={13569.1,8230.07}; type="NameLocal"; radiusA=25; radiusB=25; }; class A { name="A"; position[]={13611.8,8181.09}; type="NameLocal"; radiusA=25; radiusB=25; }; class R { name="R"; position[]={13664.2,8129.25}; type="NameLocal"; radiusA=25; radiusB=25; }; class E { name="E"; position[]={13719.7,8078.01}; type="NameLocal"; radiusA=25; radiusB=25; }; class L { name="L"; position[]={13778.2,8031.6}; type="NameLocal"; radiusA=25; radiusB=25; }; class S { name="S"; position[]={13848.7,7974.34}; type="NameLocal"; radiusA=25; radiusB=25; }; class K2 { name="K"; position[]={13938.5,7918.88}; type="NameLocal"; radiusA=25; radiusB=25; }; class Ee { name="E"; position[]={14013.4,7869.85}; type="NameLocal"; radiusA=25; radiusB=25; }; class S2 { name="S"; position[]={13645,8050.89}; type="NameLocal"; radiusA=25; radiusB=25; }; class K3 { name="K"; position[]={13692.6,7996.64}; type="NameLocal"; radiusA=25; radiusB=25; }; class A2 { name="A"; position[]={13755.3,7956.85}; type="NameLocal"; radiusA=25; radiusB=25; }; class L2 { name="L"; position[]={13814.9,7913.45}; type="NameLocal"; radiusA=25; radiusB=25; }; class I { name="I"; position[]={13893.3,7865.23}; type="NameLocal"; radiusA=25; radiusB=25; }; I am also using seperate cfgClutter.hpp: class tav_AutumnFlowers: DefaultClutter { model=ca\plants2\clutter\c_autumn_flowers.p3d; affectedByWind = 0.4; swLighting = true; scaleMin = 0.7; scaleMax = 1.0; }; class tav_GrassCrooked: DefaultClutter { model=ca\plants2\clutter\c_GrassCrooked.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.7; scaleMax = 1.4; }; class tav_GrassCrookedGreen: DefaultClutter { model=ca\plants2\clutter\c_GrassCrookedGreen.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.9; scaleMax = 1.3; }; class tav_WeedDead: DefaultClutter { model=ca\plants2\clutter\c_WeedDead.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.75; scaleMax = 1.1; }; class tav_fern: DefaultClutter { model=ca\plants2\clutter\c_fern.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.75; scaleMax = 0.7; }; class tav_ferntall: DefaultClutter { model=ca\plants2\clutter\c_ferntall.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.75; scaleMax = 0.6; }; class tav_grasstall: DefaultClutter { model=ca\plants2\clutter\c_grasstall.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.75; scaleMax = 1.0; }; class tav_stubble: DefaultClutter { model=ca\plants2\clutter\c_stubble.p3d; affectedByWind = 0.1; swLighting = true; scaleMin = 0.75; scaleMax = 0.85; }; class tav_grassautumn: DefaultClutter { model=ca\plants2\clutter\c_grassautumn_t.p3d; affectedByWind = 0.5; swLighting = true; scaleMin = 0.75; scaleMax = 1.0; }; class tav_autumnfl: DefaultClutter { model=ca\plants2\clutter\c_autumn_flowers.p3d; affectedByWind = 0.4; swLighting = true; scaleMin = 0.75; scaleMax = 1.2; }; class tav_grassdlb: DefaultClutter { model=ca\plants2\clutter\c_grassdrylongbunch.p3d; affectedByWind = 0.4; swLighting = true; scaleMin = 0.75; scaleMax = 0.9; }; class tav_mushmmu: DefaultClutter { model=ca\plants2\clutter\c_mushroommuchomurka.p3d; affectedByWind = 0.1; swLighting = true; scaleMin = 0.15; scaleMax = 0.45; }; class tav_grassautumnbrown: DefaultClutter { model=ca\plants2\clutter\c_grassautumnbrown.p3d; affectedByWind = 0.6; swLighting = true; scaleMin = 1.0; scaleMax = 1.2; }; class tav_caluna: DefaultClutter { model=ca\plants2\clutter\c_caluna.p3d; affectedByWind = 0.5; swLighting = true; scaleMin = 1.0; scaleMax = 1.2; }; class tav_deadgrassbunch: DefaultClutter { model=ca\plants2\clutter\c_deadgrassbunch.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.8; scaleMax = 1.0; }; class tav_leaves: DefaultClutter { model=ca\plants2\clutter\c_leaves.p3d; affectedByWind = 0.1; swLighting = true; scaleMin = 0.25; scaleMax = 0.30; }; and cfgSurfaces.hpp: class CfgSurfaces { class Default {}; class TAVtrava1surface : Default { files = "tav_trava1_*"; rough = 0.1; dust = 0.1; soundEnviron = "grass"; character = "tav_trava1clutter"; }; class TAVles1surface : Default { files = "tav_les1_*"; rough = 0.1; dust = 0.1; soundEnviron = "grass"; character = "tav_les1clutter"; }; class TAVpole1surface : Default { files = "tav_pole1_*"; rough = 0.1; dust = 0.5; soundEnviron = "grass"; character = "tav_pole1clutter"; }; class TAVpole2surface : Default { files = "tav_pole2_*"; rough = 0.1; dust = 1.5; soundEnviron = "grass"; character = "tav_pole2clutter"; }; class TAVkamen1surface : Default { files = "tav_kamen1_*"; rough = 0.1; dust = 0.5; soundEnviron = "grass"; character = "tav_kamen1clutter"; }; class TAVskalasurface : Default { files = "tav_skala_*"; rough = 0.1; dust = 0.5; soundEnviron = "grass"; character = "tav_skalaclutter"; }; }; class CfgSurfaceCharacters { class tav_trava1clutter { probability[]={0.79,0.1,0.1,0.01}; names[]={tav_GrassCrookedGreen,tav_GrassCrooked,tav_AutumnFlowers,tav_WeedDead}; }; class tav_les1clutter { probability[]={0.79,0.1,0.1,0.01}; names[]={tav_fern,tav_ferntall}; }; class tav_pole1clutter { probability[]={0.79,0.1,0.1,0.01}; names[]={tav_grasstall}; }; class tav_pole2clutter { probability[]={0.79,0.1,0.1,0.01}; names[]={tav_stubble}; }; class tav_kamen1clutter { probability[]={0.79,0.1,0.1,0.01}; names[]={tav_grassautumnbrown,tav_deadgrassbunch,tav_caluna}; }; class tav_skalaclutter { probability[]={0.79,0.1,0.1,0.001}; names[]={tav_AutumnFlowers,tav_leaves,tav_caluna,tav_grasstall}; }; }; Alternatively yu can download all the files here: http://www.mediafire.com/?r910orj4hmtqmk1 Thanks in advance :bounce3: Share this post Link to post Share on other sites
Sealife 22 Posted September 6, 2011 (edited) Hi , its your probability vs number of clutter for example class tav_pole1clutter { probability[]={0.79,0.1,0.1,0.01}; names[]={tav_grasstall}; }; only 1 clutter but 4 probability , check all cfgsurface and make sure only one probability for each , so if three types of clutter thn three probability and if two clutter then only 2 probability. so class tav_pole1clutter { probability[]={0.79};// all numbers between brackets added should = maximum 1 in total but can be less so 0.79 here is ok names[]={tav_grasstall}; }; Edited September 6, 2011 by Thromp 2 Share this post Link to post Share on other sites
-martin- 10 Posted September 7, 2011 Hi , its your probability vs number of clutter for exampleclass tav_pole1clutter { probability[]={0.79,0.1,0.1,0.01}; names[]={tav_grasstall}; }; only 1 clutter but 4 probability , check all cfgsurface and make sure only one probability for each , so if three types of clutter thn three probability and if two clutter then only 2 probability. so class tav_pole1clutter { probability[]={0.79};// all numbers between brackets added should = maximum 1 in total but can be less so 0.79 here is ok names[]={tav_grasstall}; }; You're the man Thromp! The error is now gone, I thought I'll never get rid of it, thanks for your help. Share this post Link to post Share on other sites