Zabaware Support Forums

Help with happy emotion HAP file

Started by Medeksza, June 25, 2007, 09:12:50 AM

Previous topic - Next topic

Medeksza

I'm working with a client who is interested in having a people putty character have a more evident and sustained smile with teeth showing and I've been trying to play with all the setswitches in a HAP file to acheive this without much luck. It seems to cycle between showing teeth and not showing teeth but I can't get it to sustain the teethy smile longer. Does anyone have experience with this or ideas on how to accomplish this?
Robert Medeksza

GT40

#1
Maybe by creating a loop, by adding this line at the end of the hap file:

(backslash) clock [t= 15] (backslash) load [file= Hap_Happy.hap]

The hap file reloads itself.

"t" has to be adapted with precision.

I seems to work, but I don't know how to stop the loop!
Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

GT40

#2
Or maybe this very minimalist Hap_Happy_2.hap:


#Haptek  Version= 1.00 Name= Hap_Happy_2  HapType= script FileType= text

(backslash) SetSwitchIntensity [switch= expMouthHappy f0= 1.2 t= 0.5]

(backslash) clock [t= 0.5] (backslash) load [file= Hap_Happy_2.hap]

with the "f0" and the two "t" to adapt.


I don't know why my post doesn't accept backslashes!


Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

Bill DeWitt

quote:
Originally posted by GT40
I don't know why my post doesn't accept backslashes!

You have to use double backslashes

Sorry Robert, I don't use Haptek so I'm no help here.


onthecuttingedge2005

#Haptek Version= 1.00 Name= Hap_Happy_2 HapType= script FileType= text

\ SetSwitchIntensity [switch= expMouthHappy f0= 1.2 t= 0.5]

\ clock [t= 0.5] \ load [file= Hap_Happy_2.hap]


Jerry[8D]

GT40


A big thanks to you two from the newbie. Very useful for a next time.

I don't change anything. If I edit and modify, this thread will have no sense anymore. [:)]
Time to waste with skits, bots & other useless things? Why not visit
http://gt40.chez-alice.fr/Haptek/MyBots.htm ? Oops, sorry, a museum!

Carl2

I've been working with a Haptek character for quite a while, by right clicking 4 times with a movement between each click, Left clicking 4 times, Right clicking 4 times, left clicking 4 times, continue movements between clicks, the Hap console should appear. If you don't upset Hal you should get 3 different haps that are sent. Happy, Shy_love and another that can also be found in the scripting or psn.  
 Freddy at AI Dreams has a HapExplorer that should be useful to set switches.
 Hope this is of some help.
Carl2
 

Art

#7
An easier method is to go to the following directory
and copy the file HapLogCtrl.txt to your C:\ directory. (root dir)

C:\Program Files\Haptek\player\program\configs

Then every time you double click or open an .htr file, the command window will pop up.

At this point, one can simply drag and drop various commands in the window, even image files to change skins or haps for emotions.

Credit former member Dr. Benway for discovering this file and it usage.
In the world of AI it's the thought that counts!

- Art -

freddy888

Or another new option is to use my Hap Explorer which will open up a model's switches and parameters:

http://aidreams.co.uk/forum/index.php?topic=1586.0

I'd try playing with the mouth settings to start with.

Medeksza

Thanks for all the help guys. It's looking much better now.
Robert Medeksza

tedathome

If you created it in people putty, you can go back and give it a happy emotion. This works very well in Hal 5. Add the vr human emmotions plugin and you get a more believeable character.
ted

Medeksza

I've been playing with some advanced haptek commands and I'm wondering if you guys could help me out. I'm trying to get the haptek character (just a talking head) to look directly at an arbitrary point instead of the camera. I'd like to simply provide coordinates. I've been reading through Doc. Benway's Haptek Guide and looking at the createlookobject, setlookobject, and removelookobject commands. I haven't figured out how to get it to do what I want. Anyone have any experience with this?
Robert Medeksza

Duskrider


Here are 6 "looking" haps for heads.
Each has different coordinated point.
Select one and adjust slightly to get exact point you desire.

Enjoy.


Download Attachment: 20077219520_Looking.zip

Medeksza

quote:
Originally posted by Duskrider


Here are 6 "looking" haps for heads.
Each has different coordinated point.
Select one and adjust slightly to get exact point you desire.

Enjoy.


Download Attachment: 20077219520_Looking.zip



Thank you very much. That is real helpful.
Robert Medeksza

Duskrider


When you using looking haps and want her to return to camera, use the following "looking_off" hap:


#Haptek  Version= 1.00 HapType= command FileType= text

\setreg [ figure=world name=RotateY f0=0.0000 t= 1]
\setreg [ figure=world name=RotateZ f0=0.0000 t= 1]