PDA

View Full Version : Water Color



prowler.wolf
Aug 26 2009, 02:22
Has anyone changed the water color for their island in A2?

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

Sakura_Chan
Aug 26 2009, 03:26
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.

.kju [PvPscene]
Aug 26 2009, 06:16
tweak class Water in class CfgMaterials

For details have a close look at PROPER world (http://www.armaholic.com/page.php?id=3549).

prowler.wolf
Aug 27 2009, 05:40
Thank you, this is exactly what I am looking for :)

.kju [PvPscene]
Sep 17 2009, 08:41
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";
};
};
};

prowler.wolf
Mar 19 2010, 15:50
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.

???