[Mod] Fun Caves [fun_caves]

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

[Mod] Fun Caves [fun_caves]

by duane » Sun Apr 24, 2016 07:11

Fun Caves replaces the default caves with a dense system of mostly flat (and easier to navigate) caverns, with biomes owing much to caverealms. Once you go underground, you should find everything you need to survive without ever returning to the surface.

Note: This mod is not compatible with mapgen V6, and worlds created with the previous version of fun_caves will NOT work with the new one (no matter how many other mods you add in).

Screenshots
+ Spoiler


The source is available on github.

Code: LGPL2, textures: CC-BY-SA and CC0

Mod dependencies: default, dye, flowers, vessels

Download: https://github.com/duane-r/fun_caves/archive/master.zip

Recipes
+ Spoiler


For those who want to add features from the old fun_caves project, take a look at these mods:

Big Trees (killer bees are not included)
Booty (the chests found in dungeons and pyramids)
Elixirs
Fun Tools (chainsaw, flare gun, rope ladders, wall hammer, etc.)
Hard Wood
Huts (primitive villages)
Underworlds
Inspire (rewards similar to the metal/gem crafting requirements)
Wooden Bucket
Ziggurats
Attachments
fun-caves-25.jpg
fun-caves-25.jpg (150.72 KiB) Viewed 1859 times
fun-caves-20.jpg
fun-caves-20.jpg (226.6 KiB) Viewed 1859 times
fun-caves-14.jpg
fun-caves-14.jpg (277.75 KiB) Viewed 1859 times
Last edited by duane on Mon Feb 20, 2017 05:48, edited 49 times in total.
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Problems

by duane » Sun Apr 24, 2016 07:12

Problems:

- Caves frequently undermine riverbeds and desert sand, causing hilarity if you're foolish enough to dig there. I'm not fixing this one -- I think it's fun.
Last edited by duane on Mon Jun 06, 2016 08:06, edited 6 times in total.
 

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

Re: [Mod] Fun Caves (V6 caves) [fun_caves]

by burli » Sun Apr 24, 2016 07:45

This is cool, thx. But I got an error message.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2016-04-24 09:36:39: WARNING[Emerge-0]: Undeclared global variable "mg" accessed at /home/markus/minetest/bin/../mods/fun_caves/mapgen.lua:293
2016-04-24 09:36:39: ERROR[Main]: ServerError: Lua: Runtime error from mod 'default' in callback environment_OnGenerated(): /home/markus/minetest/bin/../mods/fun_caves/mapgen.lua:293: attempt to index global 'mg' (a nil value)
2016-04-24 09:36:39: ERROR[Main]: stack traceback:
2016-04-24 09:36:39: ERROR[Main]:    /home/markus/minetest/bin/../mods/fun_caves/mapgen.lua:293: in function 'makeTunnel'
2016-04-24 09:36:39: ERROR[Main]:    /home/markus/minetest/bin/../mods/fun_caves/mapgen.lua:408: in function 'makeCave'
2016-04-24 09:36:39: ERROR[Main]:    /home/markus/minetest/bin/../mods/fun_caves/mapgen.lua:461: in function 'generateCaves'
2016-04-24 09:36:39: ERROR[Main]:    /home/markus/minetest/bin/../mods/fun_caves/mapgen.lua:488: in function </home/markus/minetest/bin/../mods/fun_caves/mapgen.lua:466>
2016-04-24 09:36:39: ERROR[Main]:    /home/markus/minetest/bin/../builtin/game/register.lua:369: in function </home/markus/minetest/bin/../builtin/game/register.lua:349>


Will try to help
 

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

Re: [Mod] Fun Caves (V6 caves) [fun_caves]

by burli » Sun Apr 24, 2016 20:20

Ok, had to replace this "mg" with a. Now it's working. There are caves with sandstone or desert sandstone, but there are light issues. These caves are bright as day

What does
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
fun_caves.world
mean?
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Fun Caves (V6 caves) [fun_caves]

by azekill_DIABLO » Mon Apr 25, 2016 07:46

it means fun_cave world i think

(XD i don't know too)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

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

Re: [Mod] Fun Caves (V6 caves) [fun_caves]

by burli » Mon Apr 25, 2016 08:10

Duane creates a v6 branch. The master is something different.

THX for bugfixing
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [Mod] Fun Caves (V6 caves) [fun_caves]

by duane » Mon Apr 25, 2016 22:03

burli wrote:What does
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
fun_caves.world
mean?


It's just a place-holder so I could leave some of the world-oriented code in, in case I needed it. (Doesn't look like I will.)
 

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

Re: [Mod] Fun Caves (V6 caves) [fun_caves]

by burli » Tue Apr 26, 2016 05:38

Thanks for your great work. Now I can tinker around with the settings.
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by duane » Tue Apr 26, 2016 21:59

I've gone in a new direction with this mod. (See the first post.) It's now a fairly complete underworld environment. There's no surface at all, and anything you'd find there has an equivalent underground. Goblins, spiders, and fungi dominate the caves.
 

User avatar
D00Med
Member
 
Posts: 712
Joined: Sat Feb 07, 2015 22:49
GitHub: D00Med

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by D00Med » Tue Apr 26, 2016 23:40

This is really cool!
Look! I have a signature :]
My subgame: https://forum.minetest.net/viewtopic.php?f=15&t=14051#p207242
dmobs2 is coming...
 

User avatar
Don
Member
 
Posts: 1641
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by Don » Wed Apr 27, 2016 02:01

Duane, your craziness is impressive. Thanks for your great work!
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Wed Apr 27, 2016 04:07

Ah, this is fun_caves.world = true. Nice
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Thu Apr 28, 2016 20:09

duane wrote:Hint2: Avoid the goblin traps. They hurt.

That's a really nice idea, but the gobblins are really hard. They spawn from the first second and I died three times in the first 5 minutes. No idea how to survive this. No time to try something.
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by azekill_DIABLO » Fri Apr 29, 2016 15:10

i will maybe do a game with this, in a long time, when Voxellar will be stable (otherly said: in another life :D)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by duane » Sat Apr 30, 2016 01:53

burli wrote:
duane wrote:Hint2: Avoid the goblin traps. They hurt.

That's a really nice idea, but the gobblins are really hard. They spawn from the first second and I died three times in the first 5 minutes. No idea how to survive this. No time to try something.


What I've had to do is immediately run away from the growing areas to some place with salt or hot cobble and then edge back to get some tools. It's a lot easier if you spawn near a cliff and can just pick up their dropped stuff. Ore spawns everywhere, and the nasty goblins (only about half will actually attack you) spawn near it, but you can also get an iron or diamond sword in no time. Once you have that and a stack of mushroom steaks, you're golden.

It's lively, but not terribly difficult once you get used to it.

Edit: It took me about half an hour to come up with all this, starting from scratch. Killed a dozen goblins, several danglers and two big spiders in the process. (One of the danglers gave me a lot of trouble -- it kept jumping up to the ceiling and dropping on me when I didn't expect it.) Not gonna tell you where the bread came from. There's an inexhaustible supply, when you find it.

Image
Attachments
fun-caves-01.jpg
fun-caves-01.jpg (266.01 KiB) Viewed 1859 times
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Tue May 03, 2016 19:57

[deleted]
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by azekill_DIABLO » Wed May 04, 2016 07:35

/|\
most important post ever ;)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by duane » Thu May 12, 2016 04:54

I've completely removed the massive cave and v6 algorithms, and I'm now using a much denser, more interconnected set of noises. It's no longer possible to give you an idea of how they look, because they take up nearly half the volume of the world... so, here's a random screenshot.

Image

Underground fires can be particularly deadly.
Attachments
cave_fire.jpg
cave_fire.jpg (335.64 KiB) Viewed 1859 times
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Thu May 12, 2016 05:40

This is cool. Maybe this screenshot might help, but it's still dificult to get an idea

Image
Attachments
screenshot_20160512_073248.jpg
screenshot_20160512_073248.jpg (227.17 KiB) Viewed 1859 times
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by duane » Mon May 16, 2016 08:45

I've added some silicon-based life and biased the ores to spawn in the less pleasant places. Here's a good spot to find mese.

Image

I also fixed the hot/cold nodes so that they properly cause mobs damage and don't require so many abms.
Attachments
fun-caves-02.jpg
fun-caves-02.jpg (248.47 KiB) Viewed 1859 times
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Mon May 16, 2016 09:46

Well don duane. But ores are pretty rare. Had to search a long time to find more than one iron. But then I found more than enough.

And it is difficult to see because of the uniformity of the glowing stones. My eyes are getting tired after a while
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Mon May 16, 2016 13:09

On the left side of the screenshot is not a single ore, on the right side is Walhall. And the structure of the cave is better visible. I removed temporarely the decoration.

And I have heavy lags. I was in creative mode and puched a tiny spider once. It took over 10 seconds until the spider dies. I normal mode I was nearly killed by such a tiny spider because I couldn't kill her, but she made damage.

Image
Attachments
screenshot_20160516_141701.jpg
screenshot_20160516_141701.jpg (326.23 KiB) Viewed 1859 times
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by azekill_DIABLO » Mon May 16, 2016 17:36

duane wrote:I've added some silicon-based life and biased the ores to spawn in the less pleasant places. Here's a good spot to find mese.

Image

I also fixed the hot/cold nodes so that they properly cause mobs damage and don't require so many abms.


so cool ;)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Mon May 16, 2016 17:57

Oh, right, I didn't found any lava yet. And I flew through the caves.

It's a bit strange with the ores. There are area's where I can't find any ores, but there are areas with every kind of ore, even mese blocks and diamonds
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by duane » Tue May 17, 2016 01:30

burli wrote:On the left side of the screenshot is not a single ore, on the right side is Walhall. And the structure of the cave is better visible. I removed temporarely the decoration.

And I have heavy lags. I was in creative mode and puched a tiny spider once. It took over 10 seconds until the spider dies. I normal mode I was nearly killed by such a tiny spider because I couldn't kill her, but she made damage.


The ore is based on the altitudes in the default game. Wherever there's a sharp increase based on altitude normally, there will be a similar increase horizontally here. I like making the ore harder to find. It was too easy before.

There is a lot of lag. Unfortunately, most of it is being caused by the liquid/lighting updates. To be fair, the game wasn't designed for caves in the sky. I haven't had any problem killing anything yet, as long as I'm walking.

The lava is in the hot biomes (where you see hot cobble and coal).

The uniform glow is a bit dull. Maybe I'll make the individual lights brighter and turn off the rest. That would probably help with the lighting lag.

Edit: Yep. That helps a lot. At least until you get into areas with lava and hot cobble. Then it's lag city again.
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by duane » Tue May 17, 2016 04:37

Beware the deadly ice spider!

Image

...and the ice goblins.

Image
Attachments
fun-caves-04.jpg
fun-caves-04.jpg (98.61 KiB) Viewed 1860 times
fun-caves-03.jpg
fun-caves-03.jpg (141.21 KiB) Viewed 1860 times
Last edited by duane on Tue May 17, 2016 08:12, edited 1 time in total.
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Tue May 17, 2016 06:52

duane wrote:The ore is based on the altitudes in the default game. Wherever there's a sharp increase based on altitude normally, there will be a similar increase horizontally here. I like making the ore harder to find. It was too easy before.

But it's not the same in the defaulf game. Here you have areas with absolutely no ores and then there is a hard cut and you find everything, even Mese and diamonds at +90 and above (see attached screenshot). And it is still easy if you have a little luck. I played an hour and I have a full stack of coal blocks and nearly a full stack of diamonds

duane wrote:There is a lot of lag. Unfortunately, most of it is being caused by the liquid/lighting updates. To be fair, the game wasn't designed for caves in the sky. I haven't had any problem killing anything yet, as long as I'm walking.

Maybe my hardware is not the best, but it was never so hard like yesterday

duane wrote:The lava is in the hot biomes (where you see hot cobble and coal).

Found one. Rare

duane wrote:The uniform glow is a bit dull. Maybe I'll make the individual lights brighter and turn off the rest. That would probably help with the lighting lag.

Edit: Yep. That helps a lot. At least until you get into areas with lava and hot cobble. Then it's lag city again.


Much better performance. And it also looks much better and there is a need for torches again. Maybe you can add a ramdom brightness to the mushrooms?

Do you have more ideas or do you need inspiration?
Attachments
screenshot_20160517_082053.jpg
screenshot_20160517_082053.jpg (190.08 KiB) Viewed 1860 times
 

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

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by burli » Tue May 17, 2016 20:52

Biomes are calculated only in two dimensions, right? I noticed, that there is always the same biome with lichen and the same green moss spot on the same position if I go straight down. Even the shape of the spot is nearly equal. It's like a building with lots of floors with the same carpet. And if you look up you see the same at the ceiling

If you know that there is no need to go down or up to find another biome. Just walk horizontal. Maybe you can use a 3d noise for biomes so that there can other biomes above and below?
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by duane » Wed May 18, 2016 11:00

Image

Image

Image
Attachments
fun-caves-17.jpg
fun-caves-17.jpg (94.07 KiB) Viewed 1860 times
fun-caves-16.jpg
fun-caves-16.jpg (270.37 KiB) Viewed 1860 times
fun-caves-15.jpg
fun-caves-15.jpg (101.27 KiB) Viewed 1860 times
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] New Fun Caves (No Surface) [fun_caves]

by azekill_DIABLO » Wed May 18, 2016 11:58

duane wrote:
Image


a crystal cave?!?cool!
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

Next

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 53 guests

cron