Hi guys,
please take a look at clutter configs and tell me if this is as it's supposed to be or if I'm doing anything wrong here
1. Ingame
This is how my test-clutter looks right now ingame
Everything's in a neat row. Nice, isn't it?
But this is the US Army NTC in California and NOT Her Majesty the Queen's garden!!
2. Background data
2.1 cfgClutter.hpp
2.2 cfgSurfaces.hppCode:class j198_ntc_2012_ForestFern: DefaultClutter { model=ca\plants2\clutter\c_fern.p3d; affectedByWind = 0.2; swLighting = true; scaleMin = 0.2; scaleMax = 0.9; }; class j198_ntc_2012_betulaHumilis: DefaultClutter { model=ca\plants2\bush\b_betulaHumilis.p3d; affectedByWind = 0.1; swLighting = true; scaleMin = 0.2; scaleMax = 0.8; };
2.3 config.cppCode:class CfgSurfaces { class Default {}; class j198_ntc_2012_cyanSurface : Default { files = "j198_ntc_2012_cyan_*"; rough = 0.1; dust = 0.1; soundEnviron = "sand"; character = "j198_ntc_2012_cyanClutter"; }; class j198_ntc_2012_whiteSurface : Default { files = "j198_ntc_2012_white_*"; rough = 0.5; dust = 0.8; soundEnviron = "sand"; character = "j198_ntc_2012_whiteClutter"; }; class j198_ntc_2012_greySurface : Default { files = "j198_ntc_2012_grey_*"; rough = 0.2; dust = 0.3; soundEnviron = "sand"; character = "j198_ntc_2012_greyClutter"; }; class j198_ntc_2012_brownSurface : Default { files = "j198_ntc_2012_brown_*"; rough = 0.1; dust = 0.1; soundEnviron = "sand"; character = "j198_ntc_2012_brownClutter"; }; }; class CfgSurfaceCharacters { class j198_ntc_2012_cyanClutter { probability[]={}; names[]={}; }; class j198_ntc_2012_whiteClutter { probability[]={0.01, 0.01}; names[]={"j198_ntc_2012_ForestFern", "j198_ntc_2012_betulaHumilis"}; }; class j198_ntc_2012_greyClutter { probability[]={}; names[]={}; }; class j198_ntc_2012_brownClutter { probability[]={}; names[]={}; }; };
2.4 layers.cfgCode:class CfgPatches { class j198_ntc_2012 { units[] = {j198_ntc_2012}; weapons[] = {}; requiredVersion = 1.03; requiredAddons[] = {"Utes"}; version = "2012-05-29"; fileName = "j198_ntc_2012.pbo"; author = "j198"; mail = "j198@googlemail.com"; }; }; //--------------------------------------------------------------------------------------- class CfgWorlds { class CAWorld; class Utes: CAWorld { class Grid; clutterDist = 290; clutterGrid = 2; noDetailDist = 40; fullDetailDist = 15; class DefaultClutter { scaleMin = 0.9; scaleMax = 1.4; }; }; class j198_ntc_2012: Utes { description = "Ft. Irwin - US Army National Training Center (NTC)"; worldName= "\j198\j198_ntc_2012\j198_ntc_2012.wrp"; pictureShot = "\j198\j198_ntc_2012\data\j198_ntc_2012_Picture_ca.paa"; centerPosition[] = {2720,2462,500}; seagullPos[] = {2720,2462,500}; longitude = 30; // positive is east, in degrees? latitude = -45; // positive is south, in degrees? drawTaxiway=false; class Clutter { #include "cfgClutter.hpp" }; class Names { #include "j198_ntc_2012.hpp" }; }; }; //--------------------------------------------------------------------------------------- class CfgWorldList { class j198_ntc_2012 {}; }; //--------------------------------------------------------------------------------------- class CfgMissions { class Cutscenes { class j198_ntc_2012Intro { directory = "j198\j198_ntc_2012\data\scenes\Intro.j198_ntc_2012"; }; }; }; //--------------------------------------------------------------------------------------- #include "cfgSurfaces.hpp"
2.5. mask_lco.png (cut out part of it)Code:class Layers { class j198_ntc_2012_cyan { texture="j198\j198_ntc_2012\Data\j198_ntc_2012_cyan_tk_hlina_mco.paa"; material="j198\j198_ntc_2012\Data\j198_ntc_2012_cyan_tk_hlina.rvmat"; }; class j198_ntc_2012_white { texture="j198\j198_ntc_2012\Data\j198_ntc_2012_white_tk_polopoust_mco.paa"; material="j198\j198_ntc_2012\Data\j198_ntc_2012_white_tk_polopoust.rvmat"; }; class j198_ntc_2012_grey { texture="j198\j198_ntc_2012\Data\j198_ntc_2012_grey_tk_valouny_mco.paa"; material="j198\j198_ntc_2012\Data\j198_ntc_2012_grey_tk_valouny.rvmat"; }; class j198_ntc_2012_brown { texture="j198\j198_ntc_2012\Data\j198_ntc_2012_brown_tk_trava_mco.paa"; material="j198\j198_ntc_2012\Data\j198_ntc_2012_brown_tk_trava.rvmat"; }; }; class Legend { picture="j198\j198_ntc_2012\source\mapLegend.png"; class Colors { j198_ntc_2012_cyan[]={{212,196,194}}; // hellbraun - wüste j198_ntc_2012_white[]={{227,232,230}}; // weiß - strassen j198_ntc_2012_grey[]={{174,187,194}}; // grün - vegetation j198_ntc_2012_brown[]={{97,104,100}}; // braun - verteilt }; }; satelliteMap="sat_lco.png"; layerMask="mask_lco.png"; //rvmatBinary=true; rvmatBinary=false;
I know all the background stuff on the config files from the tutorials, but no matter what I do, I always end up with these stupid hedgerows.
Of course, the mask_lco in that area is only made of a single color. Maybe the probability (if a certain clutter-p3d show up in a certain spot or not) is only determined once?
Maybe someone can give me some config files, hints or explain how exactly how this works.
I'll go to bed now ...
Jens
HOME 


Reply With Quote


