Green Lava
Moderator: Moderators
- Kingpin
- Jedi

- Posts: 1096
- Joined: Fri Sep 13, 2013 7:09 pm
- Projects :: The Sith Wars II
- Location: Denver, CO
- Contact:
Green Lava
So, for my lava-themed Sullust map, i decided to make my lava by using water and putting a killzone under it. So, I get the stock Kashyyyk textures and follow the normal water procedure. Then, I pasted in a lava texture into each water texture, keeping the original canvas size and resizing. My problem is that ingame, the textures show up but they have the stock water color. Anyone know how to fix?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Green Lava
You can find the values that determine the water's colors in your world's .fx file. They should be self-explanatory to edit.
- Kingpin
- Jedi

- Posts: 1096
- Joined: Fri Sep 13, 2013 7:09 pm
- Projects :: The Sith Wars II
- Location: Denver, CO
- Contact:
Re: Green Lava
Alright. Since the lava texture jas several colors in it, is there anyway to get them all? And also, do you have some kind of a key for each color?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Green Lava
I'm not sure about multiple colors, but you can use ZeroEditor's lighting mode to find the values of the colors you want to use, since it also uses RGB.
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Green Lava
You can also use an RGB color wheel found here.
- Kingpin
- Jedi

- Posts: 1096
- Joined: Fri Sep 13, 2013 7:09 pm
- Projects :: The Sith Wars II
- Location: Denver, CO
- Contact:
Re: Green Lava
So this is not something you change in the .fx file, but ZeroEditor? I am deeply confused. #feelingstoopid
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Green Lava
1) The water's color only directly matches the texture when water resolution (from your graphics settings in-game) is set to "low." Any other resolution (as you are probably running) will make water appearance virtually ignore water diffuse textures.Kingpin wrote:So this is not something you change in the .fx file, but ZeroEditor? I am deeply confused. #feelingstoopid
2) Water's color at any resolution higher than "low" is set in the world .fx file, here:
Hidden/Spoiler:
- Kingpin
- Jedi

- Posts: 1096
- Joined: Fri Sep 13, 2013 7:09 pm
- Projects :: The Sith Wars II
- Location: Denver, CO
- Contact:
Re: Green Lava
Hmmm. This is quite confusing.
Are you saying that the water colour will always be green if my ingame setting for water is low, and if I set it to a higher quality, then the colour will show up, only by changing the three lines of code that you posted? And also, is there an option for no colour, thus leaving it the default texture?
Are you saying that the water colour will always be green if my ingame setting for water is low, and if I set it to a higher quality, then the colour will show up, only by changing the three lines of code that you posted? And also, is there an option for no colour, thus leaving it the default texture?
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Green Lava
Try (255,255,255). That is a completely white color. It should work.
And do that in ZE when you place the water/lava.
And do that in ZE when you place the water/lava.
- Kingpin
- Jedi

- Posts: 1096
- Joined: Fri Sep 13, 2013 7:09 pm
- Projects :: The Sith Wars II
- Location: Denver, CO
- Contact:
Re: Green Lava
Will that make it the default texture or white lava?
EDIT: I also noticed that is only a set of three numbers, not four. Will that still work?
EDIT: I also noticed that is only a set of three numbers, not four. Will that still work?
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: Green Lava
It should make it the texture. The fourth number is alpha (transparency). Make the fourth 255 as well, unless you want partially clear lava.
- Kingpin
- Jedi

- Posts: 1096
- Joined: Fri Sep 13, 2013 7:09 pm
- Projects :: The Sith Wars II
- Location: Denver, CO
- Contact:
Re: Green Lava
I will try this. Hey Mav, how did you get your lava on your Sullust map? That is how I would like mine to look like.
EDIT: HOORAY! *pees pants a little bit* Thank you for the 255. It works! Now I have some awesome lava. Thank you guys all for the help!
EDIT: HOORAY! *pees pants a little bit* Thank you for the 255. It works! Now I have some awesome lava. Thank you guys all for the help!
