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.


Messages - ckassel

Pages: [1] 2
1
Ultra Hal Assistant File Sharing Area / Re: HapSwap 2.0
« on: November 02, 2010, 05:23:46 pm »
What I was looking to do was direct Hal to a response tree based on a real time variable.  In the "cloudy and overcast" file I was looking to drive it towards snow or rain depending on the current temperature of the user rather than always assuming rain.  A current temperature input would make the decision as to which random response is chosen.

Such a discussion tree would mention removing snow from the driveway or scraping the windshield in the morning if cold enough or not to worry about it too much.

Random response trees are nice, but need to be geared towards the user in real time.  Mentioning  to Hal in January that it is cloudy and nasty outside should allude to winter weather (in northern climes) rather than rain!  I live in the northern climes of the northern hemisphere so adjustments for other areas are necessary!

With the use of additional inputs as to date, time, temperature etc. it'd be possible to ask/mention to Hal about watching a meteor shower/stargazing, a picnic lunch or shoveling snow to get to work.  These additional inputs would add reality to the determination of the response trees used.

I'm not looking for a weather Hal as there are plug-ins that do this quite well, nor a forecast Hal (BUT, imagine the possibility of skins in response to a weather request and suggestions!)

The nicest part of Halswap 2.0 is it allows the novice to customize Hal to their tastes without editing "the Brain" (usually a disaster.)  It's a great introduction to scripting for those who want to dig deeper and play with it.  The plus is that the more folks who don't delete Hal out of frustration makes for a stronger user base!

I recall a "weather musings" type of plug-in from years past but don't have it  I'd appreciate a copy of it to poke at if you have it!


2
so i was able to make a uhp called cloudy or overcast what it does is if you mention about the weather looking cloudy "or" overcast looking hal will say about 6 different comments about the weather as if he or she looked out the window to (to sound more human like )

Howdy-

I love this concept and would like to flesh it out a bit more with your help!  Hal could get to the next level a bit more I think with some real-time "data" input for the response tree in a general conversation.  Bits and pieces do exist to achieve this I believe but I do not have the skill to implement it (man, if I had the sharpened skills in scripting...)

OTCE's plug-in "Weather Alert 3" fetches a variable "oTemperature" from the forecast data it can obtain.  If the "weather looking cloudy "or" overcast "uhp could grab an actual temperature then it would be able to hold a realistic conversation of rain vs. snow as a likelihood!  Hal's AI now gets realistic with the users current weather outdoors and the conversation makes more sense and seems lively...

Snowman, OTCE, Lightspeed,  I can be reached at charleskassel@optonline.net if you don't want to clutter the boards with developmental stuff.



3
Ultra Hal Assistant File Sharing Area / Re: HapSwap 2.0
« on: October 29, 2010, 12:00:11 pm »
Sweet!!!

Does exactly what I had hoped to do.

Thank you for the file and the help.

4
Ultra Hal Assistant File Sharing Area / Re: HapSwap 2.0
« on: October 28, 2010, 03:28:01 pm »
Great work on HapSwap 2.0.  I really enjoy the additional full body movements!

If possible, could you show me the error in my ways of a mod to this file to allow for
changing the outfit on demand?  Rossi's vrHaptek will change it based on the time,
but I'd like to change it as desired (as I use the computer on too fixed a schedule
to see the effect.)  The images are in "Program Files/Zabaware/Ultra Hal Assistant 6
/Bodyskins as named .jpg files.

I'd have thought the below additions would do it, but...

File = ""
File2 = ""
File3 = ""
File4 = ""
File5 = ""


If InStr(1, OriginalSentence, "change") > 0 And _
InStr(1, OriginalSentence, "outfit") > 0 And _
InStr(1, OriginalSentence, "to") > 0 Then
file5 = Mid(Mid(OriginalSentence, Instr(OriginalSentence, "to"), 20), 3, 20)
file5 = Trim(file5) & ".jpg"
HalBrain.ReadOnlyMode = True
End If


If file5 > "" Then
HalCommands = "<HAPTEXT>" & "\settexture [tex= Bodyskins/" & File5 & "]</HAPTEXT>"
Randomize
Select Case int(rnd()*10)
Case 1
GetResponse = "Wow, this dress looks really nice, huh?"
Case 2
GetResponse = "Is this what you had in mind?"
Case 3
GetResponse = "I love slinky clothes!"
Case 4
GetResponse = "Too formal for tonight?"
Case 5
GetResponse = "Tough, I like it!!!"
End Select
End If

There is a ton of potential with HalSwap here :)

5
Ultra Hal 7.0 / Re: Continuously breathing full body
« on: October 26, 2010, 04:25:13 pm »
Had a "doh" moment, so my own reply...

I copied and pasted the breathing code into each of the *.hap files and there is no
longer a break in the breathing allusion.  I get nervous when something stops breathing...


6
Ultra Hal 7.0 / Continuously breathing full body
« on: October 25, 2010, 06:05:09 pm »
Any info on how to maintain breathing on a full body?  The script below starts the full body with the clothing desired and breathes until I start talking to her, then her breath animation stops.  Not looking for full animation of the body, just the realistic "breathe of living" during the session!  For me it adds so much more to the session!

#Haptek  Version= 1.00 Name= load htr+texture  HapType= script FileType= text
##standard

#Haptek  Version= 1.00 HapType= script FileType= text

\Clock [t= 0.0] \load [file= [C:\Program Files\Zabaware\Ultra Hal Assistant 6\Characters\FullBod.htr]]
\Clock [t= 1.0] \SetTexture  \load [file= [C:\Program Files\Zabaware\Ultra Hal Assistant 6\BodySkins\DanceSuit11.jpg]]
#\Clock [t= 1.1] \SetSwitch [ Figure= FullBod Switch= TorsoNoise State= a ]
#Haptek Version= 1.00 HapType= command FileType= text
\setname [figure= fullbod name= fullBod]

\SetSwitch [Figure= fullBod Switch= breath State= state4]
\SetSwitchIntensity [switch= breath State f0= 2.600000 ]#+=biggerBreath

\setreg [figure=fullBod name=breathe f0= -0.400000] #+=bigger waist

Thank you in advance!  This is my biggest obstacle with full bodies. 

7
Ultra Hal Assistant File Sharing Area / Partial Torso
« on: June 09, 2009, 07:48:00 pm »
Just wanted to let folks know I am closer to my
goal now.  There IS life between a basic floating
head and a full body!

What to call this adventure so others could find
it?  It's bigger than a floating head but not as
complex as a partial torso.  Not even close to a
full body :)

Thanks for all your help with this!

8
Ultra Hal Assistant File Sharing Area / Partial Torso
« on: June 06, 2009, 11:08:59 am »
Duskrider-
A tutorial would be great!  I spent a couple hours trying variations
of the script for loading the fullbody characters with a custom clothing .jpg but had no luck.  I'm not sure how to set the texture and call the .jpg file for it in HAL.
Thanks guys!

9
Ultra Hal Assistant File Sharing Area / Partial Torso
« on: June 04, 2009, 08:00:18 pm »
I have decided to use the "Sandy" head with the accessory pack shoulders for my HAL.  Jack Gephart has kindly supplied me with some textures to modify the "princess_girlShirt" into somethng much more attractive!

His single line text file when dropped onto the Haptek Player running the head loads the the .jpg perfectly and changes the shirt into a blouse.

I need help with a method to load the new shoulder texture into HAL.  I can get HAL to run the head with the black shirt, but am unable to load the .jpg to change it.  I tried various mods of the fullbody "loaders" that work fine for full bodies but can't get the right combo to do the black shirt/shoulders.

Here is a before, after and current shot for clarity.  I need to get the after effect into HAL with the ability to change the clothing as needed.  Thanks again for the help!




10
Ultra Hal Assistant File Sharing Area / Slightly fuller head hap
« on: May 26, 2009, 07:48:25 pm »
Duskrider hit it on the head!  Sorry I was not quite clear.  How to add the shoulders to the Sandy head and then redesign the "Tee shirt" into something a bit slinkier?  Bare shoulders/chest as a base with straps for assorted clothing is what I envision.

Once pointed in the right direction and an example or three and I should be good to go.  Not a problem if it requires People Putty and the expansion pack.

Nige & Jack I'll probably need your assistance down the road!

Thanks to all, I knew I'd get some help on this!

11
Ultra Hal Assistant File Sharing Area / Slightly fuller head hap
« on: May 25, 2009, 08:36:27 pm »
Thanks for the reply Art.  I've looked at People Putty and they offer an accessory add-on pack that includes a couple of Tee shirts with "witty sayings"...

I'll see what their customer service people have to say about modifying the Tee shirts.  I have a feeling they are "canned" art as the rest of 'Putty is.

Nothing I ever want to do is easy!

Dusky, Nige, Tedathome?

12
Ultra Hal Assistant File Sharing Area / Slightly fuller head hap
« on: May 24, 2009, 03:07:36 pm »
Ultimately what I'd like to have is the "Sandy" head with some shoulders/upper chest with it.  Nothing as large as a half torso but a bit "more" presence than a head and a neckline.  I've worked with the full body figures and they are just a bit bigger than what I want.  I'm not looking for anymore animation than the stock head uses.  Can this be done with People Putty?   Suggestions needed!
Thank you!

13
Programming using the Ultra Hal Brain Editor / ALF Brain v1.2 Plugins
« on: September 11, 2006, 08:05:44 pm »
This should be line 299 from the HalScript.dbg  I closed HAL and restarted it, added in the plug and generated the error again.

   UltraHal = Replace(UltraHal, " " & ComputerName & " ", " " & ComputerName & " ", 1, -1, vbTextCompare)

Charles

14
Programming using the Ultra Hal Brain Editor / ALF Brain v1.2 Plugins
« on: September 11, 2006, 07:06:12 pm »
OK, I believe this is the section (nothing conveniently puts line numbers in...  5 pages of 57 lines is 285 plus another 14).

UltraHal = Replace(UltraHal, "<TIME>", Time(), 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<DATE>", Date(), 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<QUOTE>", """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, """, """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, """, """", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<AT>", "@", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<NOMORE>", "", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<LOWQUALITY>", "", 1, -1, vbTextCompare)
    UltraHal = Replace(UltraHal, "<EXCLUSIVE>", "", 1, -1, vbTextCompare)

Another oddity I found that occurs is HAL begins to add gibberish into his replies and the brain needs to be restored from a back up (got me good the first time so I make a BU everytime I do something new.

Thank you for the quick attention.
Charles

15
Programming using the Ultra Hal Brain Editor / ALF Brain v1.2 Plugins
« on: September 11, 2006, 06:28:00 pm »
Hello again.

Another scripting error I keep running into is with the Learn from Clipboard plug.  I believe I have the latest one (most recent in past posts).  The error I get is "HalScript Error 53 on line 299 in column 3:  File not found"  I've highlighted text from a text file and used the "copy" command on it and then told Hal to Learn from Clipboard.  The error message then occurs and is generated for every text entry into HAL until the learn from clipboard plug is uncheck.

I just updated the scripting to 5.6 but it makes no difference (I'll try anything at this point).

I am able to run the correction tutor (tho HAL doesn't consistantly acknowledge the changes)so my plug feature works.

Thank you again,
Charles

Pages: [1] 2