Trouble controlling the water

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
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Trouble controlling the water

Post by destos »

I am making a map that has some minor puddles mixed and matched all over the map, however with the water animation making the puddles rise like a tide, it looks rather abysmal. I searched for how to stop this, which lead me to this topichere

However after changing the lines claim to be the fix of the tide effect for water, my map is still having the tidal effect.

My FX file
Hidden/Spoiler:
Effect("Water")
{

// general parameters
PatchDivisions(3,3);

//ocean parameters
OceanEnable(0);
WindDirection(0.0,0.0);
WindSpeed(0.0);

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

// PS2 parameters
PS2()
{
Tile(2.0,2.0);
Velocity(0.05,0.05);
LODDecimation(3);
MainTexture("nab2_water");
MinDiffuseColor(32, 40, 32, 128);
MaxDiffuseColor(128, 130, 128, 128);
BorderDiffuseColor(160, 160, 160, 255);
SpecularColor(192, 192, 192, 102);
SpeckleSpecularColor(200, 200, 200, 100);
SpeckleAmbientColor(50, 50, 50, 50);
SpeckleTextures("water_specularmask_",25, 4.0);
SpeckleTile(2.0, 2.0);
SpeckleScrollSpeed(0.02,0.02);
SpeckleCoordShift(10.0,10.0);
LightAzimAndElev(1.0,0.0);
}
// PC parameters
PC()
{
Tile(2.0,2.0);
Velocity(0.0,0.0);
LODDecimation(1);
MainTexture("nab2_water.tga");

RefractionColor(90 112, 90, 150);
ReflectionColor(200,200,200,200);
UnderwaterColor(32, 40, 32, 180);
FresnelMinMax(0.2,0.5)

NormalMapTextures("water_normalmap_",16,8.0);
BumpMapTextures("water_bumpmap_",16,8.0);
SpecularMaskTextures("water_specularmask_",25, 4);
SpecularMaskTile(2.0,2.0);
SpecularMaskScrollSpeed(0.02,0.02);
}
// XBOX parameters
XBOX()
{
Tile(2.0,2.0);
Velocity(0.04,0.008);
LODDecimation(1);
RefractionColor(90 112, 90, 150);
ReflectionColor(200,200,200,200);
UnderwaterColor(32, 40, 32, 180);
FresnelMinMax(0.2,0.5)
NormalMapTextures("water_normalmap_",16,8.0);
}
}
Any and all help would be greatly appreciated.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Trouble controlling the water

Post by Fiodis »

Set u-vel and v-vel in ZE to zero?
User avatar
destos
Chief Warrant Officer
Chief Warrant Officer
Posts: 349
Joined: Sat Sep 22, 2007 10:37 pm

Re: Trouble controlling the water

Post by destos »

After you said that i did it, but with no such luck.
Post Reply