PMC websites shut down September 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond september 13th 2025 when yearly web hosting fees are due.

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