Page 1 of 1
Changing Underwater Color [Solved]
Posted: Sun Jan 10, 2010 7:47 pm
by Lozza
I was currently working on a map based on gas/poison etc.
I changed the water top to a green texture but when you go under water its still blue. What texture do I have to edit in order to change the colour of underwater?
Re: Underwater Textures Question
Posted: Sun Jan 10, 2010 7:59 pm
by Grev
I'm not sure, but since you technically, the way the developers meant it, shouldn't be in the water deep enough for seeing it's color, you probably won't be able to change it. Although I may be wrong.
Re: Underwater Textures Question
Posted: Sun Jan 10, 2010 8:58 pm
by AQT
In your world's .fx file, look for this line under the Water section (PC):
Code: Select all
UnderwaterColor(104, 60, 144, 128);
The first three values define the color.
Re: Underwater Textures Question
Posted: Sun Jan 10, 2010 9:14 pm
by Lozza
AQT wrote:In your world's .fx file, look for this line under the Water section (PC):
Code: Select all
UnderwaterColor(104, 60, 144, 128);
The first three values define the color.
Thanks AQT, your a good help.
Re: Underwater Textures Question
Posted: Sun Jan 10, 2010 9:22 pm
by SW_elite
Cool, this stuff is all useful for me, thx!
Re: Underwater Textures Question
Posted: Mon Jan 11, 2010 4:38 pm
by sampip
AQT wrote:In your world's .fx file, look for this line under the Water section (PC):
Code: Select all
UnderwaterColor(104, 60, 144, 128);
The first three values define the color.
Thats interesting, what does the last one do exactly? Just for reference.
Re: Changing Underwater Color [Solved]
Posted: Mon Jan 11, 2010 5:37 pm
by Fiodis
I'd imagine alpha.
@ Grev - There are multiple occasions on stock maps where you can go underwater, and the color is not always the same.
Re: Changing Underwater Color [Solved]
Posted: Mon Jan 11, 2010 7:18 pm
by Lozza
Yeah, I think its alpha.