[Mod] xDoors² [1] [xdoors2]

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

[Mod] xDoors² [1] [xdoors2]

by xyz » Sat Aug 11, 2012 11:20

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 » Sat Aug 11, 2012 14:31

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

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

by mrtux » Sun Aug 12, 2012 00:38

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 » Mon Aug 13, 2012 00:56

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

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

by jin_xi » Mon Aug 13, 2012 06:07

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 » Mon Aug 13, 2012 09:30

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 » Mon Aug 13, 2012 20:29

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

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

by cornernote » Tue Aug 14, 2012 00:16

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
 

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

by Blackthorne » Thu Aug 16, 2012 04:29

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 » Thu Aug 16, 2012 10:27

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.
 

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

by Blackthorne » Thu Aug 16, 2012 17:46

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 » Thu Aug 16, 2012 20:57

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: 1893
Joined: Tue Sep 27, 2011 18:44
Location: Rhode Island, USA
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Wed Sep 19, 2012 19:46

these should be in default_game
If you can think it, you can make it! My Patreon :D
 

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

by cornernote » Wed Sep 19, 2012 22:49

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
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam
 

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

by lord_james » Thu Oct 04, 2012 23:41

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
 

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

by Jordach » Sun Oct 07, 2012 09:47

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 » Sun Oct 07, 2012 12:55

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!!
 


Return to Old Mods



Who is online

Users browsing this forum: No registered users and 0 guests