[Mod] Unlimited dungeon generator [0.3.7] [catacomb]

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

[Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by paramat » Sun Aug 10, 2014 02:33

Image


catacomb 0.3.7
For Minetest 0.4.8 or later
Depends: default stairs
License: code WTFPL
Download https://github.com/paramat/catacomb/archive/master.zip and rename to catacomb
Code https://github.com/paramat/catacomb

Beware this is not an 'on generated' mapgen, this creeping dungeon can spread through older world areas. If using in a pre-existing world edit the generation limits to protect your creations.

To try out this mod without searching for a dungeon, edit the parameters to:
TCATA = -2
TCATSPA = 2
Start a new world, select creative mode, enable freemove, fly underground, place any one of the 4 spawner nodes and wait a minute.

A dungeon system spawns with spaced initial chambers in underground chunks below y = -32, you may have to travel several kn to find one.
You can control the size of the spawning and generation volumes by editing parameters TCATSPA and TCATA, reduce these for larger volumes.
Dungeons are shaped and spaced by 3D noise, over time they grow out to their generation limit then chamber spawner placement is disabled.
Passageways have walkable stairs and are high enough for rapid descent. Below a certain y stairs and passage floors remain if they pass through previously generated chambers.
Minimum and maximum passage length and width, chamber width and height can be set by parameter.
At any time parameter GEN can be set to false, stopping dungeon spawn and spread.
For an ever-shifting interpenetrating dungeon nightmare set parameter OBCHECK to false.
Default cobble dungeons remain and are merged, desert temples lose their desert stone walls.


Image


Image


Image


Image


^ With parameter OBCHECK = false
Last edited by paramat on Mon Feb 16, 2015 01:14, edited 15 times in total.
 

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

Re: [Mod] Unlimited dungeon generator [0.2.4] [catacomb]

by HeroOfTheWinds » Sun Aug 10, 2014 04:34

This is very neat, looks like you put a lot of time and effort into it as well! Not to mention that you thought everything out quite carefully and made it so that it can be kept in check. If I were to give any critique at all, it would be that it has a saddening lack of mossy cobble... which is hardly anything at all, really.
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
 

User avatar
aldobr
Member
 
Posts: 316
Joined: Sun Nov 25, 2012 05:46

Re: [Mod] Unlimited dungeon generator [0.2.4] [catacomb]

by aldobr » Wed Aug 13, 2014 02:12

Nice mod ! The first server to adopt it will have me.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Unlimited dungeon generator [0.3.5] [catacomb]

by paramat » Wed Aug 13, 2014 04:59

Version 0.3.5
Big rewrite of spawn abms, combined passage and chamber generation int one abm. Now if the chamber is obstructed the passageway is not generated, so no more dead-end passageways.
Passageways now vay in width from 1 node to full chamber width.
Initial chambers at catacomb spawn are mapchunk size for the moment, probably smaller in future.
Last edited by paramat on Mon Aug 18, 2014 04:43, 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

Re: [Mod] Unlimited dungeon generator [0.3.5] [catacomb]

by Enke » Wed Aug 13, 2014 17:44

Reminds me of the Dungeons of Doom. I want it. :-)
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
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by azekill_DIABLO » Mon Mar 21, 2016 12:28

super ultra extra cooool!

adding it to my subgame!
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] Unlimited dungeon generator [0.3.7] [catacomb]

by burli » Mon Mar 21, 2016 13:30

Will try this today
 

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

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by azekill_DIABLO » Mon Mar 21, 2016 18:08

it won't work!

i don't have any mapgen mod exept the VILLAGE-modpack
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
Napiophelios
Member
 
Posts: 752
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Napiophelios » Mon Mar 21, 2016 22:01

Works fine for me on mg7.

You might not notice it at first if you are out looking for them spawning on their own
but if you place a chamber node you find out pretty quick.

Man catacomb mod and Subterrain mod are 2 of my favorite mods to experiment with
 

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

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by azekill_DIABLO » Tue Mar 22, 2016 16:42

Napiophelios wrote:You might not notice it at first if you are out looking for them spawning on their own
but if you place a chamber node
you find out pretty quick.


What do you mean??
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
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by azekill_DIABLO » Tue Mar 22, 2016 16:48

Beware this is not an 'on generated' mapgen, this creeping dungeon can spread through older world areas. If using in a pre-existing world edit the generation limits to protect your creations.

i didn't noticed that....

Sorry :)
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 !!!
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by paramat » Tue Mar 22, 2016 19:03

You may need to fly underground (below y = -33) for a while to find these. Also they only appear in newly-generated terrain.
 

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

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by azekill_DIABLO » Wed Mar 23, 2016 12:36

i found a way to spawn them!

i just modify the default(ore) to make spawn the spawners as an ore!
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
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by azekill_DIABLO » Mon Mar 28, 2016 12:31

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
-- dungeons_node_mod

   minetest.register_ore({
      ore_type       = "scatter",
      ore            = "catacomb:chambers",
      wherein        = "default:stone",
      clust_scarcity = 18 * 18 * 18,
      clust_num_ores = 1,
      clust_size     = 1,
      y_min          = -255,
      y_max          = -56,
   })

   minetest.register_ore({
      ore_type       = "scatter",
      ore            = "catacomb:chambern",
      wherein        = "default:stone",
      clust_scarcity = 14 * 14 * 14,
      clust_num_ores = 1,
      clust_size     = 1,
      y_min          = -31000,
      y_max          = -56,
   })


put that in default>>mapgen between copper and mese!

it works super fine for me!
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
Sirmentio
Member
 
Posts: 18
Joined: Thu Apr 21, 2016 17:22
In-game: Sirmentio

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Sirmentio » Fri May 27, 2016 17:23

This mod is fantastic, me and my friends have had alot of fun exploring these, but I would want an incentive for actually going in, is there going to be any sort of way to implement loot? (chests with treasures and stuff)?

Edit: Pardon me for necrobumping this thread if possible.
 

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

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by azekill_DIABLO » Sat May 28, 2016 08:50

Yay finelly some1 post!!!!!!i'm so happy!

every time i post something in a topic no one answers!!!i thought i was a topic_killer


to answer: look at block-men mod: Dungeon_loot and modify it....
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
xeranas
Member
 
Posts: 99
Joined: Fri Feb 05, 2016 11:06
GitHub: xeranas

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by xeranas » Sun May 29, 2016 18:26

Secret treasure room would be cool. I think could be done with "default" stuff (diamond, gold, etc blocks).
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by paramat » Mon May 30, 2016 10:01

I've neglected my mods for a while, a want to create surface entrances for these dungeons to make them more findable. I'm more interested in the basic generation so others may want to fork this to add treasure or other features.
 

Sokomine
Member
 
Posts: 2980
Joined: Sun Sep 09, 2012 17:31

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Sokomine » Fri Jul 15, 2016 02:25

Once you find a good way to place a surface entrance, please tell me. I've an older mindes mod lying around that could use some help in that direction. It comes with vertical shafts but doesn't have any useful code yet as to where to place the mines. Maybe I ought to open a thread and see if anyone likes to take over.
A list of my mods can be found here.
 

Codesound
Member
 
Posts: 49
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Codesound » Sun Jul 31, 2016 10:57

Hi,

Many thanks for this mod. Is Beautiful! But I have problems in use it...
who can help me to play it?

eg:
- When I place one spawn point is right that generates only one stair and one room? (I thought would generate a huge number of rooms connected by stairs)
- Frequently when I insert one spawn point, anything is generated and the terminal tells me that: "Chamber obstructed" ... why?


- REQUEST: you can specify what material to use to generate the rooms/stairs?

many thanks for all again...
Codesound
Attachments
chamber obstructed.png
chamber obstructed.png (622.38 KiB) Viewed 2420 times
 

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

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by azekill_DIABLO » Sun Jul 31, 2016 15:33

OBCHECK = false

like that there is no chamber checking: you can create dungoens in others one :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 !!!
 

Codesound
Member
 
Posts: 49
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Codesound » Sun Jul 31, 2016 18:31

Hi,

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
Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

Post by azekill_DIABLO » Sun Jul 31, 2016 15:33
OBCHECK = false

like that there is no chamber checking: you can create dungoens in others one :D



Many and Many thanks! Now work !

Codesound
Attachments
Ok.png
Ok.png (768.51 KiB) Viewed 2420 times
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by paramat » Sun Jul 31, 2016 20:27

> When I place one spawn point is right that generates only one stair and one room? (I thought would generate a huge number of rooms connected by stairs)

Any spawner node will only generate a room and maybe a stair or two, further rooms and corridors will generate as you explore, you need to walk near the walls and sometimes wait a few seconds for the next spawner node to be triggered by the player's presence.
Each room contains 'spawner nodes' in the walls that are triggered by ABM, the player needs to be within 32 nodes to trigger one.

> Frequently when I insert one spawn point, anything is generated and the terminal tells me that: "Chamber obstructed" ... why?

This feature (which can be disabled) is to stop rooms intersecting, so that the dungeon grows around itself in a tidy way.
 

User avatar
TumeniNodes
Member
 
Posts: 1335
Joined: Fri Feb 26, 2016 19:49
GitHub: TumeniNodes

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by TumeniNodes » Mon Aug 01, 2016 04:38

paramat wrote:This feature (which can be disabled) is to stop rooms intersecting, so that the dungeon grows around itself in a tidy way.


Tidy dungeons?? 0_O
:P
Flick?... Flick who?
 

User avatar
Andrey01
Member
 
Posts: 431
Joined: Wed Oct 19, 2016 15:18
In-game: Andrey01

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Andrey01 » Thu Nov 03, 2016 17:08

Nice!Very long corridors of these dungeons!
 

Robsoie
Member
 
Posts: 48
Joined: Fri Apr 29, 2016 16:22

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Robsoie » Mon Jan 23, 2017 02:18

I tried this, then edited those parts to test so it wouldn't be too deep :
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
local YMIN = -200
local YMAX = 200
local XMIN = -200
local XMAX = 200
local ZMIN = -200
local ZMAX = 200
local YMAXSPA = -13 -- Maximum y for initial catacomb spawn and steps in air
[...]
local OBCHECK = false


Then added as suggested by azekill_DIABLO , in the default -> mapgen.lua, just after the copper entry, then edited the y min and max for those spawners to not spawn too deep 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
-- dungeons_node_mod

   minetest.register_ore({
      ore_type       = "scatter",
      ore            = "catacomb:chambers",
      wherein        = "default:stone",
      clust_scarcity = 18 * 18 * 18,
      clust_num_ores = 1,
      clust_size     = 1,
      y_min          = -200,
      y_max          = -20,
   })

   minetest.register_ore({
      ore_type       = "scatter",
      ore            = "catacomb:chambern",
      wherein        = "default:stone",
      clust_scarcity = 14 * 14 * 14,
      clust_num_ores = 1,
      clust_size     = 1,
      y_min          = -200,
      y_max          = -20,
   })


Then generated a relatively (as it's still very huge) small world using map_generation_limit = 400 in the minetest.conf

After flying over large parts of my world , i noticed in the log window that there was catacomb stuff being constantly added.
And coming back to a part of the world i found visually interesting, i started to see appear out of nowhere huge holes that filled themselves with stones walls, other intersecting, with several opening toward the depths, while they weren't there a couple of minutes ago.
http://i.imgur.com/LVXE0Wn.jpg

I decided to go in and see what was happening underground
It was lots of fun to try to explore, but what a nightmare, the catacombs are building themselves non stop now as if living monsters were there, corridors, platforms, stairs, huge chambers are taking the place of every kind of ground in the depths in every directions.
I am even surprised at this point Minetest didn't explode, it's been only a dozen of minutes that world started to exist. :D
http://i.imgur.com/26CRkqP.jpg
http://i.imgur.com/9C9kPB5.jpg
http://i.imgur.com/MA0Q8UZ.jpg
And that's a small part of what's in the underground, it goes on near infinitively in all directions at that point., it's so incredible that you can only be in awe when playing in front of that gigantic thing

There's an amazing potential for awesome undeground structures this way in minetest, the only bad is that there's no way to stop what's going on (in the log there are non stop catacomb stuff being happening) meaning there is probably a crash coming soon.

Maybe if possible an optional timer (that you can set yourself in the conf), so after a world is generated and started to be explored, once the timer , all the catacomb generating script stop definitively, so someone wanting to go with the very interesting giant maze can still hope to play long enough to explore.

Sure you can disable the and change the min max settings, but the structures are then nowhere near as incredible to explore.
I'll never look at the default mapgen dungeons the same anymore when i witnessed that :D .
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by paramat » Mon Jan 23, 2017 03:49

Heh it is nuts when you set OBCHECK to false, if you set that to true it settles down after a while and is not so insane.
Each part of the dungeon generates by ABM when a player gets near each spawner node, so it generates as you explore it.
 

Robsoie
Member
 
Posts: 48
Joined: Fri Apr 29, 2016 16:22

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Robsoie » Mon Jan 23, 2017 13:46

I wouldn't say nuts with OBCHECK false, i would say amazing :D

So it's a question of player distance to the spawner nodes, good to know as i thought it was just automatic and never stopping.
Is it possible to control that distance between a player and the actual node (as i guess i should lower it to avoid the dungeon getting out of control that fast) ?

Is there a variable about it in the actual mod, or is it all about active_block_range from the minetest.conf ?
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by paramat » Tue Jan 24, 2017 04:39

> active_block_range from the minetest.conf

^ That, but i don't recommend reducing that as that affects all ABMs and active objects (mobs).
You would actually want to raise it so that the dungeon generates earlier and at a further distance from the player. In 0.4.15dev it has been raised to 3 blocks. But i don't recommend changing this just for this mod as it affects so much of the game.

Raise parameter ABMINT to slow down generation.

The dungeon doesn't get out of control (with OBCHECK true) because it is size-limited to a blob of 3D noise, so after a while it will not expand beyond a certain size (roughly 256 nodes).
It is also limited to the MIN MAX limits you set.

With OBCHECK false it may never stop generating, this is more for fun than practical behaviour.
However with OBCHECK false you can later halt generation at any point by setting the GEN parameter to false, or for generation to stop at a certain density, set OBCHECK to true.
 

Robsoie
Member
 
Posts: 48
Joined: Fri Apr 29, 2016 16:22

Re: [Mod] Unlimited dungeon generator [0.3.7] [catacomb]

by Robsoie » Tue Jan 24, 2017 13:47

Thank you, i'll try to play with the values and see what works more nicely for me, as once you tasted the awesome of OBCHECK false with that catacomb it's hard to ever try to enter in a "normal" dungeon without being disapointed.
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 81 guests

cron