Original Post
I just had this crazy idea...
It''s considered impossible to construct a storyline on-the-fly. I''m not gonna refute that. Creating a successful storyline which will follow each and every decision the player makes, resulting in a huge number of possible endings, is not viable. But what about dialogue?
A dialogue ''chunk'' has certain conditions. Firstly, a fixed number of people must be involved. Two, three, twenty, whatever. And each of those characters has attributes that must be met - health, mood, and so on. A conversation about a broken leg can only take place if the person with the broken leg *has* a broken leg, if you get what I mean.
So, would it be possible - aside, perhaps, from the ''scripted'' storyline - to produce a pool of dialogue ''chunks'' which get used, rather than scripting the same ''leave me alone, I am busy'' response taken from most irrelevent NPCs in game...
Here''s an example. You go into a shop, and a woman is working there. She''s spinning a pot. You go to talk to her, you get:
"Sorry, not now. I''m busy."
You wait a little, and she finished the pot. You talk again.
"Ahh, ok. Done now. What was it you wanted?"
The player comes out with whatever response, and the conversation is eventually ended. The player then proceeds to smash the pot with his/her sword/shield/terrier. Talking to the woman again elicits:
"Tell me, do you know how to die, painfully?"
"Uh.. no..."
"Allow me to SHOW YOU!" [chases player out of area].
Now, each of those dialog extracts are ''generic.'' They could be used in other conditions - if you tried talking to a woodcutter sawing a log in half, for example, "Sorry, not now. I''m busy." could be a valid response. However, interruping a wizard trying to cast the world into the Seven Levels of Hell, "Sorry, not now. I''m busy" would probably not be a good response.
So, what about setting up a ''pool'' of dialogue snippets to be used? It could even be set up so that when a snippet gets used it gets put to the bottom of the pool, to avoid repetition.
What do people think?
Superpig
- saving pigs from untimely fates
- sleeps in a ham-mock at www.thebinaryrefinery.cjb.net