[Mod] Map Generation Library [mapgen_lib]

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

[Mod] Map Generation Library [mapgen_lib]

by Gael de Sailly » Wed Sep 24, 2014 15:32

This mod is still experimental and unstable.

By creating Forest, I've realised that making a map generator by the Lua VM is a complex work. But I think it could be made easier, especially the PerlinNoiseMaps.

This mod adds lua functions about map generation, for example a method of VoxelAreas which returns a perlin map that you can use by the voxelarea.
And the equivalent in 2D : FlatArea (still some problems with FlatArea:iter and iterp, don't use it for now), used, unlike VoxelArea, only for perlin noise maps, not for setting VoxelManip's datas.
And a GUI for setting mapgen params at the beginning of the game :

Image
Image
Image
Image

Git repo
Download (rename to "mapgen_lib)

You can download and use it but it's still very unstable.

I'm looking for contributors.
If you're interested, don't hesitate.
Last edited by Gael de Sailly on Sun Oct 19, 2014 16:21, edited 1 time in total.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Map Generation Library [mapgen_lib]

by Krock » Wed Sep 24, 2014 15:37

+1
Sadly, it's not possible to make a sandy beach .. yet
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: [Mod] Map Generation Library [mapgen_lib]

by Gael de Sailly » Wed Sep 24, 2014 18:32

A sandy beach ? Sorry, I don't understand. Are you sure that you post your reply at the good place ?

You can try the mapgen "flatmountains.lua", it sometimes generate beaches on the seashore.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Map Generation Library [mapgen_lib]

by Inocudom » Wed Sep 24, 2014 19:14

Will this mapgen have all of the nodes from your forest mapgen for the sakes of compatibility and variety?
 

User avatar
Gael de Sailly
Member
 
Posts: 475
Joined: Sun Jan 26, 2014 17:01
GitHub: Gael-de-Sailly
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly

Re: [Mod] Map Generation Library [mapgen_lib]

by Gael de Sailly » Wed Sep 24, 2014 19:55

Forest and mapgen_lib are two different things. But, if you want, you can rewrite the Forest mapgen to use this library, but it's not the library which defines the nodes.

I'm not sure to have understood what you tell me.
Very busy this year too, so do not expect me to be very active on the forum or in game. But I'm not about to drop Minetest forever :)
 

User avatar
Inocudom
Member
 
Posts: 2889
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Map Generation Library [mapgen_lib]

by Inocudom » Wed Sep 24, 2014 21:13

Gael de Sailly wrote:But, if you want, you can rewrite the Forest mapgen to use this library, but it's not the library which defines the nodes.

That will do just fine. In the process, would forest be able to incorporate ores and plants from other mods? Is this library capable of that? The big ones I am hoping for are plantlife, moretrees (the more, the merrier,) darkage (CraigyDavi's fork,) moreores, and technic.

Again, I really, really do hope that forest will be used by people in the future. I posted screenshots of it in the topic for it before (in previous posts.)

Of course, compatibility with mods that generate ores and plants would serve this library in and of itself well as well.
 

Shammmmmm
Member
 
Posts: 17
Joined: Sat Sep 20, 2014 21:31
GitHub: Shammmmmm
In-game: Shammmmmm

Re: [Mod] Map Generation Library [mapgen_lib]

by Shammmmmm » Sat Nov 29, 2014 19:36

like this mod +1 :)
You Can call me Sham
New mods incoming by me :)
 


Return to WIP Mods

Who is online

Users browsing this forum: Bing [Bot] and 5 guests

cron