Terminator head htr file

  • 23 Replies
  • 20821 Views
*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 867
  • It's Hip to be Square
Terminator head htr file
« on: July 22, 2009, 08:37:09 am »
I've just downloaded the extremely impressive Terminator cyborg head from the files section but it is wearing a balck T-shirt saying "ninja" rather than then robot body shown in the picture.

I notice there is a robot shoulders picture in the zip file but I don't know how to apply it.

Thanks for any help.
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Terminator head htr file
« Reply #1 on: July 22, 2009, 10:25:14 am »
Hi Square Bear,

Assuming you have the Haptek player; load up the terminator head.  Then find that shoulders file and drag and drop it onto the terminator.  That will at least show you if it's the right one.  I'll show you how to do it with code later if you want.  Thinking of using this for a new bot ?

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 867
  • It's Hip to be Square
Re: Terminator head htr file
« Reply #2 on: July 22, 2009, 01:30:16 pm »
Dragging and dropping the shoulder picture mapped it on to the bot's head rather than its shoulders.
Yes, I am planning to make a Terminator bot.
What happened to the KaracterKing site? It doesn't seem to be their any more  :'(

Thanks Freddy
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Terminator head htr file
« Reply #3 on: July 22, 2009, 07:11:46 pm »
Jack Gephart's (KaracterKing) hosting people folded or something like that.  Now he posts things here in the 'Files' area.  If you want some help with the Terminator model I suggest you send Jack a private message here, he's usually pleased to help people.

I forgot it would load into the head, sorry - you need a hap file specially made to load it.  Jack should have some handy.

Best of luck.  :)

Let me know if I can be of any help.

*

jackgephart

  • Electric Dreamer
  • ****
  • 138
Re: Terminator head htr file
« Reply #4 on: July 23, 2009, 12:35:37 am »
Well Squarebear, I'm glad you like him. Here is a post that I sent another person to show them how to use the skin for the shirt. You need to go into your Haptek/player/data/standard folder which is in your C: drive in program files, and make a folder named skins. You put the TerminatorBody.jpg into that folder then you can use the text file to put the body over the nija shirt.

I hope this was helpful, and I'm glad you like the head.

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 867
  • It's Hip to be Square
Re: Terminator head htr file
« Reply #5 on: July 23, 2009, 08:40:22 am »
Thanks Jack. I'll give that a go.
Yes I am impressed with all of the models I have seen you make so far.

*edit* I've put the TermintorBody.jpg into the correct directory but am not sure how to use the text file to overlay the jpg on his shoulders. Hope you don't think I'm too dumb  ;D

*edit 2 * Ok. I've figured out that you drag and drop the text file onto the player to load the shoulders but is there a way that this can be done automatically, as I can't really expect the people who visit it to do this. Is there anything like a startup file I can use, which would do this for the user?

*edit 3 * I am using this to start the player in the browser:
<script language=JavaScript src="http://www.square-bear.co.uk/simon/HapPlayer411.js"></script><script language="JavaScript">function Startup() { UseFile("http://www.square-bear.co.uk/simon/TerminatorRobot.htr","A"); } VFBox("450","350", "none"); AddToInitQueue("Startup();"); </script>

Could I put the text file anywhere in there to have it start automatically? I've changed the text file so it points at the uploaded version of TerminatorBody.jpg rather than the one on my local machine.

Thanks again for any help.
« Last Edit: July 23, 2009, 09:45:11 am by squarebear »
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Terminator head htr file
« Reply #6 on: July 23, 2009, 05:19:09 pm »
Try something like this to use Jack's hap file :

{
UseFile("http://www.square-bear.co.uk/simon/TerminatorRobot.htr","A");
UseFile("http://www.square-bear.co.uk/simon/myHapFile.hap","A");
}

I think that would work, been ages since I messed with Haptek coding...

*

GT40

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1056
    • My Bots
Re: Terminator head htr file
« Reply #7 on: July 23, 2009, 05:35:06 pm »

Hi SquareBear! Really glad the King of AIML and the King of PuttyHeads finally met on AI Dreams, the home of The Chatterbot Collection.

I'm always sad and disappointed when thinking that Haptek bots have definitely left KnyteTrypper's site, where only "pure" textbots are now welcome.

Sure Jack and you will make a fantastic Pandorabot. THE problem is the Terminator TTS voice, lol. ;)

"There is no RL. Only AFK." (Jamie Jervil, resident of Second Life)

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 867
  • It's Hip to be Square
Re: Terminator head htr file
« Reply #8 on: July 23, 2009, 06:08:32 pm »
Thanks guys. I don't have a .hap file with the text in it just a TerminatorBody.txt file which says:

#Haptek  Version= 1.00 HapType= command FileType= text

\settexture [figure=ninja_shirt tex=[http://www.square-bear.co.uk/simon/TerminatorBody.jpg]]


Using:
{
UseFile("http://www.square-bear.co.uk/simon/TerminatorRobot.htr","A");
UseFile("http://www.square-bear.co.uk/simon/TerminatorBody.txt","A");
}
doesn't work. I get the terminator's head but he still wears the "ninja" black T-shirt. AARGH!!

GT40 - all types of bots are welcome over at Knyte's site. We don't discriminate.
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Terminator head htr file
« Reply #9 on: July 23, 2009, 06:40:44 pm »
Try renaming TerminatorBody.txt to TerminatorBody.hap and also alter your code so the extension is hap...

If that doesn't work I will have to download it all and mess around with it.

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 867
  • It's Hip to be Square
Re: Terminator head htr file
« Reply #10 on: July 23, 2009, 07:11:20 pm »
Thanks Freddy. No unfortunately, that didn't work either.

I appreciate any help anyone can give me.
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Terminator head htr file
« Reply #11 on: July 23, 2009, 07:23:40 pm »
OK my friend, no problem.  I just downloaded it, just give me a while to shake off the rust and I will be back with you.

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 867
  • It's Hip to be Square
Re: Terminator head htr file
« Reply #12 on: July 23, 2009, 08:07:15 pm »
Thanks Freddy. I appreciate the help and I'm sure the Terminators will spare you when the robots rise against their human creators.  ;D
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Terminator head htr file
« Reply #13 on: July 23, 2009, 08:19:40 pm »
LOL, yeah I hope so.

What's the URL of where your TerminatorBody.jpg is located please ?

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • Mostly Harmless
Re: Terminator head htr file
« Reply #14 on: July 23, 2009, 08:32:11 pm »
It's okay I found it...

Try this HTML page for starters :

Code
<html>
<head>
<title>Terminator</title>
</head>
<script language=JavaScript src="http://www.square-bear.co.uk/simon/HapPlayer411.js"></script>
<script language="JavaScript">

VFBox("450","350", "none");
function Startup() {
UseFile("http://www.square-bear.co.uk/simon/TerminatorRobot.htr","A");
}

var dl = new Downloader();
dl.AddFile('http://www.square-bear.co.uk/simon/TerminatorBody.jpg', 'A');
dl.FinishedString('\\settexture [figure=ninja_shirt file=[TerminatorBody.jpg]]');

AddToInitQueue("Startup();");
AddToInitQueue('dl.DoIt();');

</script>

<body>
<p>Let's hope this worked...</p>
</body>
</html>

That should get you on track.  I used the Haptek Downloader object thingy to load the texture and then apply it.

There's documentation here : http://www.haptek.com/developers/HaptekGuide4/Programmin/Javascript/javascriptdoc.html#file_downloading

Still forget how to load hap files on the fly though- maybe GT40 can advise on that, but this seems to work for now.

 


OpenAI Speech-to-Speech Reasoning Demo
by ivan.moony (AI News )
Today at 01:31:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am
Nvidia Hype
by 8pla.net (AI News )
December 06, 2023, 10:04:52 pm
How will the OpenAI CEO being Fired affect ChatGPT?
by 8pla.net (AI News )
December 06, 2023, 09:54:25 pm
Independent AI sovereignties
by WriterOfMinds (AI News )
November 08, 2023, 04:51:21 am
LLaMA2 Meta's chatbot released
by 8pla.net (AI News )
October 18, 2023, 11:41:21 pm

Users Online

287 Guests, 0 Users

Most Online Today: 346. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles