Grass missing from 1.09 patch?

ArmA editing, missions, modeling, textures, terrains

Moderators: Snake Man, Lone Wolf

Snake Man
Commander-In-Chief
Posts: 9950
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Grass missing from 1.09 patch?

Post by Snake Man »

The ArmA v1.09b patch caused all the grass to go missing in VTE terrains, I would assume its the same in the Sahrani where such grass was applied but I dont know for sure.

It was the Hotfix.pbo that was included, in there the config was as following:

Code: Select all

	class Sara : CAWorld
	{
		class Clutter
		{
			class GrassGeneralFix : DefaultClutter
			{
				model = "ca\hotfix\ClutterFix_Grass_General.p3d";
				affectedByWind = 0.3;
				swLighting = 1;
				scaleMin = 0.8;
				scaleMax = 1.0;
			};
			
			class GrassLongFix : GrassGeneralFix
			{
				model = "ca\hotfix\ClutterFix_Grass_Long.p3d";
				affectedByWind = 0.5;
				scaleMin = 0.6;
				scaleMax = 1.0;
			};
		};
	};
};

class CfgSurfaces
{
	class Default;	// External class reference
	
	class Grass : Default
	{
		files = "trava_*";
		rough = 0.1;
		dust = 0.1;
		soundEnviron = "grass";
		character = "GrassClutterFix";
	};
};

class CfgSurfaceCharacters
{
	class GrassClutterFix
	{
		probability[] = {0.87, 0.015, 0.13};
		names[] = {"GrassGeneralFix", "FlowersColor", "GrassLongFix"};
	};
};
Now that made the grass disappear, dunno I guess its the p3d model that was changed so much or something like that.

In VTE to bring back the good old grass I had to do edits in the terrain config, it included these fixes:

Code: Select all

class clutter
		{
			// snake attempt to get back our old grass
			class GrassGeneralFix : DefaultClutter
			{
				model = "ca\plants\clutter_grass_general.p3d";
			};
			class GrassLongFix : GrassGeneralFix
			{
				model = "ca\plants\clutter_grass_long.p3d";
			};
So I changed the fixed grass p3d back to the old one and voila, our grass was back. Not sure if this helps anyone or anything, but I thought about posting for record keeping sakes :)

Return to “ArmA Editing”