How do you add lava?
Moderator: Moderators
-
GolfBulb
How do you add lava?
How do u add lava, i know how to add water but its diffrent, i tried adding the water way then taking the Mus .FX and the lava .TGA and puting it together. but it made my map crash, and if it didnt crash.. it was Kashyyk water.. so please help
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: lava...............lava!
Use this as the basis:
- Get a lava texture, whether from the assets or internet
- Go to your ***.fx
- Make this your water part of your fx:
- Put your lava texture in your effects and world1 folder.
- Munge and it should work if you set up your water correctly.
- Get a lava texture, whether from the assets or internet
- Go to your ***.fx
- Make this your water part of your fx:
- Substitute lava.tga to whatever your lava texture is called.Effect("Water")
{
// general parameters
PatchDivisions(8,8);
Tile(2.0,2.0);
// ocean parameters
OceanEnable(0);
// water event parameters
WaterRingColor(228, 155, 15,255);
WaterWakeColor(228, 155, 15,255);
WaterSplashColor((228, 155, 15,255);
DisableLowRes();
// PS2 parameters
PS2()
{
Velocity(0.0,0.0);
LODDecimation(8);
MainTexture("mus1_main_4.tga");
MinDiffuseColor(32, 40, 32, 255);
MaxDiffuseColor(128, 130, 128, 255);
BorderDiffuseColor(160, 160, 160, 255);
//SpecularColor(192, 192, 192, 192);
//SpeckleSpecularColor(160, 160, 160, 255);
//SpeckleAmbientColor(0, 0, 0, 255);
//SpeckleTextures("water_specularmask_",25, 2.0);
//SpeckleTile(4.0, 4.0);
//SpeckleScrollSpeed(0.0,0.0);
//SpeckleCoordShift(10.0,10.0);
LightAzimAndElev(1.0,0.0);
}
// PC parameters
PC()
{
Tile(1.0,1.0);
Velocity(0.01,0.02);
MainTexture("lava.tga");
LODDecimation(1);
RefractionColor(160, 100, 0, 255);
ReflectionColor(204,51,51,255);
UnderwaterColor(204, 85, 0, 200);
FresnelMinMax(0.2,0.7)
NormalMapTextures("water_normalmap_",16,8.0);
//BumpMapTextures("water_bumpmap_",16,8.0);
//SpecularMaskTextures("water_specularmask_",25, 2.0);
//SpecularMaskTile(4.0,4.0);
//SpecularMaskScrollSpeed(0.0,0.0);
}
// XBOX parameters
XBOX()
{
Velocity(0.01,0.002);
LODDecimation(1);
RefractionColor(128, 130, 128, 64);
ReflectionColor(150,150,150,150);
UnderwaterColor(128, 130, 128, 64);
FresnelMinMax(0.2,0.7)
NormalMapTextures("water_normalmap_",16,8.0);
}
}
- Put your lava texture in your effects and world1 folder.
- Munge and it should work if you set up your water correctly.
Last edited by Taivyx on Tue Sep 04, 2007 7:26 pm, edited 1 time in total.
-
GolfBulb
Re: lava...............lava!
i know it might sound silly buyt.. i dont have an effect folder should i make one?
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: lava...............lava!
Of course.
-
BountyHunterV
Re: lava...............lava!
um...that would affect all water on your map, right?
so from now on if you tried to place water in that map, it would appear as water, i'm assuming?
so from now on if you tried to place water in that map, it would appear as water, i'm assuming?
Last edited by BountyHunterV on Tue Sep 04, 2007 10:32 pm, edited 1 time in total.
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: lava...............lava!
Well, I believe so.
I don't think there's any other way of doing it.
However, if there is, that would be cool.
I don't think there's any other way of doing it.
However, if there is, that would be cool.
-
BountyHunterV
Re: lava...............lava!
sorry, i meant:
so from now on if you tried to place water in that map, it would appear as LAVA, i'm assuming?
if that is true, than that stinks, cause i had a map in mind with both lava and water...does anybody know if that's possible?
so from now on if you tried to place water in that map, it would appear as LAVA, i'm assuming?
if that is true, than that stinks, cause i had a map in mind with both lava and water...does anybody know if that's possible?
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: lava...............lava!
If I remember right the Mustafar lava is an animated model.
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
Re: lava...............lava!
Also there was an unused tile .odf for lava somewhere, someone posted it along time ago.
-
BountyHunterV
Re: lava...............lava!
penguin do you know where exactly that .odf is? cause the search is still a little screwy
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: lava...............lava!
I don't know why so many people get hung up on lava. It's just differently-colored water. You put it in just like normal water. If you don't want to have to deal with:
a) It only showing the texture on low settings (like all water does anyway), or
b) It affecting all the water on your map,
then just reskin a flat object with lava textures (mus_main_3 is the Mustafar lava texture, I think) and place like any other object.
a) It only showing the texture on low settings (like all water does anyway), or
b) It affecting all the water on your map,
then just reskin a flat object with lava textures (mus_main_3 is the Mustafar lava texture, I think) and place like any other object.
-
BountyHunterV
Re: lava...............lava!
i guess...i was just thinkin it would be really cool if troopers could, you know, wade through it and stuff..thats all
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: lava...............lava!
All you have to do for them to be able to do that is to give it no collision.
-
BountyHunterV
Re: lava...............lava!
oh...i didn't know you could do that
how do you give an ODF no collision?
how do you give an ODF no collision?
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Re: lava...............lava!
In a msh.option file enter this:
-nocollision
If there is no msh.option file for the mesh you're using, then create one.
-nocollision
If there is no msh.option file for the mesh you're using, then create one.
-
BountyHunterV
Re: lava...............lava!
does it matter where in the file you put it?
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
-
Penguin
- Jedi Admin

- Posts: 2541
- Joined: Sun Mar 05, 2006 12:00 am
- Location: Australia
Re: lava...............lava!
It does, can't put it in the middle of another word, must have a space before it if theres something else in front 
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: lava...............lava!
Oh, well, duh.
That's a given, lol.
That's a given, lol.
-
BountyHunterV
Re: lava...............lava!
lol...
in general is this true with all ODFs? like if theres a line you want to add like "WeaponShareAmmo" for instance does it matter where you put it?
in general is this true with all ODFs? like if theres a line you want to add like "WeaponShareAmmo" for instance does it matter where you put it?
