Water won't change color [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
IndianaJoe
1st Lieutenant
1st Lieutenant
Posts: 425
Joined: Sun Jun 07, 2009 11:21 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: ♦♠Lining up a headshot.♠♦

Water won't change color [Solved]

Post 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?
User avatar
bobfinkl
Rebel Colonel
Rebel Colonel
Posts: 593
Joined: Sun Jul 13, 2008 9:01 am
Projects :: Lots of unreleased stuff
Games I'm Playing :: Life
xbox live or psn: No gamertag set
Location: The quaint little city gametoast.

Re: water won't change color

Post 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.
User avatar
IndianaJoe
1st Lieutenant
1st Lieutenant
Posts: 425
Joined: Sun Jun 07, 2009 11:21 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: ♦♠Lining up a headshot.♠♦

Re: water won't change color

Post by IndianaJoe »

thank a bunch :thumbs:

Image

icky green water, SCORE!
Post Reply