swimmable 3d floors

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
anakin s.
Posts: 34
Joined: Sat Oct 22, 2005 16:25

swimmable 3d floors

Post by anakin s. »

How do you make the swimmable 3d floors have a color tint, just like regular swimmable water?
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

Tint your control sector, and set flag 2 (restrict lighting to inside the 3D floor area)
anakin s.
Posts: 34
Joined: Sat Oct 22, 2005 16:25

Post by anakin s. »

Thank you. What special action do you use to tint the control sector? I tried using Sector_SetFade or maybe Sector_SetColor in an opening script but it didn't work.

EDIT: I just looked at the map and I realized I used Sector_SetFade in the opening script. I'm going to use Sector_SetColor to see if it works now.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

I've always found that setting both the fade and the color makes the effect better.
anakin s.
Posts: 34
Joined: Sat Oct 22, 2005 16:25

Post by anakin s. »

What colors do you use for each of the different liquid types?
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

Usually some variations of the color of whatever liquid flat you're going to use.
anakin s.
Posts: 34
Joined: Sat Oct 22, 2005 16:25

Post by anakin s. »

Do you happen to know the RGB values for them? I tried lots of things from pure blue to almost cyan, but the water is too obscure for me to see through.
User avatar
Shinjanji
Posts: 198
Joined: Sun Nov 06, 2005 16:45
Location: Pennsylvania, USA

Post by Shinjanji »

If the fade is too thick, brighten up your sector. If the colors are still too dark, play around with lightening them.
Locked

Return to “GZDoom”