Page 1 of 1

Water won't change color [Solved]

Posted: Sat Jun 13, 2009 10:01 am
by IndianaJoe
hi, I am trying to turn the water on a map I am making green,
Hidden/Spoiler:
Image
but ingame it looks normal:
Hidden/Spoiler:
Image
here is the water section of my fx file
Hidden/Spoiler:
[code]Effect("Water")
{

// general parameters
PatchDivisions(4,4);

// ocean parameters
OceanEnable(0);

// water event parameters
WaterRingColor(148, 170, 192,255);
WaterWakeColor(192, 192, 192,255);
WaterSplashColor((192, 192, 192,255);



// PS2 parameters
PS2()
{
Tile(1.0,1.0);
Velocity(0.00,0.00);
LODDecimation(8);
MainTexture("kas2_water");
MinDiffuseColor(30,30,30, 255);
MaxDiffuseColor(70, 70, 70, 255);
BorderDiffuseColor(10, 10, 10, 255);
SpecularColor(60, 60, 60, 152);
SpeckleSpecularColor(80, 80, 80, 150);
SpeckleAmbientColor(50, 50, 50, 80);
SpeckleTextures("water_specularmask_",25, 4.0);
SpeckleTile(8.0, 8.0);
SpeckleScrollSpeed(0.0,0.0);
SpeckleCoordShift(5.0,5.0);
LightAzimAndElev(1.0,0.0);
}


// XBOX parameters
XBOX()
{
Tile(2.0,2.0);
NormalMapTextures("water_normalmap_",16,8.0);
LODDecimation(1);
RefractionColor(110, 135, 139, 255);
ReflectionColor(110,135,139,255);
UnderwaterColor(96, 96, 88, 128);
FresnelMinMax(0.3,0.6);
Velocity(0.04, 0.008);

}

// PC parameters
PC()
{
Tile(2.0,2.0);
MainTexture("fel1_water.tga");
LODDecimation(1);
RefractionColor(5, 217, 255, 255);
ReflectionColor(57,90,138,255);
UnderwaterColor(61, 124, 144, 128);
FresnelMinMax(0.3,0.6);
FarSceneRange(1500)

NormalMapTextures("water_normalmap_",16,8.0);
BumpMapTextures("water_bumpmap_",16,8.0);
SpecularMaskTextures("water_specularmask_",25, 4);
SpecularMaskTile(2.0, 2.0);
SpecularMaskScrollSpeed(0.0,0.0);
Velocity(0.01,0.01);

}

}[/code]
the fel1 texture is upper right pic #1

any idea what's wrong?

Re: water won't change color

Posted: Sat Jun 13, 2009 11:37 am
by bobfinkl
The ZE set water color doesn't do anything (nor do any other parameters for water set in ZE), you need to edit it here:

Code: Select all

      RefractionColor(5, 217, 255, 255);
      ReflectionColor(57,90,138,255);
And you may want to edit the underwater color also.

Re: water won't change color

Posted: Sat Jun 13, 2009 2:45 pm
by IndianaJoe
thank a bunch :thumbs:

Image

icky green water, SCORE!