Page 1 of 1

Build house/structure mod

PostPosted: Mon Oct 17, 2016 21:41
by Nekrofage
Hi,

I am a noob Minetest developper and I search a simple mod to build a house/structure.
Do you have something like that?

Thanks you ! :D

Re: Build house/structure mod

PostPosted: Mon Oct 17, 2016 23:52
by paramat

Re: Build house/structure mod

PostPosted: Tue Oct 18, 2016 14:08
by Nekrofage
Thank you paramat ! :D

Re: Build house/structure mod

PostPosted: Wed Oct 19, 2016 14:26
by Nekrofage
@paramat : I got another question : how to spawn this structure?
Via a command line or via Lua code?

Re: Build house/structure mod

PostPosted: Wed Oct 19, 2016 19:53
by bell07
If you just need placing of predefined buildings, you can have a look to my current in development mod townchest: https://forum.minetest.net/viewtopic.php?f=9&t=15704
Other mods you can find searching for "village" in the "mod" part of the forum:
https://forum.minetest.net/search.php?st=0&sk=t&sd=d&sr=topics&keywords=village&fid%5B%5D=46

Re: Build house/structure mod

PostPosted: Thu Oct 20, 2016 20:14
by Nekrofage
Thank you bell07 ! ;-)

But does it possible to define/build a structure with Minetest Lua code?
I would like not to use a predefined building.

Re: Build house/structure mod

PostPosted: Thu Oct 20, 2016 22:12
by paramat
Sorry my mod is not really what you're asking for, in creative mode find the "projects:vertenta" node and place it somewhere as described in the thread.

If you don't want a predefined building you would have to use mathematics to place nodes with "set node" and use randomness to alter the building shape.

Re: Build house/structure mod

PostPosted: Fri Oct 21, 2016 12:48
by Nekrofage
Oky paramat, I will use the 'set_node'/'add_node' methods.
Thank you for your help! :D