
below is the script for it, but you'll have to make your own image files.
textures/w/brown_water
{
qer_editorimage textures/w/ocean2_brown.tga // Image seen in editor texture window.
qer_keyword natural // These make the texture pop up
qer_keyword liquid // in the editor when you
qer_keyword ocean // type in the keyword.
qer_keyword water // I added this one.
qer_trans .4
surfaceparm trans
surfaceparm water
surfaceparm nolightmap
cull none
deformvertexes wave 2 sin 1 3 0 .2 // make the surface move up and down.
{
map textures/w/brown_water.jpg // This is the bottom layer.
depthWrite
rgbGen identity
tcMod bulge -1.5 .02 .1 .5
tcMod scroll -0.04 -0.04 // Makes the surface move sideways at the speeds set.
}
{
map textures/w/ocean2_brown.tga // This is the top layer.
depthwrite
blendfunc add
tcMod scroll 0.03 0.03
nextbundle
map textures/w/ocean2_brown.tga
tcMod scroll -0.02 -0.02
}
}
That's all, just save it as yourwater.shader in the scripts folder and put your texture images in a folder called "w" or whatever.
Good luck!
