Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Changing the colour of water.  (Read 8534 times)

0 Members and 1 Guest are viewing this topic.

Uufflakke

  • Modder
  • member
  • Offline Offline
  • Posts: 2078
Changing the colour of water.
« on: December 19, 2010, 11:14:20 AM »

There is a way to change to colour of water by adding lines in the load.ini:
 
WaterColorATI = 0.275 0.149 0.008
WaterColorNV = 0.275 0.149 0.008

In this case you get brown water. But what to do if someone wants to change the colour but doesn't have no clue about the numbers and their corresponding colours?
Well, there is another way to change the water:

-Create a .tga with just one colour.
-Save it as a 512x512, 8-bits .tga file and name it whatever you like but...always with TL at the end.
For instance: PacificBlueTL, WaterGreenTL, OceanGrayTL etc.
-Drop the .tga in IL2 Root Folder/Mods/Mapmods/Maps/_Tex/water (if you don't have a water folder create one)
-Open the load.ini of a map and change the line Water = water/Water.tga into Water = water/PacificBlue.tga but...without TL.

Here some examples of the different waters with in the top left corner the colour of the .tga I used for it.










Logged
"The Best Things In Live Aren't Things"

farang65

  • never two weeks two decades
  • SAS Team
  • member
  • Offline Offline
  • Posts: 2787
  • Fortress Formosa
Re: Changing the colour of water.
« Reply #1 on: December 20, 2010, 08:42:44 PM »

Hi There,

Lately I've been messing with water colours.

Your trick just might help.

I'm trying to get a very dull,cold, dreary looking gray/blue for a polar map.

Cheers Kirby
Logged

242Sqn_Cat

  • member
  • Offline Offline
  • Posts: 103
Re: Changing the colour of water.
« Reply #2 on: December 21, 2010, 05:30:12 AM »

Very useful, thanks.

:cheers:
Logged

Verhängnis

  • Unofficial Heinkel Fan
  • Modder
  • member
  • Offline Offline
  • Posts: 1494
Re: Changing the colour of water.
« Reply #3 on: December 21, 2010, 06:05:25 AM »

Well now someone can make the Red Sea, literally...
Logged

Blond

  • member
  • Offline Offline
  • Posts: 95
Re: Changing the colour of water.
« Reply #4 on: January 29, 2011, 10:18:11 AM »

So there is another question:

How to achieve non or very small coast foam (shore foam) ? Like in new Tunisia map:



I would like to apply it in some other maps... I guess it should be some line in load.ini ?!?
Logged

WhiteCat

  • Modder
  • member
  • Offline Offline
  • Posts: 325
Re: Changing the colour of water.
« Reply #5 on: January 29, 2011, 11:05:21 AM »

Cheers Uuflake very useful! :)

@ Blond, that's only a matter of tweaking the map_T manually at the coast. Let me the map you want and I show you an example. I'd swear that the piece of coast you point below doesn't show well in Excellent mode :)
Logged

SAS~Tom2

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 7954
  • no sweat
Re: Changing the colour of water.
« Reply #6 on: January 29, 2011, 12:06:53 PM »

Thanks Uufflakke! Nice tip.

WhiteCat:
As you showed up and replied, would it be possible to add some beachbreaks at your repainted big Hawaii islands map, e.g. at Oahu Waimea bay and Jaws/Maui:
Which would be here..
http://maps.google.de/maps?oe=utf-8&rls=org.mozilla:de:official&client=firefox-a&um=1&ie=UTF-8&q=jaws,+Maui&fb=1&gl=de&hq=jaws,&hnear=Maui&cid=0,0,8158622787255415155&ei=c2RETaurH4zEswa8hvmlDg&sa=X&oi=local_result&ct=image&resnum=3&ved=0CDgQnwIwAg

I really LOVE your repaint and that map from Saburo Sakai and Porto anyway, cannot stress that enough but as a (very poor) surfer, I always felt the islands would be even greater with..some waves or beachbreaks at some 4-5 points. :)

Cheers

Thanks!
Logged

WhiteCat

  • Modder
  • member
  • Offline Offline
  • Posts: 325
Re: Changing the colour of water.
« Reply #7 on: January 29, 2011, 12:59:58 PM »

Wow thanks :) I'm starting to have a LONG list of requests mate. Ok I take note. But please be patient, my time now is reduced to the minimum hope you understand. Answer the forums requires much less than retexturing :)
Cheers!
Logged

SAS~Tom2

  • SAS Honourable Member
  • member
  • Offline Offline
  • Posts: 7954
  • no sweat
Re: Changing the colour of water.
« Reply #8 on: January 29, 2011, 04:13:55 PM »

Hello, WhiteCat, please don't feel obliged to put the "beachbreak" on your list.
That map repaint is a piece of art, that foam thing is only my thought of Hawaii and I would not be disappointed if it would not happen. If it is doable at one later time-very cool-if not-no problem at all.
I thank you for that repaint I fly over almost every day. :)

Tom
Logged

Blond

  • member
  • Offline Offline
  • Posts: 95
Re: Changing the colour of water.
« Reply #9 on: January 29, 2011, 08:09:30 PM »

@ Blond, that's only a matter of tweaking the map_T manually at the coast. Let me the map you want and I show you an example. :)

Well, i am making few versions of your Chichi Shima... one of my favourites for Zero actions.
So how would I decrease shore foam...?


@Uufflakke, Many thanks for this water tweaking tutorial ! :)
Logged

WhiteCat

  • Modder
  • member
  • Offline Offline
  • Posts: 325
Re: Changing the colour of water.
« Reply #10 on: February 01, 2011, 12:40:16 PM »

@ Blond, that's only a matter of tweaking the map_T manually at the coast. Let me the map you want and I show you an example. :)

Well, i am making few versions of your Chichi Shima... one of my favourites for Zero actions.
So how would I decrease shore foam...?


@Uufflakke, Many thanks for this water tweaking tutorial ! :)

Hi, I was able to do that in Iwo but not in other maps. Maybe the reason was that I was using a different map_C or something. I think that can obtained by changing the map_C so at the coast the engine thinks that there's not coast and therefore it doesnt' paint the waves.

Sorry I thought I was going to be of help.
Logged

mandrill

  • Modder
  • member
  • Offline Offline
  • Posts: 785
Re: Changing the colour of water.
« Reply #11 on: March 06, 2011, 11:37:56 AM »

Isn't it just a matter of using the "coast river" tex instead of the "coast sea" tex? Or am I missing something??

Re a small surf, instead of a large one, my guess is that involves the shade of dark grey/black in the map_c. The lighter the grey (up to 127 when it turns to land), the more shallow the water and I suspect it also governs the presence or absence of surf.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.037 seconds with 26 queries.