Water Problem- Things are changing position

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
Tohron

Water Problem- Things are changing position

Post by Tohron »

When I add water, I encounter only one source of difficulty: adding it results in all objects, regions, ect. including the water itself, get moved sideways a certain amount. Their height stays the same, but their horizonal position is altered. Only the terrain itself dosn't get moved.

To add water, I add a world FX file and make an addition to the world's REQ file. How could this problem be caused, and how to I fix it?
Tohron

Post by Tohron »

Since I don't see how the REQ file modifications could have caused this problem, here is my FX file. It's an almost exact copy of the Kashyyk one (I only removed the FogCloud effect), since I am using Kashyyk water. (Note, my map may have a different terrain size than Kashyyk)

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("kas2_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);

}

}

Effect("hdr")
{
Enable(1)
}
Jawa_Killer
Brigadier General
Brigadier General
Posts: 629
Joined: Thu Jun 23, 2005 6:06 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Jawa_Killer »

no it seems you have made a new terrain......with not 128x128 or 256x256 1024x1024 as size! make a new one and choose one of those sizes otherwise terrain will move away........
Post Reply