Question about node_box type="wallmounted"

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45

Question about node_box type="wallmounted"

by yves_de_beck » Mon Jan 07, 2013 13:23

Hello all,

Maybe someone can help me.

I would like to create node_box with this special options:

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
            ...
            node_box = {
                type = "wallmounted",
                wall_top = {-0.1, 0.5-0.6, -0.1, 0.1, 0.5, 0.1},
                wall_bottom = {-0.1, -0.5, -0.1, 0.1, -0.5+0.6, 0.1},
                wall_side = {
                            {-0.1, 0.0, -0.1, 0.5, 0.1, 0.1},
                            {-0.1, 0.1, -0.1, 0.1, 0.5, 0.1},
                            },
            },
            ...


It works for wall_top and wall_bottom node fine.
When i want create a wall_side element it is an empty box in game =(

Did you have an idea what is wrong in my scribt??
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Mon Jan 07, 2013 13:31

@yves_de_beck
I tried to do that too when there was only 0.4.2 RC1 and I ended up with nothing just like you. "wallmounted" type has to do smth with that, 'cause "fixed" one is "Ok" with that nodebox. I'll take a look again at that just to be sure this won't work in the latest 0.4.4-d1
 

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45

by yves_de_beck » Mon Jan 07, 2013 14:47

4aiman wrote:@yves_de_beck
I tried to do that too when there was only 0.4.2 RC1 and I ended up with nothing just like you. "wallmounted" type has to do smth with that, 'cause "fixed" one is "Ok" with that nodebox. I'll take a look again at that just to be sure this won't work in the latest 0.4.4-d1


Hello 4aiman,

thanks for the quick response. =)
okay. so what I've been thinking.

I just played with the 3D torch mod to make 3D torches hanging on ceiling and standig on ground.

I hope this nodebox handling with wallmounted type option will be implemented in future versions of minetest.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Mon Jan 07, 2013 18:58

@yves_de_beck
Yep, that's "wallmounted" feature )
Here's screenshot: https://dl.dropbox.com/u/39772195/mt%20screens/bugs/screenshot_375265124.png
PS: Maybe you should open an issue so this would get fixed? (Either way with new nodeboxes or without any of them)
 

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45

by yves_de_beck » Tue Jan 08, 2013 07:43

4aiman wrote:@yves_de_beck
Yep, that's "wallmounted" feature )
Here's screenshot: https://dl.dropbox.com/u/39772195/mt%20screens/bugs/screenshot_375265124.png
PS: Maybe you should open an issue so this would get fixed? (Either way with new nodeboxes or without any of them)



Yeesss, that it is!!!
The same problem. And I thought it is because of my skills ^^

Good Idea... perhaps it will be fixed.

Okay:
Fix request is open now:

http://minetest.net/forum/viewtopic.php?pid=62713#p62713
Last edited by yves_de_beck on Tue Jan 08, 2013 07:56, edited 1 time in total.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 18 guests

cron