Jump to content
Sign in to follow this  
prowler.wolf

Water Color

Recommended Posts

Has anyone changed the water color for their island in A2?

If so would you be so kind as to explain how exactly. :)

Share this post


Link to post
Share on other sites

This was done for Arma1, I'm sure it works the same way for Arma2. Open up the config file and look for the water material definitions.

Share this post


Link to post
Share on other sites

tweak class Water in class CfgMaterials

For details have a close look at PROPER world.

Share this post


Link to post
Share on other sites
class CfgMaterials
{
class Water
{
	ambient[] =
	{
		0.0264,
		0.03,
		0.013,
		0.4
	};
	diffuse[] =
	{
		0.13,
		0.15,
		0.065,
		1
	};
	forcedDiffuse[] =
	{
		0.0264,
		0.03,
		0.013,
		0
	};
	specular[] =
	{
		1.5,
		1.5,
		1.5,
		0
	};
	emmisive[] =
	{
		0,
		0,
		0,
		0
	};
	class Stage1
	{
		class uvTransform
		{
			aside[] =
			{
				0,
				1,
				0
			};
			up[] =
			{
				1,
				0,
				0
			};
			dir[] =
			{
				0,
				0,
				1
			};
			pos[] =
			{
				0.3,
				0.4,
				0
			};
		};
		texture = "ca\data\data\water_nofhq.paa";
		uvSource = "texWaterAnim";
	};
	class Stage3
	{
		texture = "ca\data\data\water2_nohq.paa";
		uvSource = "none";
	};
	class Stage4
	{
		texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1)";
		uvSource = "none";
	};
	class Stage5
	{
		texture = "#(argb,8,8,3)color(0.5,0.5,0.5,1)";
		uvSource = "none";
	};
	PixelShaderID = "Water";
	VertexShaderID = "Water";
	specularPower = 4;
	class Stage2
	{
		texture = "CA\data\data\sea_foam_lco.paa";
		uvSource = "none";
	};
};
};

Share this post


Link to post
Share on other sites

Sorry to dig this up but I am having a weird issue with this, the water appears exactly the way I intended in single player but when the map is being played online the water color goes back to the default green.

???

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
Sign in to follow this  

×