1
Programming using the Ultra Hal Brain Editor / Understanding Hal 6 Brain
« on: March 08, 2006, 02:52:33 pm »
Again, thanks for your information. I've four "Brains" in the Ultra Hal Assistant 6 directory and they all show up in the Brain option. Here are some questions: 1. Do they work together?, if not, 2. How does Hal know which *.uhp(s) to use?
Since all brain *.uhps use the halbrain.db, how can one create a uniqe conversational database, i.e. in my case, the ability to discuss Tasar sailboats and Tasar racing?
Thanks - Gary
Since all brain *.uhps use the halbrain.db, how can one create a uniqe conversational database, i.e. in my case, the ability to discuss Tasar sailboats and Tasar racing?
Thanks - Gary
quote:
Originally posted by onthecuttingedge2005
Hi Gary.
For a First Start look into the HAL6.uhp
This is the default Brain file.
The Database for HAL6 is called halbrain.db
This is where all the Tables are located for HAL's default Brain.
The HalScript.dbg is a Cache File that joins all the Plug-ins and combines the Plug-ins with the default Brain to function together at their key locations.
There are a lot of custom Functions through HAL's .dll that are called from VBScript or SQL.
It is best to make plug-ins for HAL's Brain rather than insert code directly into it.
If you have any questions about what a specific Function in HAL does just post it and either I or someone will respond.
There's a lot of helpful people in this forum that can give you pointers and stuff.
If you want to copy and Paste some line of code in the forum to ask abouts it Function then please do so.
If you need some Custom Functions let me know and I'll see what I can do for you.
You can load the HAL6.uhp through the Brain Editor and the Tables can be loaded by opening up the halbrain.db within the Editor when HAL6.uhp is loaded.
Plug-ins will also have an extension of .uhp just like the default Brain.
I use a third party VBscript Editor to make Plug-ins while having the Brain Editor open as a reference, It makes things a little quicker.
Jerry[8D]