Dungeonify - Large templated structure generator with quotas and restrictions

Heads up about a very minor bug:
image
minpieces cannot be equal to maxpieces, even though the error states otherwise

1 Like

Odd. minpieces should be able to equate to maxpieces if you want a static amount of pieces in a map. When you set maxpieces to minpieces, is there an error / warning or anything among those lines?

The error is minpieces must be less than or equal to maxpieces. The fix is really simple though. It should just be maxpieces >= minpieces, instead of maxpieces > minpieces in the code I showed in my reply.

Oops, my bad. Fixed! :Q

2 Likes

Please write a list of what some parameters can do during the execution (ex: addends), for some people who can’t figure out how to tinker with the module, thank you. (I’m having trouble using it again yes.) Nevermind, found it lmao. It’s right below the second section of the post.

2 Likes

This post is about 2 years old but the code still works and is very relevant. Mad props for taking your time to build this and to share your hard work with the community.

2 Likes

Any idea on why this is happening?
https://gyazo.com/4e800a729012c092890dbeb63df7a3dc

There are no errors in the output

You might have some overlapping parts. Figure out the correct size of the hallways and it might work. Happened to me a while back.

Just stumbled upon this, and am attempting to run it from the server, I did what you originally said to do(in response to someone’s question), and I tried that, so could you elaborate on running it from the server or add an example of running it from the server to the place file?

1 Like

ok so what you need to do if you want it serverside, is go into every module, use find and replace, replacing “RenderStepped” with “Heartbeat”, and swap the script executing the module to a normal script, removing the bit at the start about game:IsLoaded(), and it should work serverside now

nope, it makes no sense to me lol.
(im stupid as hell)

It’s not working and I’ve been trying to figure this out for like 3 days now :smiling_face_with_tear:

For all those who haven’t managed to get it working serverside, here you go
DungeonForPPLs.rbxl (55.8 KB)

3 Likes

Hey guys, sorry for the abandonment; letting you know I’ve been hearing your sorrows. I’ll look into fixing these issues in the not-so-near future (due to college lol)

I’ll check out this solution and see if I can get the general fix.
Odd, however. Should be working fine on the server.

1 Like

that sounds quite troubling if you want randomly generated dungeons in said game

1 Like

Been trying to get this working for a custom project but i either get super small dungeons or this error

Next time you make a module please add extra info on what it means, as I have no clue at all



Screenshot 2022-12-11 200251

2 Likes

Is anyone able to create a tutorial on how to use this?

Does this support generating rooms that snaps to different door sizes?
If not, how would I implement this into the code?

Hello,

Is there any specific requirements for the items par from what you listed?


On the top, I have the items I made, then on the bottom there is items from the server sided version @gwenniekins posted. (ty btw)

When I tested my items, it might make a desired dungeon (100 to 200 items as called in the generate function)


But then it delates its self and goes to something like this… (this is big, most of the time its 0 or 1 items)

Yet if I run it with the bottom set of items, it creates a desired dungeon…

This has made my brain hurt for the last hour or so, because I’ve set up the items as described. (Unless I’m dumb and missed something)

Any ideas?

Thanks!

Ah, got it…
Right after I post this too… smh

The orientation of the base part matters, unsure if its said at the top or I missed it.
The BasePart has to be facing into the model, and the Snaps have to be facing away.

I switched these around to the right direction and it fixed everything.

:smiley:

2 Likes