[Mod] Universal geometry realm [0.4.4] [flexrealm]

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

[Mod] Universal geometry realm [0.4.4] [flexrealm]

by paramat » Post

Image


Browse code https://github.com/paramat/flexrealm
Download https://github.com/paramat/flexrealm/archive/master.zip and rename mod folder to 'flexrealm'

For Minetest 0.4.12 and later
Depends default
Licenses: code WTFPL, textures CC BY-SA

This mod selects auto singlenode mapgen.
Edit the parameters at the top of the init.lua to choose your realm shape, and to set realm size and location.

Code: Select all

local flat = false -- Normal flat realm
local vertical = false -- Vertical flat realm facing south
local invert = false -- Inverted flat realm
local planet = false -- Planet sphere
local dysonsphere = false -- Dyson sphere
local tube = false -- East-West tube world / O'Neill space colony
local cube = false -- Planet cube
local dysoncube = true -- Dyson cube

Image


Image


Image


^ Cross section of dyson sphere.


Image
Last edited by paramat on Wed Mar 04, 2015 08:51, edited 23 times in total.

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

The world I live in is a lie.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

User avatar
RealBadAngel
Member
Posts: 557
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Post

that what you do is simply amazing

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

This mod appears to make the world of Minetest concave. One thing I did notice was that caves above the world were fully lit and did not have shadows.

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

by paramat » Post

Version 0.1.3 is at github, new screenshot in first post.
Auto-orientating apple trees and pine trees added. Each tree detects which of the 6 directions has the largest fall in 'density' and grows in that direction.

Thanks Inocudom that was a mistake left in from testing, i had disabled the line:

Code: Select all

vm:set_lighting({day=0, night=0})
So un-comment that line or better update to version 0.1.3.
Last edited by paramat on Thu Dec 05, 2013 12:31, edited 1 time in total.

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

by paramat » Post

Version 0.1.4 at github.
New screenshot in first post.
I added cliffs / faults that show off the sandstone strata.
Perlin noise for terrain is now a mix of 2 similar noises that have their 'spread' or 'scale' distances in the 'golden ratio' 1.618, the intent being to break up any obvious scale to the terrain and the slightly gridlike look of perlin noise from above and in map images.
Last edited by paramat on Mon Dec 09, 2013 22:47, edited 1 time in total.

User avatar
Tedypig
Member
Posts: 286
Joined: Tue Mar 05, 2013 12:33
IRC: Piggybear87
In-game: Piggybear
Location: Largo, FL, USA

by Tedypig » Post

This is cool, but before I download I have a question. Does the world have gravity? Can you walk on the surface the whole way around, or have to hop up the concave?
01010100 01100101 01100100 01111001 01110000 01101001 01100111

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

by paramat » Post

This question comes up a lot ... Minetest camera orientation and gravity are fixed (as far as i know it would be a major rewrite of the engine, perhaps someone will go on to make a new more universal space-capable game engine with 6 gravity directions).
Last edited by paramat on Thu Dec 05, 2013 22:03, edited 1 time in total.

User avatar
Enke
Member
Posts: 469
Joined: Fri Nov 15, 2013 02:56
GitHub: NANOsoldierEnke
IRC: Enke
In-game: Enke
Location: The internet

by Enke » Post

(0_0)

Wow. That is all. Wow...

*Edit* Oh joy, 100 posts. I need to be doing something better with my time. ....Nah.
Last edited by Enke on Thu Dec 05, 2013 23:47, edited 1 time in total.
Lush8
ExtraVars for Red Eclipse

<Anarchid> my turn was still the most awesome, yielding all the cripples, two captured paranormals, and death rate of about 30%
<ORCACommander> Anarchid: you need to work harder
<ORCACommander> I am hereby putting you under review until you can increase the casualty rate

User avatar
hoodedice
Member
Posts: 1374
Joined: Sat Jul 06, 2013 06:33
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice
Location: world
Contact:

by hoodedice » Post

Enke wrote:(0_0)

Wow. That is all. Wow...

*Edit* Oh joy, 100 posts. I need to be doing something better with my time. ....Nah.
*100 posts*

n00b.
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

hoodedice wrote:
Enke wrote:(0_0)

Wow. That is all. Wow...

*Edit* Oh joy, 100 posts. I need to be doing something better with my time. ....Nah.
*100 posts*

n00b.
*400 posts*

n00b.

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

by paramat » Post

New version 0.2.0 is at github.
I found and eliminated unnecessary processing, now mostly 2 to 4 seconds per chunk.
I added the temperature / humidity 8 biome system of paragen(v7), but plants and some trees are still missing.
The version at github was pushed in the optional 'flat realm' mode (surface at y = 168), for the original flexy realm enable line 266 and disable line 267.
A 10km radiius dyson sphere is also possible by enabling lines 268, 269 and disabling line 266 (teleport to 0, 5000, 0).

Since a day ago there has been a 3 noise terrain shape, with a blend of rough and smooth areas.

EDIT version 0.2.1 with bugfixes and savanna trees.
Last edited by paramat on Sun Dec 08, 2013 11:54, edited 1 time in total.

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

by jojoa1997 » Post

Good Job paramat! Keep working on the mapgen/luavoxel/what ever it is you are using and make even more amazing mods.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

by rubenwardy » Post

This is pretty awesome.
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

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

by paramat » Post

Version 0.2.2 is at github.
Jungletrees added.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

Perfect. What I was waiting for. :) +1 on your work so far paramat.

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

by paramat » Post

Version 0.2.3 now at github.
Now 5 realm types, added vertical and inverted, select by editing the true/false parameters.

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

by paramat » Post

Version 0.2.4.
Non-flowing water (range = 0,) so no more invisible nodes holding back the water and also preventing building or papyrus near water. Also you can now enable cavegen without the threat of vast buggy waterfalls everywhere.
Tree direction is now auto-set per realm type ... although i have just realised a mistake in that for dyson sphere ... fix commit coming soon *:/

*** EDIT
Until then fix is edit line 402 to this:

Code: Select all

if tree then
    if flat or sphere then
    treedir = 3
Of course this is only correct for the lowest quarter of the dyson sphere.
Last edited by paramat on Wed Dec 11, 2013 09:55, edited 1 time in total.

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

by paramat » Post

Version 0.2.5.
Last edited by paramat on Thu Dec 12, 2013 00:30, edited 1 time in total.

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

by paramat » Post

Version 0.2.6.
Oops my mistake, 'liquid_range = 0' water sources were spreading due to 'liquid_renewable = true'.
So now back to non-flowing water, no airlike nodes, no need to disable cavegen.
Last edited by paramat on Thu Dec 12, 2013 02:33, edited 1 time in total.

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

by paramat » Post

Version 0.2.8.
Grasses added to deciduous forest, savanna and grasslands.
Optional hollow cylinder and planet-sphere realms.
Optimised lua code.
Rivers added, water becomes glacier flow in cold biomes.
Last edited by paramat on Thu Dec 19, 2013 16:05, edited 1 time in total.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

Holy crud. A lot of release. Oh well, I suppose I'll have to get the latest.

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

by paramat » Post

Version 0.2.9
Rivers completed, new noise parameters for smoother terrain and rivers, 2 realms now renamed 'dyson' and 'tube'. Optional default water for the flat realm. Fixed fissure sand.

Version 0.2.10
Bugfixes. Auto-orientating trees for add realms. Mod's own dirt to avoid dirt changing to green grass in dry grass biomes.

Version 0.2.11
Sandline variation, dunes with dry grasses, swampwater with papyrus ... :P
Last edited by paramat on Wed Dec 18, 2013 12:33, edited 1 time in total.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

by philipbenr » Post

paramat wrote:Version 0.2.9
Rivers completed, new noise parameters for smoother terrain and rivers, 2 realms now renamed 'dyson' and 'tube'. Optional default water for the flat realm. Fixed fissure sand.

Version 0.2.10
Bugfixes. Auto-orientating trees for add realms. Mod's own dirt to avoid dirt changing to green grass in dry grass biomes.

Version 0.2.11
Sandline variation, dunes with dry grasses, swampwater with papyrus ... :P
0_o Crud. Not again. Oh well. I'll wait for about 1 or 2 more updates. ;)

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

by paramat » Post

^ lol

Version 0.2.12
Tune swamps, range 3 water, dry rivers in deserts.
Last edited by paramat on Tue Jan 06, 2015 03:37, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 19 guests