Page 1 of 1

water code

Posted: Sat Sep 15, 2007 11:57 am
by Thunder
ok in ZE when i go to water mode and i put in mus1_main_2 wich is lava texture

what are the other codes there?

Re: water code

Posted: Sat Sep 15, 2007 12:07 pm
by Commander_Cody771
Go to Mustafars .req and get the code from there. :)

Re: water code

Posted: Sat Sep 15, 2007 12:13 pm
by Taivyx
Putting the texture into that little box in water edit mode doesn't work.
You have to go to your ***.fx, which I assume you made if you followed AceMastermind's water tutorial correctly.
Under the PC parameters for water, delete your current stuff and enter this:
PC()
{
Tile(1.0,1.0);
Velocity(0.01,0.02);
MainTexture("mus1_main_2.tga");
LODDecimation(1);

RefractionColor(160, 100, 0, 255);
ReflectionColor(204,51,51,255);
UnderwaterColor(204, 85, 0, 200);
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);
}
It should work that way if you set up your water right.
Oh, and put the mus1_main2.tga into your world1 and effects folders.
If you don't have an effects folder, make one.

And Commander_Cody, I don't believe you have to do anything with the req files........ at least I didn't and it worked fine.