Nodebox type fixed ?

Post Reply
User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Nodebox type fixed ?

by mahmutelmas06 » Post

Hi
I am trying to create an ingot node but not rectangle.
Could you help me how to do this code and is the selection box same ?

Code: Select all

type = "fixed",
				fixed = 	{       
					{ -0.25, -0.15, -0.10, 0.25, 0.0, 0.10, },
					{ -0.25, -0.15, -0.10, 0.25, 0.0, 0.10, },
					{ -0.25, -0.15, -0.10, 0.25, 0.0, 0.10, },
					{ -0.25, -0.15, -0.10, 0.25, 0.0, 0.10, },
					{ -0.25, -0.15, -0.10, 0.25, 0.0, 0.10, },
					{ -0.25, -0.15, -0.10, 0.25, 0.0, 0.10, },
					},
},

here is what i want to do
Image
My Mods:

Beverage

User avatar
Don
Member
Posts: 1643
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Nodebox type fixed ?

by Don » Post

Node boxes are cube based. You would need to use a mesh. You can make it with blender.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Nodebox type fixed ?

by mahmutelmas06 » Post

Don wrote:Node boxes are cube based. You would need to use a mesh. You can make it with blender.
I mean it doenst have to be smooth. It could be 2 rectangle connected like 3dapple viewtopic.php?f=9&t=6955

Image
My Mods:

Beverage

User avatar
rubenwardy
Moderator
Posts: 6978
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: Nodebox type fixed ?

by rubenwardy » Post

Take a look at my nodebox editor. It's a graphical way of doing this


http://rubenwardy.com/NodeBoxEditor/
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
addi
Member
Posts: 666
Joined: Thu Sep 20, 2012 03:16
GitHub: adrido
Location: Black-Forest, Germany

Re: Nodebox type fixed ?

by addi » Post

you may want to try out rubenwardys great nodebox tool? viewtopic.php?id=2840
Its easy with it to create nodeboxes and selectionboxes.
edit: rubenwardy, it seems you was faster ;)

User avatar
mahmutelmas06
Member
Posts: 367
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Nodebox type fixed ?

by mahmutelmas06 » Post

Ohh its really easy how i miss that.
Thanks for answers
My Mods:

Beverage

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests