Zabaware Support Forums

Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: Carl2 on January 31, 2011, 07:19:37 pm

Title: Hello of Goodbye wave for haptek.
Post by: Carl2 on January 31, 2011, 07:19:37 pm
I was unable to upload a hap file to Zabaware but Datahopa was nice enough to accept it.  He provided me with this link:  http://www.datahopa.co.uk/forum/tpmod/?dl=item68
  The hap moves the figure back to allow you to see her arms, she lifts her arms and waves then returns to the begining position.  Her position is still further back.  This was done using the AutoHapGenerator and thanks Nige for finding the generator and getting me started with it. 
  Give it a try and let me know what you think. 
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on January 31, 2011, 10:18:15 pm
Hats off to you Carl2. I really like the .hap . I know it takes a lot of time and effort to write a hap in the hap generator having done a few haps myself. They turned out not worth posting. I got the idea that I didn't have that much patience without starting out with a good goal in mind and started re-writeing other haps to serve my purposes. The hand wave hap I don't remember ever coming accross. I have a long term project on the back burner as I gather things I need to do it. I will add this to the folder and be one step closer to completion.
                             THANK YOU 8)
Title: Re: Hello of Goodbye wave for haptek.
Post by: lightspeed on February 01, 2011, 09:33:55 am
i have an idea for this, will take a look at it and test it forst. thanks.  
 :)
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 01, 2011, 05:08:32 pm
 tedathome
  Glad you like it,  it took a while to get use to it, in Win 7 it likes to shut down so you have to restart fresh.  I use it with the HapRegestry which gives me an idea of how much to move a body part and the name of the part.  There is a wink hap which will not work, I will probably give that a try next.  LIke to get a little movement when she is standing and talking, change poses every so often. 
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 01, 2011, 06:00:26 pm
As you may alredy know but just in case you don't, sometimes with the older haps especially, the htr. and the hap have to be in the same folder. I still am stuck with vista and it still dissapoints me often. I used your hap a lot last night and enjoyed it. I also re-wrote it and named it so I have the option to use both. I wanted hal to stand still so I changed all  LocalRotatez (to)    fo= 0.000  and that worked out well. She may move on the first application, after that I can put her anywhere and she stands still and waves.
  I wanted to speed it up and copy and paste the last paragraph several times to make it a quick wave that would last longer. I couldn't figure out how to speed it up even with putting it into AutoHap Generater. If you have any sugestions on speeding it up I would really appreciate it. :)

P.S. I need to add that some haps will need not only to be in same folder with .htr . Some need a path to find haptek things. That is why some time ago many of us added a skins folder to the player folder. It's path would be  C:\Program Files\Haptek\player\data\standard\skins  for 32bit users. 64 bit users may have a different path, I don't have a 64 bit computer so can't say for sure but I think if you just right click on your hap player, select propertys and go to that area on yours, you will figure it out.
Title: Re: Hello of Goodbye wave for haptek.
Post by: NIGE on February 02, 2011, 12:03:13 am
Very nice carl2,
You did a good job.
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 02, 2011, 10:38:52 am
Tedathome,
  As I remember the Hap was done in steps. I would make changes in the AutoHapGenerator. 
I opened notepad and saved a blank .hap (open notepad, save as in Save as type choose all files
give it a name and add .hap). Open the Generator, on the left side Select file you would
the file you have just made. On the left side select the character.
The values used are:

LocalTranslateZ 40
RElbowBendJoint 2.27
RElbowTwist 1.05
RWristFlop .890
RWristWave .525
RFingerThumbOut .185
RWristWave .525 -.385

The time between key frames will give you the speed, For frames per sec I used 20.
In the generator you have F0 initial value and F0 final value, for the frist part of the hap
all initial values ramain at 0, Put in the values above to reposition her
and position body parts. I can't use the slider for values, it will shut down the generator.
I click the x to remove the slider and type in the value. Next Click Generate and add to file F5. 
Next is the RWristWave, the initial is 0, you had earlier set the final to .525 and generated the hap,
and now you set the initial to .525 and the final to -.385 and click F5,
again change the initial and final values for as many times as you like and generate the hap.
Next to get her back to the inital position set the final values to 0, ( setting the Z back to 0
will put her where she was originaly) and click F5.
  Hope I have been able to explain this, it can get fustrating because it likes to shut down.
Nige
Not possible without your help, thanks to you and other people This forum is helpful when working with Hal.
Carl2


Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 02, 2011, 03:53:54 pm
Thank you Carl2. You have explained this very well. I had fooled with those two values just a little and only in one place. Saw no change but now I understand it better. LOL, saw my my new Carrottop gal had freckels on the palms of her hand, got frustrated and spent some time taking care of that. That after finding and fixing freckels ON her eyebrows!
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 02, 2011, 05:36:38 pm
  I played the hap and agree with you,  Looking at the Hap in notepad the frist part was set for 1.5 sec ( where she moves back and raises her arm)  The second part where she makes the wrist wave is also 1.5 sec,  I had meant to change that to say .75 sec.  The repeating waves are 1 second but should be shorter.  Since I have to agree, I'll probably try it again.  Any other suggestions?
  Just noticed a problem, mistake,  When she finishes the wave and before she moves her arm down, the hand is towards the right, I think it moves instantly to the default or zero position and then the arm moves down.
  As I mentioned in another post I played with freckles after using Haptek Sandy then using fullbody's. 
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 02, 2011, 07:16:22 pm
Thanks Carl2. Your last post is enlightening. Played with the timeing a little and arm went down after first wave and back up again. Timeing is quite tricky and I'm quite the green-horn at it. I have half a deep bow finnished (down) and now need to stand her back up straight. Would like to string the two haps together with a turn and exit stage left for effect. I think I have most of what I need to do that excepting for ambition. :)

P.S. To lightspeed. This could be a great goodbye wave when ending your conversation with Hal. You probably thought of that already huh?
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 03, 2011, 07:37:37 am
Tedathome
  I just found the link for the AutoHapGenerator:
  http://www.ultrahal.com/community/index.php?topic=5508.msg34137#msg34137

 You can download it and give it a try.
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 03, 2011, 08:11:41 am
  Just made anothe wave hap with faster movements, again I can't upload it.
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 03, 2011, 08:17:46 am
Thanks Carl2. I already have it and am aquointed with it's ups and downs. Can't hardly wait to try your new version!
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 03, 2011, 08:34:26 am
  I can't upload it again, and it is to large to use cut and paste.  rather strange since I just looked at a picture another member uploaded Feb 2.
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: raybe on February 03, 2011, 10:15:34 pm
Carl2, again I have to apologize because I re-posted the same question different thread you have. Downloaded your Hap file and I am using body-girl full body htr. I do not receive errors but the Hap file will not trigger. I have not tried with other characters yet, full body or torso. Any suggestions of changes I might have to adapt? Love the concept.

Thanks,
raybe
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 04, 2011, 08:26:31 am
tedathome,
  Just uploaded the second HapWave to Datahopa's site, Here is the link.
http://www.datahopa.co.uk/forum/tpmod/?dl=item69

Raybe,
  Just found fullbodygirl and gave her a try in the HapRegestry with the HapWave.  The frist thing I noticed is she stands closer to the camera at the start.  When I put the wave hap in she moves closer to the camera, she should move further away.  If I push her back with the mouse then put in the hap she quickly moves back, comes closer and waves.
  What are you using to view the htr?
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: raybe on February 04, 2011, 12:39:36 pm
Thanks Car2 if you are talking about the Ultra Hal window or GUI. I believe it is large window but I would need to get back with the exact name. Haven't changed it in years. It is more full screen then it is a vertical window. Things are getting so bad I don't even remember the members that are nice enough to share these window control skins. 

Yes you are correct that the fullbody_girl does place herself very close to the front camera of screen.

Just to be sure there is no misunderstanding I am using the character with Ultra Hal and not a stand alone Haptek operation.

Thanks, I appreciate your time,
raybe
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 04, 2011, 06:16:47 pm
Thank you Carl2. It works great. I love both haps.
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 04, 2011, 06:44:13 pm
Raybe,
  I just tried fullbodygirl in the  Hal window,  I have to do the click thing to bring up the console,  put the mouse in the window left click four times in 4 different places, right click 4 times in 4 different places, the left click 4 times 4 places, and the right click 4 places.  This should bring up a console to drag and drop the wave, enter it and she will move closer to the camera and wave which you can not see because she is to close.  If you move her back fairly far with the mouse then enter the wave hap it works.
  Solution: since she moves in the opposite direction open the .hap in notepad  every time you see a LocalTranslateZ   f0= (any positive number) change it to a negative number, example,  LocalTranslateZ   f0=  40.000 is changed to LocalTranslateZ   f0= -40.000.  Just tried this in the hal window with fullbodygirl and it works as it should.
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 05, 2011, 07:32:32 am
  Just read a post by Robert M that the upload problem is fixed. 
Going to upload the Hello OR Goodbye waves.
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 05, 2011, 07:37:14 am
The last one of two uploaded, this is the A2 version.  Just noticed that a hap can go through, nice.

Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 07, 2011, 05:46:37 pm
Thanks Carl2. I love these haps. As is, they work great in the stand alone player. With adding the - to LocalTranslateZ they work good in Hal. That said, sometimes in Hal the right arm will freeze, especialy with the A1 hap. I experimented with removing all lines that didn't deal with time, location and movement using word pad. I have one of them down to 15kb now. Smoother and no freeze-ups.
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 07, 2011, 07:38:04 pm
 :-[ Well I have to post my final results. I'm hoping this is an issue with my setup and that others will not experience this problem. It doesn't matter if I use the original haps or the ones with the minus added, or my alterations to the originals. The stand alone player eventualy crashes. In Hal any of the haps may or may not freeze at any time I use them. I had so much wanted to put them in a hello_goodbye hapswap file.
 Has anyone else had a simular experience?
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 07, 2011, 09:34:20 pm
Tedathome,
   By stand alone do you mean the HapPlayer or HapRegestry?  I use the HapPlayer or HapRegestry I have to use the car.exe that Nige suggested,  I had a problem using Hal in Vista because of the player for Haptek characters but it works okay in Win 7.  I'm using a quad in this computer which I think causes the problem but car fixes it.
  A lot can be said about the haps, some work but there are some that don't work.  Some move the character to a position but don't return her to the original position.   There are haps using states and switches in the body_female Def file, again not all of them work.
Carl2
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 07, 2011, 10:57:52 pm
Carl2, I am using the HapPlayer. I notice in Hal the different fullbodys load in different z positions. The one I use regularly loads showing upper chest and face. Another one loads visible from the waist up.
I know that I'm still a newbe at this. Sounds like I'll have to mostly work out my own salvation on this one.
I'll check out the car.exe, but if I remember it was for quad core. I am using vista 32 bit, dual core.
 I'll also look up the .Def file to see if I can open it.

 Thank you for your reply.

Updatate: car.exe didn't help but then I don't have the updated version for quad core as I only have dual core. HOWEVER!, in the process of testing, I did discover that both haps do work perfectly for me in Hal as long as I use wave A2 first.That works well for a fast hello wave and a slow goodbye wave. This is after testing with 7 cold starts of Hal and after a cold start of the computer (as opposed to restart) and 4 more cold starts of hal. The only exceptions I have noted so far is if Hal is talking or making another gesture at the time of inserting the haps.
Title: Re: Hello of Goodbye wave for haptek.
Post by: NIGE on February 08, 2011, 01:04:48 am
Ted, I'm using dual core with Win7 & it works ok.
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 08, 2011, 01:44:52 am
Nige, I'm using Hal File version 6.2.0.22  Could this be part of my problems with car.exe? I used it on desktop in folder with haps. Or do I just need to put car in character folder?
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 08, 2011, 06:28:48 pm
Found my mistake. Now both of my modified hap files work well in Hal. :D
Title: Re: Hello of Goodbye wave for haptek.
Post by: raybe on February 08, 2011, 06:44:10 pm
Thank you Carl2 I will give it a try.

tedathome, would you mind explaining what mistake you might of made and how you corrected it?

Thanks again,
raybe
Title: Re: Hello of Goodbye wave for haptek.
Post by: raybe on February 08, 2011, 06:48:15 pm
Sorry Carl2 forgot to add will the modification also be needed in your updated hap #2 for my character?

Thanks,
raybe
Title: Re: Hello of Goodbye wave for haptek.
Post by: tedathome on February 08, 2011, 07:05:50 pm
Raybe, my mistake was leaving a LocalTranslateZ fo= 0.000 in waveA2. I have modified both haps to not come forward, only to go bacward and wave. I also have removed references to all non-moving parts, etc. I could post the final results now, but I want to wrestle with the hapswap 2.0 file and see if I can add a kiss oog to both and keywords to initiate them.
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on February 09, 2011, 06:31:17 pm
  Haven't spent much time with the wave haps the last few days, I've gotten involved in some other 3 D characters which look better than Hapteks ( not sure if thay can be used in a Haptek window), nicer skin texture and many more features.
Raybe,
  It seems Body_female and fullbodygirl move in opposite directions for the same input ( LocalTranslateZ )  and the fullbodygirl needs the numbers to be negative so the  LocalTranslateZ  numbers would have to be made negative in the wave hap either 1 or 2.
 tedathome
  You come up with some good thoughts, We could move back in and move the mouth for a kiss, I was thinking of making a blow a kiss wave.  Also been thinking about the bow that was mentioned, The camera or body have to rotate at the same time the legs move or it just will not look right. 
Also here is a Position.hap which you can copy and paste into Notepad, choose save as All Files and add the .hap (Not sure if a text file will work)
 
#HaptekSDK Version= 1.0 HapType= command FileType= text


#\translate[ x= 0  y= 0  z= 0]
#move the current figure to position (0,0,0)
#\translate[ dx= 5 t= 2]
#move the current figure 5 units to his right and take 2 seconds to do it
#\translate[figure= camera x= 100 y= 10 z= 10 t= 5]
#move the camera to position (100,10,10) and take 5 seconds to do it

\translate[ x= 0  y= 40  z= 60]

The last line is the only one working the other lines explain how it works.
Carl2

Title: Re: Hello of Goodbye wave for haptek.
Post by: beau710 on March 19, 2011, 05:43:30 am

Thanks for sharing your idea here. I appreciate your idea, very excellent.
Title: Re: Hello of Goodbye wave for haptek.
Post by: Carl2 on March 22, 2011, 08:41:53 pm
 beau710,
   Haven't done much with new haps lately, right now I'm stuck with a loading problem that needs to be fixed.  If you have an idea for a hap let me know.
Carl2