Game Development Community

Water effect

by Matt Droll · in Artist Corner · 02/23/2002 (2:46 am) · 6 replies

I made a tunnel under a lake.
Now, my problem is, that in this tunnel, it looks like you're in the water. But it's just the blue sting. you're not slower or sluggish!
How can I avoid this effect?

thnx

Matthew

#1
02/23/2002 (5:22 am)
Try adding portals to the tunnel, maybe it will help.

// Clocks out
#2
02/28/2002 (3:25 am)
As I saw at this time, the portals doesn't use something.
isn't there an other way to avoid this effect?
come on, I really don't want to change my half map! *g*

Matthew
#3
02/28/2002 (5:54 pm)
How are you defining the water block? Do you have it positioned at 0 Z and scaled up to the level you need it ? If so, then move the the Z position up to a point above the tunnel roof, then scale the waterblock to suit.

eg.
position = -1024 -1024 1  (waterblock position)
    scale =     1024  1024 50    (waterblock surface at 50)

   tunnel at 0 0 20 with roof = 10 to yield roof at 30 Z

change to:
    position = -1024 -1024 40 (waterblock position)
    scale =     1024  1024 0.25  (waterblock surface still at 50 : 40 + (40*0.25))

    tunnel is now completely outside and below waterblock
#4
03/01/2002 (2:05 am)
Yes, I placed the lake uppon my tunnel and scaled it to the sice I need!
But, sorry, I don't understand what do you mean with your explanation!
I can't just move the water, cause else it cames out of my terrain!
And the tunnel is on a fix place too! :)
Does I have to move my tunnel outside my water? can't I make a tunnel throug the lake, just under the terrain?
Matthew
#5
03/01/2002 (6:01 am)
This is what I meant:

razor.idlegames.com/acetw/tw/image2.png
#6
03/01/2002 (6:30 am)
yeah, I've got it like the second one!
But I've got the effect too! it's not that there would be water, it's just looking like! My programmer/scripter Marco Meier said that it has got something to do with the sun.
If you're looking to the ground of the tunnel, it's normal, but as soon as your're looking up, it seems like there is water in!

Matthew