Strange node behavior - help

User avatar
nomohakon
Member
 
Posts: 207
Joined: Fri Aug 10, 2012 16:34
IRC: nomohakon
In-game: nomohakon

Strange node behavior - help

by nomohakon » Tue Sep 11, 2012 14:51

Hi, i created 1 node wide walkway with sides (for those who dont use fly mode) but i run in this:
Image
it should look like this:
Image
It happens only on blocks placed on clear sunlight on steel (as far as i can tell). Oh and the "missing" side is walk-through (not desired btw).
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_node("hakon:test", {
    description = 'Servisni lavka',
    drawtype = "nodebox",
    light_propagates = true,
    sunlight_propagates = true,
    tiles = {"kostka.png"},
    paramtype = 'light',
    paramtype2 = 'facedir',
    node_box = {
        type = "fixed",
        fixed = {
        {-0.50, -0.50, -0.50,   -0.44,  0.50,  0.50},
        {-0.50,  0.44, -0.50,    0.50,  0.50,  0.50},
        { 0.50, -0.50,  0.50,    0.44,  0.50, -0.50},
        },
    },
    selection_box = {
        type = "fixed",
        fixed = {
        {-0.50, -0.50, -0.50,   -0.44,  0.50,  0.50},
        {-0.50,  0.44, -0.50,    0.50,  0.50,  0.50},
        { 0.50, -0.50,  0.50,    0.44,  0.50, -0.50},
        },
    },
    walkable = true,
    groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
})

What i did wrong?

OT: one day...
Image
"To learn who rules over you, simply find out who you are not allowed to criticize." - Voltaire
"Knowledge, like air, is vital to life. Like air, no one should be denied it." - Alan Moore, V for Vendetta
- - -
"To never die... and to conquer all, that is winning." ―Illyria
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Tue Sep 11, 2012 15:06

Is that my metals mod in the background?

EDIT: The lighting error is down to Minetest, its to do with the damn nodeboxes, stairs do this if you use them as a roof.
Last edited by Jordach on Tue Sep 11, 2012 15:08, edited 1 time in total.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
nomohakon
Member
 
Posts: 207
Joined: Fri Aug 10, 2012 16:34
IRC: nomohakon
In-game: nomohakon

by nomohakon » Tue Sep 11, 2012 15:29

With the light problem i can live, but falling from this height... Maybe i put in the numbers wrong?

EDIT: mod is steel. by minetesting
Last edited by nomohakon on Tue Sep 11, 2012 15:35, edited 1 time in total.
"To learn who rules over you, simply find out who you are not allowed to criticize." - Voltaire
"Knowledge, like air, is vital to life. Like air, no one should be denied it." - Alan Moore, V for Vendetta
- - -
"To never die... and to conquer all, that is winning." ―Illyria
 

User avatar
Jordach
Member
 
Posts: 4412
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach

by Jordach » Tue Sep 11, 2012 15:31

I'm no good with nodeboxes, but they have to be somewhat thick.

( ͡° ͜ʖ ͡°) ( ͡o ͜ʖ ͡o) [$ ( ͡° ͜ʖ ͡°) $] ( ͡$ ͜ʖ ͡$) ヽ༼ຈل͜ຈ༽ノ



My image and media server is back online and is functioning as normal.
 

User avatar
nomohakon
Member
 
Posts: 207
Joined: Fri Aug 10, 2012 16:34
IRC: nomohakon
In-game: nomohakon

by nomohakon » Tue Sep 11, 2012 17:00

Problem solved.
Image
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_node("hakon:test", {
    description = 'Servisni lavka',
    drawtype = "nodebox",
    light_propagates = true,
    sunlight_propagates = true,
    tiles = {"kostka.png"},
    paramtype = 'light',
    paramtype2 = 'facedir',
    node_box = {
        type = "fixed",
        fixed = {
        {-0.50, -0.50, -0.50,   -0.4375,  0.50,  0.50},
        {-0.50, -0.50, -0.50,    0.50, -0.4375,  0.50},
        { 0.4375, -0.50, -0.50,    0.50,  0.50,  0.50},
        },
    },
    selection_box = {
        type = "fixed",
        fixed = {
        {-0.50, -0.50, -0.50,   -0.4375,  0.50,  0.50},
        {-0.50, -0.50, -0.50,    0.50, -0.4375,  0.50},
        { 0.4375, -0.50, -0.50,    0.50,  0.50,  0.50},
        },
    },
    walkable = true,
    groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
})
"To learn who rules over you, simply find out who you are not allowed to criticize." - Voltaire
"Knowledge, like air, is vital to life. Like air, no one should be denied it." - Alan Moore, V for Vendetta
- - -
"To never die... and to conquer all, that is winning." ―Illyria
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 9 guests

cron