2 Different slabs in 1 node space.

Post Reply

Would you like to place 2 different material slabs in 1 node space?

Yes
9
60%
No
4
27%
There already is a way
1
7%
I don't care
1
7%
 
Total votes: 15

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

2 Different slabs in 1 node space.

by Tmanyo » Post

Wouldn't it be cool if you could place 2 different material slabs in the same node area. I find myself wanting to do that all the time to make realistic builds but just can't. I have wanted this for a long time, anyone else? If there is already a way, I would love to hear it.
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

User avatar
firefox
Member
Posts: 1709
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox
Location: Xanadu

Re: 2 Different slabs in 1 node space.

by firefox » Post

you can create a mod a new block, which consist of 2 materials. i don't know exactly how, but it should be possible to write an API that registers all available materials automatically. i think the API for registering dirt with grass from ethereal is the right approach to this.
another option is to make specified building blocks. the castle mod has cornerstones, which consist of 2 materials and look like corners from brick houses.
their texture is easy to create with the copy&paste trick, so you can add more variations of those with your desired materials.
✨🏳️‍🌈♣️✨

User avatar
yyt16384
Member
Posts: 46
Joined: Mon Nov 03, 2014 12:16
GitHub: yyt16384
IRC: yyt16384
In-game: yyt16384
Location: China

Re: 2 Different slabs in 1 node space.

by yyt16384 » Post

I'm pretty sure that there can easily be hundreds of kinds of slabs with mods, which will exceed the node number limit if you want to support every slab. It's better to create a mod that supports some common nodes.

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: 2 Different slabs in 1 node space.

by TumeniNodes » Post

I think it would be nice, for the purpose of being able to actually place items on tables (the lower tables) like the end tables and coffee table etc.. Being able to place flower pots, a book, etc
I created a metal grate which sits on top of a slab/low node but it will not work on standard sized nodes, it ends up placing inside those nodes.
Objects can be made to sit ontop of slabs/low nodes using the nodebox editor, it is just a matter of setting the nodes below the surface on the NBE. But objects made this way will be useless, other than for that specific purpose.
So, it can be done, but such nodes would have a very limited use. Which would cause a need or urge, rather, to create many various types of single purpose objects, whether they be nodes or items.
Maybe just a mod made of such objects would be nice, and to let users make requests for objects? IDK, just a thought.
A Wonderful World

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: 2 Different slabs in 1 node space.

by Fixer » Post

Is this even possible by game design?

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

Re: 2 Different slabs in 1 node space.

by Tmanyo » Post

Fixerol wrote:Is this even possible by game design?
What?
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

red-001
Member
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: 2 Different slabs in 1 node space.

by red-001 » Post

It would be nice but I would require a major change in the map format and other parts of the game.

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: 2 Different slabs in 1 node space.

by Fixer » Post

>What?

What I mean is: is this possible to implement this feature without major rewrite of the engine?
Tmanyo, can you post your initial request on minetest github issues page? That way developers can see it more.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: 2 Different slabs in 1 node space.

by azekill_DIABLO » Post

it's easy to do for me. with nodeboxes and abms i should be not too hard to do
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

red-001
Member
Posts: 205
Joined: Tue Jan 26, 2016 20:15
GitHub: red-001
IRC: red-001

Re: 2 Different slabs in 1 node space.

by red-001 » Post

You would have to register a lot of nodes to do this without an engine change.

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: 2 Different slabs in 1 node space.

by TumeniNodes » Post

red-001 wrote:You would have to register a lot of nodes to do this without an engine change.
exactly. it would get crazy
A Wonderful World

User avatar
Fixer
Member
Posts: 904
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer
Location: Ukraine

Re: 2 Different slabs in 1 node space.

by Fixer » Post

Thousands of nodes imo, there is formula for that I forgot about (combinations).

sofar
Developer
Posts: 2146
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: 2 Different slabs in 1 node space.

by sofar » Post

Fixerol wrote:Is this even possible by game design?
No.

The game defines a slab as a node, and a node as a 1x1x1 space that is indivisible and occupied by exactly 1 node (not 0, not 2 or more), therefore, no 2 nodes can occupy the space of 1 node.

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

Re: 2 Different slabs in 1 node space.

by srifqi » Post

Seems like all attempts have been posted is just a hack.

.

If you don't want to write one by one, you can use loop. :) See my carpet_3d mod for code example on how I combine textures to make new textures.
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: 2 Different slabs in 1 node space.

by TumeniNodes » Post

This is a glitch I created while making a mod. Not sure if any of it is similar to what you are thinking about.
But, the way I read what you are saying is, you would like to be able to place one type of slab, ontop of another, without the top one floating above it.?
If I am correct, I know it can be done... but as I stated, doing so would result in a node which is meant for one specific purpose. The best way would be to create the nodes (may need to create 2 completely new nodes for bottom and top slabs) I am not sure if it can be done using the existing slabs and creating a new one to sit atop it.

https://www.youtube.com/watch?v=vvOowxqvggQ
A Wonderful World

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: 2 Different slabs in 1 node space.

by TumeniNodes » Post

@ Tmanyo,
Is this what you had in mind? viewtopic.php?f=9&t=15008
A Wonderful World

User avatar
Tmanyo
Member
Posts: 196
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo
Location: United States
Contact:

Re: 2 Different slabs in 1 node space.

by Tmanyo » Post

TumeniNodes wrote:@ Tmanyo,
Is this what you had in mind? viewtopic.php?f=9&t=15008
Yes
Tmanyo
http://www.rrhmsservers.ml
Servers I Host:
Tmanyo-Realism
Mods of mine that I don't totally hate:
Bank Accounts
T-Rating
Tmusic Player

Post Reply

Who is online

Users browsing this forum: No registered users and 45 guests