2 Different slabs in 1 node space.

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

Yes
8
57%
No
4
29%
There already is a way
1
7%
I don't care
1
7%
 
Total votes : 14

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

2 Different slabs in 1 node space.

by Tmanyo » Mon Jun 20, 2016 04:01

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: 1507
Joined: Wed Jan 14, 2015 07:34
Location: Xanadu
In-game: Red_Fox

Re: 2 Different slabs in 1 node space.

by firefox » Mon Jun 20, 2016 05:43

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.
building inspiration: viewtopic.php?f=3&t=15550 --- my game: viewtopic.php?f=49&t=15860 --- =(^.^)= nyan~
 

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

Re: 2 Different slabs in 1 node space.

by yyt16384 » Mon Jun 20, 2016 15:46

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: 2827
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: 2 Different slabs in 1 node space.

by TumeniNodes » Thu Jun 23, 2016 20:18

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.
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

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

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

Re: 2 Different slabs in 1 node space.

by Tmanyo » Fri Jun 24, 2016 02:38

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 » Fri Jun 24, 2016 09:13

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: 891
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

Re: 2 Different slabs in 1 node space.

by Fixer » Fri Jun 24, 2016 11:27

>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: 7489
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

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 » Fri Jun 24, 2016 18:15

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

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

Re: 2 Different slabs in 1 node space.

by TumeniNodes » Fri Jun 24, 2016 18:29

red-001 wrote:You would have to register a lot of nodes to do this without an engine change.

exactly. it would get crazy
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

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

Re: 2 Different slabs in 1 node space.

by Fixer » Fri Jun 24, 2016 18:42

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

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

Re: 2 Different slabs in 1 node space.

by sofar » Fri Jun 24, 2016 20:13

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: 556
Joined: Sat Jun 28, 2014 04:31
Location: Indonesia
GitHub: srifqi
IRC: srifqi
In-game: srifqi

Re: 2 Different slabs in 1 node space.

by srifqi » Fri Jun 24, 2016 21:21

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.
I'm from Indonesia! Saya dari Indonesia!
Terjemahkan Minetest!
Mods by me. Modifikasi oleh saya.

Pronounce my nick as in: es-rifqi (IPA: /es rifˈki/)
 

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

Re: 2 Different slabs in 1 node space.

by TumeniNodes » Fri Jun 24, 2016 21:53

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
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

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

Re: 2 Different slabs in 1 node space.

by TumeniNodes » Sat Jun 25, 2016 00:43

@ Tmanyo,
Is this what you had in mind? https://forum.minetest.net/viewtopic.php?f=9&t=15008
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

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

Re: 2 Different slabs in 1 node space.

by Tmanyo » Mon Jun 27, 2016 03:37

TumeniNodes wrote:@ Tmanyo,
Is this what you had in mind? https://forum.minetest.net/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
 


Return to General Discussion



Who is online

Users browsing this forum: ulla and 5 guests