Forums-->Queries and help-->
Author | Talking Npc's |
I tried searching for topics about it from forum search but I didn't find anything so my question is that where do npc's take the text that they say from? | If you're talking about hunts, they just repeat some text that other players have written, with a bit of logic depending on what you said, or which language you used, I believe. | I believe that too. The NPC's words are not fixed and I watch them giving different answers (comparing the past and the present) for the same text I type. | the reason why sometime a same sentence gives different answers is that the engine works on a key-words logic: it tries to identify some of the words in your sentence and pairs them with a recorded answer given by players in the past to a sentence containing at least some of those words.
The sentence is chosen randomly, provided that the discussion included those words.
So the answer will be one among several.
A practical example:
the sentence
"I like work"
contains the word "like" that can be considered as a keyword.
It can be paired to a sentence answering any other that used that word:
"do you like the new monsters?"
"i love them"
"i like when they loose so easily"
"but it's not funny"
"..Like wise, you must try this.." (<- note the spelling mistake: it will be recorded as such)
"oh, quit bothering me"
so, when the engine looks for an answer to
"i like to work"
It can answer three different things:
"i love them"
"but it's not funny"
"oh, quit bothering me"
Of course, the same goes for "work", and probably also both words can be recorded as a working string (so an answer to a sentence contaning both can be preferred, to try and give more sense to the whole discussion). | http://en.wikipedia.org/wiki/ELIZA
http://en.wikipedia.org/wiki/ELIZA_effect |
This topic is long since last update and considered obsolete for further discussions. Back to topics list
|