Page 1 of 2

[Mod] Dripping Water & Lava [1.1] [drippingwater]

PostPosted: Mon Apr 16, 2012 17:02
by kddekadenz
This mod will add drop particles to the game.

Image

Manual:

-> drops are generated rarely under crumbly nodes (dirt,grass,sandstone)
-> waterdrops are generated under cloudstone massively
-> they will stay some time at the generated block and than they fall down
-> when they collide with the ground, a sound is played and they are destroyed


License: code & sounds: CC0
dependencies: default

Download


Changelog:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
1.1
- fixed generating of drops
- drops are now 3D
- added lava drops

PostPosted: Mon Apr 16, 2012 17:04
by lkjoel
Awesome!

PostPosted: Mon Apr 16, 2012 17:27
by JoseMing
how i make it work?, i need create a folder with name drippingwater?

PostPosted: Mon Apr 16, 2012 17:49
by kddekadenz
JoseMing wrote:how i make it work?, i need create a folder with name drippingwater?


The files should be already in a folder called drippingwater..
If they aren't then put all the files in a folder called drippingwater and follow the instructions in the readme.

PostPosted: Mon Apr 16, 2012 19:30
by Calinou
I like it! :)

PostPosted: Mon Apr 16, 2012 19:42
by jordan4ibanez
wow thats really nice

PostPosted: Mon Apr 16, 2012 20:23
by VanessaE
The files do not extract into their own folder; you must indeed create a folder named "drippingwater" and extract into that. Seems to work nice, but I think the rate of drips needs to be increased.

PostPosted: Mon Apr 16, 2012 21:31
by z10N30NC1UB10z
Can this be used to create dripping lava?

PostPosted: Mon Apr 16, 2012 21:34
by lkjoel
yep, if you modify it

PostPosted: Mon Apr 16, 2012 21:37
by z10N30NC1UB10z
gonna try that now

PostPosted: Mon Apr 16, 2012 21:44
by z10N30NC1UB10z
--Create drop
minetest.register_abm(
{nodenames = {"group:crumbly"},
neighbors = {"group:lava"},
interval = 2,
chance = 22,
action = function(pos)
if minetest.env:get_node({x=pos.x, y=pos.y -1, z=pos.z}).name == "air" and
minetest.env:get_node({x=pos.x, y=pos.y -2, z=pos.z}).name == "air" then
local i = math.random(-5,5) / 10
minetest.env:add_entity({x=pos.x + i, y=pos.y - 0.5, z=pos.z + i}, "drippinglava:drop")
end
end,
})

Would this work?

PostPosted: Mon Apr 16, 2012 21:52
by lkjoel
drippinglava?

PostPosted: Mon Apr 16, 2012 21:55
by z10N30NC1UB10z
you mean the file destination, or the idea? and that's not the whole init (also new to modding)

PostPosted: Mon Apr 16, 2012 21:59
by z10N30NC1UB10z
nevermind, there's something i did wrong with the init lua, i'm sure you'll be able to figure it out if you come to it eventually

PostPosted: Mon Apr 16, 2012 22:00
by sdzen
does it drop burnt dirt id assume rename it to crumblinglava it would be more fitting i think

PostPosted: Mon Apr 16, 2012 22:15
by lkjoel
z10N30NC1UB10z wrote:you mean the file destination, or the idea? and that's not the whole init (also new to modding)

You would have to completely rename the mod if you changed it to drippinglava

PostPosted: Mon Apr 16, 2012 22:19
by JoseMing
it work in 20120122-1?

PostPosted: Mon Apr 16, 2012 22:29
by z10N30NC1UB10z
yea jose it works, it's the version i use

PostPosted: Mon Apr 16, 2012 22:31
by JoseMing
but, how i make it drop water...?

PostPosted: Mon Apr 16, 2012 22:32
by z10N30NC1UB10z
i'm not really sure, but i've seen it work, if you go into the ocean and make a little air tight box with "cloud" for the roofing you'll see that it works fine

PostPosted: Tue Apr 17, 2012 00:50
by Death Dealer
Very cool mod:D
whoo hoo i can post again^_^

PostPosted: Tue Apr 17, 2012 05:47
by kddekadenz
JoseMing wrote:but, how i make it drop water...?


Put water on top of a crumbly node (dirt,grass,sandstone).

PostPosted: Tue Apr 17, 2012 12:40
by sfan5
I like it!

PostPosted: Tue Apr 17, 2012 18:16
by sfan5
Topic moved

PostPosted: Thu Apr 19, 2012 20:34
by Hackeridze
Very good! Where the lava? =)

PostPosted: Tue May 01, 2012 16:42
by kddekadenz
Updated to 1.1!

Changelog:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
- fixed generating of drops
- drops are now 3D
- added lava drops

PostPosted: Thu Aug 02, 2012 12:24
by cae2000
Can't download!

PostPosted: Thu Aug 02, 2012 15:46
by kddekadenz
cae2000 wrote:Can't download!


I'm sorry, the filehoster I do use is experiencing often too much traffic recently.
Here is a link to the mod on github: https://github.com/kddekadenz/minetest/tree/master/games/default/mods/drippingwater

PostPosted: Thu Aug 02, 2012 19:36
by Ragnarok
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
collisionbox = {0,0,0,0,0,0},


works better for lava

PostPosted: Mon Sep 24, 2012 16:44
by Wuzzy
It's a nice mod.

But why are the water drops totally black as long they stick to the crumbly node and become blue only if they start falling?
:-/