Page 1 of 1
water to lava
Posted: Fri May 18, 2007 1:00 am
by RAymo
i managed to get water into my map, but i cant get it to become lava. i tried some of the methods from previous topics, munged and ran the BF2_modtools.exe, but it just crashed. said it encountered an error.
any ideas?
RE: water to lava
Posted: Fri May 18, 2007 8:50 am
by Caleb1117
What was the error?
Also, post the log.
RE: water to lava
Posted: Sat May 19, 2007 3:50 am
by RAymo
it was a windows error. that had the send error report and such.
and the log..i changed it back to normal water so thats gone.
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)
}
if thats my .fx file, wat do i change to make it into lava?
Posted: Sat May 19, 2007 7:57 am
by YankFan1950
I did this once give water a lava texture so instead of kas2_water.tga add a lava .tga into that (use the shipped .fx) munge and that should fix it. Also add the same lava texture underneath the water so it looks like the lava is really deep. It looks really cool in game.
Posted: Sat May 19, 2007 2:21 pm
by RAymo
alrite. ill try it and see how it goes.
Posted: Sat May 19, 2007 4:43 pm
by RAymo
ok i changed the MainTexture from "kas2_water" to "Lava_07", but when i munge and play, its still water