mcnools 62 Posted April 11, 2012 I posted in this topic in the visitor 3-forums first, but I figured it's better if I post it here since it's really about config editing. I want to have a custom horizon for my latest map, I know where the files are located etc. I'm assuming I'll have to hex-edit the horizon.p3d-model to point it to the new textures etc. but I'm unsure what to put in the config in order for the new horizon to work (on my map only of course). This my current config: class CfgPatches { class MCN_Aliabad { units[] = {MCN_Aliabad}; weapons[] = {}; requiredVersion = 1.03; requiredAddons[] = {"Takistan","CA_E","CARoads_E","CARocks_E","CAStructures_E","CAMisc_E"}; version = "2009-9-1"; fileName = "MCN_Aliabad.pbo"; author = "McNools"; mail = "McNools@gmail.com"; }; }; class CfgWorlds { class CAWorld; class Takistan: CAWorld { class Grid; class DefaultClutter; }; class MCN_Aliabad: Takistan { description = "Aliabad Region"; worldName= "\MCN\MCN_Aliabad\MCN_Aliabad.wrp"; pictureShot = "\MCN\MCN_Aliabad\data\SM_Picture_ca.paa"; centerPosition[] = {2720,2462,500}; cutscenes[] = {"MCN_AliabadIntro"}; elevationOffset = 0; seagullPos[] = {2720,2462,500}; longitude = 30; // positive is east, in degrees? latitude = -45; // positive is south, in degrees? class OutsideTerrain { satellite = "MCN\MCN_Aliabad\data\ali_satout_co.paa"; enableTerrainSynth = 1; class Layers { class Layer0 { nopx = "MCN\MCN_Aliabad\data\ali_hlina_nopx.paa"; texture = "MCN\MCN_Aliabad\data\ali_hlina_co.paa"; }; }; }; class Grid: Grid { offsetX = 0; offsetY = 5120; 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; }; }; ilsPosition[] = {1024,1024}; ilsDirection[] = {0.5075,0.08,-0.8616}; ilsTaxiIn[] = {}; ilsTaxiOff[] = {}; drawTaxiway = 0; minTreesInForestSquare = 1000; minRocksInRockSquare = 1000; class Clutter { #include "cfgClutter.hpp" }; class Names { #include "MCN_Aliabad.hpp" }; }; }; class CfgWorldList { class MCN_Aliabad {}; }; class CfgMissions { class Cutscenes { class MCN_AliabadIntro { directory = "MCN\MCN_Aliabad\data\scenes\Aliabad_Intro.MCN_Aliabad"; }; }; }; //SURFACES #include "cfgSurfaces.hpp" Does anyone know what I should add in order for it to load the new horizon-model without changing anything else? Obviously I don't want to change the sky itself, just the horizon. Thanks! Share this post Link to post Share on other sites
Robster 11 Posted April 11, 2012 erm... Hi there MCN! Just take a look at those _sky textures and you'll see that skies and horizon are stick together... If you need some reference, I can send you a config with "custom horizon"... I am not near my ArmA machine right now... Saludetes washon! Share this post Link to post Share on other sites
mcnools 62 Posted April 11, 2012 I'd like that very much! Thank you :) Share this post Link to post Share on other sites
Robster 11 Posted April 11, 2012 This is the code with Takistan horizon as seen on Clafghan... It goes inside -> class Weather: Weather and this weather class is located inside -> class yourterrain: CAWorld [color="#0000CD"]class Overcast: Overcast[/color] { class Weather1: Weather1 { sky = "ca\Takistan\Data\sky_clear_sky.paa"; skyR = "ca\Takistan\Data\sky_clear_lco.paa"; horizon = "ca\Takistan\Data\sky_clear_horizont_sky.paa"; }; class Weather7: Weather1 { sky = "ca\Takistan\Data\sky_veryclear_sky.paa"; skyR = "ca\Takistan\Data\sky_clear_lco.paa"; horizon = "ca\Takistan\Data\sky_veryclear_horizont_sky.paa"; }; class Weather2: Weather2 { sky = "ca\Takistan\Data\sky_almostclear_sky.paa"; skyR = "ca\Takistan\Data\sky_almostclear_lco.paa"; horizon = "ca\Takistan\Data\sky_almostclear_horizont_sky.paa"; }; class Weather3: Weather3 { sky = "ca\Takistan\Data\sky_semicloudy_sky.paa"; skyR = "ca\Takistan\Data\sky_semicloudy_lco.paa"; horizon = "ca\Takistan\Data\sky_semicloudy_horizont_sky.paa"; }; class Weather4: Weather4 { sky = "ca\Takistan\Data\sky_cloudy_sky.paa"; skyR = "ca\Takistan\Data\sky_cloudy_lco.paa"; horizon = "ca\Takistan\Data\sky_cloudy_horizont_sky.paa"; }; class Weather5: Weather5 { sky = "ca\Takistan\Data\sky_mostlycloudy_sky.paa"; skyR = "ca\Takistan\Data\sky_mostlycloudy_lco.paa"; horizon = "ca\Takistan\Data\sky_mostlycloudy_horizont_sky.paa"; }; class Weather6: Weather6 { sky = "ca\Takistan\Data\sky_overcast_sky.paa"; skyR = "ca\Takistan\Data\sky_overcast_lco.paa"; horizon = "ca\Takistan\Data\sky_overcast_horizont_sky.paa"; }; }; Share this post Link to post Share on other sites
mcnools 62 Posted April 12, 2012 (edited) Thanks! I'll try that later today. Hm, can't get it to work, this config-business with all the inheritance-classes and everything goes way about my head most of the time. Eliteness can't find any errors, but when I try to binarize I get two messages about errors in the config.cpp, do you mind having a look? This is what the config looks like right now: class CfgPatches { class MCN_Aliabad { units[] = {MCN_Aliabad}; weapons[] = {}; requiredVersion = 1.03; requiredAddons[] = {"Takistan","CA_E","CARoads_E","CARocks_E","CAStructures_E","CAMisc_E"}; version = "2009-9-1"; fileName = "MCN_Aliabad.pbo"; author = "McNools"; mail = "McNools@gmail.com"; }; }; class CfgWorlds { class CAWorld { class Weather { class Overcast; }; }; class Takistan: CAWorld { class Grid; class DefaultClutter; class Weather: Weather { class Lighting; class Overcast: Overcast { class Weather1; class Weather2; class Weather3; class Weather4; class Weather5; class Weather6; }; }; }; class MCN_Aliabad: Takistan { description = "Aliabad Region"; worldName= "\MCN\MCN_Aliabad\MCN_Aliabad.wrp"; pictureShot = "\MCN\MCN_Aliabad\data\SM_Picture_ca.paa"; centerPosition[] = {2720,2462,500}; cutscenes[] = {"MCN_AliabadIntro"}; elevationOffset = 0; seagullPos[] = {2720,2462,500}; longitude = 30; // positive is east, in degrees? latitude = -45; // positive is south, in degrees? class Overcast: Overcast { class Weather1: Weather1 { sky = "ca\Takistan\Data\sky_clear_sky.paa"; skyR = "ca\Takistan\Data\sky_clear_lco.paa"; horizon = "MCN_Aliabad\Data\sky_clear_horizont_sky.paa"; }; class Weather7: Weather1 { sky = "ca\Takistan\Data\sky_veryclear_sky.paa"; skyR = "ca\Takistan\Data\sky_clear_lco.paa"; horizon = "MCN_Aliabad\Data\sky_veryclear_horizont_sky.paa"; }; class Weather2: Weather2 { sky = "ca\Takistan\Data\sky_almostclear_sky.paa"; skyR = "ca\Takistan\Data\sky_almostclear_lco.paa"; horizon = "MCN_Aliabad\Data\sky_almostclear_horizont_sky.paa"; }; class Weather3: Weather3 { sky = "ca\Takistan\Data\sky_semicloudy_sky.paa"; skyR = "ca\Takistan\Data\sky_semicloudy_lco.paa"; horizon = "MCN_Aliabad\Data\sky_semicloudy_horizont_sky.paa"; }; class Weather4: Weather4 { sky = "ca\Takistan\Data\sky_cloudy_sky.paa"; skyR = "ca\Takistan\Data\sky_cloudy_lco.paa"; horizon = "MCN_Aliabad\Data\sky_cloudy_horizont_sky.paa"; }; class Weather5: Weather5 { sky = "ca\Takistan\Data\sky_mostlycloudy_sky.paa"; skyR = "ca\Takistan\Data\sky_mostlycloudy_lco.paa"; horizon = "MCN_Aliabad\Data\sky_mostlycloudy_horizont_sky.paa"; }; class Weather6: Weather6 { sky = "ca\Takistan\Data\sky_overcast_sky.paa"; skyR = "ca\Takistan\Data\sky_overcast_lco.paa"; horizon = "MCN_Aliabad\Data\sky_overcast_horizont_sky.paa"; }; }; class OutsideTerrain { satellite = "MCN\MCN_Aliabad\data\ali_satout_co.paa"; enableTerrainSynth = 1; class Layers { class Layer0 { nopx = "MCN\MCN_Aliabad\data\ali_hlina_nopx.paa"; texture = "MCN\MCN_Aliabad\data\ali_hlina_co.paa"; }; }; }; class Grid: Grid { offsetX = 0; offsetY = 5120; 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; }; }; ilsPosition[] = {1024,1024}; ilsDirection[] = {0.5075,0.08,-0.8616}; ilsTaxiIn[] = {}; ilsTaxiOff[] = {}; drawTaxiway = 0; minTreesInForestSquare = 1000; minRocksInRockSquare = 1000; class Clutter { #include "cfgClutter.hpp" }; class Names { #include "MCN_Aliabad.hpp" }; }; }; class CfgWorldList { class MCN_Aliabad {}; }; class CfgMissions { class Cutscenes { class MCN_AliabadIntro { directory = "MCN\MCN_Aliabad\data\scenes\Aliabad_Intro.MCN_Aliabad"; }; }; }; //SURFACES #include "cfgSurfaces.hpp" Edited April 12, 2012 by McNools Share this post Link to post Share on other sites
Serclaes 0 Posted April 15, 2012 Could you post those error messages? Share this post Link to post Share on other sites
mcnools 62 Posted April 16, 2012 Could you post those error messages? I'm pretty sure the only thing they say is "error in config.cpp", I'll have a look later today and see if I can post a more specific message, but I'm pretty sure that's all they say, eliteness doesn't give me any errors when checking the config. Share this post Link to post Share on other sites
.kju 3245 Posted April 16, 2012 Try this: class CfgPatches { class MCN_Aliabad { units[] = {"MCN_Aliabad"}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"Takistan"}; version = "2012-04-16"; fileName = "MCN_Aliabad.pbo"; author = "McNools"; mail = "McNools@gmail.com"; }; }; class CfgWorlds { class DefaultWorld { class Weather; }; class CAWorld: DefaultWorld { class Weather: Weather { class Overcast; }; }; class Takistan: CAWorld { class Grid; class Weather: Weather { class Overcast: Overcast { class Weather1; class Weather2; class Weather3; class Weather4; class Weather5; class Weather6; class Weather7; }; }; }; class MCN_Aliabad: Takistan { description = "Aliabad Region"; worldName= "\MCN\MCN_Aliabad\MCN_Aliabad.wrp"; pictureShot = "\MCN\MCN_Aliabad\data\SM_Picture_ca.paa"; centerPosition[] = {2720,2462,500}; cutscenes[] = {"MCN_AliabadIntro"}; elevationOffset = 0; seagullPos[] = {2720,2462,500}; longitude = 30; latitude = -45; class Overcast: Overcast { class Weather1: Weather1 { horizon = "MCN_Aliabad\Data\sky_clear_horizont_sky.paa"; }; class Weather7: Weather7 { horizon = "MCN_Aliabad\Data\sky_veryclear_horizont_sky.paa"; }; class Weather2: Weather2 { horizon = "MCN_Aliabad\Data\sky_almostclear_horizont_sky.paa"; }; class Weather3: Weather3 { horizon = "MCN_Aliabad\Data\sky_semicloudy_horizont_sky.paa"; }; class Weather4: Weather4 { horizon = "MCN_Aliabad\Data\sky_cloudy_horizont_sky.paa"; }; class Weather5: Weather5 { horizon = "MCN_Aliabad\Data\sky_mostlycloudy_horizont_sky.paa"; }; class Weather6: Weather6 { horizon = "MCN_Aliabad\Data\sky_overcast_horizont_sky.paa"; }; }; class OutsideTerrain { satellite = "MCN\MCN_Aliabad\data\ali_satout_co.paa"; enableTerrainSynth = 1; class Layers { class Layer0 { nopx = "MCN\MCN_Aliabad\data\ali_hlina_nopx.paa"; texture = "MCN\MCN_Aliabad\data\ali_hlina_co.paa"; }; }; }; class Grid: Grid { offsetX = 0; offsetY = 5120; 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; }; }; ilsPosition[] = {1024,1024}; ilsDirection[] = {0.5075,0.08,-0.8616}; ilsTaxiIn[] = {}; ilsTaxiOff[] = {}; drawTaxiway = 0; minTreesInForestSquare = 1000; minRocksInRockSquare = 1000; class Clutter { #include "cfgClutter.hpp" }; class Names { #include "MCN_Aliabad.hpp" }; }; }; class CfgWorldList { class MCN_Aliabad {}; }; class CfgMissions { class Cutscenes { class MCN_AliabadIntro { directory = "MCN\MCN_Aliabad\data\scenes\Aliabad_Intro.MCN_Aliabad"; }; }; }; //SURFACES #include "cfgSurfaces.hpp" Share this post Link to post Share on other sites
mcnools 62 Posted April 16, 2012 Hm, no luck unfortunatly, I still get "Error in config p:\mcn\MCN_Aliabad\config.cpp" two times right after one another. Share this post Link to post Share on other sites
.kju 3245 Posted April 16, 2012 The error is in one of the files you include. Comment the includes and you will see. :) Share this post Link to post Share on other sites
mcnools 62 Posted April 16, 2012 (edited) Hm, still no luck even when commenting the includes, also, they work fine with my previous config, the problem only appears when I use the new config. Here's what the included files look like (forgot to add the defaultclutter-definition for Takistan earlier, before/after class Grid there should be a class defaultclutter aswell, accidentally removed it when doing the weather thing I suppose,): cfgclutter.hpp: class sm_AutumnFlowers: DefaultClutter { model=ca\plants2\clutter\c_autumn_flowers.p3d; affectedByWind = 0.4; swLighting = true; scaleMin = 0.7; scaleMax = 1.0; }; class sm_GrassCrooked: DefaultClutter { model=ca\plants2\clutter\c_GrassCrooked.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.7; scaleMax = 1.4; }; class sm_GrassCrookedGreen: DefaultClutter { model=ca\plants2\clutter\c_GrassCrookedGreen.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.9; scaleMax = 1.3; }; class sm_WeedDead: DefaultClutter { model=ca\plants2\clutter\c_WeedDead.p3d; affectedByWind = 0.3; swLighting = true; scaleMin = 0.75; scaleMax = 1.1; }; class Ali_GrassDry: DefaultClutter { model = "CA\plants_e\Clutter\c_GrassDesert_GroupSoft_EP1.p3d"; affectedByWind = 0.7; swLighting = 1; scaleMin = 0.7; scaleMax = 1.0; }; class Ali_GrassDryLong: DefaultClutter { model = "CA\plants_e\Clutter\c_GrassDesert_GroupSoft_EP1.p3d"; affectedByWind = 0.65; swLighting = 1; scaleMin = 1.65; scaleMax = 2.2; }; class Ali_GrassGreen: DefaultClutter { model = "CA\plants_e\Clutter\c_GrassGreen_EP1.p3d"; affectedByWind = 0.7; swLighting = 1; scaleMin = 0.85; scaleMax = 1.1; }; class Ali_GrassGreenLong: DefaultClutter { model = "CA\plants_e\Clutter\c_GrassGreenLong_EP1.p3d"; affectedByWind = 0.8; swLighting = 1; scaleMin = 0.75; scaleMax = 1.0; }; class Ali_BrushHard: DefaultClutter { model = "CA\plants_e\Clutter\c_Brush_Hard_EP1.p3d"; affectedByWind = 0.4; swLighting = 1; scaleMin = 0.9; scaleMax = 1.3; }; class Ali_BrushSoft: DefaultClutter { model = "CA\plants_e\Clutter\c_Brush_Soft_EP1.p3d"; affectedByWind = 0.8; swLighting = 1; scaleMin = 0.75; scaleMax = 1.4; }; class Ali_PlantsViolet: DefaultClutter { model = "CA\plants_e\Clutter\c_Plants_Violet_EP1.p3d"; affectedByWind = 0.7; swLighting = 1; scaleMin = 1.0; scaleMax = 1.25; }; class Ali_PlantsWhite: DefaultClutter { model = "CA\plants_e\Clutter\c_Plants_White_EP1.p3d"; affectedByWind = 0.7; swLighting = 1; scaleMin = 0.85; scaleMax = 1.1; }; class Ali_Weed1: DefaultClutter { model = "CA\plants_e\Clutter\c_Weed_1_EP1.p3d"; affectedByWind = 0.65; swLighting = 1; scaleMin = 0.65; scaleMax = 1.0; }; class Ali_WeedThistle: DefaultClutter { model = "CA\plants_e\Clutter\c_Weed_Thistle_EP1.p3d"; affectedByWind = 0.7; swLighting = 1; scaleMin = 1.0; scaleMax = 1.25; }; class Ali_Mountstone: DefaultClutter { model = "CA\plants_e\Clutter\c_StoneMiddleGroupMount_EP1.p3d"; affectedByWind = 0.0; swLighting = 1; scaleMin = 1.0; scaleMax = 1.25; }; class Ali_Stonesinglesharp: DefaultClutter { model = "CA\plants_e\Clutter\c_StoneMiddleSharpSingle_EP1.p3d"; affectedByWind = 0.0; swLighting = 1; scaleMin = 1.0; scaleMax = 1.25; }; class Ali_Stonesmallround: DefaultClutter { model = "CA\plants_e\Clutter\c_StoneSmallRounded_EP1.p3d"; affectedByWind = 0.0; swLighting = 1; scaleMin = 1.0; scaleMax = 1.25; }; cfgSurfaces.hpp: class CfgSurfaces { class Default {}; class AliDirtSurface : Default { access = 2; files = "ali_hlina_*"; rough = 0.1; dust = 0.7; soundEnviron = "dirt"; character = "AliDesertClutter"; soundHit = "soft_ground"; }; class AliSandSurface : Default { access = 2; files = "ali_polopoust_*"; rough = 0.15; dust = 0.5; soundEnviron = "drygrass"; character = "AliGlesClutter"; soundHit = "soft_ground"; }; class AliDesertSurface : Default { access = 2; files = "ali_desert_*"; rough = 0.1; dust = 0.8; soundEnviron = "dirt"; character = "AliSandyClutter"; soundHit = "soft_ground"; }; class AliForestSurface : Default { access = 2; files = "ali_forest_*"; rough = 0.2; dust = 0.2; soundEnviron = "dirt"; character = "AliForestClutter"; soundHit = "soft_ground"; }; class AliRockySurface : Default { access = 2; files = "ali_valouny_*"; rough = 0.25; dust = 0.7; soundEnviron = "dirt"; character = "AliRockyClutter"; soundHit = "soft_ground"; }; class AliCliffSurface : Default { access = 2; files = "ali_skala_*"; rough = 0.35; dust = 0.2; soundEnviron = "rock"; character = "empty"; soundHit = "hard_ground"; }; class AliRiverbedSurface : Default { access = 2; files = "ali_sterk_na_dno_*"; rough = 0.2; dust = 0.6; soundEnviron = "dirt"; character = "AliRiverClutter"; soundHit = "soft_ground"; }; }; class CfgSurfaceCharacters { class AliDesertClutter { probability[] = {0.13,0.30,0.13,0.08}; names[] = {"Ali_BrushHard","Ali_GrassDry","Ali_BrushSoft","Ali_WeedThistle"}; }; class AliForestClutter { probability[] = {0.25,0.002,0.02,0.01}; names[] = {"Ali_GrassGreen","Ali_PlantsViolet","Ali_Weed1","Ali_WeedThistle"}; }; class AliRockyClutter { probability[] = {0.03,0.08,0.01,0.01}; names[] = {"Ali_BrushHard","Ali_BrushSoft","Ali_WeedThistle","Ali_Weed1"}; }; class AliGlesClutter { probability[] = {0.42,0.12,0.05,0.02}; names[] = {"Ali_GrassDryLong","Ali_GrassDry","Ali_BrushHard","Ali_PlantsWhite"}; }; class AliRiverClutter { probability[] = {0.0,0.0,0.00,0.00}; names[] = {"Ali_GrassDryLong","Ali_GrassDry","Ali_BrushHard","Ali_PlantsWhite"}; }; class AliSandyClutter { probability[] = {0.005,0.004,0.001,0.001}; names[] = {"Ali_BrushHard","Ali_BrushSoft","Ali_WeedThistle","Ali_Weed1"}; }; }; MCN_Aliabad.hpp: class farmland01 { name="farmland01"; position[]={2216.28,2946.69}; type="CityCenter"; radiusA=280; radiusB=280; }; class farmland02 { name="farmland02"; position[]={2498.12,2907.98}; type="CityCenter"; radiusA=150; radiusB=150; }; class farmland03 { name="farmland03"; position[]={2723.34,2928.41}; type="CityCenter"; radiusA=222; radiusB=222; }; class plateu01 { name="plateu01"; position[]={1988.79,2110.4}; type="CityCenter"; radiusA=250; radiusB=250; }; class plateu02 { name="plateu02"; position[]={2191.26,2289.41}; type="CityCenter"; radiusA=150; radiusB=150; }; class plateu03 { name="plateu03"; position[]={1977.64,1884.37}; type="CityCenter"; radiusA=150; radiusB=150; }; class plateu04 { name="plateu04"; position[]={2188.96,1767.77}; type="CityCenter"; radiusA=150; radiusB=150; }; class farmland04 { name="farmland04"; position[]={2670.44,3112.16}; type="CityCenter"; radiusA=122; radiusB=122; }; class farmland05 { name="farmland05"; position[]={2558.71,3316.24}; type="CityCenter"; radiusA=122; radiusB=122; }; class farmland06 { name="farmland06"; position[]={2932.72,3358.39}; type="CityCenter"; radiusA=182; radiusB=182; }; class farmland07 { name="farmland07"; position[]={2907.15,2758.46}; type="CityCenter"; radiusA=222; radiusB=222; }; class farmland08 { name="farmland08"; position[]={2563.62,2623.06}; type="CityCenter"; radiusA=222; radiusB=222; }; class farmland09 { name="farmland09"; position[]={2994.48,2535.31}; type="CityCenter"; radiusA=222; radiusB=222; }; class plateu05 { name="plateu05"; position[]={2583.75,1821.06}; type="CityCenter"; radiusA=180; radiusB=180; }; class plateu06 { name="plateu06"; position[]={2416.39,1545.02}; type="CityCenter"; radiusA=220; radiusB=220; }; class plateu07 { name="plateu07"; position[]={2814.32,1094.37}; type="CityCenter"; radiusA=370; radiusB=370; }; class farmland10 { name="farmland10"; position[]={2704.97,2386.53}; type="CityCenter"; radiusA=332; radiusB=332; }; class farmland11 { name="farmland11"; position[]={3000.08,3150.19}; type="CityCenter"; radiusA=232; radiusB=232; }; class eastfarm03 { name="eastfarm03"; position[]={3093.18,2128.62}; type="CityCenter"; radiusA=232; radiusB=232; }; class plateu09 { name="plateu09"; position[]={1657.95,1727.19}; type="CityCenter"; radiusA=297; radiusB=297; }; class plateu10 { name="plateu10"; position[]={1758.41,2198.03}; type="CityCenter"; radiusA=237; radiusB=237; }; class farmland13 { name="farmland13"; position[]={3092.03,2728.77}; type="CityCenter"; radiusA=80; radiusB=80; }; class eastfarm01 { name="eastfarm01"; position[]={3617.61,2162.8}; type="CityCenter"; radiusA=332; radiusB=332; }; class eastfarm02 { name="eastfarm02"; position[]={3422.06,1774.21}; type="CityCenter"; radiusA=332; radiusB=332; }; class eastfarm04 { name="eastfarm04"; position[]={4276.07,1609.61}; type="CityCenter"; radiusA=582; radiusB=582; }; class northfarm01 { name="northfarm01"; position[]={2038.55,3401.64}; type="CityCenter"; radiusA=280; radiusB=280; }; class eastcomp01 { name="eastcomp01"; position[]={789.032,2916.03}; type="CityCenter"; radiusA=280; radiusB=280; }; class eastcomp02 { name="eastcomp02"; position[]={1171.97,2980.65}; type="CityCenter"; radiusA=280; radiusB=280; }; class eastcomp03 { name="eastcomp03"; position[]={1511.63,2803.4}; type="CityCenter"; radiusA=290; radiusB=290; }; Like I said, these work fine with my previous config which is this: class CfgPatches { class MCN_Aliabad { units[] = {MCN_Aliabad}; weapons[] = {}; requiredVersion = 1.03; requiredAddons[] = {"Takistan","CA_E","CARoads_E","CARocks_E","CAStructures_E","CAMisc_E"}; version = "2009-9-1"; fileName = "MCN_Aliabad.pbo"; author = "McNools"; mail = "McNools@gmail.com"; }; }; class CfgWorlds { class CAWorld; class Takistan: CAWorld { class Grid; class DefaultClutter; }; class MCN_Aliabad: Takistan { description = "Aliabad Region"; worldName= "\MCN\MCN_Aliabad\MCN_Aliabad.wrp"; pictureShot = "\MCN\MCN_Aliabad\data\SM_Picture_ca.paa"; centerPosition[] = {2720,2462,500}; cutscenes[] = {"MCN_AliabadIntro"}; elevationOffset = 0; seagullPos[] = {2720,2462,500}; longitude = 30; // positive is east, in degrees? latitude = -45; // positive is south, in degrees? class OutsideTerrain { satellite = "MCN\MCN_Aliabad\data\ali_satout_co.paa"; enableTerrainSynth = 1; class Layers { class Layer0 { nopx = "MCN\MCN_Aliabad\data\ali_hlina_nopx.paa"; texture = "MCN\MCN_Aliabad\data\ali_hlina_co.paa"; }; }; }; class Grid: Grid { offsetX = 0; offsetY = 5120; 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; }; }; ilsPosition[] = {1024,1024}; ilsDirection[] = {0.5075,0.08,-0.8616}; ilsTaxiIn[] = {}; ilsTaxiOff[] = {}; drawTaxiway = 0; minTreesInForestSquare = 1000; minRocksInRockSquare = 1000; class Clutter { #include "cfgClutter.hpp" }; class Names { #include "MCN_Aliabad.hpp" }; }; }; class CfgWorldList { class MCN_Aliabad {}; }; class CfgMissions { class Cutscenes { class MCN_AliabadIntro { directory = "MCN\MCN_Aliabad\data\scenes\Aliabad_Intro.MCN_Aliabad"; }; }; }; //SURFACES #include "cfgSurfaces.hpp" I really appreciate you taking the time to help me with this! As I've said, configs go way over my head, logic has never been my thing. Edited April 16, 2012 by McNools Share this post Link to post Share on other sites
.kju 3245 Posted April 16, 2012 Try this: http://www.file-upload.net/download-4277010/MCN_Aliabad.7z.html Share this post Link to post Share on other sites
mcnools 62 Posted April 16, 2012 Hm, no, I still get the same two error in config.cpp messages, this is getting strange! Share this post Link to post Share on other sites
Serclaes 0 Posted April 16, 2012 Hmm compiling it with mikero's tools worked after one adjustment: The import of class DefaultClutter in the Takistan class. This might be a hint. Going to check further asap. Share this post Link to post Share on other sites
.kju 3245 Posted April 16, 2012 Did you use all my files? What tool do you use to pack it? With what settings? Share this post Link to post Share on other sites
mcnools 62 Posted April 16, 2012 I used all your files, and I use BinPBO, with "create signature" and "binarize" checked, "list of files to copy directly": *.pac;*.paa;*.rtm;*.sqf;*.sqs;*.bikb;*.fsm;*.wss;*.ogg;*.wav;*.fxy;*.csv;*.html;*.lip;*.txt;*.bisurf;*.rvmat;*.sqm maybe I should update binpbo or something? Share this post Link to post Share on other sites
.kju 3245 Posted April 16, 2012 Here you go: http://www.file-upload.net/download-4277918/MCN_Aliabad.7z.html You forgot the class Weather sublevel. :o Share this post Link to post Share on other sites
Serclaes 0 Posted April 16, 2012 Argh you beat me to it. Yup compiled here too, good job. :) Share this post Link to post Share on other sites
mcnools 62 Posted April 16, 2012 (edited) Here you go:http://www.file-upload.net/download-4277918/MCN_Aliabad.7z.html You forgot the class Weather sublevel. :o Ah! danke! I'll check it out! Edit: Yes! It worked! :D New problem though, loading the map in the editor I get a message that the texture can't be loaded, hm, I'll have to look into this more, the texture are in the data-folder, but there might be something wrong with the names or such. Edit again: Haha, ah, nevermind, forgot to add "MCN\" before "MCN_Aliabad\" should be: ""MCN\MCN_Aliabad\data\" etc (I'll credit you in the readme by the way, you've been very helpful!) Edited April 17, 2012 by McNools Share this post Link to post Share on other sites