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.
Sector translucency?
Moderator: Graf Zahl
- Rex Claussen
- Developer
- Posts: 2659
- Joined: Tue Jul 11, 2006 18:36
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Rex Claussen
- Developer
- Posts: 2659
- Joined: Tue Jul 11, 2006 18:36
- Contact:
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.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.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Rex Claussen
- Developer
- Posts: 2659
- Joined: Tue Jul 11, 2006 18:36
- Contact:
That was the first thing I had tried. It doesn't seem to work. Here are the particulars: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.
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
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
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.
I normally colour 3D water using a script to colour the control sector. Is that any use to you.
- Rex Claussen
- Developer
- Posts: 2659
- Joined: Tue Jul 11, 2006 18:36
- Contact:
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.Enjay wrote:I normally colour 3D water using a script to colour the control sector. Is that any use to you.
But yes, please post your script. Thanks.