Page 1 of 1

[mod] PLAIN PORTALS!

PostPosted: Wed May 23, 2012 01:25
by bcnjr5
see post 13

PostPosted: Wed May 23, 2012 02:03
by mauvebic
i was thinking of adding bookmarks. sortof like
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
/set home x,y,z
then type
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
/go home
teleports there. portal nodes are doable but its been done

PostPosted: Wed May 23, 2012 07:22
by Jordach
ill think about a portal gun.

PostPosted: Wed May 23, 2012 10:03
by Stef
yeah jordach and the texture pack?

PostPosted: Wed May 23, 2012 11:09
by Calinou
Gameboom server has teleport pads which can teleport you to coordinates. Maybe you should ask ghostshell for the mod, it isn't released on the forums (I think).

PostPosted: Wed May 23, 2012 11:34
by mauvebic
I could give it a shot today. Got nothing' better to do, pretty grey outside :/ Are we talking about portals with specific entry/exit points? or the kind where you step in and randomly pop out of any of the other portals?

PostPosted: Wed May 23, 2012 12:43
by Switch5681
I would love to have teleport pads or portals to specific destinations or other pads/portals.

PostPosted: Wed May 23, 2012 12:57
by bcnjr5
Jordach wrote:ill think about a portal gun.

PLAIN portal! Nothing extra!

PostPosted: Wed May 23, 2012 13:00
by bcnjr5
Calinou wrote:Gameboom server has teleport pads which can teleport you to coordinates. Maybe you should ask ghostshell for the mod, it isn't released on the forums (I think).

Okay. Could you add teleport nodes to maptools? (awesome mod btw)

PostPosted: Wed May 23, 2012 13:01
by bcnjr5
mauvebic wrote:i was thinking of adding bookmarks. sortof like
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
/set home x,y,z
then type
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
/go home
teleports there. portal nodes are doable but its been done

I wish...

PostPosted: Wed May 23, 2012 13:02
by mauvebic
bookmarks? i can do that.

PostPosted: Wed May 23, 2012 13:05
by bcnjr5
Please do.

PostPosted: Wed May 23, 2012 15:17
by kddekadenz
I did this some time ago. I'm going to browse my drive now.

EDIT:

code #1 down to Iron Caves (another unreleased mod)
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_on_punchnode(function(p, node, puncher)
    if node.name == "default:glass" then
        local name = puncher:get_player_name()
            if minetest.env:get_node({x = p.x, y = p.y + 1, z = p.z}).name == "default:mese" then
                if minetest.env:get_node({x = p.x, y = p.y - 1, z = p.z}).name == "default:steelblock" then
                    pos_sur = p
                    minetest.chat_send_player(name, "Teleporting to Iron Caves..")
                    puncher:setpos({x = pos_sur.x + 1, y = -20022, z = pos_sur.z})
                    minetest.env:add_node({x = pos_sur.x, y = -20025, z = pos_sur.z}, {name="default:mese"})
                    minetest.env:add_node({x = pos_sur.x, y = -20024, z = pos_sur.z}, {name="default:glass"})
                    minetest.env:add_node({x = pos_sur.x, y = -20023, z = pos_sur.z}, {name="default:steelblock"})
                end
            end
    end
end)


code #2 back to the surface
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_on_punchnode(function(p, node, puncher)
    if node.name == "default:glass" then
        local name = puncher:get_player_name()
            if minetest.env:get_node({x = p.x, y = p.y + 1, z = p.z}).name == "default:steelblock" then
                if minetest.env:get_node({x = p.x, y = p.y - 1, z = p.z}).name == "default:mese" then
                    minetest.chat_send_player(name, "Teleporting to surface..")
                    puncher:setpos({x = p.x + 1, y = pos_sur.y, z = p.z})
                    minetest.env:add_node({x = p.x, y = pos_sur.y - 1, z = p.z}, {name="default:steelblock"})
                    minetest.env:add_node({x = p.x, y = pos_sur.y, z = p.z}, {name="default:glass"})
                    minetest.env:add_node({x = p.x, y = pos_sur.y + 1, z = p.z}, {name="default:mese"})
                end
            end
    end
end)


Portal down:

[MESE]
[glass] <- punch to teleport
[steelblock]

Portal up:

[steelblock]
[glass] <- punch to teleport
[MESE]

PostPosted: Wed May 23, 2012 17:18
by bcnjr5
kddekadenz: thanks! it works!

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_on_punchnode(function(p, node, puncher)
    if node.name == "default:glass" then
        local name = puncher:get_player_name()
            if minetest.env:get_node({x = p.x, y = p.y + 1, z =

p.z}).name == "default:steelblock" then
                if minetest.env:get_node({x = p.x, y = p.y - 1, z =

p.z}).name == "default:mese" then
                    minetest.chat_send_player(name, "Teleporting...")
                    puncher:setpos({x = -418, y = 8, z = 132})
end end end end)


I just add this as many times as i need!

PostPosted: Thu May 24, 2012 17:53
by mauvebic
Ive released bookmarks as part of godtools (http://minetest.net/forum/viewtopic.php?pid=24605#p24605) - see the third part of the OP for instructions on how to use :-) theyre nameable and you can add as many as you like.

PostPosted: Mon May 28, 2012 17:50
by lkjoel
what about my portals from my nether mod?