[abandoned mod] Underworlds [underworlds]

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

[abandoned mod] Underworlds [underworlds]

by duane » Post

Note: I'm no longer working on this mod.

This mod adds large underworlds to Minetest. Each is an open horizontal plane with different characteristics. The underzones table in init.lua contains all the data on each plane, including how far underground to generate it.

There are five default underworlds: Caina (ice realm), Phlegethos (fire and lava), Dis (city of hot iron and brass), Minauros (decay and pollution), and Styx (vast ocean).

Screenshots
Spoiler
Image
Image
Image
Image
Image

The source is available on github.

Code: LGPL2

Mod dependencies: default

Download: https://github.com/duane-r/underworlds/ ... master.zip
Last edited by duane on Sun May 27, 2018 23:48, edited 3 times in total.
Believe in people and you don't need to believe anything else.

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Underworlds [underworlds]

by duane » Post

Problems:
- document the underzones table
Last edited by duane on Sun Jan 29, 2017 23:39, edited 2 times in total.
Believe in people and you don't need to believe anything else.

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Underworlds [underworlds]

by azekill_DIABLO » Post

duane stop doing such great mods, you kill the creativity of other poeple. how could they do better?!

+1
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [mod] Underworlds [underworlds]

by texmex » Post

Mod author is obviously on a creativity streak, great stuff duane! Will try it out, possibly on a server.
I wonder how those air particles are made? Where in the code is it built?

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Underworlds [underworlds]

by azekill_DIABLO » Post

mod is been added to voxellar 1.7!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Underworlds [underworlds]

by duane » Post

texmex wrote:Mod author is obviously on a creativity streak, great stuff duane! Will try it out, possibly on a server.
I wonder how those air particles are made? Where in the code is it built?
Thanks. Those lights come from the flare gun in fun_tools. I use it a lot while exploring.
Believe in people and you don't need to believe anything else.

User avatar
Neuromancer
Member
Posts: 964
Joined: Tue Jun 12, 2012 22:28
GitHub: Neuromancer56

Re: [mod] Underworlds [underworlds]

by Neuromancer » Post

This mod absolutely needs to be added to Minetest Game!

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

Re: [mod] Underworlds [underworlds]

by Diamond knight » Post

I cant find the depth levels in the init.lua

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [mod] Underworlds [underworlds]

by TheReaperKing » Post

Some of my students were actually creating Olympus. This is soooo perfect for that theme, thanks for always making such cool stuff!
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Underworlds [underworlds]

by duane » Post

Diamond knight wrote:I cant find the depth levels in the init.lua
The high_chunk and low_chunk parameters set the top and bottom of the spaces.
Believe in people and you don't need to believe anything else.

User avatar
Milan*
Member
Posts: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: [mod] Underworlds [underworlds]

by Milan* » Post

I have the following problem:

I wanna create a world with geomoria, fun_caves, underworlds and caverealms.
To balance it, it should be parted into max height _and_ max depth.
Didn't see a "simple" option to alter the code of {geomoria, fun_caves, underworlds}.
Can u please help me with that / implement the max-height feature? :)

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Underworlds [underworlds]

by duane » Post

Milan* wrote:I have the following problem:

I wanna create a world with geomoria, fun_caves, underworlds and caverealms.
To balance it, it should be parted into max height _and_ max depth.
Didn't see a "simple" option to alter the code of {geomoria, fun_caves, underworlds}.
Can u please help me with that / implement the max-height feature? :)
I don't understand what you're asking. Geomoria and underworlds both have height settings. Are you trying to limit fun_caves to a certain range?
Believe in people and you don't need to believe anything else.

User avatar
Milan*
Member
Posts: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: [mod] Underworlds [underworlds]

by Milan* » Post

They have?
I only have seen a max depth setting of -31000 but i want to alter the max height setting as well.
I mean the whole thing, where to start and stop generating... .

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Underworlds [underworlds]

by duane » Post

Milan* wrote:They have?
I only have seen a max depth setting of -31000 but i want to alter the max height setting as well.
I mean the whole thing, where to start and stop generating... .
The underworld parameters are all in a table in "underworlds/init.lua". "high_chunk" and "low_chunk" define how deep each starts and ends. There are too many parameters to define in settings.

In geomoria, the variable is "geomoria_mod.geomoria_depth = -1", also in the init.lua. That could be a setting, but I suspect it would cause problems if anyone changed it after a world was created.

Depths are measured in map chunks, since there's no practical way to generate terrain in fractions of a map chunk. (I did it in squaresville, but it's very slow.)
Believe in people and you don't need to believe anything else.

User avatar
Milan*
Member
Posts: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: [mod] Underworlds [underworlds]

by Milan* » Post

Depths are measured in map chunks
So high_chunk = -12 would be -192 nodes, right?
Because i flied around there alot but didn't find anything with just underworlds activated.
Did i made miscalculations or are they just so rare?
In geomoria, the variable is "geomoria_mod.geomoria_depth = -1"
Oh i think geomoria itself is just fine also it will be a fresh world when everything is set up so no worries. :)

Just in case and to avoid misunderstandings due my language borders, the following picture shows what i am planning to do so far:

Image

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Underworlds [underworlds]

by azekill_DIABLO » Post

interesting!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [mod] Underworlds [underworlds]

by TheReaperKing » Post

? could be the earths core
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Underworlds [underworlds]

by azekill_DIABLO » Post

underworlds can imitate the core IMHO. for me it would mostly be a dark place like the heart of shadwos
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [mod] Underworlds [underworlds]

by TheReaperKing » Post

That hell mod by d00med might be neat for the ? area too.
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
Milan*
Member
Posts: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: [mod] Underworlds [underworlds]

by Milan* » Post

Got help from agaran, can continue with my plans, jey!

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Underworlds [underworlds]

by duane » Post

Milan* wrote:
Depths are measured in map chunks
So high_chunk = -12 would be -192 nodes, right?
Because i flied around there alot but didn't find anything with just underworlds activated.
Did i made miscalculations or are they just so rare?
-12 would be 48 + (80 * -12) = -912 on most maps (though chunk size can be changed). If I get some free time, I'll put altitude limits on fun_caves, but it's not as simple as just cutting them off at some point unless you want the caves to look obviously sliced away. Unfortunately, that will leave no caves in the rest of the world or grossly mismatched caves, since fun_caves isn't compatible with other caves.

Getting caverealms to fit in sounds very difficult. I can separate the cave generation from the decoration in fun_caves, so that they'll (theoretically) use any cave system. That should be as easy as commenting out the cave generator. There would still have to be some way to give caverealms priority in its volume, which could be a headache. Maybe just inserting fun_caves in the depends.txt for caverealms would be all it takes.
Believe in people and you don't need to believe anything else.

User avatar
Milan*
Member
Posts: 255
Joined: Thu May 28, 2015 06:45
GitHub: tchncs
IRC: Passant
In-game: Milan Passant
Location: Germany
Contact:

Re: [mod] Underworlds [underworlds]

by Milan* » Post

Thanks for the calculation formula, duane, i think it will help me alot as i though it is just the *16 thing.

The caverealms are not a huge deal - i configured them to don't crash inside the funcaves slice - a mixture is not wanted but yea - somehow one actually did crash inside them - adding the depends entry made it looking a bit better i guess - not 100% sure but i think the effect is different and better.

I am currently wondering why funcaves deco is near the top of the world, stops and went back deep below the world where the funcaves are supposed to spawn. But this is kinda out of topic here, i am sure i will figure this out - if not, i may write u a pm. :)

Thanks again for your work and help!

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [mod] Underworlds [underworlds]

by texmex » Post

I've investigated the mod a bit in order to see if it could work on my server. It is quite impressive! I was wondering if there's a way to not cut off the caves and veins from the regular mapgen, but have them more integrated into each other?
Spoiler
Image

User avatar
duane
Member
Posts: 1715
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r
Location: Oklahoma City
Contact:

Re: [mod] Underworlds [underworlds]

by duane » Post

texmex wrote:I've investigated the mod a bit in order to see if it could work on my server. It is quite impressive! I was wondering if there's a way to not cut off the caves and veins from the regular mapgen, but have them more integrated into each other?
Spoiler
Image
It's not only possible, it's easy... as long as you don't generate water or lava in your stock mapgen caves. The way the mapgen creates them leaves big balls of water/lava floating in the air in any space a lua mapgen creates afterward. I've never been able to come up with an adequate solution to this in either a mod or a change to the C code or any combination of them. That's why I don't use the stock mapgen caves.

I took this screenshot immediately upon entering Caina, so it happens a lot. In case this doesn't bother you, I added a switch to enable integration. This will work with lua caves of course, as long as you put the cave mod's name in the depends.txt for underworlds. Fun caves doesn't work that way at the moment, because I haven't figured out where the cave decorations should end.

Image
Attachments
t.jpg
t.jpg (236.82 KiB) Viewed 1642 times
Believe in people and you don't need to believe anything else.

User avatar
TumeniNodes
Member
Posts: 2943
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes
Location: in the dark recesses of the mind
Contact:

Re: [mod] Underworlds [underworlds]

by TumeniNodes » Post

gratuitous Nyan_Cat noted sir...
Are you part of the rebellion? :P
A Wonderful World

Post Reply

Who is online

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