Re: [Mod] Particles Mod [0.3.1] [particles]

Jordach wrote:

where's the dl link? for 0.2?

0.2 is currently developed

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] Particles Mod [0.3.1] [particles]

I wanna try that!

<Pixelized> yup the mpaa has some pretty fast seeders =)

28 (edited by sfan5 2012-02-28 18:07:55)

Re: [Mod] Particles Mod [0.3.1] [particles]

Jordach wrote:

I wanna try that!

Go online on IRC in #minetest or #minetest-delta

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] Particles Mod [0.3.1] [particles]

Ok, be there in a min!

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] Particles Mod [0.3.1] [particles]

Been testing this with Sfan5 and its freaking awesome!

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] Particles Mod [0.3.1] [particles]

WATERPARTICLES = {
    physical = true,
    collisionbox = {0,0,0,0,0,0},
    visual = "sprite",
    visual_size = {x=0.2, y=0.2},
    textures = {"default_water.png"},
    on_activate = function (self)
        self.object:setvelocity({x=math.random(-1,1)*0.5, y=math.random(-1,1)*0.5, z=math.random(-1,1)*0.5})
    end,
    on_step = function(self, dtime)
        self.timer = self.timer + dtime
        if self.timer > 20 then
            self.object:remove()
        end
        if minetest.env:get_node(self.object:getpos()).name ~= "default:water_source" then
            self.object:remove()
        end
    end,
    timer = 0,
}

minetest.register_entity("particles:water", WATERPARTICLES)

minetest.register_abm({
    nodenames = {"default:water_source"},--, "default:water_flowing"},
    interval = 10,
    chance = 1,
    action = function(pos)
        if math.random(1000) == 1 then
            minetest.env:add_entity({x=pos.x+math.random()*0.5,y=pos.y-0.25,z=pos.z+math.random()*0.5}, "particles:water")
        end
    end,
})

This code adds floating particles in water. What about adding this to V 0.2 of this mod? (Maybe with another texture for the particles)

Redstone for minetest: Mesecons (mesecons.net)

Re: [Mod] Particles Mod [0.3.1] [particles]

Jeija wrote:
WATERPARTICLES = {
    physical = true,
    collisionbox = {0,0,0,0,0,0},
    visual = "sprite",
    visual_size = {x=0.2, y=0.2},
    textures = {"default_water.png"},
    on_activate = function (self)
        self.object:setvelocity({x=math.random(-1,1)*0.5, y=math.random(-1,1)*0.5, z=math.random(-1,1)*0.5})
    end,
    on_step = function(self, dtime)
        self.timer = self.timer + dtime
        if self.timer > 20 then
            self.object:remove()
        end
        if minetest.env:get_node(self.object:getpos()).name ~= "default:water_source" then
            self.object:remove()
        end
    end,
    timer = 0,
}

minetest.register_entity("particles:water", WATERPARTICLES)

minetest.register_abm({
    nodenames = {"default:water_source"},--, "default:water_flowing"},
    interval = 10,
    chance = 1,
    action = function(pos)
        if math.random(1000) == 1 then
            minetest.env:add_entity({x=pos.x+math.random()*0.5,y=pos.y-0.25,z=pos.z+math.random()*0.5}, "particles:water")
        end
    end,
})

This code adds floating particles in water. What about adding this to V 0.2 of this mod? (Maybe with another texture for the particles)

I'll maybe add this

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] Particles Mod [0.3.1] [particles]

Congrats to your 600th post! ^^

Redstone for minetest: Mesecons (mesecons.net)

Re: [Mod] Particles Mod [0.3.1] [particles]

Jeija wrote:

Congrats to your 600th post! ^^

Yay ^^:D

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] Particles Mod [0.3.1] [particles]

Congrats, you still playing?

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] Particles Mod [0.3.1] [particles]

is possible to make rain or snow with this?

Re: [Mod] Particles Mod [0.3.1] [particles]

yes

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] Particles Mod [0.3.1] [particles]

need to do it in C++ like that other guy did with weather, then we can have high performance particles

I give up on the politics, look for me in Minecraftforum! I'll be doing some basic mods.

Re: [Mod] Particles Mod [0.3.1] [particles]

I guess the fact that it is lua instead of c++ isn't the main problem. The most important thing is that particles cannot be controlled by a server - It must be client-side only. So for now, it's good to have this mod, but don't put too much work into it, so if someone makes this in c++ it was not totally for nothing.

Redstone for minetest: Mesecons (mesecons.net)

Re: [Mod] Particles Mod [0.3.1] [particles]

Jeija wrote:

I guess the fact that it is lua instead of c++ isn't the main problem. The most important thing is that particles cannot be controlled by a server - It must be client-side only. So for now, it's good to have this mod, but don't put too much work into it, so if someone makes this in c++ it was not totally for nothing.

yes, that's right, all we need now is some form of way to see if someone is digging.

<Pixelized> yup the mpaa has some pretty fast seeders =)

Re: [Mod] Particles Mod [0.3.1] [particles]

Update!!
Changelog:

  • Colored Digging Particles

Download in the first Post!

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] Particles Mod [0.3.1] [particles]

Thank's Sfan5 !

You're amazing.

43 (edited by Death Dealer 2012-03-20 06:21:50)

Re: [Mod] Particles Mod [0.3.1] [particles]

little bubbles in front of your face while under water would be neat:D or maybe when you first jump in

Minetest is the shizneez!
Minetest.com Editor. The one stop shop to all your textures, mods, and servers:D

Re: [Mod] Particles Mod [0.3.1] [particles]

Hey, i'm new in Minetest, and this mod didn't work. I create mods folder in data folder, and move particle folder into mods folder, and i haven't got a particle effects. I only use a Minecraft Texture Pack. What's wrong?

45 (edited by Death Dealer 2012-04-02 15:31:09)

Re: [Mod] Particles Mod [0.3.1] [particles]

bingo009 wrote:

Hey, i'm new in Minetest, and this mod didn't work. I create mods folder in data folder, and move particle folder into mods folder, and i haven't got a particle effects. I only use a Minecraft Texture Pack. What's wrong?

what version are you using? and the mod folder doesnt need to be made its in the root directory somewhere.

Minetest is the shizneez!
Minetest.com Editor. The one stop shop to all your textures, mods, and servers:D

Re: [Mod] Particles Mod [0.3.1] [particles]

I download minetest from this page(latest stable version, windows 7):
http://c55.me/minetest/download.php

This is my folders structure:
bin data doc world
         |
       mods(i place mods folders here)

Re: [Mod] Particles Mod [0.3.1] [particles]

Get this one
http://c55.me/blog/?p=953

Minetest is the shizneez!
Minetest.com Editor. The one stop shop to all your textures, mods, and servers:D

Re: [Mod] Particles Mod [0.3.1] [particles]

Update!
Changelog:

  • Big Performance Improvement (make one on_dignode callback instead of ~30 of them)

  • Digging Particles support for Mesecons

Download in first Post

BTW for Modders: If you want Digging Particle Support for your Mod make a List with all Block and their Color
Example:

--== Modname ==--
{"modname:my_block1", "gray"},
{"modname:my_block2", "sandcolor"},

Available Colors: (List may be outdated)

  • black

  • brown

  • gray

  • green

  • lightgray

  • red

  • sandcolor

  • white

  • yellow

If you need extra Colors make a Texture for them called p_mycolor.png in the texture Folder.
Send me the List and extra Colors (if there are any) and i'll include it

My Mods: Nuke Mod WorldEdit Particles and working on Mesecons
Subscribe me on YouTube if you like my Stuff
My Minetest Builds for Windows

Re: [Mod] Particles Mod [0.3.1] [particles]

Nice!

Just had a random though looking at the code: would it be possible to have Particles Mod react to a node that belongs to a specific group?  If so, define a custom group namespace in your mod and mod Devs would add that to their own mod code: instant integration without dependency.

Again, random thought not based on any actual working code reality.

Re: [Mod] Particles Mod [0.3.1] [particles]

This is fucking handy Sfan!

<Pixelized> yup the mpaa has some pretty fast seeders =)