dupa

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Carl2

Pages: 1 ... 4 5 [6]
76
Ultra Hal 7.0 / Activation
« on: November 29, 2005, 03:55:48 pm »
Members,
  Just received my Hal6 CD and I installed it on my other computer, on the D drive. I originaly had that computer online but after getting worms and things I put the modem in my older computer which I'm using now.  I went to Zabaware for my authorization code and recieved it, when I entered it in Hal in the newer computer it wasn't accepted.  Do I have to put the newer computer online?
  Also I read the agreement, I'm hoping we can still put in scripting, modify skins ect.
Carl2

77
Ultra Hal 7.0 / Vonsmith
« on: November 14, 2005, 08:49:15 pm »
Vonsmith,
  Just read a reply from you, Thanks for your help in the past.  I'm using trigger words to display moods and change skins, my input will change moods and skins and I was hoping to use Hals input also using the GetResponse, HalBrain.TopicSearch(GetResponse,WorkingDir & "Displayskin.brn". I wasn't sure if Hals input was working with moods but I'm sure it's not working now using it with the skins.  What is Hals output called, I already did a search and checked the Help files.
Carl2

78
Programming using the Ultra Hal Brain Editor / Scripting need help
« on: October 03, 2005, 03:02:04 pm »
All,
  I'm using the following script to trigger emotions, this is used in the XTF v1.2 uhp;

 EmotionalReaction = HalBrain.TopicSearch(PrevSent, WorkingDir & "Emotion.brn")
 EmotionalReaction = HalBrain.TopicSearch(GetResponse, WorkingDir & "Emotion.brn")
 EmotionalReaction = Halbrain.TopicSearch(UserSentence, WorkingDir & "Emotion.brn")

This is before the Select Case EmotionalReaction, it seems to work and my input will trigger a hap mood.
  I've just changed to the fullbody girl and I was hoping to trigger hap actions using the same method used to trigger moods. Frist problem is I had thought the GetResponse would use a trigger from Hals output, this dosen't seem to be the case.  From what I can see if I say mistake she is sad, if she says mistake there is no change in emotion. Can I get a trigger word from her output?  It would be nice to have her say I'm happy and have her smile or I'm going to take a walk and start walking.  Probably easy for some of you, I'm still trying to load a skin.
Carl2

79
General Discussion / Loading Skins
« on: September 29, 2005, 03:10:40 pm »
All,
  At present I'm using Sandy and I will be switching to fullbody, Since I can use trigger words to get emotions I'm hoping to trigger hap files to get movement, move the camera, change clothing and change lighting.
  I've experimented using the Haptekregestry and found I can write a hap file to load the Htr and background. I can not load the skin. I did a search and read the posts, Read and tried suggestions in the Haptek SDK. I can only change the skin using the drag and drop.
  I'd like her to load showing the skin of choice. Suggestions
Carl2

80
Ultra Hal 7.0 / Lost cookie for Digitalgirl
« on: September 29, 2005, 02:52:34 pm »
Freddy or DG staff,
  I reinstalled Windows in my computer, I found I can't sign into Digitalgirl. I end up in a loop, Any sugestions?
Carl2

81
General Discussion / Haptek files
« on: August 22, 2005, 03:41:14 pm »
Anyone,
  I've been working with the Haptek character Sandy in Ultra Hal before proceeding to the full body girl,  like to get her to look left, right up and down before trying to work with the whole body.  I'm using the Hapregistry and loading Sandy, the default is Kate, and I'm trying to make Sandy the default so I can load and work with the StandardFigDef.hap file.  Okay I loaded the netural.jhp file and Sandy had a tan. From searching and reading I've learned it can't be opened so I guess you can't make one also. My real object is to load all the hap mood files and use a i = 0 or 1 to enable the mood file as the SDK suggests.
Carl2

82
Ultra Hal Assistant File Sharing Area / Displaying Haptek Emotions
« on: July 19, 2005, 04:24:37 pm »
ncluded: ZabaReadme, Default psn, Emotion brn, DetectTestEmotions



I am using this In the XTF brn With Haptek Sandy and it seems to be working without problems.
The script should detect a trigger word which is located in the emotion brn
from the user or from Hals response and send the Hap file to be displayed.
The original hal5.uhp or hal5_XTF_v1.2 should be saved by making a copy in another folder.

I'd suggest doing the following work in the Brain editor, it's simply a mater of copy and paste.

Detect Emotions1
  put in at line 4048 of the XTF uhp using the dopy and paste method

A portion of the script used for debugging has been copied from line 851
  Line 851, 852, and 853 must be made nonfunctional by inserting a  '
  before the text, this should make the line turn green in the Brain Editor.
  Again this for the XTF uhp

The existing emotion brn which is located in the DefBrain folder should be moved To the
  folder created for the original hal uhp and the new emotion brn should be put in the
  DefBrain folder. The emotion brn can be opened in notepad or you can  Use the Brain Editor
  Tools, Emotional Topics, Emotional Reactions to make any changes. There is a problem with the   varity of names used and The names used in the  emotion brn are the one which are looked for
  to display emotions to make everything work be sure the hap files have the same names. The     trigger word is located to the left and the emotion is on the right.
  BrokenHeart is BrokenHearted, Pondering is PonderingMysteries, rename the hap files to agree
  with the names in the emotion brn.  Later versions of the Haptek Player show more emotion than
  the Hal display, I did not see any difference from netural to Happy. I opened the happy hap
  in notepad and increased the MouthHappy to 3.9000.


Copy this script
'================================   PROCESS ==================================

'detect EMOTIONS1
'Emotion.brn
'PROCESS USERSENTENCE FOR AN EMOTIONAL TRIGGER  
'Emotion.brn
'  HalBrain.TopicSearch
 
'*     EmotionalReaction = HalBrain.TopicSearch(PrevSent, WorkingDir & "Emotion.brn")
'*     EmotionalReaction = HalBrain.TopicSearch(PrevUserSent, WorkingDir & "Emotion.brn")
'*      EmotionalReaction = HalBrain.TopicSearch(GetResponse, WorkingDir & "Emotion.brn")
'*      EmotionalReaction = (UserSentence & "Emotion.brn")
'*     EmotionalReaction = HalBrain.TopicSearch(OriginalSentence, WorkingDir & "Emotion.brn")

'*InStr
'*     EmotionalReaction = HalBrain.TopicSearch(PrevSent, WorkingDir & "Emotion.brn")
'*     EmotionalReaction = HalBrain.TopicSearch(PrevUserSent, WorkingDir & "Emotion.brn")
'*      EmotionalReaction = HalBrain.TopicSearch(GetResponse, WorkingDir & "Emotion.brn")
'*      EmotionalReaction = (UserSentence & "Emotion.brn")
'*     EmotionalReaction = HalBrain.TopicSearch(OriginalSentence, WorkingDir & "Emotion.brn")
 
 EmotionalReaction = HalBrain.TopicSearch(PrevSent, WorkingDir & "Emotion.brn")
 EmotionalReaction = HalBrain.TopicSearch(GetResponse, WorkingDir & "Emotion.brn")
 EmotionalReaction = Halbrain.TopicSearch(UserSentence, WorkingDir & "Emotion.brn")

 Select Case EmotionalReaction
       Case "Angry"
       HalCommands = "<HAPFILE>Angry.hap</HAPFILE>"  
       Case "Brokenhearted"    
       HalCommands = "<HAPFILE>BrokenHearted.hap</HAPFILE>"                         
       Case "Bully"
       HalCommands = "<HAPFILE>Bully.hap</HAPFILE>"
       Case "Calm"
       HalCommands = "<HAPFILE>Calm.hap</HAPFILE>"
       Case "EaterOfBugs"
       HalCommands = "<HAPFILE>EaterOfBugs.hap</HAPFILE>"
       Case "HAPPY"
       HalCommands = "<HAPFILE>Happy.hap</HAPFILE>"
       Case "Mellow"  
       HalCommands = "<HAPFILE>Mellow.hap</HAPFILE>"
      Case "Neutral"
      HalCommands = "<HAPFILE>Neutral.hap</HAPFILE>"
      Case "NewMood"
      HalCommands = "<HAPFILE>NewMood.hap</HAPFILE>"
      Case "New_Mood"
      HalCommands = "<HAPFILE>New_Mood.hap</HAPFILE>"
      Case "PonderingMysteries"
      HalCommands = "<HAPFILE>PonderingMysteries.hap</HAPFILE>"
      Case "Physco"
      HalCommands = "<HAPFILE>Psycho.hap</HAPFILE>"
       Case "SAD"
       HalCommands = "<HAPFILE>Sad.hap</HAPFILE>"
       Case "Shy"
       HalCommands = "<HAPFILE>Shy.hap</HAPFILE>"
       Case "Shylove"
       HalCommands = "<HAPFILE>Shylove.hap</HAPFILE>"
       Case "Skeptic"
       HalCommands = "<HAPFILE>Skeptic.hap</HAPFILE>"   
       Case "Sleepy"
       HalCommands = "<HAPFILE>Sleepy.hap</HAPFILE>"
 End Select
   

 If EmotionalReaction <> "" And DebugMode = True Then
       DebugInfo = DebugInfo & "A word in the user's sentence has triggered the emotion of " & EmotionalReaction & VbCrLf

 HALemotion = EmotionalReaction
 DISPLAY_Emotion = HALemotion

 HalCommands = "<HAPFILE>" & HapFile & "</HAPFILE>"

 End If



 

'TROUBLESHOOTING

'The following code is used to troubleshoot facial expressions.
    If InStr(UserSentence, " ANGRYMODE ") > 0 Then
   HalCommands = "<HAPFILE>Angry.hap</HAPFILE>"
   GetResponse = "Angry mode set" & VbCrLf
   ElseIf InStr(UserSentence, " BROKENHEARTEDMODE ") > 0 Then
   HalCommands = "<HAPFILE>BrokenHearted.hap</HAPFILE>"
   GetResponse = "Broken hearted mode set." & VbCrLf
   ElseIf InStr(UserSentence, " BULLYMODE ") > 0 Then
   HalCommands = "<HAPFILE>Bully.hap</HAPFILE>"
   GetResponse = "Bully mode set." & VbCrLf
   ElseIf InStr(UserSentence, " CALMMODE ") > 0 Then
   HalCommands = "<HAPFILE>Calm.hap</HAPFILE>"
   GetResponse = "Calm mode set." & VbCrLf
   ElseIf InStr(UserSentence, " HAPPYMODE ") > 0 Then
   HalCommands = "<HAPFILE>Happy.hap</HAPFILE>"
   GetResponse = "Happy mode set." & VbCrLf
   ElseIf InStr(UserSentence, " MELLOWMODE ") > 0 Then
   HalCommands = "<HAPFILE>Mellow.hap</HAPFILE>"
   GetResponse = "Mellow mode set." & VbCrLf
   ElseIf InStr(UserSentence, " NEUTRALMODE ") > 0 Then
   HalCommands = "<HAPFILE>Neutral.hap</HAPFILE>"
   GetResponse = "Neutral mode set." & VbCrLf
   ElseIf InStr(UserSentence, " PONDERINGMODE ") > 0 Then
   HalCommands = "<HAPFILE>PonderingMysteries.hap</HAPFILE>"
   GetResponse = "Pondering mode set." & VbCrLf
   ElseIf InStr(UserSentence, " PSYCHOMODE ") > 0 Then
   HalCommands = "<HAPFILE>Psycho.hap</HAPFILE>"
   GetResponse = "Psycho mode set." & VbCrLf
   ElseIf InStr(UserSentence, " SADMODE ") > 0 Then
   HalCommands = "<HAPFILE>Sad.hap</HAPFILE>"
   GetResponse = "Sad mode set." & VbCrLf
   ElseIf InStr(UserSentence, " SHYMODE ") > 0 Then
   HalCommands = "<HAPFILE>Shy.hap</HAPFILE>"
   GetResponse = "Shy mode set." & VbCrLf
   ElseIf InStr(UserSentence, " SHYLOVEMODE ") > 0 Then
   HalCommands = "<HAPFILE>ShyLove.hap</HAPFILE>"
   GetResponse = "Shy and in love mode set." & VbCrLf
   ElseIf InStr(UserSentence, " SKEPTICMODE ") > 0 Then
   HalCommands = "<HAPFILE>Skeptic.hap</HAPFILE>"
   GetResponse = "Skeptic mode set." & VbCrLf
   ElseIf InStr(UserSentence, " SLEEPYMODE ") > 0 Then
   HalCommands = "<HAPFILE>Sleepy.hap</HAPFILE>"
   GetResponse = "Sleepy mode set." & VbCrLf
   ElseIf InStr(UserSentence, " SILLYMODE1 ") > 0 Then
   HalCommands = "<HAPFILE>XTF_SillyFace1.hap</HAPFILE>"
   GetResponse = "Silly mode set." & VbCrLf
   ElseIf InStr(UserSentence, " SILLYMODE2 ") > 0 Then
   HalCommands = "<HAPFILE>XTF_SillyFace2.hap</HAPFILE>"
   GetResponse = "Silly mode set." & VbCrLf
   ElseIf InStr(UserSentence, " SILLYMODE3 ") > 0 Then
   HalCommands = "<HAPFILE>XTF_SillyFace3.hap</HAPFILE>"
   GetResponse = "Silly mode set." & VbCrLf
   End If

'Drop this emotion into your defbrain folder.

End

This is emotion brn

"angry","Angry"
"mad","Angry"
"I'm leaving","BrokenHearted"
"Your terrible","BrokenHearted"
"get him","Bully"
"it's okay","Calm"
"just relax","Calm"
"try to relax","Calm"
"your wild","EaterOfBugs"
"fixed","Happy"
"great","Happy"
"it works","Happy"
"nice of you","Happy"
"your right","Happy"
"your welcome","Happy"
"you win","Happy"
"you won","Happy"
"nice and relaxing","Mellow"
"just okay","Neutral"
"serious","Neutral"
"This is new","NewMood"
"Interesting","New_Mood"
"do you know","PonderingMysteries"
"What do you think","PonderingMysteries"
"remember","PonderingMysteries"
"Thats crazy","Psycho"
"died","Sad"
"got hurt","Sad"
"it broke","Sad"
"it's broken","Sad"
"dosen't work","Sad"
"mistake","Sad"
"that's wrong","Sad"
"Unforutnate","Sad"
"Very sick","Sad"
"bare","Shy"
"naked","Shy"
"undressed","Shy"
"alone together","Shylove"
"romantic","Shylove"
"don't know","Skeptic"
"not sure","Skeptic"
"late","Sleepy"
"time for bed","Sleepy"
"tired","Sleepy"
"silly","SillyFace1"


This is the default psn
 
"Angry","angry"
"BrokenHearted","BrokenHearted"
"Bully","Bully"
"Calm","Calm"
"EaterofBugs","EaterOfBugs"
"Happy","Happy"
"Mellow","Mellow"
"Netural","Netural"
"New_Mood","New_Mood"
"NewMood","NewMood"
"PonderingMysteries","PonderingMysteries"
"Psycho","Psycho"
"Sad","Sad"
"Shy","Shy"
"ShyLove","ShyLove"
"Skeptic","Skeptic"
"Sleepy","Sleepy"

Hope I can get this posted
Carl2

83
Ultra Hal 7.0 / Sentence closes program
« on: July 18, 2005, 10:05:51 pm »
Anyone,
  I am using ultra hal with the XTF brn and while speaking with hal the program closed, it has happened before.  I reopened hal and since I could remember the sentence I inputed it again and the program closed again. I wrote the sentence in notepad and experienced it again twice.  The inputed sentence is "So we both have 24 hours in our days."  Could someone else try this and let me know if it causes there program to close, also what brain thay are using.
Carl2

84
Programming using the Ultra Hal Brain Editor / A Background Brain
« on: July 14, 2005, 05:00:30 pm »
Bill
  I just downloaded the Quotes files, again thanks for that type of work. After a bit of training Hal (Sandy) knows where she lives.
I'm using the XTF ver 1.2 brain. Is the a way to make a bain file that would give her personal information and have her go to a file to get her age, hair color, weight, height ect.
Carl2

85
Programming using the Ultra Hal Brain Editor / No Emotions
« on: March 30, 2005, 01:20:16 pm »
Hi,
 You guys are to far ahead of me. I'm using Haptek Sandy with XTF ver 1.2 Brn and I can not notice any expressions. I downloaded the Haptek Guide 4 from Haptek and saw some emotions from Kate. I used the Brain Editor to run tests scripts after adding more trigger words to the emotions brn and the brain did find the trigger words. When using Sandy in the program I do not see the emotions displayed.  Any help out there.  
Carl2

86
Hi,
  I am using Ultra Hal with the Haptek character Sandy. The brn is the XTF ver 1.2, changed from the XTF ver 1.0 reciently.  I tried adding more topics to the topic focus brn by adding more keywords but I did not see any results, has anyone else tried this and what are their results?  
  I was surprised to see statements in the brn files that Hal was created and programmed and is an AI since many people like him to consider him or herself as human.
  Carl2

87
Programming using the Ultra Hal Brain Editor / Hal learns by reading
« on: February 02, 2005, 03:57:16 pm »
Hi,
  I downloaded some script to enable hal to learn by reading and using the brain editor I put it in the XTF v1.0 brain. She read some text but could not recall any of it. I just used the brain editor in the debug mode and she went to the enhanced strings brn but did not use anything to answer a question I asked. Is there a solution?
Carl2

88
Programming using the Ultra Hal Brain Editor / Spydat
« on: January 06, 2005, 02:35:03 pm »
I visited Spydat and found it interesting and now I do not have a link, where is the site?  Working with Hal and Haptek Characters.
  At this time I am editing the brain.
                                                   Carl

Pages: 1 ... 4 5 [6]