Including a specific map in a minetest game

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45

Including a specific map in a minetest game

by yves_de_beck » Wed Jan 16, 2013 09:10

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 ???
Last edited by yves_de_beck on Wed Jan 16, 2013 11:51, edited 1 time in total.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Wed Jan 16, 2013 09:31

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 ?
 

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45

by yves_de_beck » Wed Jan 16, 2013 10:11

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...
Last edited by yves_de_beck on Wed Jan 16, 2013 10:15, edited 1 time in total.
 

celeron55
Member
 
Posts: 430
Joined: Tue Apr 19, 2011 10:10

by celeron55 » Wed Jan 16, 2013 10:34

 

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45

by yves_de_beck » Wed Jan 16, 2013 11:02

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
Last edited by yves_de_beck on Wed Jan 16, 2013 11:08, edited 1 time in total.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Jan 16, 2013 11:12

What does that mean
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
yves_de_beck
Member
 
Posts: 65
Joined: Wed Jan 02, 2013 10:45

by yves_de_beck » Wed Jan 16, 2013 11:55

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.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 54 guests

cron