User Tools

Site Tools


arma3:terrain:cfgsurfacecharacters

ArmA 3 CfgSurfaceCharacters

ArmA 3 Forum, ArmA 3, ArmA 3 Config, ArmA 3 Missions, ArmA 3 3D Modeling, ArmA 3 Scripting, ArmA 3 Terrain, ArmA 3 Texturing, ArmA 3 Tools

cfgSurfaceCharacters defines what clutter types are placed on the terrain and in which density.

a3\map_data\config.cpp/cfgSurfaceCharacters:

class CfgSurfaceCharacters
{
	class StratisForestPineClutter
	{
		probability[] = { 0.05, 0.012, 0.01, 0.1, 0.05 };
		names[] = { "StrBigFallenBranches_pine", "StrBigFallenBranches_pine02", "StrBigFallenBranches_pine03", "StrGrassDryGroup", "StrGrassGreenGroup" };
	};
	class StratisDryGrassClutter
	{
		probability[] = { 0.21, 0.35, 0.21, 0.09, 0.06, 0.02 };
		names[] = { "StrGrassDryGroup", "StrGrassDryMediumgroup", "StrWeedBrownTallGroup", "StrWeedGreenTall", "StrThistleYellowShrub", "StrPlantMullein" };
	};
	class StratisGreenGrassClutter
	{
		probability[] = { 0.95, 0.02, 0.02, 0.01 };
		names[] = { "StrGrassGreenGroup", "StrThornGreenSmall", "StrThornGreenBig", "StrPlantGreenShrub" };
	};
	// etc ...
};

probability[] array values cannot exceed combined value of 1, otherwise your clutter has issues or just simply wont work.

See also how_cfgsurfaces_cfgsurfacecharacters_and_clutter_work.

arma3/terrain/cfgsurfacecharacters.txt · Last modified: 2024/08/02 17:07 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.