I like the idea, so if I understood correctly... each "section" is connected to neighboring sections by the middle of each edge like this?


Lets see if I got it right:
-1 random room in a section (only one room per section)
-2 hallway to connect the room to the closest section (in the middle of an edge, like marcked in the picture)
-3 random hallways branching from the first hallway

Did I understand you correctly? Seems very simple and at the same time functional.
Great idea! No need to over-complicate myself (I was thinking of a rather complex system with linked lists that memorized door positions and hallways etc, then some sort of pathfinding algorithm to connect those positions, after that a modified version of my "perfect maze" algorithm to add random hallways, and at the end some sort of floodfill algorithm to place keys, locked doors and cut off halways that connect to zones they shouldnt). Why complicate myself so much when a simple appraoch gives good results also! I think I'm going to program a simple version of your idea tomorrow and check how it works out!

Only one question though... If you only have one room per "section" why do you have 256*256 sized sections? Do you use huge rooms? Tons of hallways per section? Or is it due to your scale or something?


"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1