Jump to content
KycbMaH

Grass is not genetrated, on some ground textures.

Recommended Posts

Hello everyone, I apologize in advance for the possible incorrect translation.

Hello again, I'm new to creating maps (and indeed, any content for our favorite game) and I have a little problem. 
Unfortunately, the grass is generated only on the "gdt_engrass1" texture. Everything else is empty.

I provide the config of my map, which I collected, based on livonia files.

Please help me please fix this, I have been unable to achieve the result for 2 weeks now, looking for an error in the code.


Screenshots of my work.

Layers.cfg
Config.cfg

Share this post


Link to post
Share on other sites

yes, i did it in layers cfg and they are on map (texture on map) but clutters wasn't spawned 

Share this post


Link to post
Share on other sites
class CfgSurfaces
{
	class Default
	{
	};
	class Water
	{
	};
	class GdtKLDirt: Default
	{
		access=2;
		files="gdt_dirt*";
		character="empty";
		soundEnviron="gravel";
		soundHit="soft_ground";
		impact="hitGroundSoft";
		rough=0.2;
		maxSpeedCoef=0.94999999;
		dust=0.2;
		lucidity=0.30000001;
		grassCover=0;
		maxClutterColoringCoef=1.15;
	};
	class GdtKLGrass1: Default
	{
		access=2;
		files="gdt_engrass1*";
		character="KLGrass1";
		soundEnviron="grass";
		soundHit="soft_ground";
		impact="hitGroundSoft";
		rough=0.079999998;
		maxSpeedCoef=0.89999998;
		dust=0.15000001;
		lucidity=1.25;
		grassCover=0.40000001;
		maxClutterColoringCoef=1.35;
	};
	class GdtKLGrass2: Default
	{
		access=2;
		files="gdt_engrass2*";
		character="KLGrass2";
		soundEnviron="drygrass";
		soundHit="soft_ground";
		impact="hitGroundSoft";
		rough=0.2;
		maxSpeedCoef=0.89999998;
		dust=0.15000001;
		lucidity=1.25;
		grassCover=0.94999999;
		maxClutterColoringCoef=1.35;
		AIAvoidStance=2;
	};
	class GdtKLForestCon: Default
	{
		access=2;
		files="gdt_enforestcon*";
		character="KLForestCon";
		soundEnviron="forest_exp";
		soundHit="soft_ground";
		impact="hitGroundSoft";
		rough=0.079999998;
		maxSpeedCoef=0.89999998;
		dust=0.1;
		lucidity=4;
		grassCover=0.5;
		maxClutterColoringCoef=1.35;
		AIAvoidStance=2;
	};
	class GdtKLForestDec: Default
	{
		access=2;
		files="gdt_enforestdec*";
		character="KLForestDec";
		soundEnviron="forest_exp";
		soundHit="soft_ground";
		impact="hitGroundSoft";
		rough=0.079999998;
		maxSpeedCoef=0.89999998;
		dust=0.1;
		lucidity=4;
		grassCover=0.5;
		maxClutterColoringCoef=1.25;
		AIAvoidStance=2;
	};
	class GdtKlSoil: Default
	{
		access=2;
		files="gdt_ensoil*";
		character="KLSoil";
		soundEnviron="dirt";
		soundHit="soft_ground";
		rough=0.15000001;
		maxSpeedCoef=0.85000002;
		dust=0.050000001;
		lucidity=1.5;
		grassCover=0;
		impact="hitGroundHard";
		surfaceFriction=1.7;
		maxClutterColoringCoef=1.2;
	};
	class GdtKlTarmac: Default
	{
		access=2;
		files="gdt_entarmac*";
		character="Empty";
		soundEnviron="concrete";
		soundHit="concrete";
		rough=0.050000001;
		maxSpeedCoef=1;
		dust=0.050000001;
		lucidity=0.30000001;
		grassCover=0;
		impact="hitConcrete";
		maxClutterColoringCoef=1;
	};
	class GdtKlWeatheredTarmac: Default
	{
		access=2;
		files="gdt_enweatheredtarmac*";
		character="KlWeatheredTarmac";
		soundEnviron="concrete";
		soundHit="concrete";
		rough=0.050000001;
		maxSpeedCoef=1;
		dust=0.050000001;
		lucidity=0.30000001;
		grassCover=0;
		impact="hitConcrete";
		maxClutterColoringCoef=1;
	};
	class GdtKLCobblestone: Default
	{
		access=2;
		files="gdt_encobblestone*";
		character="Empty";
		soundEnviron="concrete";
		soundHit="concrete";
		rough=0.050000001;
		maxSpeedCoef=1;
		dust=0.050000001;
		lucidity=0.30000001;
		grassCover=0;
		impact="hitConcrete";
		maxClutterColoringCoef=1;
	};
	class GdtKlField: Default
	{
		access=2;
		files="gdt_enfield*";
		character="KLField";
		soundEnviron="grass";
		soundHit="soft_ground";
		rough=0.050000001;
		maxSpeedCoef=1;
		dust=0.15000001;
		lucidity=1.25;
		grassCover=0.60000002;
		impact="hitGroundHard";
		maxClutterColoringCoef=1.08;
		AIAvoidStance=2;
	};
	class GdtKlStubble: Default
	{
		access=2;
		files="gdt_enstubble*";
		character="KLStubble";
		soundEnviron="grass";
		soundHit="soft_ground";
		rough=0.050000001;
		maxSpeedCoef=1;
		dust=0.15000001;
		lucidity=1.25;
		grassCover=0.60000002;
		impact="hitGroundHard";
		maxClutterColoringCoef=1.08;
	};
	class mm_enstones: Default
	{
		access=2;
		files="gdt_rock*";
		character="Empty";
		soundEnviron="concrete";
		soundHit="concrete";
		rough=0.050000001;
		maxSpeedCoef=1;
		dust=0.050000001;
		lucidity=0.30000001;
		grassCover=0;
		impact="hitConcrete";
		maxClutterColoringCoef=1;
	};
};

 

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

×