Page 1 of 1

Sector translucency?

Posted: Mon Sep 29, 2008 13:36
by Rex Claussen
I have done some searching, and have come up with nothing for setting sector translucency. Is there any such thing? (I mean other than the fog effect.)

I want to create a particular color (turquoise) for underwater sectors. Please see the thread on the ZDooM forums for more information.

Thanks.

Posted: Mon Sep 29, 2008 14:14
by Graf Zahl
Can you describe your setup a bit more detailed? I have no idea what precisely you try to do so I can't give any advice.

Posted: Mon Sep 29, 2008 15:48
by Rex Claussen
Graf Zahl wrote:Can you describe your setup a bit more detailed? I have no idea what precisely you try to do so I can't give any advice.
I have a deep water sector that is translucent when observed from above the water's surface. [Look at the foreground in this screenshot to see the water sectors.] The water flat has a turquoise color that is very evident in this screenshot. The closest match to an underwater color I have found is represented by the value 80008080, when it is assigned to the lower texture in ZDooM's Transfer_Height special. I want to be able to get that same color in my GZDooM deep water sector.

Posted: Mon Sep 29, 2008 18:35
by Graf Zahl
You mean to a 3D-liquid floor? In that case you set the color value to the lower texture of the 3D-floor's control linedef.

Posted: Mon Sep 29, 2008 21:55
by Rex Claussen
Graf Zahl wrote:You mean to a 3D-liquid floor? In that case you set the color value to the lower texture of the 3D-floor's control linedef.
That was the first thing I had tried. It doesn't seem to work. Here are the particulars:

GZDooM version 1.1.4 (R110)
ZDooM version 2.2.0 (R993)

Control linedef has the following special & attributes:

Sector_Set3DFloor (182, 2, 0, 160)
Main texture = Gray5
Lower Texture = 80008080

Posted: Mon Sep 29, 2008 22:14
by Enjay
Hmmm... I can't seem to get it to work by putting that value on the lower side of a control sector either. When I jump into the swimable 3D water, it is not coloured below the surface. That's with a very simple test map.

I normally colour 3D water using a script to colour the control sector. Is that any use to you.

Posted: Mon Sep 29, 2008 23:11
by Rex Claussen
Enjay wrote:I normally colour 3D water using a script to colour the control sector. Is that any use to you.
I have tried that too, and managed to get a semblance of a turquoise-colored underwater area, but it's not quite the same as with the Lower Texture = 80008080.

But yes, please post your script. Thanks.