Build house/structure mod

Nekrofage
Member
 
Posts: 35
Joined: Mon Oct 17, 2016 21:12
GitHub: Nekrofage

Build house/structure mod

by Nekrofage » Mon Oct 17, 2016 21:41

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
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Build house/structure mod

by paramat » Mon Oct 17, 2016 23:52

 

Nekrofage
Member
 
Posts: 35
Joined: Mon Oct 17, 2016 21:12
GitHub: Nekrofage

Re: Build house/structure mod

by Nekrofage » Tue Oct 18, 2016 14:08

Thank you paramat ! :D
 

Nekrofage
Member
 
Posts: 35
Joined: Mon Oct 17, 2016 21:12
GitHub: Nekrofage

Re: Build house/structure mod

by Nekrofage » Wed Oct 19, 2016 14:26

@paramat : I got another question : how to spawn this structure?
Via a command line or via Lua code?
 

bell07
Member
 
Posts: 140
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: Build house/structure mod

by bell07 » Wed Oct 19, 2016 19:53

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
 

Nekrofage
Member
 
Posts: 35
Joined: Mon Oct 17, 2016 21:12
GitHub: Nekrofage

Re: Build house/structure mod

by Nekrofage » Thu Oct 20, 2016 20:14

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.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Build house/structure mod

by paramat » Thu Oct 20, 2016 22:12

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.
 

Nekrofage
Member
 
Posts: 35
Joined: Mon Oct 17, 2016 21:12
GitHub: Nekrofage

Re: Build house/structure mod

by Nekrofage » Fri Oct 21, 2016 12:48

Oky paramat, I will use the 'set_node'/'add_node' methods.
Thank you for your help! :D
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 7 guests

cron