I've always wanted to create a game where even I would be surprised by the story in some points. The key to this would be good AI.
Let's say I create two characters. One would be the antagonist of the story in some way.
For instance, Guy 1 is some farmer, Guy 2 is a wizard.
Guy 1 also has a "Social" personality variable. By a randomized chance, Guy 1 asks Guy 2 where to learn advanced magic. Guy 2 tells Guy 1 that he must first learn the basics by chance, he "hands" Guy 1 a spellbook. The player comes along. Guy 1 tells the player that he needs someone to practice with. If the player says no, there is a half chance for 2 events.
One event would be for Guy 1 to practice on the Wizard by force, only for the spell to backfire.
A quest starts to retrieve some healing herbs. The player can ignore this, which will cause the farmer to die, or he can go get some herbs, only to find either the farmer's dead body on the ground because the wizard killed him(starting a potential new storyline)
or the farmer waiting for his herb.
The other event would be the farmer saying, "Fine".
There could be so many radiant storylines created by the rand() proc, and a few personality variables.
I'm likely going to receive a lot of hate for suggesting something this complex or something that sounds this noobish, but I'm prepared anyway.
Jul 11 2012, 9:06 am