[mod] Underground Realms [0.8] [caverealms]

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] Underground Realms [0.8] [caverealms]

by Diamond knight » Post

this is really good for showing that minetest is not a minecraft knockoff

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

Lava Sucks

by duane » Post

I finally got tired of lava mucking up the caverns, so I stuck this in. It also helps keep the goblins from skydiving in and leaving tools everywhere.

Code: Select all

diff --git a/init.lua b/init.lua
index 8921baa..9944a8d 100644
--- a/init.lua
+++ b/init.lua
@@ -122,6 +122,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
        end
        
        local c_water = minetest.get_content_id("default:water_source")
+       local c_river = minetest.get_content_id("default:river_water_source")
        local c_lava = minetest.get_content_id("default:lava_source")
        local c_ice = minetest.get_content_id("default:ice")
        local c_thinice = minetest.get_content_id("caverealms:thin_ice")
@@ -191,6 +192,10 @@ minetest.register_on_generated(function(minp, maxp, seed)
                        for x = x0, x1 do -- for each node do
                                if (nvals_cave[nixyz] + nvals_wave[nixyz])/2 > tcave then --if node falls within cave threshold
                                        data[vi] = c_air --hollow it out to make the cave
+                               elseif (nvals_cave[nixyz] + nvals_wave[nixyz])/2 > tcave - 0.2 then
+                                       if data[vi] == c_lava or data[vi] == c_water or data[vi] == c_river then
+                                               data[vi] = c_air
+                                       end
                                end
                                --increment indices
                                nixyz = nixyz + 1
Last edited by duane on Sun Nov 15, 2015 04:09, edited 1 time in total.
Believe in people and you don't need to believe anything else.

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

Re: [mod] Underground Realms [0.8] [caverealms]

by Inocudom » Post

It looks like HeroOfTheWinds is gone from Minetest for all eternity too...

User avatar
benrob0329
Member
Posts: 1341
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:

Re: [mod] Underground Realms [0.8] [caverealms]

by benrob0329 » Post

From what I can tell he falls off the face of the Earth every little while, I highly doubt that he has left MT.

User avatar
HeroOfTheWinds
Member
Posts: 470
Joined: Wed Apr 23, 2014 23:16
GitHub: HeroOfTheWinds
IRC: WindHero
Location: Hawaii

Re: [mod] Underground Realms [0.8] [caverealms]

by HeroOfTheWinds » Post

Inocudom wrote:It looks like HeroOfTheWinds is gone from Minetest for all eternity too...
benrob0329 wrote:From what I can tell he falls off the face of the Earth every little while, I highly doubt that he has left MT.
Aye, I haven't left, I've just been buried under Computation Physics, Data Structures, Computer Organization and Assembly Language, and Calculus II. I might as well be the fossils I study in Anthropology 110: Archaeology. :P

So, while I'm fairly dormant, look for me to resume activity around mid-December. :)

Rest assured, I miss having the time for this....................................................................
Nam ex spatio, omnes res venire possunt.
Why let the ground limit you when you can reach for the sky?
Back to college now, yay for sophomore year schedules. :P

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [mod] Underground Realms [0.8] [caverealms]

by twoelk » Post

Archaeology on Hawaii? - Sounds interesting

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: [mod] Underground Realms [0.8] [caverealms]

by Gael de Sailly » Post

The sky should become black when we go deep underground, because when a big cave is not completely loaded, we can see blue sky.
Just realize how bored we would be if the world was perfect.

ssieb
Member
Posts: 14
Joined: Mon Apr 08, 2013 19:51
GitHub: ssieb
IRC: ssieb

Re: [mod] Underground Realms [0.8] [caverealms]

by ssieb » Post

Gael de Sailly wrote:The sky should become black when we go deep underground, because when a big cave is not completely loaded, we can see blue sky.
That would be an issue with the minetest engine, nothing that this mod can do anything about.

blert2112
Member
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [mod] Underground Realms [0.8] [caverealms]

by blert2112 » Post

ssieb wrote:That would be an issue with the minetest engine, nothing that this mod can do anything about.
player:set_sky()

User avatar
MangleFox70
Member
Posts: 62
Joined: Mon Feb 01, 2016 14:50
GitHub: Cat5TV
IRC: MangleFox70
In-game: MangleFox70
Contact:

Re: [mod] Underground Realms [0.8] [caverealms]

by MangleFox70 » Post

Is there anything that needs to be added to mg_flags? Or does enabling Underground Realms require creating a new world? We enabled it on our server and can see the related blocks in creative inventory, but so far, we have searched and searched underground and cannot find any realms.

Please help :)
#ThePixelShadow on YouTube
A Weekly Minetest Webcast hosted by MangleFox70
Have a mod you'd like featured? Want to participate in our show? Join servers.minetest.tv Port 30000 for creative or 30001 for survival.
Upload your own skin via our web site: Minetest.TV

User avatar
Gael de Sailly
Member
Posts: 845
Joined: Sun Jan 26, 2014 17:01
GitHub: gaelysam
IRC: Gael-de-Sailly
In-game: Gael-de-Sailly gaelysam
Location: Voiron, France

Re: [mod] Underground Realms [0.8] [caverealms]

by Gael de Sailly » Post

You can't find caves on already generated chunks. Go to unexplored places and you may find some of them.
Just realize how bored we would be if the world was perfect.

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [mod] Underground Realms [0.8] [caverealms]

by Nathan.S » Post

Caves spawn between y = -700 and -33,000, and can be quite extensive. As Gael de Sailly said they do need to be unexplored places, though I think if you turn no clip on, and fly around underground you'll be able to find them in places where the ground level has already been generated because the chunks don't go as deep as is needed to make these caves.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
MangleFox70
Member
Posts: 62
Joined: Mon Feb 01, 2016 14:50
GitHub: Cat5TV
IRC: MangleFox70
In-game: MangleFox70
Contact:

Re: [mod] Underground Realms [0.8] [caverealms]

by MangleFox70 » Post

Thanks! We'll give that a try!

Update: You folks are brilliant! Sure enough, noclip made it super simple, but we had been digging in areas which were already spawned before adding the mod. So flying noclip well away from our original village and yay! We found not one but two caverealms! BEAUTIFUL! Really nice work.
#ThePixelShadow on YouTube
A Weekly Minetest Webcast hosted by MangleFox70
Have a mod you'd like featured? Want to participate in our show? Join servers.minetest.tv Port 30000 for creative or 30001 for survival.
Upload your own skin via our web site: Minetest.TV

User avatar
MangleFox70
Member
Posts: 62
Joined: Mon Feb 01, 2016 14:50
GitHub: Cat5TV
IRC: MangleFox70
In-game: MangleFox70
Contact:

Re: [mod] Underground Realms [0.8] [caverealms]

by MangleFox70 » Post

Gael de Sailly & Nathan.S -- thanks again for your help. I'm going to mention it on this week's show. Worked a treat!
#ThePixelShadow on YouTube
A Weekly Minetest Webcast hosted by MangleFox70
Have a mod you'd like featured? Want to participate in our show? Join servers.minetest.tv Port 30000 for creative or 30001 for survival.
Upload your own skin via our web site: Minetest.TV

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [mod] Underground Realms [0.8] [caverealms]

by Nathan.S » Post

MangleFox70 wrote:Gael de Sailly & Nathan.S -- thanks again for your help. I'm going to mention it on this week's show. Worked a treat!
You're welcome, I enjoy the show too by the way.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
MangleFox70
Member
Posts: 62
Joined: Mon Feb 01, 2016 14:50
GitHub: Cat5TV
IRC: MangleFox70
In-game: MangleFox70
Contact:

Re: [mod] Underground Realms [0.8] [caverealms]

by MangleFox70 » Post

Nathan.S wrote:I enjoy the show too by the way.
Thanks! We're still learning how to pull it all together, but I think it gets better and better with each episode. :) We're having a blast doing it!
#ThePixelShadow on YouTube
A Weekly Minetest Webcast hosted by MangleFox70
Have a mod you'd like featured? Want to participate in our show? Join servers.minetest.tv Port 30000 for creative or 30001 for survival.
Upload your own skin via our web site: Minetest.TV

User avatar
coeseta
Member
Posts: 27
Joined: Fri Feb 05, 2016 14:15

Re: [mod] Underground Realms [0.8] [caverealms]

by coeseta » Post

Great mod!
I just made some textures with krita for it, that way it looks even better with the textures from our server :)

Image
Image

User avatar
burli
Member
Posts: 1643
Joined: Fri Apr 10, 2015 13:18

Re: [mod] Underground Realms [0.8] [caverealms]

by burli » Post

I tried to spawn in a caverealm. Two times I spawned in a tiny cave less then 10x10x10 nodes, then I spawned in the decoration, I fall to death twice and I spawned in a tiny hole in the wall high above the ground.

I thought about using the spawn function to teleport the player into a caverealm, if that would be possible, but with 6 fails out if 6 I can't use it. I know that it is difficult, but can this be solved?

Edit: maybe this might help

AlucardXEL
New member
Posts: 1
Joined: Sun Jun 05, 2016 02:56

Re: [mod] Underground Realms [0.8] [caverealms]

by AlucardXEL » Post

First of all, amazing app. I have only explored it a bit, but I love it.

Secondly, any idea on when the Center of the Earth cave will be implemented? It would be perfect for one of my builds. If I don't have access to that, I will probably use the special deep level cave.

Thanks.

JoshMars
Member
Posts: 111
Joined: Sat May 17, 2014 23:24
In-game: rubber UbuntuJosh

Re: [mod] Underground Realms [0.8] [caverealms]

by JoshMars » Post

I think 0.4.15 broke this. Updates to the default fire mod removed functions that this mod calls.

echosa
Member
Posts: 107
Joined: Tue Aug 30, 2016 04:01

Re: [mod] Underground Realms [0.8] [caverealms]

by echosa » Post

I'm using this in my 0.4.15 game/modpack without issue (as far as I can tell). I've been to several caverealms and no errors in the log.

User avatar
GreenXenith
Member
Posts: 1356
Joined: Wed Oct 28, 2015 01:26
GitHub: GreenXenith
Location: UTC-8:00
Contact:

Re: [mod] Underground Realms [0.8] [caverealms]

by GreenXenith » Post

Works for me as well :P
YouTube | Mods | Patreon | Minetest Discord @greenxenith

You should not be able to read this message.

JoshMars
Member
Posts: 111
Joined: Sat May 17, 2014 23:24
In-game: rubber UbuntuJosh

Re: [mod] Underground Realms [0.8] [caverealms]

by JoshMars » Post

Try mining fire the cave fire.

JoshMars
Member
Posts: 111
Joined: Sat May 17, 2014 23:24
In-game: rubber UbuntuJosh

Re: [mod] Underground Realms [0.8] [caverealms]

by JoshMars » Post

My server kept crashing when a player would mine the cave fire. Gotta delete the code in nodes.lua that call functions from fire mod

Heraclitus
Member
Posts: 25
Joined: Tue Oct 11, 2016 17:14

Re: [mod] Underground Realms [0.8] [caverealms]

by Heraclitus » Post

Yes, I've experienced the same problem as JoshMars. If you accidentally (or deliberately) mine the fire in caverealms (or the skylands mod, for that matter), it will crash the server.

Post Reply

Who is online

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