Procedural generated personalities/backstory?

I’m currently making a game where you rebuild your family name so you hire mercenaries to join your army but there’s perma death for your soldiers. I was wondering if there’s a way I can procedural generated backstory for my characters? So they just won’t just be looks as tools but as characters.
To be simple, just create a common event with a bunch of conditional branches which will show certain text describing a character's background based on switches/variables. E.g., one variable can trigger a statement about which country/city a character is from. Another variable can dictate something unique that has happened to them, and then another one can mention somethign about their personality.
I have looked into this, because I want to do something similar.

Have a look at Rimworld, it does something like this with random backstories and traits.

I think that you’ll need to be able to code a little bit to make this easier on yourself.
You can store your list of pieces to randomly combine and you can have specific conditions for how they should combine. You may also need to alter the UI to reflect this information.

As far as making believable characters, you will need to understand a bit about writing if you don’t already, but it depends how they fit into the story.

One thing I like to do is choose a primary emotion that they usually experience and a flaw from a list of flaws online, then make up a backstory to cause said flaw. And if they’re just a shallow character you could stop there.
short answer, yes, you can.
long answer, it depends on your knowledge of scripting.

as @Sigony says, Rimworld does great at randomizing backstory, and they rely on very specific individual fragments that they mix together.

whatever the final implementation, you're gonna have to start by writing a LOT.
and I mean a lot.... if the question arises, of how many times a character goes to pee in a day, you should be able to answer that.
For the background, you just have to paint over the characters and apply


fdaaab718282eb6dc9ffd30c1e02efcf.jpg


d7d745672d243fb92fa80c48c046fd94.jpg

110ed17d3c2a3f50ac6d28ff81b3f752.jpg



Any kind of procedural generation is based on rules and steps. After all that's what a procedure is based.

You will need to make yourself that set of rules and steps, very often based on your way of writing characters. An example would be:
  • Every character has an origin, a meaninful event and something they want to achieve.
  • Do each of these elements come straight from a pool of predefined origins/events/desires or are they each generated too?
  • The extent of details for each of them.
Some of these parts in the example are defined by limitations. Where they appear, how meaningful they are in the game/story/lore (their grade of impact in the immersion aspect), and how many resources (time, etc) you want to spend refining this system.

Original thread: https://forums.rpgmakerweb.com/threads/procedural-generated-personalities-backstory.127219/