Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Searching for Script -> Random Floor Plan

Hello People, I was wondering if something like this already exists or if maybe someone could write it for me. I want a tool to create a random floor plan on with the draw tool in roll20. It should draw like 1 to 5 rooms, varying sizes and form and maybe colour windows and doors with a different colours. Hopefully someone can help me with this. Kind Regards Patrick P.
1668091327
timmaugh
Forum Champion
API Scripter
Are you talking about drawing DL lines to create rooms with doors and windows? That could be a bit of a lift. One option (in a different direction) would be to use something maybe like Spawn to drop graphics on the page where you've pre-loaded options into a rollable table. The graphics would look like room tiles, with doors connecting in the appropriate place (all the cardinal directions in the middle of each edge would be the easiest). You could get random tiles by rolling against the table, then drop them in pre-configured places to get a 2x3 shape, or a 1x4... even odd shapes like a "triangle" of three rows of tiles: 1x3, 1x2, and 1x1 If you really got a handle on it, you could potentially have different points of connection, and have the images in different tables that designate where they connect (flatten a circular clockface into a square, and give yourself 12 points of contact... a 2 o'clock door would need a 10 o'clock door to the right of it). Something like that could be handled with a bit of manual effort (placing tiles at the appropriate places to build your map), but it would also be easier for someone to build something like that as a standalone script (providing an system of organization for the ways map tiles should be organized, how they would connect, letting you upload your own map tiles and tag them for use in the script, then designating your map shape). That sounds like fun, but I'm up to my elbows in edits and updates to some of my existing scripts.
1668093377
David M.
Pro
API Scripter
Yeah, I agree with Tim that creating an AI drawing script would be a ton of work, with little payoff given the number of 3rd party map generation applications out there (e.g. Donjon, Dungeon Alchemist, etc.). You would probably get a much better result just using one of those and importing your map to Roll20.
Hey,  Thanks for the replies.  Yeah i thought it would be no small task. I'll look into your idea Tim, Thanks!
Patrick P. said: Hey,  Thanks for the replies.  Yeah i thought it would be no small task. I'll look into your idea Tim, Thanks! You can use Donjon for this. Google it.