Difference between revisions of "Adding words to the NLP"

From XStoryPlayer Wiki
Jump to: navigation, search
Line 5: Line 5:
 
<ol>
 
<ol>
 
<li>Open the <code>'/ai/nlp/nlp_object.txt'</code> file. Add the following code at the end of the <code>#object_body</code> values:
 
<li>Open the <code>'/ai/nlp/nlp_object.txt'</code> file. Add the following code at the end of the <code>#object_body</code> values:
 
+
<syntaxhighlight lang="cpp">
 
#object_body = <spot>  : spot
 
#object_body = <spot>  : spot
 
#object_body = <spots> : spot
 
#object_body = <spots> : spot
 +
</syntaxhighlight>
  
 
</li>
 
</li>
 
</ol>
 
</ol>

Revision as of 13:04, 20 January 2015

Now the girl only responds to you by saying you should be quiet. We want the girl to open the cell when you give her a compliment.
A good fitting compliment would be "You have nice spots".
In this tutorial we will add some extra talking to the story. We will also add a word to the NLP.

  1. Open the '/ai/nlp/nlp_object.txt' file. Add the following code at the end of the #object_body values:
    #object_body = <spot>  : spot
    #object_body = <spots> : spot