rgrwkmn
10-27-2008, 07:41 AM
I was wondering if there is a system in Novashell for creating, storing and accessing dialogs, specifically rpg-style back and forth chatter and response selections. I've checked out the selection dialog special entity and would like to learn more but I can't find the source code and Seth hasn't gotten to the documentation yet!
...so I went ahead and set up my own system for dialog. I have the dialog for each character saved in a nested table with dialog branches that hold leafs for each piece of dialog. The player must meet requirements for each branch as well as each leaf. It's easy for my getDlg function to determine which leaf is supposed to come up each time the player interacts with a character. I'll probably set up a simple html/javascript interface to edit dialogs and generate the tables because I'm a web developer and could do it quickly that way.
If there is nothing like this in place or planned for Novashell I'm willing to share the code. Once I've tested it out and make sure it does everything I need I'll post it up here for suggestions.
...so I went ahead and set up my own system for dialog. I have the dialog for each character saved in a nested table with dialog branches that hold leafs for each piece of dialog. The player must meet requirements for each branch as well as each leaf. It's easy for my getDlg function to determine which leaf is supposed to come up each time the player interacts with a character. I'll probably set up a simple html/javascript interface to edit dialogs and generate the tables because I'm a web developer and could do it quickly that way.
If there is nothing like this in place or planned for Novashell I'm willing to share the code. Once I've tested it out and make sure it does everything I need I'll post it up here for suggestions.