Page 1 of 1

Adding lava

Posted: Sat Mar 28, 2009 12:00 pm
by Fiodis
How do you add lava? I know now that it's just the same as normal water, with death regions added. But how do you go about adding it? I looked in the mus1.fx file, and I couldn't find any lines pretaining to lava. I couldn't find anything in the effects folder about it, either; and that "PC" folder that is mentioned in the tutorial isn't there either. So how do I add lava? What files do I need, and where do I find them?

Re: Adding lava

Posted: Sat Mar 28, 2009 12:04 pm
by Maveritchell
Image

Re: Adding lava

Posted: Sat Mar 28, 2009 12:50 pm
by MileHighGuy
its not water, it a prop. its part of the volcano objects (in the mustafar assets) and its a scrolling texture

Re: Adding lava

Posted: Sat Mar 28, 2009 1:35 pm
by Fiodis
I'm not talking about the lava prop; I'm talking about the lava lava, the liquid type you see under the comm antenna in Mustafar.

And thanks Mav, I've got it mostly working now. It shows up green, though, I'll see what I can do about that.

Re: Adding lava

Posted: Sat Mar 28, 2009 1:41 pm
by Maveritchell
Fiodis wrote:I'm not talking about the lava prop; I'm talking about the lava lava, the liquid type you see under the comm antenna in Mustafar.
That is also prop lava (there is no water in Mustafar, look at the .wld file).

Re: Adding lava

Posted: Sat Mar 28, 2009 4:39 pm
by MileHighGuy
Fiodis wrote:I'm not talking about the lava prop; I'm talking about the lava lava, the liquid type you see under the comm antenna in Mustafar.

And thanks Mav, I've got it mostly working now. It shows up green, though, I'll see what I can do about that.
i think that is what you are talking about

Re: Adding lava

Posted: Sat Mar 28, 2009 5:47 pm
by Fiodis
Yes, but you see, it's not. I'm not talking about a prop. I'm talking about a lava that has ripples and splashes.

Re: Adding lava

Posted: Sat Mar 28, 2009 6:36 pm
by MileHighGuy
oh, then i guess youd have to appy the mustafar texture to water and edit the watersplash effects

Re: Adding lava

Posted: Sat Mar 28, 2009 6:42 pm
by Fiodis
That's what I did, and it works. Thanks again for the search reminder, Mav.

Re: Adding lava

Posted: Sat Mar 28, 2009 10:05 pm
by vampire_lord
Hey Fiodis, would you mind sharing your water-lava code with us? I left a Shola map pending because the Mustafar props weren't any good for a planet surface map and I could never modify the water properly.

Re: Adding lava

Posted: Sat Mar 28, 2009 10:12 pm
by Maveritchell
vampire_lord wrote:Hey Fiodis, would you mind sharing your water-lava code with us? I left a Shola map pending because the Mustafar props weren't any good for a planet surface map and I could never modify the water properly.
Sharing? Code? It's just water with a different texture! Argh, I don't know why this hangs up people so much.

Re: Adding lava

Posted: Sun Mar 29, 2009 1:51 am
by vampire_lord
I had no problem with texture, but I can't figure the color combination or rather the non-color for the lava texture to be opaque.

Re: Adding lava

Posted: Sun Mar 29, 2009 11:24 am
by Fiodis
vampire_lord wrote:I had no problem with texture, but I can't figure the color combination or rather the non-color for the lava texture to be opaque.


Alpha is transparency. Set it to 255.