Jump to content
Sign in to follow this  
erBradipo-9e99fa1871f06b04

Clutter doesn't show up

Recommended Posts

Hi i  have read all contenent about clutter inside the arma 3 terrain builder but after 1 week my clutter doesn't show up

Anyone can help me please i'm very busy and i lost every hope. 😞

 

cfgClutter

class Clutter	
{
   class FTD_island_map_mahe_grass_green_clutter: DefaultClutter
	{
		model = "A3\plants_f\Clutter\c_grass_green.p3d";
		affectedByWind = 0.1;
		swLighting = "false";
		scaleMin = 0.3;
		scaleMax = 0.7;
	};
	class FTD_island_map_mahe_soil_clutter: DefaultClutter
	{
		model = "A3\plants_f\Clutter\c_grass_green.p3d";
		affectedByWind = 0.1;
		swLighting = "false";
		scaleMin = 0.3;
		scaleMax = 0.7;
	};
 };

cfgSurfaces

class CfgSurfaces 
{
	class Default {};
	class FTD_island_map_mahe_grass_green_Surface : Default
	{	
		 files = "FTD_island_map_mahe_grass_green*";
		 rough = 0.09;
		 maxSpeedCoef = 0.9;
		 dust = 0.5;
		 soundEnviron = "dirt";
		 character = "FTD_island_map_mahe_grass_green_Character";
		 soundHit = "soft_ground";
		 lucidity = 1;
		 grassCover = 0.06;
	};	
	class FTD_island_map_mahe_soil_Surface : Default
	{	
		 files = "FTD_island_map_mahe_soil*";
		 rough = 0.09;
		 maxSpeedCoef = 0.9;
		 dust = 0.5;
		 soundEnviron = "dirt";
		 character = "FTD_island_map_mahe_soil_Character";
		 soundHit = "soft_ground";
		 lucidity = 1;
		 grassCover = 0.06;
	};	
};

class CfgSurfaceCharacters
{
    class FTD_island_map_mahe_grass_green_Character
	{
		probability[] = {0.99};
		names[] = {"FTD_island_map_mahe_grass_green_clutter"};
	};
	class FTD_island_map_mahe_soil_Character
	{
		probability[] = {0.99};
		names[] = {"FTD_island_map_mahe_soil_clutter"};
	};
};

config.cpp

#define _ARMA_

class CfgPatches {
	class FTD_island_map_mahe {
		units[] = {"FTD_island_map_mahe"};
		weapons[] = {};
		requiredVersion = 1.0;
		requiredaddons[]={"A3_Data_F","A3_Roads_F","A3_Structures_F","A3_Map_Data"};
		version = "0.1 28/10/2021";
		fileName = "FTD_island_map_mahe.pbo";
		author = "erBradipo";
	};
};

class CfgWorlds {
	class CAWorld;
	
	class Stratis: CAWorld {
		class Grid;
		class DefaultClutter;
	};
	
	class FTD_island_map_mahe: Stratis {
		cutscenes[] = {};
		author = "erBradipo";
		description = "FTD Mahé";
		pictureMap = "FTD\FTD_island_map_mahe\FTD_island_map_mahe_pictureMap.paa"; 
		worldName = "FTD\FTD_island_map_mahe\FTD_island_map_mahe.wrp";
		startTime = "11:00";
		startDate = "05/03/2001";
		startWeather = 0.2;
		startFog = 0.0;
		forecastWeather = 0.6;
		forecastFog = 0.0;
		centerPosition[] = {1024,1024,500};
		seagullPos[] = {1024,1024,500};
		longitude = 65;
		latitude = -34;
		elevationOffset = 5;
		envTexture = "A3\Data_f\env_land_ca.paa";
		minTreesInForestSquare = 2;
		minRocksInRockSquare = 2;
		newRoadsShape = "\FTD\FTD_island_map_mahe\data\roads\roads.shp";
		ilsPosition[] = {1024,1024};
		ilsDirection[] = {0.5075,0.08,-0.8616};
		ilsTaxiIn[] = {};
		ilsTaxiOff[] = {};
		drawTaxiway = 0;
		
		class SecondaryAirports {};
		
		class Sea { 
		   seaTexture = "a3\data_f\seatexture_co.paa";
		   seaMaterial = "#water";
		   shoreMaterial = "#shore";
		   shoreFoamMaterial = "#shorefoam";
		   shoreWetMaterial = "#shorewet";
		   WaterMapScale = 20;
		   WaterGrid = 50;
		   MaxTide = 0;
		   MaxWave = 0;
		   SeaWaveXScale = "2.0/50";
		   SeaWaveZScale = "1.0/50";
		   SeaWaveHScale = 2.0;
		   SeaWaveXDuration = 5000;
		   SeaWaveZDuration = 10000;
		};
		
		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.0;
				format = "XY";
				formatX = "0";
				formatY = "0";
				stepX = 10000;
				stepY = -10000;
			};
		};
		
		clutterGrid = 1.2;
		clutterDist = 250;
		noDetailDist = 65;
		fullDetailDist = 15;
		midDetailTexture = "A3\Map_Data\middle_mco.paa";
		
		#include "cfgClutter.hpp"
		
		class Names {
			#include "FTD_island_map_mahe.hpp"
		};
	};
};

class CfgWorldList {
	class FTD_island_map_mahe{};
};

class CfgMissions {
	class Cutscenes{};
};

//SURFACES
#include "cfgSurfaces.hpp"

FTD_island_map_mahe_dirt.rvmat

ambient[]={1.5,1.5,1.5,1};
diffuse[]={0.5,0.5,0.5,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,0};
specular[]={0,0,0,0};
specularPower=1;
PixelShaderID="NormalMapDiffuse";
VertexShaderID="NormalMapDiffuseAlpha";
class Stage1
{
	texture="FTD\FTD_island_map_mahe\data\FTD_island_map_mahe_dirt_nopx.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,10};
		pos[]={0,0,0};
	};
};
class Stage2
{
	texture="FTD\FTD_island_map_mahe\data\FTD_island_map_mahe_dirt_co.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,10};
		pos[]={0,0,0};
	};
};

FTD_island_map_mahe_grass_green.rvmat

ambient[]={1.5,1.5,1.5,1};
diffuse[]={0.5,0.5,0.5,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,0};
specular[]={0,0,0,0};
specularPower=1;
PixelShaderID="NormalMapDiffuse";
VertexShaderID="NormalMapDiffuseAlpha";
class Stage1
{
	texture="FTD\FTD_island_map_mahe\data\FTD_island_map_mahe_grass_green_nopx.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,10};
		pos[]={0,0,0};
	};
};
class Stage2
{
	texture="FTD\FTD_island_map_mahe\data\FTD_island_map_mahe_grass_green_co.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,10};
		pos[]={0,0,0};
	};
};

FTD_island_map_mahe_soil.rvmat

ambient[]={1.5,1.5,1.5,1};
diffuse[]={0.5,0.5,0.5,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,0};
specular[]={0,0,0,0};
specularPower=1;
PixelShaderID="NormalMapDiffuse";
VertexShaderID="NormalMapDiffuseAlpha";
class Stage1
{
	texture="FTD\FTD_island_map_mahe\data\FTD_island_map_mahe_soil_nopx.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,10};
		pos[]={0,0,0};
	};
};
class Stage2
{
	texture="FTD\FTD_island_map_mahe\data\FTD_island_map_mahe_soil_co.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,10};
		pos[]={0,0,0};
	};
};

 

Share this post


Link to post
Share on other sites

I pass you an example of the cfgsurface that works correctly.

btrx is my tag.

 

class CfgSurfaces 
{
    class Default {};
    class btrx_strthistles_Surfaces : Default
    {    
        files = "btrx_strthistles_*"; // texturas de suelo q corresponde
        character = "btrx_strthistles_Character";// modelos que se usan
        soundEnviron = "gravel"; // sonido cuando se transita
        soundHit = "soft_ground"; //sonido cuando se impacta
        rough = 0.09; //rugosidad 0.05 a 0.15
        dust = 0.35; //0.5 a 0.75 cantidad de polvo q se levanta
        lucidity = 4; //dificultad para detectar minas
        grassCover=0.05; // covertura lejana de 0 a 0.5
        impact = "hitGroundSoft"; //sonido q corrsponde a la textura por impacto
        surfaceFriction = 2; // de 1.5 a 2.5 friccion de superficie
        restitution = 0.15000001; // desconocido
        maxSpeedCoef = 0.8; // 1 max, 0.8 reduce u 20%
        maxClutterColoringCoef = 1.35; //dif de color entre surface y clutter
    };
    class btrx_rock_red_Surfaces : Default
    {    
        files = "btrx_rock_red_*";
        character = "btrx_rock_red_Character";
        soundEnviron = "rock";
        soundHit = "hard_ground";
        rough= 0.12;
        dust= 0.3;
        lucidity = 8;
        grassCover = 0.05;
        impact = "hitGroundHard";
        surfaceFriction = 2.2;
        restitution = 0.15000001;
        maxSpeedCoef = 0.9;
        maxClutterColoringCoef = 1.35;
    };
    class btrx_dry_grass_Surfaces : Default
    {    
        files = "btrx_dry_grass_*";
        character = "btrx_dry_grass_Character";
        soundEnviron = "drygrass";
        soundHit = "foliage";
        rough = 0.079999998;
        dust = 0.75;
        lucidity = 2;
        grassCover = 0.05;
        impact = "hitGroundSoft";
        surfaceFriction = 1.8;
        restitution = 0.15000001;
        maxSpeedCoef = 0.85000002;
        maxClutterColoringCoef = 1.35;
    };
    class btrx_rock_Surfaces: Default
    {
        files = "btrx_rock_*";
        character = "btrx_rock_Character";
        soundEnviron = "gravel";
        soundHit = "hard_ground";
        rough= 0.12;
        dust= 0.4;
        lucidity = 8;
        grassCover= 0.02;
        impact= "hitGroundHard";
        surfaceFriction= 2.2;
        restitution= 0.25;
        maxSpeedCoef= 0.89999998;
        maxClutterColoringCoef= 1.35;
    };
    class btrx_grass_green_Surfaces: Default
    {
        files = "btrx_grass_green_*";
        character = "btrx_grass_green_Character";
        soundEnviron="grass";
        soundHit="foliage";
        rough=0.08;
        dust=0.35;
        lucidity=2;
        grassCover=0.05;
        impact="hitGroundSoft";
        surfaceFriction=1.8;
        restitution=0.25;
        maxSpeedCoef=0.85;
        maxClutterColoringCoef=1.35;
    };
    class btrx_lecho_seco_Surfaces: Default
    {
        files = "btrx_lecho_seco_*";
        character = "btrx_lecho_seco_Character";
        soundEnviron="sand";
        soundHit="hard_ground";
        rough=0.12;
        dust=0.45;
        lucidity=1.5;
        grassCover=0.05;
        impact="hitGroundSoft";
        surfaceFriction=1.2;
        restitution=0.25;
        maxSpeedCoef=0.6;
        maxClutterColoringCoef=1.35;
    };
    
    class btrx_strtts_0_Surfaces: Default
    {
        //access = 2;
        files = "btrx_strtts_0_*";
        character = "Empty";
        soundEnviron = "gravel";
        soundHit = "concrete";
        rough= 0.05;
        dust= 0.25;
        lucidity = 2;
        grassCover= 0;
        impact= "hitGroundHard";
        surfaceFriction= 1.5;
        restitution= 0.25;
        maxSpeedCoef= 1;
        maxClutterColoringCoef= 1.35;
    };    
    
    class btrx_sand_Surfaces: Default
    {
        files = "btrx_sand_*";
        character = "btrx_sand_Character";
        soundEnviron="sand";
        soundHit="soft_ground";
        rough=0.12;
        dust=0.45;
        lucidity=1.5;
        grassCover=0.05;
        impact="hitGroundSoft";
        surfaceFriction=1.5;
        restitution=0.25;
        maxSpeedCoef=0.4;
        maxClutterColoringCoef=1.35;
    };
};
class CfgSurfaceCharacters
{
   class btrx_strthistles_Character 
    {
      probability[] = {0.1,0.1,0.15,0.2,0.05}; // the sum cannot be greater than 1
        names[] = {
            "btrx_StrWeedBrownTallGroup",
            "btrx_StrWeedGreenTall",
            "btrx_StrGrassDry",
            "btrx_ThistleHighDead",
            "btrx_small_stones"
            }; 
    };
       class btrx_rock_red_Character 
    {
    probability[] = {0.01,0.03,0.03,0.06};
        names[] = {
            "btrx_sparse_Grass",
            "btrx_thistlethorndesert",
            "btrx_strthorngraysmall",
            "btrx_grassdry"
            };
    };
   class btrx_dry_grass_Character 
    {
    probability[] = {0.35,0.25,0.06,0.04,0.02};
        names[] = {
            "btrx_StrThistleSmallYellow",
            "btrx_StrPlantGermaderGroup",
            "btrx_StrThornGreenSmall",
            "btrx_StrPlantGreenShrub",
            "btrx_StrThornGreenBig"
            };
    };
   class btrx_rock_Character 
    {
    probability[] = {0.09,0.05,0.06,0.04};
        names[] = {
            "grasstall",
            "btrx_rock_stones",
            "volcano_grass",
            "large_stones",
            };     
   };
   class btrx_grass_green_Character 
   {
    probability[] = {0.14,0.03,0.05,0.12,0.2,0.33,0.05,0.05,0.03};
        names[] = {
            "btrx_c_Grass",
            "btrx_c_GrassPlant1",
            "btrx_c_GrassPlant2",
            "btrx_c_GrassTall2",
            "btrx_c_GrassTall3",
            "btrx_c_GrassLow",
            "btrx_c_GrassAnthoxanthum",
            "btrx_c_GrassAnthoxanthum_bended",
            "btrx_c_Grass_flower1"
            };
    };
   class btrx_lecho_seco_Character 
   {
    probability[] = {0.01,0.02,0.02,0.01,0.01};
        names[] = {
            "btrx_rock_stones",
            "btrx_thistlethorngreen",
            "btrx_c_grassdrycarduus_f",
            "btrx_strthornkhakismall",
            "btrx_c_branches_deciduous"
            };
    };
    
     class btrx_sand_Character 
   {
    probability[] = {0.3,0.02};
        names[] = {
            "btrx_rock_stones",
            "btrx_thistlethorngreen"
            };
    };
 };

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  

×