Page 1 of 1

[Mod] Lava mod [v0.4] [lava]

PostPosted: Wed Aug 08, 2012 04:09
by SegFault22
Hello all, I have begun working on a new mod. Hopefully this one will work better than my others...and here is it:
This mod adds some ABM's and stuff that cause lava to ''spread''. Instead of having lava lakes, they will fill up mostly over some time. If the lake is connected to a cave system with a ceiling at least 4 blocks high in most places, it will also fill that cave. (but the area for lava to ''rise'' has to be a 3x3 square with 4 blocks of air above the center)
Also, another ABM turns some flowing lava nodes into lava sources, as the number of sources will drastically decrease as the lava rises.
So, if you decide to use this mod, remember to close up the entrances of your mines if you find lava, and please don't put lava on the surface, let it find it's own way to the surface and make a cool volcano or something.
----------------
Downloads:
v0.4
v0.3 (outdated and unstable)
v0.1 (outdated and unstable)
----------------
Depends on default. bucket, and Rath's cooling lava mod, so that it will work to make real volcanoes.
----------------
Screenshots:
This is the inside of a cave, where I poured some thick lava, and it began rising. I had to remove some of the cooled blocks, just so you know it will most likely need people to interact with it (some) to make a volcano:
Image
----------------
For best results, use worldedit to dig out a shaft down to a cave system, and at the top have it connected to a cave system that opens to the ground above. Put a lot of thick magma in the bottom, and set the cooling rate in INIT.lua to 60 orso. Make sure that you remove nodes that would obstruct rising (4 air above the center of a 3x3 area of thick lava). Once it begins flowing out, wait for it to get about 2 blocks high, and exit the game, set the cooling rate in INIT.lua to something like 10 or 5. Go back into the map and wait for it to form a shell. exit, change cooling rate to 30 orso, and enter again.
if it is possible to make ''timers'' that change the cooling rate/rising rate, I will most likely try to add that to the mod.
----------------
Also, thick lava now generates like an ore in lava lakes!

PostPosted: Wed Aug 08, 2012 10:18
by Calinou
Use omploader or dropbox if you want free/unlimited uploads. ;)

PostPosted: Wed Aug 08, 2012 23:38
by SegFault22
=UPDATE=
Added some stuff:
-Thick lava (high viscosity, only lava that ''spreads'')
-Bucket for thick lava
-ABM's for turning thick lava into molten rock
Changed some stuff:
-Normal lava doesn't spread
-making realistic volcanoes will require changing the cooling rate variable multiple times, and waiting a lot
In the future I plan to add ''timers'' that change the spreading and the cooling of different types of lava, and (maybe) some other stuff that will help simulate eruptions. Or if there's a way to keep certain types of lava from cooling below a certain point...or just lower the chances of it...

PostPosted: Wed Aug 08, 2012 23:53
by SegFault22
Also I do not know if I have set the viscosity correctly - I do not know if a larger number makes it flow less (higher viscosity = slower) or if it has to be lower for it to be more viscous (as if the ''viscosity'' is the extent to which it flows/spreads)

PostPosted: Thu Aug 09, 2012 01:46
by Spots
you...are....the...MAN !! lol looking great +15 to you

PostPosted: Thu Aug 09, 2012 03:01
by SegFault22
Also I am running into the same problem as that of the nature mod, where it made really tall, infinite trees - as in the nature mod it adds a bunch of leaves and tree blocks that grow straight up, and in this mod the ABM adds too many lava blocks at the same time, but it should be one-by-one - anyone got an idea of how I would fix this, and keep the lava from just spreading and making one's entire map into a NetherWorld?
EDIT: it seems there to be a ''viscosity limit'' of about 7. And viscosity does not affect how far a liquid will spread from the source - if a variable is added that allows us to alter how far it travels from a source node, this mod will be fixed to work with that and realistic volcanoes will be possible. But until then, I'll just add more lava and stuff (magma tools?)

PostPosted: Fri Aug 10, 2012 00:31
by SegFault22
=UPDATE=
-Thick lava now generates as an ore in lava lakes!
see first post for more info/download links.

PostPosted: Fri Aug 10, 2012 01:52
by Spots
if it generates as an ore does that mean you and mine it and if so how good of an idea to use it in the Angel's mod to power a thermal generator where it last as long as say 10-20 coal ore?

PostPosted: Fri Aug 10, 2012 02:03
by SegFault22
it generates like an ore generates, but it is in it's liquid state when it is generated. You have to collect it with buckets.
Also I think it would work like normal lava, just being next to a thermal turbine will make it generate electricity, IF it is added into the code to make the thermal turbine generate electricity.

PostPosted: Tue Aug 28, 2012 01:11
by Bas080
I like the dense lava idea. Will give BIG TIME KUDOS when simulates volcanic eruption when circumstances are right. My mind is forbidding me not to think about how to do this. Maybe on map generate and otherwise in "realtime". You basicly want a sloped shape. Not to straight but with a certain curve.... wide and flat at the bottom and steep and narrower at the top. with ofcourse lava in the middle... and the nodes that it uses are lava cooled lava and stone... i think for it to work you may need a volcano source... or like you said, play with density of the fluid lava... good luck cracking it. Please share screenshot if you have cracked it.

PostPosted: Fri Oct 12, 2012 09:32
by Jordach
SegFault22; your 0.4 download has ran out, LUCKILY, i still that .zip file in my downloads.

http://ompldr.org/vZnVvZg/lavamod_v0,4.ZIP

SegFault22; you can thank me later.

PostPosted: Fri Oct 12, 2012 21:59
by SegFault22
Thank you, I forgot to re-upload that. Updating link.