water code

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
Thunder
Lieutenant Colonel
Lieutenant Colonel
Posts: 543
Joined: Sun Jul 15, 2007 6:57 pm
Location: Michigan

water code

Post 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?
Commander_Cody771
Vader's Apprentice
Posts: 1069
Joined: Thu Jun 07, 2007 5:02 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Looking for a new CPU
Contact:

Re: water code

Post by Commander_Cody771 »

Go to Mustafars .req and get the code from there. :)
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: water code

Post 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.
Post Reply