Page 1 of 1

Including a specific map in a minetest game

PostPosted: Wed Jan 16, 2013 09:10
by yves_de_beck
Hi all,

I have so much ideas and now i want to create a Game for Minetest. =)

This game mod should not use the default map generator.
It should use a fix map, that i have made for this game.

Do you know how i can define that in the init.lua ???

PostPosted: Wed Jan 16, 2013 09:31
by 4aiman
Look into the nether mod, but let me warn you: lua world generation is SLOW and BUGGY.
If you want to change only upper layers of the map, then I suggest you looking into biome_api mod.
Maybe it would be better to wait for mapgen_v7 ?

PostPosted: Wed Jan 16, 2013 10:11
by yves_de_beck
4aiman wrote:Look into the nether mod, but let me warn you: lua world generation is SLOW and BUGGY.
If you want to change only upper layers of the map, then I suggest you looking into biome_api mod.
Maybe it would be better to wait for mapgen_v7 ?


Thanks for your fast response.

I've looked at this nether mod, but i think there is an own 'nether' map generator used?!

Is there no possibility to make a world and put this in the game folder? So the game i made is loading always this map???

Something like:
MINETEST/GAME/MY_OWN_GAME/WORLD/map.sqlite
MINETEST/GAME/MY_OWN_GAME/WORLD/world.mt
... etc ...



My idea is to create an island map. There the player had to do different quests etc...

PostPosted: Wed Jan 16, 2013 10:34
by celeron55

PostPosted: Wed Jan 16, 2013 11:02
by yves_de_beck
celeron55 wrote:You can include a game in a world:
https://github.com/celeron55/minetest/blob/stable-0.4/doc/lua_api.txt#L49


Hi celeron55,

Wow!!! That's great!!! Thank you. =)


I think topic can closed

PostPosted: Wed Jan 16, 2013 11:12
by jojoa1997
What does that mean

PostPosted: Wed Jan 16, 2013 11:55
by yves_de_beck
jojoa1997 wrote:What does that mean


I had asked to find a way how i can include a self made map in a programmed minetest/game/my_game.
That game should not use the default map generator of minetest.

But the solution to the problem described by celeron55.