Zabaware Support Forums
Zabaware Forums => General Discussion => Topic started by: lightspeed on December 28, 2013, 12:29:54 pm
-
it would be cool in a way if hal could make his own decision , and choose sometimes to turn a radio on (low ) as if listening to music after mentioning he was going to turn on some music , maybe with pre set station links (theirs some links to old time radio stations , jack benny etc. for public listening ) , and settings for how often (like in the loneliness plug in ) .
Anyway just an idea , maybe crazy maybe not lol!
-
lightspeed,
I have Hal make decisions about what she will wear by using her output to change clothing, and change her location by changing Backgrounds, this can be done by using the vr Haptek plugin. This is from the vrHaptek uhp
HalBrain.CreateTable vrTableName, "TopicSearch", "miscData"
HalBrain.AddToTable vrTableName, "TopicSearch", "CRY", "WIPETEAR"
HalBrain.AddToTable vrTableName, "TopicSearch", "SERIOUS", "CROSSARMS"
HalBrain.AddToTable vrTableName, "TopicSearch", "LAUGH", "LAUGH"
HalBrain.AddToTable vrTableName, "TopicSearch", "JOKE", "LAUGH"
HalBrain.AddToTable vrTableName, "TopicSearch", "AGREE", "CLAP"
HalBrain.AddToTable vrTableName, "TopicSearch", "HAPPY", "HAPPY"
End If
'------------------
' look in the vrEmotionDetect table if Hal said something that triggers an emotional behaviour
'------------------
vrEmotion = HalBrain.TopicSearch(vrLookup, "vrEmotionDetect")
If vrEmotion <> "" Then
vrFile = vrEmotion & ".HAP"
End If
End If
So if hals reply contains CRY the hap named WIPETEAR is sent, it's basically adding to the vrEmotionDetect table.
Also Look in the help table that is include. Having her actually listening to a radio is another story luck with that but a Hap could link her to a radio station on the internet.
Carl2