Page 1 of 1

[WIP]Frickin' Laser Beams

PostPosted: Sun Apr 01, 2012 10:39
by RabbiBob
No sharks with frickin' laser beams on their heads, but it's a start:

Image

Image

Instant death if you pass through the beam path ;-)

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
minetest.register_abm(
    {nodenames = {"bobblocks:trap_laserbeam_on"},
    interval = 1.0,
    chance = 1,
    action = function(pos, node, active_object_count, active_object_count_wider)
    local objs = minetest.env:get_objects_inside_radius(pos, 1)
        for k, obj in pairs(objs) do
        obj:set_hp(obj:get_hp()-1000)
    end
    end,
})

PostPosted: Sun Apr 01, 2012 10:51
by Jordach
Austin Powers reference FTW! And awesome mod btw.

PostPosted: Sun Apr 01, 2012 11:08
by Jeija
Will you also convert this to minecraft mesecons?

PostPosted: Sun Apr 01, 2012 11:13
by Jordach
Why Minecraft? FOOL.

PostPosted: Sun Apr 01, 2012 11:44
by sdzen
yes I agree they have their mesecons why give them more?

PostPosted: Sun Apr 01, 2012 12:01
by Jeija
This is what i mean by minecraft mesecons
http://c55.me/minetest/forum/viewtopic.php?pid=17972#p17972

PostPosted: Sun Apr 01, 2012 12:12
by sdzen
yes thats what i meant as well they have mesecons features lets not give them laserbeams

PostPosted: Sun Apr 01, 2012 12:43
by RabbiBob
Crap. Should I change my mod license?

*snort*

PostPosted: Sun Apr 01, 2012 12:49
by Jordach
A little so it can't be sold. CC-BY-SA I think.

PostPosted: Sun Apr 01, 2012 16:27
by Death Dealer
Now all you need are sharks with these mounted to there heads XD

PostPosted: Tue Apr 03, 2012 22:58
by InfinityProject
Estimated release? This is freaking awesome. I'm excited for it.

PostPosted: Tue Apr 03, 2012 23:16
by RabbiBob
At the time it was an April Fools Joke.

PostPosted: Tue Apr 03, 2012 23:17
by Death Dealer
RabbiBob wrote:At the time it was an April Fools Joke.

oh really bummer.. i dont see the humor... next time do something more outrageous.

PostPosted: Wed Apr 04, 2012 05:44
by Jeija
He was just kidding. Every mod developer should have known that it is currently not possible.

PostPosted: Wed Apr 04, 2012 05:47
by Death Dealer
Jeija wrote:He was just kidding. Every mod developer should have known that it is currently not possible.

well im more a texturing guy.. trying to get into modding:D

PostPosted: Wed Apr 04, 2012 12:08
by jordan4ibanez
Jeija wrote:He was just kidding. Every mod developer should have known that it is currently not possible.

well yeah it is..not the drawtype but the idea itself would work

PostPosted: Wed Apr 04, 2012 17:18
by sdzen
yes i can see ways this could work thats what makes it believable

PostPosted: Wed Apr 04, 2012 17:55
by Jeija
Just rethought it... Would be possible using torchlike... Make this april fool joke mod happen!

PostPosted: Wed Apr 04, 2012 18:01
by Death Dealer
Jeija wrote:Just rethought it... Would be possible using torchlike... Make this april fool joke mod happen!

^_^ i thought it might be, i really did beleave this at first, i was bummed out to find out it was a joke.

PostPosted: Wed Apr 04, 2012 18:19
by RabbiBob
/puts on Eeyore voice

Ooohhhkay. I'll see what I can do.

/Eeyore voice off

That's why Jeija made the Minecraft crack: I was on to his joke and he saw through mine (even the screenshot is a bad photoshop job).

Anywhoooo... Crazy time right now in RL between work, kids and I'm photopgraphing a wedding soon, but I'll see what I can do. Saw something in Jeija's mod that might make this actually work too... ;-)

PostPosted: Mon May 13, 2013 17:50
by Hybrid Dog
use a nodebox like horizontal plantlike, enable texture alpha and use facedir

PostPosted: Tue May 14, 2013 10:25
by rubenwardy
Do not bump old posts!

PostPosted: Tue May 14, 2013 13:16
by sfan5
Hybrid Dog wrote:use a nodebox like horizontal plantlike, enable texture alpha and use facedir

I was not possible at that date, there were not nodeboxes yet