Page 1 of 5
[Mod] Experimental mapgen [mg]

Posted:
Sat Sep 21, 2013 16:26
by Nore
mg - Experimental Mapgen
A custom Lua-mapgen, with biomes, caves,
villages, cliffs and ore generation.
Biomes:
- Ocean
- Dry grasslands
- Wet grasslands
- Forest
- Jungle
- Savanna
- Desert
- Tundra
- Taiga
- Beach
To use, enable the mod before playing a world for the first time (do
not use it in an already used world).
Github repo:
https://github.com/minetest-mods/mgScreenshots:

Posted:
Sat Sep 21, 2013 17:17
by jin_xi
very nice!

Posted:
Sat Sep 21, 2013 17:21
by mauvebic
along with blockmen's wasteland mod, these would all make awesome biomes for the default mapgen (which could use some more biomes) :-)

Posted:
Sat Sep 21, 2013 20:06
by philipbenr
I get this error:
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
13:03:09: ERROR[main]: Failed to load and run script from
13:03:09: ERROR[main]: C:\Users\----\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:
13:03:09: ERROR[main]: ...\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:4: attempt to call field 'register_on_mapgen_init' (a nil value)
13:03:09: ERROR[main]: stack traceback:
13:03:09: ERROR[main]: ...\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:4: in main chunk
13:03:09: ERROR[main]: =======END OF ERROR FROM LUA ========
I run windows and I have a fairly new version of 0.4.7 from minetest github.
I want this so bad!!
PS: +100

Posted:
Sat Sep 21, 2013 20:38
by PilzAdam
philipbenr wrote:I get this error:
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
13:03:09: ERROR[main]: Failed to load and run script from
13:03:09: ERROR[main]: C:\Users\----\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:
13:03:09: ERROR[main]: ...\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:4: attempt to call field 'register_on_mapgen_init' (a nil value)
13:03:09: ERROR[main]: stack traceback:
13:03:09: ERROR[main]: ...\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:4: in main chunk
13:03:09: ERROR[main]: =======END OF ERROR FROM LUA ========
I run windows and I have a fairly new version of 0.4.7 from minetest github.
I want this so bad!!
PS: +100
Your Minetest version is outdated.

Posted:
Sat Sep 21, 2013 21:37
by philipbenr
I can. This is soooooo awesome. I love this mod, and will use for a long time to come.

Posted:
Sat Sep 21, 2013 22:10
by sfan5
Quick Update:
I also reworked the building spawn code because it was broken


Posted:
Sun Sep 22, 2013 00:31
by paramat
Wow you even created flat areas for villages, i will have to study how you did this.
Good to see you include savanna and a dry grass texture, i just added both to slabrealm mod. Your biome system is similar to the slabrealm one:

Hybrid Dog wrote:↓primitive, but fast, river system↓
Nice, how did you generate it, is it at sea level?

Posted:
Sun Sep 22, 2013 01:25
by Inocudom
paramat wrote:Wow you even created flat areas for villages, i will have to study how you did this.
Good to see you include savanna and a dry grass texture, i just added both to slabrealm mod. Your biome system is similar to the slabrealm one:
http://i.imgur.com/ZOt7zx0.gifHybrid Dog wrote:↓primitive, but fast, river system↓
Nice, how did you generate it, is it at sea level?
The way I look at it, Hybrid Dog, paramat, and Nore could work together.

Posted:
Sun Sep 22, 2013 02:39
by paramat
We already do by reading each others code :)

Posted:
Sun Sep 22, 2013 05:09
by Nore
paramat, I looked at your biome map to create mine ;)
Moreover, I finally fixed the caves (the problem was that coordinates were floating-point). So that means: no more buggy caves and shadows, so caves are near the surface again.

Posted:
Sun Sep 22, 2013 07:14
by paramat
Cool :) I look forward to trying this mapgen in 0.4.8 stable. I realised this must be the flattening and smoothing-of-transition methods you have mentioned before.

Posted:
Sun Sep 22, 2013 07:17
by Nore
Not exactly, but not for from it (the thing I had done was too slow and a bit buggy).

Posted:
Sun Sep 22, 2013 07:24
by sfan5
Pinetrees incoming!

Posted:
Sun Sep 22, 2013 07:25
by paramat
Best pines i've seen, now you can have taiga and tundra biomes and have all 8 biomes.

Posted:
Sun Sep 22, 2013 07:33
by Nore
Now pines generate in taiga biomes, and have snow on the top!

Posted:
Sun Sep 22, 2013 08:17
by paramat
There's a new screenshot in the first post of the snowy pines, they are sooo beautiful, i have a 'thing' for snowy landscapes (and north European black metal of course).

Posted:
Sun Sep 22, 2013 08:26
by sfan5
paramat wrote:There's a new screenshot in the first post
I made that screenshot :)

Posted:
Sun Sep 22, 2013 09:17
by Nore
We need builders for the villages:
* the buildings should not be too big
* they should use default materials
Building ideas:
- Forge
- Inn
- Church
- Library
- Several house types
- etc.

Posted:
Sun Sep 22, 2013 09:59
by sfan5
New Screenshot in the first post!

New Buildings:
* More houses
* Fountains
* Cotton fields

Posted:
Sun Sep 22, 2013 10:43
by Sokomine
Nore wrote:We need builders for the villages:
It would be great to have a place to exchange schematics of houses in the new, compact .mts format.

Posted:
Sun Sep 22, 2013 11:50
by aron1263
PilzAdam wrote:philipbenr wrote:I get this error:
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
13:03:09: ERROR[main]: Failed to load and run script from
13:03:09: ERROR[main]: C:\Users\----\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:
13:03:09: ERROR[main]: ...\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:4: attempt to call field 'register_on_mapgen_init' (a nil value)
13:03:09: ERROR[main]: stack traceback:
13:03:09: ERROR[main]: ...\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:4: in main chunk
13:03:09: ERROR[main]: =======END OF ERROR FROM LUA ========
I run windows and I have a fairly new version of 0.4.7 from minetest github.
I want this so bad!!
PS: +100
Your Minetest version is outdated.
Im also having that error but i have the new version of minetest.

Posted:
Sun Sep 22, 2013 11:57
by sfan5
aron1263 wrote:PilzAdam wrote:philipbenr wrote:I get this error:
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
13:03:09: ERROR[main]: Failed to load and run script from
13:03:09: ERROR[main]: C:\Users\----\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:
13:03:09: ERROR[main]: ...\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:4: attempt to call field 'register_on_mapgen_init' (a nil value)
13:03:09: ERROR[main]: stack traceback:
13:03:09: ERROR[main]: ...\Game Data\minetest-0.4.7 - Copy\bin\..\mods\mg\init.lua:4: in main chunk
13:03:09: ERROR[main]: =======END OF ERROR FROM LUA ========
I run windows and I have a fairly new version of 0.4.7 from minetest github.
I want this so bad!!
PS: +100
Your Minetest version is outdated.
Im also having that error but i have the new version of minetest.
You need a newer version of Minetest.
Try
my or
Fess builds

Posted:
Sun Sep 22, 2013 13:43
by Nore
The villages are now much better: instead of being a bunch of buildings thrown together, there are roads, etc. Moreover, the villages are bigger.

Posted:
Sun Sep 22, 2013 14:00
by sfan5
Like this

(Screenshot by BlockMen)
or this

(Screenshot by me)

Posted:
Sun Sep 22, 2013 15:14
by sfan5
New Screenshot added to first post.

Posted:
Sun Sep 22, 2013 15:31
by Inocudom
This is a very well done mapgen that I hope will serve as inspiration for mapgen v7. Brilliance such as this must not be ignored.
You might want to spread caves out more, as they do seem a little crowded down there.
When the player reaches -1000, lava caves could appear here and there and could be lined with obsidian.
When dirt is placed near dry grass, the dirt could turn into dry grass itself (same thing applies if the dirt is placed near desert sand.)

Posted:
Sun Sep 22, 2013 16:53
by sfan5
Churches added!More buildings are coming.
Edit:
Forges and Libraries added

Posted:
Sun Sep 22, 2013 21:00
by philipbenr
I took Pilzadams build and it worked..
sfan5 wrote:aron1263 wrote:PilzAdam wrote:Your Minetest version is outdated.
Im also having that error but i have the new version of minetest.
You need a newer version of Minetest.
Try
my or
Fess builds

Posted:
Sun Sep 22, 2013 21:45
by Inocudom
Will underground labyrinths (dungeons) be added to this mapgen, with the bigger ones being below -3000?
Have you seen the mod below?
https://forum.minetest.net/viewtopic.php?pid=102707#p102707It has a few interesting ideas.