adding water to the map...i need help
Posted: Sun Feb 06, 2005 8:56 pm
i'm trying to add the water from kamino to my map but it keeps crashing...
my .fx file is:
Effect("Wind")
{
Enable(1);
Velocity(1.0, 0.3);
VelocityRange(1.0);
VelocityChangeRate(0.1);
}
Effect("Water")
{
// general parameters
PatchDivisions(8,8);
Tile(2.0,2.0);
// ocean parameters
OceanEnable(0);
// water event parameters
WaterRingColor(148, 170, 192,255);
WaterWakeColor(192, 192, 192,255);
WaterSplashColor((192, 192, 192,255);
DisableLowRes();
Velocity(0.01,0.02);
MainTexture("kam1_water_2.tga");
LODDecimation(1);
RefractionColor(101, 136, 140, 255);
ReflectionColor(150,150,150,150);
UnderwaterColor(242, 101, 34, 128);
FresnelMinMax(0.2,0.7)
//NormalMapTextures("water_normalmap_",16,8.0);
//BumpMapTextures("water_bumpmap_",16,8.0);
//SpecularMaskTextures("water_specularmask_",25, 2.0);
SpecularMaskTile(4.0,4.0);
SpecularMaskScrollSpeed(0.0,0.0);
}
Effect("Lightning")
{
Enable(1);
Color(255, 255, 255);
SunlightFadeFactor(0.1);
SkyDomeDarkenFactor(0.4);
BrightnessMin(1.0);
FadeTime(0.2);
TimeBetweenFlashesMinMax(3.0, 5.0);
TimeBetweenSubFlashesMinMax(0.01, 0.5);
NumSubFlashesMinMax(2, 5);
HorizonAngleMinMax(30, 60);
SoundCrack("kam_amb_thunder");
SoundSubCrack("kam_amb_thundersub");
}
and the lines i added to the .req file are:
REQN
{
"texture"
"kam1_water_2.tga"
}
The water load in the editor but when i mundge and go to test it it crashes
my .fx file is:
Effect("Wind")
{
Enable(1);
Velocity(1.0, 0.3);
VelocityRange(1.0);
VelocityChangeRate(0.1);
}
Effect("Water")
{
// general parameters
PatchDivisions(8,8);
Tile(2.0,2.0);
// ocean parameters
OceanEnable(0);
// water event parameters
WaterRingColor(148, 170, 192,255);
WaterWakeColor(192, 192, 192,255);
WaterSplashColor((192, 192, 192,255);
DisableLowRes();
Velocity(0.01,0.02);
MainTexture("kam1_water_2.tga");
LODDecimation(1);
RefractionColor(101, 136, 140, 255);
ReflectionColor(150,150,150,150);
UnderwaterColor(242, 101, 34, 128);
FresnelMinMax(0.2,0.7)
//NormalMapTextures("water_normalmap_",16,8.0);
//BumpMapTextures("water_bumpmap_",16,8.0);
//SpecularMaskTextures("water_specularmask_",25, 2.0);
SpecularMaskTile(4.0,4.0);
SpecularMaskScrollSpeed(0.0,0.0);
}
Effect("Lightning")
{
Enable(1);
Color(255, 255, 255);
SunlightFadeFactor(0.1);
SkyDomeDarkenFactor(0.4);
BrightnessMin(1.0);
FadeTime(0.2);
TimeBetweenFlashesMinMax(3.0, 5.0);
TimeBetweenSubFlashesMinMax(0.01, 0.5);
NumSubFlashesMinMax(2, 5);
HorizonAngleMinMax(30, 60);
SoundCrack("kam_amb_thunder");
SoundSubCrack("kam_amb_thundersub");
}
and the lines i added to the .req file are:
REQN
{
"texture"
"kam1_water_2.tga"
}
The water load in the editor but when i mundge and go to test it it crashes