User Tools

Site Tools


arma:config:cfgsurfaces

ArmA 1 cfgSurfaces

ArmA 1 Forum, ArmA 1 Home, ArmA 1 Config, ArmA 1 Tools, ArmA 1 File Formats, ArmA 1 Missions, ArmA 1 3D Modeling, ArmA 1 Terrain, ArmA 1 Texturing, ArmA 1 Scripting

ArmA 1 aka Armed Assault (ArmA)

This is brief description for cfgSurfaces class which can be used to create ground clutter (grass, foliage etc) for terrains.

Remember that the ground clutter does NOT have geometry or shadows. So you cannot make forest (big tree) clutter or houses or anything else which might effect AI or human players taking cover or interact with. Ground clutter is purely an nice eye candy and nothing more.

class zandbak: Default
{
	access = ReadOnly;
	files = "xxpisek_*"; //all files starting with "xxpisek" will be defined
	rough = 0.02; // roughness setting, the way vehicles move on these textures(higher number, more bumps)
	dust = 0.3; // amount of dust vehicles will create on these textures(higher number, more dust)
	soundEnviron = "sand"; // sound effect when driving or walking on these textures
	character = "xxSandClutter"; // this is the clutter stuff you defined which will be placed on the textures
};

And

class cfgSurfaceCharacters
{
	class xxGrassClutter
	{
		// how much stuff from the clutters will be placed,
		// so in this case 3 numbers representing the 3 names on next line.
		probability[] = { 0.5, 0.05, 0.04 };
		names[] = { "xxgrasslong", "xxGrassSevenbeauty", "xxFlowersWhite" };
	};
 
	class xxSandClutter
	{
		// just one number, next line just defines 1 clutter
		probability[] = { 0.04 };
		names[] = { "xxSmallRocks" };
	};
};
arma/config/cfgsurfaces.txt · Last modified: 2024/08/01 07:35 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.