I don't understand how to create blocks like stairs. All I know is that I have to use nodebox. But I don't understand how.
Can somebody give me an example?
Thx
PilzAdam wrote:There is already a nodebox example thread here in the forum. Please search on your own before asking questions.
PilzAdam wrote:http://minetest.net/forum/viewtopic.php?id=2333
-- Asphalt block
minetest.register_node("streets:asphalt", {
description = "Asphalt",
tile_images = {"streets_asphalt.png"},
drawtype = "normal",
})
webdesigner97 wrote:PilzAdam wrote:http://minetest.net/forum/viewtopic.php?id=2333
Ok. Thx
But another question:
I don't understand how to make the block destroyable. With this code (for a normal version of my stairs) it isn't destroyable: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
-- Asphalt block
minetest.register_node("streets:asphalt", {
description = "Asphalt",
tile_images = {"streets_asphalt.png"},
drawtype = "normal",
})
How can I fix that?
webdesigner97 wrote:Thx very much for helping a modding beginner! :D
Users browsing this forum: No registered users and 6 guests