Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO]Random Dungeon Generator


Scott
 Share

Recommended Posts

This script generates random dungeons on the EO Engine

To use it

(Login to view files)

* Use this client: http://www.robin.freemmorpgmaker.com/eo_2_0_0.zip
* Make sure you download, place and leave the tile sheet as #2
* Make an account and login before you generate the dungeon
* To generate a dungeon go to the dungeon tab on the server window and click the button
* You must exit the server and reopen it to  generate a new dungeon
* If you get small dungeons exit and try again it is random so they can end very short

![](http://desmond.imageshack.us/Himg231/scaled.php?server=231&filename=clientpicy.png&res=medium)
![](http://desmond.imageshack.us/Himg41/scaled.php?server=41&filename=enginepic.png&res=medium)

Credit to [http://www.touchofdeathforums.com/smf/index.php?action=profile;u=13385](http://www.touchofdeathforums.com/smf/index.php?action=profile;u=13385) Encyclopedia Dramatica, For functions I took out of her code.
Link to comment
Share on other sites

@Airdude2:

> I think domino means that if  you made a map the dungeon could appear on it and change the map you made, like an existing map of some sort?

What it does now is
1)Make a room with no doors put all the random  tiles around(Like bones and bookcases) and generate the map.
2)Decide where doors go choose a map for them than place the doors including the door to the parent room than update the room to put the doors where they should be.
3)Choose a un-generated door and move on
4)If we hit the distance limit or if there is no doors in the room move back a room and look for a door over and over until it finds a new one.
5)If it ends back up at the first room there must be no other doors so we end.
Link to comment
Share on other sites

@Ryoku:

> this is GREAT… x.x But HOLY HELL, its a FREE-MAP-EATER.
>
> your gonna have to increase max maps by a lot to include this in any real game=P

Ya I made it to just run 1 time to make a dungeon layout with little effort not to be run over and over.  If I finished stopping rooms from overlapping it would not use so many maps but I kinda like it without it.
Link to comment
Share on other sites

This is very nice. In my game we have done something similar but all in one map. And we have instanced it all so it doesn't waste maps. It would be great if you also did the same.

@Captain:

> Jesus this is messy code.

Agreed, It is nice although if you could clean things up it would be cool :3.

Good job.
Link to comment
Share on other sites

@kibbelz:

> This is very nice. In my game we have done something similar but all in one map. And we have instanced it all so it doesn't waste maps. It would be great if you also did the same.
>
> Agreed, It is nice although if you could clean things up it would be cool :3.
>
> Good job.

I agree, working on it.
Link to comment
Share on other sites

@Ryoku:

> stupid question… why are you using a tile set that mixes LTTP and RMXP?

I just used the default ones that came with the engine and put tiles I wanted on it.  It's not meant for some one to use in a game, just as an example.
Link to comment
Share on other sites

@noghost31:

> This is Great I was just talking about needing something Like I'll give it a try and expand on this for sure.
>
> Be nice if I could add Random NPC and Items to self populate.

For npc unquote
```
'SpawnNpcDung (mapid)
```
in the modMapGen file.

For items your on your own.
Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...