[Mod] Yet Another Dungeon Generator [roomgen]

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

[Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Tue Jan 26, 2016 01:13

This mod creates an infinite dungeon world.
License: WTFPL
Mod dependencies: default
Known bugs:
  • Some rooms don't connect properly [fixed; some still don't connect properly]
  • Bright light in some areas [fixed] (now there are darkness in some areas)
  • Some areas are not generated (happens extremely rarely)
  • Memory leaks on some clients (https://github.com/minetest/minetest/issues/3566)
Planned features:
  • Treasure rooms - DONE
  • Workshops
  • Bedrooms (like in dwarf fortress)
  • Tombs
  • Underground farming plots
  • Monsters
  • Custom blocks
  • Magic
  • Mechanisms
  • Dining rooms
  • Traps
  • ... and more stuff from dwarf fortress

Updates:
* Now it is compatible with other mapgens; dungeons are now only generated below y = -1000
* Treasure rooms are added

Screenshots:
None yet :(

Git: https://github.com/slemonide/roomgen
Download: https://github.com/slemonide/roomgen/archive/master.zip
Last edited by slemon on Tue May 09, 2017 02:54, edited 9 times in total.
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Tue Jan 26, 2016 05:19

I have started a creative server with this generator at slemonide.ddns.net. Feel free to try it!
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56
 

User avatar
cd2
Member
 
Posts: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2
 

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

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by paramat » Wed Jan 27, 2016 23:59

Watch out for the memory leak, it can be 2GB per minute, if you try the mod keep your system monitor open to check memory use.
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Thu Jan 28, 2016 04:27

paramat wrote:Watch out for the memory leak, it can be 2GB per minute, if you try the mod keep your system monitor open to check memory use.

Thank you for reminding. I added a warning to the main post.
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Thu Jan 28, 2016 05:57

A screenshot of one weird bug. During the night time it is dark.. in the tunnels. Darkness seem to ignore the torches.
Image
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Thu Jan 28, 2016 06:01

Update. Now there are less dead ends. All tunnels are now connected.
Image
 

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

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by paramat » Thu Jan 28, 2016 06:05

Wow lovely.
Because you are using singlenode you can now set the 'nolight' flag and remove 'vm:set lighting(day = 0, night = 0)'. This will speed up mapgen because you eliminate the first unnecessary lighting calculation and the resetting of light.
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Thu Jan 28, 2016 06:21

paramat wrote:Wow lovely.
Because you are using singlenode you can now set the 'nolight' flag and remove 'vm:set lighting(day = 0, night = 0)'. This will speed up mapgen because you eliminate the first unnecessary lighting calculation and the resetting of light.

That doesn't really work. And that also that brings spots with abnormal illumination back.
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56
 

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

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by twoelk » Thu Jan 28, 2016 12:16

that looks really interesting

I wonder wether you could use the algorithm to build other structures convincingly
The grid structure looks as if it might be usefull to build town like structures.
It would be cool if these blobs of "dungeon-biomes" would be connected by long winding paths, with the odd dead end of course. Maybe a network overlay.
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Thu Jan 28, 2016 13:42

twoelk wrote:that looks really interesting

Thank you.
twoelk wrote:I wonder wether you could use the algorithm to build other structures convincingly

Should be possible. All that has to be modified are schematics for cells and a function that connects these schematics to each other
 

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

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by benrob0329 » Thu Jan 28, 2016 20:23

This would be cool as a mtiplayer map, an underground community!
 

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

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by azekill_DIABLO » Fri Jan 29, 2016 17:41

slemon wrote:Update. Now there are more stone.
Image

/|\
|
|
wat is the poor little tunnel lost in the stone
 

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

User avatar
Krock
Developer
 
Posts: 4151
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by Krock » Sat Jan 30, 2016 08:01

Looks great!
Did you plan to add a feature for embedding it into another mapgen yet? I would like to see those dungeons as a mod to extend another mapgen, v6, as example.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Sat Jan 30, 2016 09:21

Krock wrote:Looks great!
Did you plan to add a feature for embedding it into another mapgen yet? I would like to see those dungeons as a mod to extend another mapgen, v6, as example.

I do plan to add such feature, but not yet. It is still too buggy.

EDIT: But you are free to send commits of course.
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56
 

roboto
Member
 
Posts: 62
Joined: Wed Jul 19, 2017 15:21
GitHub: NewbProgrammer101
In-game: akoek
 

slemon
Member
 
Posts: 100
Joined: Sun Apr 27, 2014 03:56

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by slemon » Mon Oct 30, 2017 00:16

How do you propose I integrate it with the catacomb mod?
 

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

Re: [Mod] Yet Another Dungeon Generator [roomgen]

by paramat » Tue Oct 31, 2017 22:26

It's not really combinable with catacomb mod, very different generation methods.
 


Return to Mod Releases



Who is online

Users browsing this forum: Google [Bot], TenPlus1 and 8 guests