The dndGPT Case Study for You and Me!

Hey Everyone,

Thanks for checking out DungeonMasterGPT!

Just been continuing to work out a slew of updates and possibilities which others may find helpful in their own applications:

Character Creation

We’ve started to standardize how to present a character to a User vs storing it in a table for later use.

  • DnDGPT helps to create a Player Character of any level, either automatically or step by step.
  • It does the same for NPCs and UNPCs (Unique Non-Player Characters).
  • It presents this information to the User as a simple two-column table.
  • Then, if asked for a download, DnDGPT “pivots the table” (a prompt it understood perfectly and the most efficient way to achieve the desired result without an example) and exports the columns as rows instead.
  • With a few prompts it’s possible to generate entire parties and groups, stories surrounding them, and fun art in a variety of styles, including “DND Classic Illustrations.”
  • We are going to develop pre-made NPC templates and encounters, such as the population of a small village, castle, or a battle.

Map Making

Map making is a lot of fun, and an unexpected challenge.

The goal is to make a top-down map to either a (10x10), (25x25), (50x25) scale where each unit is a standard Dungeons and Dragons base movement of 5ft x 5ft.

Initial Maps

Initial results get the general idea right out of the box, but we’ve had a lot of trouble getting “the grid” right:

The request was for a 10x10 jungle dungeon. You can see it’s got the right idea. There is clearly a grid… but it lacks the “chess board feel” we’re looking for.

Rewording the prompt, such as more emphasis on the grid overlay, only yielded similar results.

This result isn’t surprising as Dalle and AdobeAI universally seem to struggle with adding very structured aspects to images, such as cohesive language and grids. Not bad, but not quite.

A Separate Overlay

We used Adobe Illustrator to make some of the desired grid. Then started to work with different prompts that tried to get the model to start with the grid, or overlay it as a separate step using python.

Back to the drawing board, right? If you want to overlay something, you should specify the dimensions of the image and that of whatever you’re adding on top.

(We went with 1000 x 1000 px, a common dimension.)

Still, not bad… But not exactly. Plus, there are a few not-so-obvious steps, like working with opacity, which can be distracting.

Not bad! Probably at least good enough to keep the average gameday from degrading into a tavern brawl.

Added to Knowledge Base

After some experimentation, some fine-tuning files were added. The model definitely understands the request, mostly. (Here was a 10x10 request):

It’s lovely! But not exactly scaled 50ft x 50ft; the grid overlay (below) was supposed to be automatic, but it was still a separate step… And the model’s first try is better without it (visually).

Try it yourself:

  1. Ask the model to make a 10x10 map.
  2. Give specifics or tell it to make up the whole map.
  3. If you want a grid, ask it to overlay the map with dndgpt_map_overlay_10x10.png with 50% opacity using python. (lol)
  4. If you get something cool, please post it here!

Next Steps
The whole goal with this is to work with the model using the Grid as a Strategic Map Interface so you can interact and work with the model at high-level strategy.

“My mage is at A1 and moves to G10 via Misty Step,” or “my horde of undead minions marches from A9 to B9.”

Ultimately, we want there to be more of a connection between the details of the map—“there’s a pyramid from (D5, F3) x (F6, G4) and a horde of mummies between you and [probably cursed] pharaoh gold.”—And a way of quickly identifying simple terrain types via coordinates. (If anyone has any thoughts?)

Also, File Limit?
Also, does anyone know about a CustomGPT file size limit?

When we tried to load the 25x25 grid into the knowledge base the GPT became unsaveable… which MIGHT be because there are like 12 medium sized .pdfs. Which means they’ll need to be compressed.

5 Likes