Jump to content
kroni

Clutter Troubleshooting

Recommended Posts

So I can remember a couple years back, making my first maps for arma, and having all sorts of problems with my clutter! Now firmly back in the saddle its all coming back to me, I don't actualy seem to have any errors with my clutter, in fact i don't have any errors at all, this leads me to believe that my mask_lco isn't working properly, and maybe someone can help me with that! Now I have exported my mask layer as a .bmp file, 16 bit. But i assume there must be some settings I'm missing, or something wrong with the way I'm exporting, because like i said, no clutter. Anyone got any tips, or ideas? Im pretty sure the issue is the way I'm exporting my mask from ps, but I could be wrong!

 

Cheers!

Share this post


Link to post
Share on other sites

*Update*

 

So, to try and figure out the issue a little more, I loaded up the atlas tutorial map and got it in-game. Just like with my map it loaded fine without any errors, how ever, no clutter! Take a look at this in-game image, you can see the rvmats in the correct position, so the mask_lco provided with the tutorial works, but the clutter isn't visible... Could it be my graphic settings or somethin? I cant see how the game would load if the clutter being used wasn't packed in the PBO because you would otherwise receive the error couldn't load textures etc etc. :(

 

04hhFRX

Share this post


Link to post
Share on other sites

For clutter to work you have to include all your surfaces listed in your layers.cfg in your cfgSurfaces, even if you don't want clutter on them you still have to list them, set the character to Empty for no clutter.

Share this post


Link to post
Share on other sites

For clutter to work you have to include all your surfaces listed in your layers.cfg in your cfgSurfaces, even if you don't want clutter on them you still have to list them, set the character to Empty for no clutter.

Hi Richie, so in my layers.cfg i have 5 layer classes, how ever in my cfg.surfaces i have only 3 of them in the layer characters, is this what your refering too? (:

 

well here are my files. maybe there is something wrong with them after all..

 

Cfg.Clutter

class Clutter

{

class talit_Eno_BigFallenBranches_pine: DefaultClutter

{

model = "A3\Plants_F\Clutter\c_bigFallenBranches_pine.p3d";

affectedByWind = 0.0;

swLighting = "false";

scaleMin = 0.3;

scaleMax = 0.7;

};

class talit_Eno_BigFallenBranches_pine02: DefaultClutter

{

model = "A3\Plants_F\Clutter\c_bigFallenBranches_pine02.p3d";

affectedByWind = 0.0;

swLighting = "false";

scaleMin = 0.3;

scaleMax = 0.7;

};

class talit_Eno_BigFallenBranches_pine03: DefaultClutter

{

model = "A3\Plants_F\Clutter\c_bigFallenBranches_pine03.p3d";

affectedByWind = 0.0;

swLighting = "false";

scaleMin = 0.3;

scaleMax = 0.7;

};

class talit_Eno_GrassGreenGroup: DefaultClutter

{

model = "A3\plants_f\Clutter\c_StrGrassGreen_group.p3d";

affectedByWind = 0.6;

swLighting = "true";

scaleMin = 0.7;

scaleMax = 1.0;

};

class talit_Eno_GrassDry: DefaultClutter

{

model = "A3\plants_f\Clutter\c_StrGrassDry.p3d";

affectedByWind = 0.5;

swLighting = "true";

scaleMin = 0.8;

scaleMax = 1.2;

};

class talit_Eno_GrassDryGroup: DefaultClutter

{

model = "A3\plants_f\Clutter\c_StrGrassDry_group.p3d";

affectedByWind = 0.65;

swLighting = "true";

scaleMin = 0.65;

scaleMax = 1.0;

};

class talit_Eno_GrassDryMediumGroup: DefaultClutter

{

model = "A3\plants_f\Clutter\c_StrGrassDryMedium_group.p3d";

affectedByWind = 0.7;

swLighting = "true";

scaleMin = 0.8;

scaleMax = 1.0;

};

class talit_Eno_WeedBrownTallGroup: DefaultClutter

{

model = "A3\plants_f\Clutter\c_StrWeedBrownTall_group.p3d";

affectedByWind = 0.3;

swLighting = "true";

scaleMin = 0.9;

scaleMax = 1.25;

};

class talit_Eno_WeedGreenTall: DefaultClutter

{

model = "A3\plants_f\Clutter\c_StrWeedGreenTall.p3d";

affectedByWind = 0.3;

swLighting = "true";

scaleMin = 0.8;

scaleMax = 1.2;

};

class talit_Eno_PlantMullein: DefaultClutter

{

model = "A3\plants_f\Clutter\c_StrPlantMullein.p3d";

affectedByWind = 0.35;

swLighting = "true";

scaleMin = 0.7;

scaleMax = 1.15;

};

class talit_Eno_ThistleYellowShrub: DefaultClutter

{

model = "A3\plants_f\Clutter\c_StrThistleYellowShrub.p3d";

affectedByWind = 0.2;

swLighting = "true";

scaleMin = 0.7;

scaleMax = 1.1;

};

class talit_Eno_ThistleThornGreen: DefaultClutter

{

model = "A3\plants_f\Clutter\c_Thistle_Thorn_Green.p3d";

affectedByWind = 0.3;

swLighting = "false";

scaleMin = 0.3;

scaleMax = 1.0;

};

class talit_Eno_ThistleThornGreenSmall: DefaultClutter

{

model = "A3\plants_f\Clutter\c_Thistle_Thorn_Green.p3d";

affectedByWind = 0.25;

swLighting = "false";

scaleMin = 0.4;

scaleMax = 0.7;

};

class talit_Eno_FlowerLowYellow2: DefaultClutter

{

model = "A3\plants_f\Clutter\c_Flower_Low_Yellow2.p3d";

affectedByWind = 0.4;

swLighting = "true";

scaleMin = 0.6;

scaleMax = 1.0;

};

};

 

CfgSurfaces

class CfgSurfaces

{

class Default {};

class talit_Eno_dirt_Surface : Default

{

files = "talit_Eno_dirt_*";

rough = 0.09;

maxSpeedCoef = 0.9;

dust = 0.5;

soundEnviron = "dirt";

character = "Empty";

soundHit = "soft_ground";

lucidity = 1;

grassCover = 0.03;

};

class talit_Eno_dry_grass_Surface : Default

{

files = "talit_Eno_dry_grass_*";

rough = 0.08;

maxSpeedCoef = 0.9;

dust = 0.75;

soundEnviron = "drygrass";

character = "talit_Eno_dry_grass_Character";

soundHit = "soft_ground";

lucidity = 2;

grassCover = 0.1;

};

class talit_Eno_forest_pine_Surface : Default

{

files = "talit_Eno_forest_pine_*";

rough = 0.12;

maxSpeedCoef = 0.8;

dust = 0.4;

soundEnviron = "drygrass";

character = "talit_Eno_forest_pine_Character";

soundHit = "soft_ground";

lucidity = 3.5;

grassCover = 0.04;

};

class talit_Eno_grass_green_Surface : Default

{

files = "talit_Eno_grass_green_*";

rough = 0.08;

maxSpeedCoef = 0.9;

dust = 0.15;

soundEnviron = "grass";

character = "talit_Eno_green_grass_Character";

soundHit = "soft_ground";

lucidity = 4;

grassCover = 0.05;

};

class talit_Eno_soil_Surface : Default

{

files = "talit_Eno_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 talit_Eno_forest_pine_Character

{

probability[] = {0.05,0.012,0.01,0.1,0.05};

names[] = {"talit_Eno_BigFallenBranches_pine","talit_Eno_BigFallenBranches_pine02","talit_Eno_BigFallenBranches_pine03","talit_Eno_GrassDryGroup","talit_Eno_GrassGreenGroup"};

};

class talit_Eno_green_grass_Character

{

probability[] = {0.92,0.07};

names[] = {"talit_Eno_GrassGreenGroup","talit_Eno_FlowerLowYellow2"};

};

class talit_Eno_dry_grass_Character

{

probability[] = {0.21,0.35,0.21,0.09,0.06,0.02};

names[] = {"talit_Eno_GrassDryGroup","talit_Eno_GrassDryMediumgroup","talit_Eno_WeedBrownTallGroup","talit_Eno_WeedGreenTall","talit_Eno_ThistleYellowShrub","talit_Eno_PlantMullein"};

};

};

 

Layers.Cfg

class Layers

{

class talit_Eno_dirt

{

texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);

material = "talit\talit_Eno\data\talit_Eno_dirt.rvmat";

};

class talit_Eno_dry_grass

{

texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);

material = "talit\talit_Eno\data\talit_Eno_dry_grass.rvmat";

};

class talit_Eno_forest_pine

{

texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);

material = "talit\talit_Eno\data\talit_Eno_forest_pine.rvmat";

};

class talit_Eno_grass_green

{

texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);

material = "talit\talit_Eno\data\talit_Eno_grass_green.rvmat";

};

class talit_Eno_soil

{

texture = #(rgb,1,1,1)color(0.5,0.5,0.5,1,cdt);

material = "talit\talit_Eno\data\talit_Eno_soil.rvmat";

};

};

class Legend

{

picture="talit\talit_Eno\source\mapLegend.png";

class Colors

{

talit_Eno_dirt[]={{255,0,0}};

talit_Eno_dry_grass[]={{255,255,0}};

talit_Eno_forest_pine[]={{255,0,255}};

talit_Eno_grass_green[]={{0,255,0}};

talit_Eno_soil[]={{0,0,255}};

};

};

Share this post


Link to post
Share on other sites

At a first glance your 3 x posted files look OK. Problem could lie elsewhere...

 

However - in your layers.cfg - these lines....

 

material = "talit\talit_Eno\data\talit_Eno_soil.rvmat";

 

Try changing the path for ALL 5 of these "material=" lines to be "lowercase" so they look like this...

 

material = "talit\talit_eno\data\talit_eno_soil.rvmat";

 

Then - regenerate your Layers - reexport the .wrp and pack and test - see if that makes any difference....

 

 

B

Share this post


Link to post
Share on other sites

alright b, when i get home from work today i will give it a shot! 

Share this post


Link to post
Share on other sites

So i've changed not only the paths, but absolutely every instance of  "Eno" to "eno" and that seems to have done the trick, I think for now I will stick to a general rule of thump to keeping stuff lower-case. Cheers for the shout Bush,I would have never have realised it was something as simple as that! 

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

×