[MOD] Stack Slabs [1.0] [stackslabs]
- 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:
[MOD] Stack Slabs [1.0] [stackslabs]
This mod will be developed no further.
I would like to recommend comboblock by pithy for those who like this idea, as it is a far better approach and, one can stack slabs atop one another all day :D
viewtopic.php?f=9&t=15248
This mod adds stackable top slabs to Minetest.
*Depends = default
*License
LGPLv2.1 for code,
CC-BY-SA 3.0 for media.
=========================
Lots of new building options using the screwdriver : )
source = https://github.com/TumeniNodes/stackslabs
download = https://github.com/TumeniNodes/stacksla ... master.zip
Install = rename file from "stackslabs-master", to only "stackslabs" and move into your mods folder. Be sure to enable the mod.
Enjoy
I would like to recommend comboblock by pithy for those who like this idea, as it is a far better approach and, one can stack slabs atop one another all day :D
viewtopic.php?f=9&t=15248
This mod adds stackable top slabs to Minetest.
*Depends = default
*License
LGPLv2.1 for code,
CC-BY-SA 3.0 for media.
=========================
Lots of new building options using the screwdriver : )
source = https://github.com/TumeniNodes/stackslabs
download = https://github.com/TumeniNodes/stacksla ... master.zip
Install = rename file from "stackslabs-master", to only "stackslabs" and move into your mods folder. Be sure to enable the mod.
Enjoy
- Attachments
-
- lots of new options.png (134.11 KiB) Viewed 2652 times
-
- screenshot_slabs2.png (300.57 KiB) Viewed 2652 times
Last edited by TumeniNodes on Wed Oct 03, 2018 04:20, edited 10 times in total.
A Wonderful World
Re: [MOD] Stack Slabs [1.0] [stackslabs]
Great! I'll try it soon.
Very good job, keep it up!
Very good job, keep it up!
"One chunk, two chunks, three chunks..."
Re: [MOD] Stack Slabs [1.0] [stackslabs]
Cool idea!
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
A list of my mods can be found here
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
Thank you both. I will be removing the bottom slabs today, as they are not needed.
When I did it last night, and then entered "stack" in the inv search, nothing came up so I thought something was wrong, and I put the bottom slabs back in.
I was actually mistaken, and should have entered "top", then I would have seen that the mod was still working fine :P
A simple, silly mistake of a tired person :D
I will also be adding support for other nodes from other mods, which are supported by the stairs mod. That is a step I have yet to do, so I will have to look at the stairs code to see how it is done.
When I did it last night, and then entered "stack" in the inv search, nothing came up so I thought something was wrong, and I put the bottom slabs back in.
I was actually mistaken, and should have entered "top", then I would have seen that the mod was still working fine :P
A simple, silly mistake of a tired person :D
I will also be adding support for other nodes from other mods, which are supported by the stairs mod. That is a step I have yet to do, so I will have to look at the stairs code to see how it is done.
Last edited by TumeniNodes on Mon Jun 27, 2016 04:20, edited 1 time in total.
A Wonderful World
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
Updated.
This mod now only adds the top slabs.
blert2112 noticed I was calling the register function twice, which was causing the mod to become null after I removed the lines for the bottom nodes.
viewtopic.php?f=47&t=15015#p222699
Thank you blert2112.
This mod now only adds the top slabs.
blert2112 noticed I was calling the register function twice, which was causing the mod to become null after I removed the lines for the bottom nodes.
viewtopic.php?f=47&t=15015#p222699
Thank you blert2112.
A Wonderful World
Re: [MOD] Stack Slabs [1.0] [stackslabs]
You just made slabs that have a nodebox *outside* of the node's position.
That's likely going to violate all sorts of game engine assumptions, and break all over the place.
That's likely going to violate all sorts of game engine assumptions, and break all over the place.
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
Well I sure hope not. That's why it will stay here for testing. I have had no problems yet. Just waiting on hearing any issues from other users.sofar wrote:You just made slabs that have a nodebox *outside* of the node's position.
That's likely going to violate all sorts of game engine assumptions, and break all over the place.
I have other similar mods I have made but not shared yet, and I have had zero issues with them.
A Wonderful World
Re: [MOD] Stack Slabs [1.0] [stackslabs]
Well, for one, you can't place anything above the two slabs.
Plus rotation is going to go very ... strangely.
Plus rotation is going to go very ... strangely.
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
In the 2d image of the orig post, I show a stairs slab and top slab rotated to their sides, and then a block set atop them.sofar wrote:Well, for one, you can't place anything above the two slabs.
Plus rotation is going to go very ... strangely.
The only area a user cannot place another node is against the top of the top slab (whichever position it is in) so that is the only limitation.
So one could use these to say, make a structure with one material inside, and another outside, while still only using the space a single node would (they just can't place other nodes up against the outside) because that is the top of the top slab.
Besides, we are unable to place any nodes atop slabs in the first place, right along..., until now :D
But as I stated to the user who posted regarding wishing for this, it is a somewhat limited use. But they do add some unique new options
rotation is actually pretty cool with these nodes.
A Wonderful World
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
If anyone is interested in helping, I am sure there has to be a way to make it so that when you place a slab of one material, and one of these top slabs of another material on top, that they switch into a full node entity, the same as when you place a slab atop another of the same material they turn into a full node?
I have been really locked onto this, it has been stuck in my head, and it drives me nuts trying to figure out how this might be achieved... : P
So, if anyone has any ideas, please pass them on?
I have been really locked onto this, it has been stuck in my head, and it drives me nuts trying to figure out how this might be achieved... : P
So, if anyone has any ideas, please pass them on?
A Wonderful World
Re: [MOD] Stack Slabs [1.0] [stackslabs]
You would need to make a node for each variation. That would be a lot of nodes to register. But it could be done.TumeniNodes wrote:If anyone is interested in helping, I am sure there has to be a way to make it so that when you place a slab of one material, and one of these top slabs of another material on top, that they switch into a full node entity, the same as when you place a slab atop another of the same material they turn into a full node?
I have been really locked onto this, it has been stuck in my head, and it drives me nuts trying to figure out how this might be achieved... : P
So, if anyone has any ideas, please pass them on?
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
A list of my mods can be found here
-
- Member
- Posts: 115
- Joined: Sun Sep 06, 2015 12:23
- GitHub: Thomas--S
- IRC: Thomas-S
- In-game: Thomas-S
- Location: Bavaria, Germany
Re: [MOD] Stack Slabs [1.0] [stackslabs]
This is another reason why we need meta-set nodedef ;)
My mods: ts_furniture | ts_doors
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
Which is the only option I was able to come up with as well, with the same downside. That's why I chose not to do it. I'm not great at maths but I'm sure someone around here would be able to determine quickly just how many nodes it would require... My guess is A LOT. :DDon wrote:You would need to make a node for each variation. That would be a lot of nodes to register. But it could be done.TumeniNodes wrote:If anyone is interested in helping, I am sure there has to be a way to make it so that when you place a slab of one material, and one of these top slabs of another material on top, that they switch into a full node entity, the same as when you place a slab atop another of the same material they turn into a full node?
I have been really locked onto this, it has been stuck in my head, and it drives me nuts trying to figure out how this might be achieved... : P
So, if anyone has any ideas, please pass them on?
A Wonderful World
Re: [MOD] Stack Slabs [1.0] [stackslabs]
For Minetest Game it is 420 slab combos.
It's elementary my dear TumeniNodes.
It's elementary my dear TumeniNodes.
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
Then it is as I presumed... A LOT...pithy wrote:For Minetest Game it is 420 slab combos.
It's elementary my dear TumeniNodes.
Even if I produced one per day, I'd still come up short at the end of one year :P
At any rate, they're still fun because... they do that which should not be done.
Actually, I should have a quick look over to add any textures I may have missed, then send it up for release tomorrow.
A Wonderful World
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
That's awesome! :D
Doh... glass, I forgot glass...
A Wonderful World
- StarNinjas
- Member
- Posts: 411
- Joined: Wed Mar 14, 2018 00:32
- GitHub: starninjas
- IRC: StarNinjas
- In-game: J1
- Location: Terrarca
- Contact:
Re: [MOD] Stack Slabs [1.0] [stackslabs]
+1 Awesome this should be added to minetest sub-game. can you make this work with my Xblox mod:
viewtopic.php?f=9&t=19816
viewtopic.php?f=9&t=19816
Don't go to bed tonight, without knowing what would happen if you died. https://thegospelfilm.org/
- 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: [MOD] Stack Slabs [1.0] [stackslabs]
No, it really shouldn't... But I am glad you like itStarNinjas wrote:+1 Awesome this should be added to minetest sub-game.
Sorry, I honestly never had planned to do any more with this. It was literally thrown together due to another member asking if there was anything like it, and to show it could be done (but in a very hacked way)StarNinjas wrote:can you make this work with my Xblox mod
It has limitations.
In my original post this is explained with another option/mod by pithy, which uses another approach and reduces the limitations but, I am not sure the other mod is still available
A Wonderful World
- StarNinjas
- Member
- Posts: 411
- Joined: Wed Mar 14, 2018 00:32
- GitHub: starninjas
- IRC: StarNinjas
- In-game: J1
- Location: Terrarca
- Contact:
Re: [MOD] Stack Slabs [1.0] [stackslabs]
Ok no problemTumeniNodes wrote:No, it really shouldn't... But I am glad you like itStarNinjas wrote:+1 Awesome this should be added to minetest sub-game.
Sorry, I honestly never had planned to do any more with this. It was literally thrown together due to another member asking if there was anything like it, and to show it could be done (but in a very hacked way)StarNinjas wrote:can you make this work with my Xblox mod
It has limitations.
In my original post this is explained with another option/mod by pithy, which uses another approach and reduces the limitations but, I am not sure the other mod is still available
Don't go to bed tonight, without knowing what would happen if you died. https://thegospelfilm.org/
- sirrobzeroone
- Member
- Posts: 593
- Joined: Mon Jul 16, 2018 07:56
- GitHub: sirrobzeroone
- Contact:
Re: [MOD] Stack Slabs [1.0] [stackslabs]
I found an old archived copy of Comboblock on Git and forked the repository and spent a fair bit of time getting my head around how it worked and more importantly what stopped it from working in current Minetest 5 builds. I havent touched Lua for 9 months now and wanted to wake up the old brainbox.
I think i now have it working again at least for Minetest 5.2, I also added in snow and ice slabs, some comments as much as I could about how it works or how I think it works :) . Not sure how many others might want this but I figure TumeniNodes thread is the best place to put this update.
Git link for those who might want it, Pithy has archived his version.
https://github.com/sirrobzeroone/comboblock
I think i now have it working again at least for Minetest 5.2, I also added in snow and ice slabs, some comments as much as I could about how it works or how I think it works :) . Not sure how many others might want this but I figure TumeniNodes thread is the best place to put this update.
Git link for those who might want it, Pithy has archived his version.
https://github.com/sirrobzeroone/comboblock
- pampogokiraly
- Member
- Posts: 293
- Joined: Wed Jan 08, 2020 22:21
- In-game: i_love_mesecon
Re: [MOD] Stack Slabs [1.0] [stackslabs]
You are, my absolute hero! I only found one problem with this, it's really hard to build.. i dont know.. like walls out of slabs because they always just merge into a single block even if i hold down shift (sneak....). So i think you should remove the feature that makes a full block out of two slabs from the same type!sirrobzeroone wrote: ↑Wed May 06, 2020 09:45I found an old archived copy of Comboblock on Git and forked the repository and spent a fair bit of time getting my head around how it worked and more importantly what stopped it from working in current Minetest 5 builds. I havent touched Lua for 9 months now and wanted to wake up the old brainbox.
I think i now have it working again at least for Minetest 5.2, I also added in snow and ice slabs, some comments as much as I could about how it works or how I think it works :) . Not sure how many others might want this but I figure TumeniNodes thread is the best place to put this update.
Git link for those who might want it, Pithy has archived his version.
https://github.com/sirrobzeroone/comboblock
Overall: Thank you!
All praise the Bacon God! The one and only god in MineTest
- sirrobzeroone
- Member
- Posts: 593
- Joined: Mon Jul 16, 2018 07:56
- GitHub: sirrobzeroone
- Contact:
Re: [MOD] Stack Slabs [1.0] [stackslabs]
I have a fix for the 2 slabs of the same type becoming 1 block. I'm like yourself prefer my slabs to stay slabs not magically become blocks...tossing up if i make it an option in the menu screen.
Im also trying to fix the placement bug so you can place slabs at the top on the side of a block again and they dont get sucked to the bottom on placement. That took me some reading through the stairs mod but I understand how that code works now, just need to find an elegant way to re-use/use it :).
I'm also auto-indexing all slabs in the group "slab" now so that any other mods that create slabs can be more easily supported. I just wish there was a way to specify in the depends file to load a mod last as it would be handy to have comboblock load last, i need to use some google-fu on this as there might be(edit that took like 5 seconds and Rubenwardy to the rescue in this thread - viewtopic.php?f=47&t=22007 So ill work on this as well.
thanks for the feedback and glad someone else is finding it useful :)
Im also trying to fix the placement bug so you can place slabs at the top on the side of a block again and they dont get sucked to the bottom on placement. That took me some reading through the stairs mod but I understand how that code works now, just need to find an elegant way to re-use/use it :).
I'm also auto-indexing all slabs in the group "slab" now so that any other mods that create slabs can be more easily supported. I just wish there was a way to specify in the depends file to load a mod last as it would be handy to have comboblock load last, i need to use some google-fu on this as there might be(edit that took like 5 seconds and Rubenwardy to the rescue in this thread - viewtopic.php?f=47&t=22007 So ill work on this as well.
thanks for the feedback and glad someone else is finding it useful :)
Last edited by sirrobzeroone on Wed May 13, 2020 01:17, edited 1 time in total.
- sirrobzeroone
- Member
- Posts: 593
- Joined: Mon Jul 16, 2018 07:56
- GitHub: sirrobzeroone
- Contact:
Re: [MOD] Stack Slabs [1.0] [stackslabs]
Pressed quote not edit....sorry
- pampogokiraly
- Member
- Posts: 293
- Joined: Wed Jan 08, 2020 22:21
- In-game: i_love_mesecon
Re: [MOD] Stack Slabs [1.0] [stackslabs]
I'we been waiting for this mod like years... I hope those bugs are going to get fixed really quickly, and i also suggest making an own topic for this mod because our talking here is a little bit off-topic.sirrobzeroone wrote:and glad someone else is finding it useful :)
Thank you again :D
Edit: I also found that the slabs dont keep their rotation (left click with the screwdriver)... I suppose this is a bug too :/
All praise the Bacon God! The one and only god in MineTest
Who is online
Users browsing this forum: Dmax_05 and 28 guests