Hey, we have forums!

Author Topic: Cave/Dungeon Generator  (Read 15840 times)

0 Members and 1 Guest are viewing this topic.

Offline Don Andy

  • Giant Bit
  • ******
  • Posts: 209
    • View Profile
    • Last Ninja Online
Cave/Dungeon Generator
« on: December 13, 2007, 01:52:55 pm »
I found a rather neato Cave and Dungeon Generator, which you can both use for some maptemplates to use in your mods, if you are completely out of level designs ;D

http://www.gozzys.com/article.php?cm_id=11
http://www.gozzys.com/article.php?cm_id=8

Be warned that both generators won't generate you a picture you can use "out of the box". They will both require some touching up to be used in the game, but it can give you some inspiration. The Cave generator can be used for pretty much any underwater region you are going to do, and the dungeon generator can be used for Cathedral or Sunken City esque dungeons.

The best settings for background and floor in the cave generator are Plain Black for the Walls and either Basic Stone and Sandy, as these are probably the easiest to just white out.
For the Dungeon Generator, the best are obviously Plain Black and Plain White, but it still gives you a grid, walls and doors either way, so that too would need touching up.

Offline Zam

  • Extra Bit
  • *****
  • Posts: 163
  • ph33r
    • View Profile
Re: Cave/Dungeon Generator
« Reply #1 on: December 13, 2007, 03:02:52 pm »
Really cool, thanks for the link.

Offline Don Andy

  • Giant Bit
  • ******
  • Posts: 209
    • View Profile
    • Last Ninja Online
Re: Cave/Dungeon Generator
« Reply #2 on: December 13, 2007, 04:41:00 pm »



Just for fun xD
Done in MS Paint. Saved the image as Monochrome BMP, cleaned out everything and then saved as PNG.
The image size probably would still need to be adjusted (power by 2) but otherwise, this would be usable, I guess :p

Offline dhakkel

  • Giant Bit
  • ******
  • Posts: 207
    • View Profile
Re: Cave/Dungeon Generator
« Reply #3 on: December 13, 2007, 05:03:23 pm »
That's pretty cool. Just slap a blur over them in Photoshop and they look like the in-game maps (and believe me, I've seen enough of them to know :x).

Of course I don't know how useful that is as I haven't touched the editor yet, but yeah.

Offline Don Andy

  • Giant Bit
  • ******
  • Posts: 209
    • View Profile
    • Last Ninja Online
Re: Cave/Dungeon Generator
« Reply #4 on: December 13, 2007, 05:05:11 pm »
That's pretty cool. Just slap a blur over them in Photoshop and they look like the in-game maps (and believe me, I've seen enough of them to know :x).

Of course I don't know how useful that is as I haven't touched the editor yet, but yeah.
You put the black/white pic into a maptemplates folder and it then builds the collision for that level from the picture. You basically just have to place the walls then.

Offline Dolphin's Cry

  • Bit Bit
  • ****
  • Posts: 61
    • View Profile
Re: Cave/Dungeon Generator
« Reply #5 on: December 13, 2007, 05:32:06 pm »
Here's the simply procedure I've used in Paint.NET:
  • Resize the image to the same power of 2 in both dimensions.
  • Convert to black and white. I've done this by adjusting brightness and contrast (both +100%).
  • Smooth out the edges by applying a median filter. Unlike a blur filter which creates shades of gray, this keeps everything black and white.
Works quite well. :)
Can you hear the dolphin's cry?

Offline Don Andy

  • Giant Bit
  • ******
  • Posts: 209
    • View Profile
    • Last Ninja Online
Re: Cave/Dungeon Generator
« Reply #6 on: December 13, 2007, 06:01:11 pm »
Here's the simply procedure I've used in Paint.NET:
  • Resize the image to the same power of 2 in both dimensions.
  • Convert to black and white. I've done this by adjusting brightness and contrast (both +100%).
  • Smooth out the edges by applying a median filter. Unlike a blur filter which creates shades of gray, this keeps everything black and white.
Works quite well. :)
Hah, this works so well it's scary, thanks for the tip :D