2 Different slabs in 1 node space.

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

Yes
5
45%
No
4
36%
There already is a way
1
9%
I don't care
1
9%
 
Total votes : 11

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
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://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
firefox
Member
 
Posts: 1185
Joined: Wed Jan 14, 2015 07:34
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.
 

User avatar
yyt16384
Member
 
Posts: 46
Joined: Mon Nov 03, 2014 12:16
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: 1335
Joined: Fri Feb 26, 2016 19:49
GitHub: 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.
Flick?... Flick who?
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: 2 Different slabs in 1 node space.

by Fixerol » Thu Jun 23, 2016 23:00

Is this even possible by game design?
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
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://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

red-001
Member
 
Posts: 126
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.
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: 2 Different slabs in 1 node space.

by Fixerol » 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: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: 2 Different slabs in 1 node space.

by azekill_DIABLO » Fri Jun 24, 2016 15:48

it's easy to do for me. with nodeboxes and abms i should be not too hard to do
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
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

red-001
Member
 
Posts: 126
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: 1335
Joined: Fri Feb 26, 2016 19:49
GitHub: 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
Flick?... Flick who?
 

Fixerol
Member
 
Posts: 633
Joined: Sun Jul 31, 2011 11:23
IRC: Fixer
In-game: Fixer

Re: 2 Different slabs in 1 node space.

by Fixerol » Fri Jun 24, 2016 18:42

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

sofar
Member
 
Posts: 781
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: 508
Joined: Sat Jun 28, 2014 04:31
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: 1335
Joined: Fri Feb 26, 2016 19:49
GitHub: 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
Flick?... Flick who?
 

User avatar
TumeniNodes
Member
 
Posts: 1335
Joined: Fri Feb 26, 2016 19:49
GitHub: 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
Flick?... Flick who?
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
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://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 


Return to Minetest General

Who is online

Users browsing this forum: No registered users and 18 guests

cron