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?
Changing Underwater Color [Solved]
Moderator: Moderators
- Lozza
- Lieutenant Colonel

- Posts: 543
- Joined: Tue Jan 05, 2010 5:11 am
- Location: Australia. Melbourne
- Contact:
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Underwater Textures Question
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.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Underwater Textures Question
In your world's .fx file, look for this line under the Water section (PC):
The first three values define the color.
Code: Select all
UnderwaterColor(104, 60, 144, 128);- Lozza
- Lieutenant Colonel

- Posts: 543
- Joined: Tue Jan 05, 2010 5:11 am
- Location: Australia. Melbourne
- Contact:
Re: Underwater Textures Question
Thanks AQT, your a good help.AQT wrote:In your world's .fx file, look for this line under the Water section (PC):The first three values define the color.Code: Select all
UnderwaterColor(104, 60, 144, 128);
- SW_elite
- Filthy Thief

- Posts: 507
- Joined: Sat Jan 02, 2010 6:43 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia!!!
Re: Underwater Textures Question
Cool, this stuff is all useful for me, thx!
- sampip
- General

- Posts: 792
- Joined: Mon Mar 16, 2009 12:08 pm
- Projects :: Something big. And exciting.
- xbox live or psn: masowner66
- Location: Zebra
Re: Underwater Textures Question
Thats interesting, what does the last one do exactly? Just for reference.AQT wrote:In your world's .fx file, look for this line under the Water section (PC):The first three values define the color.Code: Select all
UnderwaterColor(104, 60, 144, 128);
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Changing Underwater Color [Solved]
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.
@ Grev - There are multiple occasions on stock maps where you can go underwater, and the color is not always the same.
- Lozza
- Lieutenant Colonel

- Posts: 543
- Joined: Tue Jan 05, 2010 5:11 am
- Location: Australia. Melbourne
- Contact:
Re: Changing Underwater Color [Solved]
Yeah, I think its alpha.
