dupa

Author Topic: Help with happy emotion HAP file  (Read 7033 times)

Medeksza

  • Administrator
  • Hero Member
  • *****
  • Posts: 1469
    • View Profile
    • http://www.zabaware.com
Help with happy emotion HAP file
« on: June 25, 2007, 09:12:50 am »
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

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
Help with happy emotion HAP file
« Reply #1 on: June 25, 2007, 10:27:41 am »
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!
« Last Edit: June 25, 2007, 02:38:56 pm by GT40 »
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

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
Help with happy emotion HAP file
« Reply #2 on: June 25, 2007, 11:29:07 am »
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!


« Last Edit: June 25, 2007, 02:34:34 pm by GT40 »
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

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Help with happy emotion HAP file
« Reply #3 on: June 25, 2007, 03:27:26 pm »
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

  • Guest
Help with happy emotion HAP file
« Reply #4 on: June 25, 2007, 04:28:02 pm »
#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

  • Hero Member
  • *****
  • Posts: 2095
  • Hey, I see you!
    • View Profile
    • My Bots
Help with happy emotion HAP file
« Reply #5 on: June 25, 2007, 05:15:37 pm »

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

  • Hero Member
  • *****
  • Posts: 1220
    • View Profile
Help with happy emotion HAP file
« Reply #6 on: June 25, 2007, 06:01:12 pm »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3859
    • View Profile
Help with happy emotion HAP file
« Reply #7 on: June 25, 2007, 07:43:35 pm »
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.
« Last Edit: June 25, 2007, 07:46:16 pm by Art »
In the world of AI it's the thought that counts!

- Art -

freddy888

  • Hero Member
  • *****
  • Posts: 1693
    • View Profile
    • AiDreams
Help with happy emotion HAP file
« Reply #8 on: June 26, 2007, 07:04:58 am »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 1469
    • View Profile
    • http://www.zabaware.com
Help with happy emotion HAP file
« Reply #9 on: July 01, 2007, 10:30:56 pm »
Thanks for all the help guys. It's looking much better now.
Robert Medeksza

tedathome

  • Hero Member
  • *****
  • Posts: 2775
    • View Profile
Help with happy emotion HAP file
« Reply #10 on: July 02, 2007, 01:21:06 pm »
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

  • Administrator
  • Hero Member
  • *****
  • Posts: 1469
    • View Profile
    • http://www.zabaware.com
Help with happy emotion HAP file
« Reply #11 on: July 19, 2007, 11:09:05 pm »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3316
  • Graphic King
    • View Profile
Help with happy emotion HAP file
« Reply #12 on: July 21, 2007, 09:08:22 am »

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

  • Administrator
  • Hero Member
  • *****
  • Posts: 1469
    • View Profile
    • http://www.zabaware.com
Help with happy emotion HAP file
« Reply #13 on: July 21, 2007, 11:01:51 am »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3316
  • Graphic King
    • View Profile
Help with happy emotion HAP file
« Reply #14 on: July 21, 2007, 11:13:00 am »

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]