GuildMestar Developer Insights - April 30, 2022


Hello GuildMestars,

For this dev log I thought it would be interesting to take a look at how the current dungeon generation system works and what will be changing with the next update.

Currently every time a week is started the game checks each dungeon's status. If it has been completed the previous week or doesn't have a dungeon present it will attempt to generate a new dungeon. These dungeons use a series of tags to determine which pieces are appropriate for each location, with each location (dungeon base) and each event comparing their tags. Tags comparisons between event and dungeon bases are done exclusively meaning all tags of the dungeon base must be included in the event. Once an event have been selected the same processes is repeated for the sub events that make up the additional descriptors and actions of the room.

This system has worked well up until now, however, when additional dungeon bases are added an underlying issue is revealed. Dungeon bases have extremely generic tags like "inside" or "outside" to specify their type of location. Generic tags work well at allowing a wide variety of events to be used in several areas where as more specific tags like "fort" would only work for locations that would match that description. When looking to add events that would only occur in somewhere tagged "fort" an issue was blindingly obvious, if a dungeon base is tagged both "inside" and "fort" then all events would need to share these tags. The inverse is also true, a dungeon base with those tags would not allow events tagged solely "inside" or "fort" but would require both, removing the ability for generic tagging.

To combat this we've switched the dungeon base event filtering to be done on an inclusive comparison, meaning that only the tags from the event need to be present in the dungeon base. This once again allows generically tagged events to work with dungeon bases but also allows us the ability to make more specifically tagged events that can only appear under very specific circumstances. With this change in place we have ultimately expanded the types of events available while not compromising our style of creating and sharing generic events. Expect more tailored dungeons without the loss of randomness but with less genericness in your future.

Signed,

StrangerTod - OffPath

Get GuildMestar

Buy Now$9.99 USD or more

Leave a comment

Log in with itch.io to leave a comment.