generate a "map of the map"
generate a "map of the map"
Is it possible to generate a map of a map? It need not be ingame. Just a script that generates an image of the map with the spawning point or free coordinate in the center and maybe 1000 or 2000 nodes in each direction, just enough to see where are oceans, forests, jungles, deserts and so on
- Krock
- Developer
- Posts: 4577
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: generate a "map of the map"
If the terrain already exists in the world's map database, you can use a mapping application:
MinetestMapperGui
Official Minetestmapper
Python & numpy mapper
MinetestMapperGui
Official Minetestmapper
Python & numpy mapper
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: generate a "map of the map"
I choose the Python mapper. Works ok. But I guess only for sqlite3. And only for existing map data.
Is it possible that minetest generates a map without playing everything?
Is it possible that minetest generates a map without playing everything?
- paramat
- Developer
- Posts: 3699
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: generate a "map of the map"
You mean a world preview before generating terrain?
It's possible by reproducing core mapgen in a mod.
It's possible by reproducing core mapgen in a mod.
- twoelk
- Member
- Posts: 1406
- Joined: Fri Apr 19, 2013 16:19
- GitHub: twoelk
- IRC: twoelk
- In-game: twoelk
- Location: northern Germany
Re: generate a "map of the map"
some sort of seed preview or tester might indeed be interesting as standalone program.
- stu
- Member
- Posts: 923
- Joined: Sat Feb 02, 2013 02:51
- GitHub: stujones11
- Location: United Kingdom
Re: generate a "map of the map"
Didn't someone already make something like this? Might have been Krock but I am not sure if he released it.twoelk wrote:some sort of seed preview or tester might indeed be interesting as standalone program.
Re: generate a "map of the map"
I have a simple mod that teleports the player around a rectangular spiral to force the mapgen to generate blocks.
This is a simple way initialize a world and then I use minetestmapper to generate a map.
This gives you a rough idea of the different biomes and interesting area locations.
If you want to try it: https://github.com/oleastre/os_explore
This is a simple way initialize a world and then I use minetestmapper to generate a map.
This gives you a rough idea of the different biomes and interesting area locations.
If you want to try it: https://github.com/oleastre/os_explore
Re: generate a "map of the map"
Do you have some more info ?
Like the number of steps or spiral size you did ?
And where you playing in single player or in server mode with other people ?
And last but not least, can you monitor your memory usage while exploring ? Maybe it's too fast and your computer cannot keep up generating blocks and storing them (in that case, you can increase the "wait" parameter at the beginning of the file ).
Like the number of steps or spiral size you did ?
And where you playing in single player or in server mode with other people ?
And last but not least, can you monitor your memory usage while exploring ? Maybe it's too fast and your computer cannot keep up generating blocks and storing them (in that case, you can increase the "wait" parameter at the beginning of the file ).
Re: generate a "map of the map"
Set delay to 20. Until now everything is ok. But this method doesn't work if the player is underground because of some high mountains. In the lower left area is just rock. Try it again with a flying player

- Attachments
-
- map.jpg
- (556.54 KiB) Not downloaded yet
Re: generate a "map of the map"
Yes of course, a flying player is quite mandatory and the exploration is done on the starting height of your player.
I could add an option to automate the exploration at different altitudes.
I generally start at an altitude around 60.
And I often get gray zones as mountains goes higher; but at least I have a first map to help me manually explore the world.
I could add an option to automate the exploration at different altitudes.
I generally start at an altitude around 60.
And I often get gray zones as mountains goes higher; but at least I have a first map to help me manually explore the world.
Re: generate a "map of the map"
On minetestville (shut down now) We had a slippy map to show map on the website. You can do a lot with the map.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!
A list of my mods can be found here
A list of my mods can be found here
- Napiophelios
- Member
- Posts: 1025
- Joined: Mon Jul 07, 2014 01:14
- GitHub: Napiophelios
- IRC: Nappi
- In-game: Nappi
Re: generate a "map of the map"
Oleastre you're mod is sounds very similar to Echo's explore map mod and I always thought thats what his mod was missingoleastre wrote:Yes of course, a flying player is quite mandatory and the exploration is done on the starting height of your player.
I could add an option to automate the exploration at different altitudes.
I generally start at an altitude around 60.
And I often get gray zones as mountains goes higher; but at least I have a first map to help me manually explore the world.
a way to automate exploration of different altitudes and depths.
I am definitely going to try yours out to see how they compare.
- yyt16384
- Member
- Posts: 46
- Joined: Mon Nov 03, 2014 12:16
- GitHub: yyt16384
- IRC: yyt16384
- In-game: yyt16384
- Location: China
Re: generate a "map of the map"
You can use minetest.emerge_area to force generate a block.
Re: generate a "map of the map"
@Napiophelios: yes it's similar but follows a square spiral instead of a round one; the height automation is not already done but is quite easy to add.
@yyt16384: I was not aware of that one, I think I will just add a command to use this in a quick way.
Stay tuned :)
@yyt16384: I was not aware of that one, I think I will just add a command to use this in a quick way.
Stay tuned :)
Re: generate a "map of the map"
I added a /mapgen chat command to my small mod that uses the emerge_area.
Just call /mapgen 1000 to generate a 2000x2000 map around your player position.
And if you use /mapgen 1000 100; it will do the same but for a 2000x2000 box from your player's altitude up to 100.
Just call /mapgen 1000 to generate a 2000x2000 map around your player position.
And if you use /mapgen 1000 100; it will do the same but for a 2000x2000 box from your player's altitude up to 100.
- yyt16384
- Member
- Posts: 46
- Joined: Mon Nov 03, 2014 12:16
- GitHub: yyt16384
- IRC: yyt16384
- In-game: yyt16384
- Location: China
Re: generate a "map of the map"
There is also /emergeblocks chat command.oleastre wrote: @yyt16384: I was not aware of that one, I think I will just add a command to use this in a quick way.
Re: generate a "map of the map"
I think I will stop trying to re-implement existing stuff...
/emergeblocks is not documented in the minetest wiki and you could have tell everyone about that command in your first post.
But thanks anyway to make us aware of this.
/emergeblocks is not documented in the minetest wiki and you could have tell everyone about that command in your first post.
But thanks anyway to make us aware of this.
Who is online
Users browsing this forum: No registered users and 1 guest