I need a completely flat green map

Ayden
New member
 
Posts: 1
Joined: Thu Sep 27, 2018 14:57

I need a completely flat green map

by Ayden » Thu Sep 27, 2018 15:02

Hi,

I want to create a mansion neighborhood on completely endless flat green land. No trees, caves, sand, flowers, water, hills, or anything else, just flat green land.

How can I do this? I tried finding a mod that does this but it doesn't work.

Since making buildings on flat land is common in Minecraft, there should be an easy way in Minetest to select this option.

Thanks
 

User avatar
sorcerykid
Member
 
Posts: 1061
Joined: Fri Aug 26, 2016 15:36
Location: Illinois, USA
GitHub: sorcerykid
In-game: Nemo

Re: I need a completely flat green map

by sorcerykid » Thu Sep 27, 2018 16:53

I believe the only way to get a completely flat world with only grassland is to install the flatgen mod.

viewtopic.php?id=8952

Be careful not to use the "flat" mapgen during world creation. That only generates flat terrain. but it won't disable biomes and decorations.
 

User avatar
Wuzzy
Member
 
Posts: 3435
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: I need a completely flat green map

by Wuzzy » Thu Sep 27, 2018 16:55

You can get a flat world without mods. HOWEVER, it's not perfect, you still have biomes, so it's not 100% grass.

First, go to advanced settings, search for “mg_flags”. Edit this, enter the value “nocaves,nodungeons,light,nodecorations”. This setting gets rid of caves, dungeons, trees and plants for new worlds.

Then go to the world creation menu, create a new world. Select the world type “flat”. Enter a world name and hit create, then play in it. There, you now got a flat land

NOTE: After you created a flat world, you may want to reset the setting “mg_flags” to the default afterwards, if you want to have caves, dungeons, trees and dungeons in new worlds again.
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH
 

User avatar
sorcerykid
Member
 
Posts: 1061
Joined: Fri Aug 26, 2016 15:36
Location: Illinois, USA
GitHub: sorcerykid
In-game: Nemo

Re: I need a completely flat green map

by sorcerykid » Thu Sep 27, 2018 18:12

Wuzzy's solution works, except it still requires installing (or creating a mod) that registers only a grassland biome.

It's unfortunate that there is still no way to simply deactivate biomes on a per-world basis, without having to alter the game itself. Ideally the world creation screen would allow biomes to be toggled on/off based on a setting in minetest.conf or world.mt.

Of course, I realize some games depend on the existence of certain biomes, so perhaps more intuitive solution might be to introduce a new API for game-specific settings to be shown in the world creation screen. I'm not sure how that would be implemented, as it's beyond the scope of this topic. Just brainstorming :)
Last edited by sorcerykid on Thu Sep 27, 2018 18:13, edited 1 time in total.
 

User avatar
Chiantos
Member
 
Posts: 363
Joined: Sun Jan 15, 2017 09:04
Location: Earth
GitHub: MrChiantos
IRC: mrchiantos
In-game: mrchiantos

Re: I need a completely flat green map

by Chiantos » Thu Sep 27, 2018 18:13

Hello

Use Flatgen mod is a bad Idea ... This mod generate perfect Green map yes ...
... The problem is with generate of this mod, this Light ... Bad generate Light.

You can use /mapfix for resolve. Problem this not really good...

After you can Delete All biomes, and only not remove grassland in Mapgen and use Flat.

I think maybe ... Or use Multidimension Mod for generate a flat grassland with singlenode.
I use multimension for generate Moon and Mars (v7), this flat with simple mapgen... Use this for generate grass'flat is possible.

Good Day.
 

User avatar
sorcerykid
Member
 
Posts: 1061
Joined: Fri Aug 26, 2016 15:36
Location: Illinois, USA
GitHub: sorcerykid
In-game: Nemo

Re: I need a completely flat green map

by sorcerykid » Thu Sep 27, 2018 20:08

After a bit more digging (no pun intended), I found this all-grassland mod that is compatible with the "flat" mapgen.

https://github.com/CoderForTheBetter/grassland/

I haven't tested it personally, but supposedly it disables all biomes, decorations, and schematics automatically.
 

User avatar
Devy
Member
 
Posts: 130
Joined: Sat Jan 21, 2017 02:31
GitHub: CoderForTheBetter
In-game: devy

Re: I need a completely flat green map

by Devy » Thu Sep 27, 2018 22:14

That's my mod! I just updated it so that caves are now turned off automatically. I'll paste this here though, use caution when using this mod:

NOTE: Grasslands mod modifies map generation settings 'caves' and 'dungeons'. This mod tries to reset these settings when the world is closed, but if they are not (computer or world crash) then the disabled settings will modify the generation of new caves and dungeons in other worlds. To turn on dungeons and caves then open a world with this mod enabled and then leave, or go to settings page and search 'mg_flags' (without quotes) to manually reset the flags. USE AT YOUR OWN RISK!

Also, my mod will not have a light issue.

That message is displayed everytime in chat when you use this mod.
 

User avatar
DrFrankenstone
Member
 
Posts: 109
Joined: Tue May 24, 2016 05:36
Location: Melbourne, Australia
GitHub: treer

Re: I need a completely flat green map

by DrFrankenstone » Tue Oct 02, 2018 00:03

Since I just linked this thread as an answer...

The wiki page also mentions the Superflat Mapgen mod, which was updated in 2017, but I've not tried it.

Perhaps flatgen should be removed from the wiki page and replaced with grassland.
 

User avatar
paramat
Developer
 
Posts: 3398
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: I need a completely flat green map

by paramat » Sun Oct 07, 2018 00:02

What Wuzzy wrote.
Plus a simple mod that clears all registered biomes and registers a single grassy biome. This mod should depend on 'default' and the init.lua should be:

Code: Select all
minetest.clear_registered_biomes()

minetest.register_biome({
   name = "grassland",
   node_top = "default:dirt_with_grass",
   depth_top = 1,
   node_filler = "default:dirt",
   depth_filler = 3,
   y_max = 31000,
   y_min = -31000,
   heat_point = 50,
   humidity_point = 50,
})

Much better to do it this way using the engine's Flat mapgen and Biome API because lua mapgens are slow.
 

User avatar
orwell
Member
 
Posts: 778
Joined: Wed Jun 24, 2015 18:45
Location: Raxacoricofallapatorius
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell

Re: I need a completely flat green map

by orwell » Sun Oct 07, 2018 06:22

Devy wrote:That's my mod! I just updated it so that caves are now turned off automatically. I'll paste this here though, use caution when using this mod:

NOTE: Grasslands mod modifies map generation settings 'caves' and 'dungeons'. This mod tries to reset these settings when the world is closed, but if they are not (computer or world crash) then the disabled settings will modify the generation of new caves and dungeons in other worlds. To turn on dungeons and caves then open a world with this mod enabled and then leave, or go to settings page and search 'mg_flags' (without quotes) to manually reset the flags. USE AT YOUR OWN RISK!

Also, my mod will not have a light issue.

That message is displayed everytime in chat when you use this mod.

Is it really necessary to change the global settings each time you start the world, and revert them on quit? Aren't mapgen settings saved per-world anyways?(in world.mt)
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...
 

User avatar
Devy
Member
 
Posts: 130
Joined: Sat Jan 21, 2017 02:31
GitHub: CoderForTheBetter
In-game: devy

Re: I need a completely flat green map

by Devy » Sun Oct 07, 2018 07:27

I'm not sure. Show me the code you would use for that and I'll implement it but I couldn't figure it or test anything.
 

User avatar
orwell
Member
 
Posts: 778
Joined: Wed Jun 24, 2015 18:45
Location: Raxacoricofallapatorius
GitHub: orwell96
IRC: orwell96_mt
In-game: orwell

Re: I need a completely flat green map

by orwell » Sun Oct 07, 2018 21:14

Well, I haven't actually looked at your code... I may have a look...
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...
 


Return to General Discussion



Who is online

Users browsing this forum: cHyper and 3 guests