A published Unreal Engine plugin, available on Fab, that turns your own sample text into names, titles or short prose using Markov chains — for world-building, procedural content, and anywhere naming things by hand doesn’t scale.
The idea
Gather text you like — a list of names from a mythos or a language, a vocabulary of dungeon words, a page of prose. The editor counts every transition it observes: after this state, this token followed, this many times. At runtime the generator walks that table, picking each step in proportion to how often it was seen. You get output in the same style as the source, without the source being copied back.
Three modes, one machine
The table, the weights and the walk are identical in all three. Only the unit changes. Syllabic builds from characters — character names, cities, planets, factions. Word builds from words — dungeon names, ship classes, item titles. Text treats the whole input as one continuous corpus, for flavour text, ambient dialogue and item descriptions.
Depth is the dial
Depth sets how much context each step looks back on, and decides whether output reads as invented or plagiarised. Depth 2 is the usual choice for names — enough structure to inherit the feel of the source, loose enough to invent. Depth 1 gives you strangeness; Depth 3 and above echoes the input back unless the corpus is large.
Built for shipping
Nothing is built while the game runs: tables are precomputed in the editor, and a data set left unbuilt is built automatically on its way into the package. Generation walks an index built once per data set, so calls stay cheap at scale, and large corpora build in a single pass. Seeded generation makes output reproducible for saved worlds and tests, while Generate Unique keeps a populated city from showing the same name twice.
Blueprint surface
Get Markov Generator, Generate, Set Seed, Get Current Seed, Is Data Set Generated, Build Markov Data Set. Markov Data Set is a first-class Blueprint variable type, so designers wire it into gameplay without touching code.
Available on Fab, the Epic Games marketplace.