Nodebox type fixed ?

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

Nodebox type fixed ?

by mahmutelmas06 » Thu Jun 11, 2015 21:59

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 ?

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
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: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: Nodebox type fixed ?

by Don » Thu Jun 11, 2015 23:19

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: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Nodebox type fixed ?

by mahmutelmas06 » Fri Jun 12, 2015 11:28

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
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Nodebox type fixed ?

by rubenwardy » Fri Jun 12, 2015 12:09

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


http://rubenwardy.com/NodeBoxEditor/
 

User avatar
addi
Member
 
Posts: 605
Joined: Thu Sep 20, 2012 03:16

Re: Nodebox type fixed ?

by addi » Fri Jun 12, 2015 12:10

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: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Nodebox type fixed ?

by mahmutelmas06 » Fri Jun 12, 2015 12:57

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

Beverage
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 6 guests

cron