Visit Our Project Home Page

Posts Tagged ‘conversations’

Conversation Edit GUI

Monday, April 14th, 2008

The conversation editing interface has been mostly completed. Before I began today there were three main things that needed to be done:

1) The ability to edit a conversation’s initial evaluations (the evaluations that decide the very first statement.)

2) The ability to “jump” to any statement in order to edit it.

3) The ability to handle what insertion queries will be run when a statement is reached.
The first of these was easy. Since the initial evaluations are implemented as a Response (even though there’s nothing being responded too), I was able to use the currently existing EditResponse GUI.

The second was even easier. I just added a “Goto” button that takes a user to the statement whose label has been typed in a nearby text box. Of course, this requires a user to already know the label of the statement she wishes to go to. Carl’s tree-like navigation system would be much superior (from an HCI perspective.) But this should work for the time being.

The third is not yet complete. I have created the necessary GUI component for managing queries. And it opens properly when you click the button “Manage Queries” from a Statement editing screen. But not much of its logic is in place (except that it populates a list box with the queries attached to a Statement.)

Also, I’ve been thinking that NPCs will need to do more than simply insert things into tables. We’ll also want to be able to remove things. This requires altering the scripting language, the parser, and the code that makes the actual database calls. But all-in-all, I don’t think it will be too hard.