[Mod] xDoors² [1] [xdoors2]

Post Reply
User avatar
xyz
Member
Posts: 450
Joined: Thu Nov 10, 2011 14:25

[Mod] xDoors² [1] [xdoors2]

by xyz » Post

This mod is designed to replace (again) default doors. Unlike xDoors those doors consist of 2 nodes and have correct texture. They're also much smarter: place one door near another (like on picture, firstly you place left one, then right one) and it'll rotate to create "double doors".

Image

Code license: WTFPL
Texture license: same as default doors textures (CC BY-SA 3.0)
Dependencies: default

Changelog:
  • 1 — initial release
Notice: You should remove default "doors" mod, "doorsplus", "xdoors", etc. to make this mod work correctly.

Download

User avatar
Cooper
Member
Posts: 73
Joined: Sat Jun 02, 2012 00:43

by Cooper » Post

Cool.This should be in default game
TACOS!!!!!!!!!!!!!!!!!!!!!!!!!

User avatar
mrtux
Member
Posts: 141
Joined: Mon Jun 25, 2012 02:41
Contact:

by mrtux » Post

Nice mod! + 1000
Finally I can make double doors on my house and other buildings on my server :)
thanks doge

User avatar
aFoxNamedMorris
Member
Posts: 14
Joined: Sat Aug 11, 2012 15:57

by aFoxNamedMorris » Post

Are these 3D like the old mod? I'd like to see both rolled into one, if possible.

User avatar
jin_xi
Member
Posts: 165
Joined: Mon Jul 02, 2012 18:19

by jin_xi » Post

i'd make the selection box for both nodes two nodes high to give better look, ando only allow this type of selection on barn doors.

User avatar
xyz
Member
Posts: 450
Joined: Thu Nov 10, 2011 14:25

by xyz » Post

aFoxNamedMorris wrote:Are these 3D like the old mod? I'd like to see both rolled into one, if possible.
Yes, that's (not complectly) rewrite of xdoors mod. It's just better so you should use this one.

User avatar
aFoxNamedMorris
Member
Posts: 14
Joined: Sat Aug 11, 2012 15:57

by aFoxNamedMorris » Post

Awesome! n.n Thanks a ton. This is very fun.

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

You should make your door textures the same filename as the default images so that my texturepack overwrites the xdoors2 images. Not the sides/top/bottom ... just the front/back:

door_wood_a.png
door_wood_a_r.png
door_wood_b.png
door_wood_b_r.png

User avatar
Blackthorne
Member
Posts: 78
Joined: Tue Aug 14, 2012 07:38

by Blackthorne » Post

It's nice, but it seems that you can only go THROUGH one of the doors, unless there's something essential I'm missing here. It also is just a little hard to place the doors unless I click on the very edge of the first door I placed. Otherwise they really don't flip. Nice mod, though.

User avatar
xyz
Member
Posts: 450
Joined: Thu Nov 10, 2011 14:25

by xyz » Post

Blackthorne wrote:It's nice, but it seems that you can only go THROUGH one of the doors, unless there's something essential I'm missing here. It also is just a little hard to place the doors unless I click on the very edge of the first door I placed. Otherwise they really don't flip. Nice mod, though.
That's strange because I can easily go through line between two doors (if I understood you correctly). Also there is no need to place double doors in such manner, just do like this: 1 2.

User avatar
Blackthorne
Member
Posts: 78
Joined: Tue Aug 14, 2012 07:38

by Blackthorne » Post

xyz wrote:
Blackthorne wrote:It's nice, but it seems that you can only go THROUGH one of the doors, unless there's something essential I'm missing here. It also is just a little hard to place the doors unless I click on the very edge of the first door I placed. Otherwise they really don't flip. Nice mod, though.
That's strange because I can easily go through line between two doors (if I understood you correctly). Also there is no need to place double doors in such manner, just do like this: 1 2.
I did precisely that, but they didn't flip. Perhaps it's because I'm on the latest STABLE. Not the latest dev.

EDIT: Case in point.
Image
Image
Last edited by Blackthorne on Thu Aug 16, 2012 17:55, edited 1 time in total.

User avatar
xyz
Member
Posts: 450
Joined: Thu Nov 10, 2011 14:25

by xyz » Post

Blackthorne wrote:I did precisely that, but they didn't flip. Perhaps it's because I'm on the latest STABLE. Not the latest dev.
It seems you're using default "doors" mod. You should remove it because its recipe conflicts with mine.

User avatar
jordan4ibanez
Member
Posts: 1895
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez
Location: Rhode Island, USA

by jordan4ibanez » Post

these should be in default_game
I've been gone for a long time

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

jordan4ibanez wrote:these should be in default_game
yep, they are a great replacement for doors

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

jordan4ibanez wrote:these should be in default_game
+1

User avatar
lord_james
Member
Posts: 51
Joined: Sun Mar 11, 2012 22:06

by lord_james » Post

These doors are cool but I don't like placing a door while I'm pointing the side of a block. I tweaked the code. Now, a door only is placed if you point ON a block:

Code: Select all

minetest.register_node("xdoors2:door", {
    description = "Wooden Door",
    node_placement_prediction = "",
    inventory_image = 'xdoors2_door.png',
    wield_image = 'xdoors2_door.png',
    stack_max = 1,
    on_place = function(itemstack, placer, pointed_thing)
        local above = pointed_thing.above
        local under = pointed_thing.under
        local vectorabun = above.y - under.y

        -- there should be 2 empty nodes
        if minetest.env:get_node({x = above.x, y = above.y + 1, z = above.z}).name ~= "air" or vectorabun ~= 1 then
            return itemstack
        end
        -- ETC, ETC
)
I hope you like this improvement for your proyect

Jordach
Member
Posts: 4526
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

ATTENTION:

https://github.com/Jordach/xDoors2

This is my fork that allows "any" texture, rather than the forced cross on the door window, enjoy texture pack makers.
viewtopic.php?f=10&t=19056 Solar Plains Dev Server

User avatar
Nightfighter
Member
Posts: 39
Joined: Sat Oct 06, 2012 11:01
Location: in a alien world

by Nightfighter » Post

This should be cool+2
Last edited by Nightfighter on Sun Oct 07, 2012 12:55, edited 1 time in total.
my mods: Concrete Invisiblocks
more coming out soon
mods are cool!!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests