Creating Ocean World with an island

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

Prompt as ever, I complained about that water level thing seven months ago :p As for the hacky bit I hope you recognize it, i got the idea from moonrealms' atmosphere code :-)

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

by paramat » Post

Early stages of a mod, just random islands for now viewtopic.php?id=8066

mauvebic, yep ... and i got that method from PilzAdam's pre-LVM nether mod.
Last edited by paramat on Sun Dec 22, 2013 15:02, edited 1 time in total.

dgm5555
Member
Posts: 245
Joined: Tue Apr 08, 2014 19:45

Re: Creating Ocean World with an island

by dgm5555 » Post

Is there any way of reverse engineering the mapgen to figure out the seed required to generate a flat or island world, or perhaps a way of altering the height of the clouds? I'm getting a bit irritated by having clouds floating through my buildings?

Amaz
Member
Posts: 354
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: Creating Ocean World with an island

by Amaz » Post

dgm5555 wrote:Is there any way of reverse engineering the mapgen to figure out the seed required to generate a flat or island world, or perhaps a way of altering the height of the clouds? I'm getting a bit irritated by having clouds floating through my buildings?
This could help if you set the top of the dirt to a low level (-500 or so): viewtopic.php?id=8952

dgm5555
Member
Posts: 245
Joined: Tue Apr 08, 2014 19:45

Re: Creating Ocean World with an island

by dgm5555 » Post

Amaz wrote:This could help if you set the top of the dirt to a low level (-500 or so): viewtopic.php?id=8952
Thanks

And I just found this (with more detail and options in the post)...
viewtopic.php?p=138305#p138305
Temperest wrote: Make sure you have this line in your MINETEST_FOLDER/minetest.conf file:

Code: Select all

mg_flags = flat
Mind you, it will make all of your worlds start generating flat lands... [so] change it back afterward.

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

Re: Creating Ocean World with an island

by paramat » Post

Add or edit this line in minetest.conf:
cloud_height = 120
EDIT
dgm5555 wrote:Is there any way of reverse engineering the mapgen to figure out the seed required to generate a flat or island world
Nope. Mapgen v6 can't generate a flat world or an island world, also its inherently impossible to generate seed from a desired noise.

neoascetic
Member
Posts: 26
Joined: Wed Dec 24, 2014 08:56
GitHub: neoascetic
IRC: neoascetic
In-game: neoascetic

Re:

by neoascetic » Post

paramat wrote:Would you still be interested in a mod that creates a single island of chosen size in an 'infinite' sea? I'm getting interested, it's a nice idea, i think i can derive this easily from flatten mod.
Bump, I am interested in this.

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

Re: Creating Ocean World with an island

by paramat » Post

LOL i never got around to it.
Perhaps you can work out how to customise my archipelago mod? currently 2D noise determines the areas lowered into the sea, replace that with a mathematical function based on distance from world centre, should be easy.

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

Re: Creating Ocean World with an island

by paramat » Post

Line 191 https://github.com/paramat/archipelago/ ... t.lua#L191 'comfac' is 'compression factor' i think, that should be 1 within the island area and increase smoothly to roughly 24 in the surrounding ocean.
The mod will probably crash because it needs line 122 editing to:

Code: Select all

local chulens = {x=sidelen, y=sidelen, z=1}

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 20 guests