Ai Dreams Forum

Chatbots => Haptek => Avatar Talk => Help & Tutorials => Topic started by: doc on June 22, 2005, 01:40:27 pm

Title: Haptek commands & queries Guide
Post by: doc on June 22, 2005, 01:40:27 pm
This is the "Unofficial Haptext Reference Guide" version 0.99.
It is a list of all commands and queries that can be typed in at the Haptek console. This console pops up when you put the file Haplogctrl.txt in the root of your harddisk or when you press {ENTER} while viewing a .htr-file.

The Haptek-commands & queries in this guide are presented in the following format:

---------------------------
ADDFILELOCATION
Add a file address to the Haptek internal registry, or remove it.

\addfilelocation [ file= i0= ]

Parameters
file= [filename]? ?
i0= 0 add (default)
i0= 1 remove

Aliases

Related
\load
 
Example
# The first command adds the URL of a soundfile to the Haptek registry.
# The second one will play the soundfile.
\addfilelocation [ file= [http://www.mywebsite.com/mypage/mysound.ogg]]
\load [file= [c:\mydirectory\mysound.ogg]]
---------------------------

This guide contains an appendix made by Freddy which lists all the switch-references for our heroine FullBodyGirl from Haptek.

This Unofficial guide is intended to be easy on the eyes.

It can still be improved a lot. I like to read your ideas about how to manage that.

Doc. Benway

!!!!!! Expect a new update weekly, because this is a work in progress. !!!!!!!!!

Updated to version 1.0 on sunday June 26th.
A lot of corrections and additions.

Updated to version 1.1 on sunday July the 3rd..
See below!!

Title: Get this!
Post by: Freddy on June 22, 2005, 10:58:41 pm
I recommend that anyone who is playing with haps and hypertext to download this guide. It has
replaced my Haptek guide to hypertext and is in a lot nicer and more readable format.

This is not idle back-patting either, Doc's guide improves upon the original Haptek layout, with extended
examples and descriptions. He also plans to update this as time goes on.

Well done and thanks Doc.
Title: Re: Haptek commands & queries Guide
Post by: Maviarab on June 23, 2005, 06:29:30 pm
Doc,

Just to say a big huge thanks for your time and work on this project.

Some of us here including myself know just how much work, effort and time in putting this together for us has taken you. Your efforts are very much appreciated. :)
Title: Re: Haptek commands & queries Guide
Post by: doc on July 03, 2005, 03:29:12 pm
Haptek guide updated to version 1.1 !!!

Current version:
Countless corrections and additions
Added galleries of morphs and moods
Title: Re: Haptek commands & queries Guide
Post by: doc on July 12, 2005, 12:40:13 pm
Haptek guide updated to version 1.2 !!!

A lot of spelling mistakes corrected.

Pages changed:
@all commands
\camera
\rendermode
\setlight
\setreg
\setswitch
figures
moods
morphs

Title: Re: Haptek commands & queries Guide
Post by: Duskrider on July 12, 2005, 09:16:15 pm
Was wanting to put my Hal-people at ages between baby and adult.
Was getting nowhere with the old scripts ...

In revised guide you have "Activating a partial morph"
Just exactly what I wanted.  ;D
Thank you, doc.
Title: Re: Haptek commands & queries Guide
Post by: doc on July 12, 2005, 10:23:35 pm
 ;D
Title: Re: Haptek commands & queries Guide
Post by: doc on November 20, 2005, 12:22:17 pm
Current version 1.3:

countless corrections and additions

Pages added:

Short explanation of Haptek commands
texture height (query)
texture name (query)
texture width (query)
Title: Re: Haptek commands & queries Guide
Post by: doc on December 08, 2005, 09:39:28 pm
Current version 1.4:

Pages changed:

\bmmaskcopy (added: "Does this command really work?")
\key (re-discovered: assign a hotkey!)
\keyframe, \rotatequat, \rotation, \translate: clarified the use of these commands further
\q (added: "A message should be no more than 2048 characters long.")

current mouse pos (reformulated explanation)
current position (added reference to \translate)
current rotation (added reference to \rotatequat)
current transformation (added short comment from Haptek SDK)
Title: FINAL VERSION
Post by: doc on December 28, 2005, 02:38:06 pm
UNOFFICIAL HAPTEK HYPERTEXT GUIDE 1.5
Consider this the FINAL VERSION, unless something unexpected happens!

A completely rewritten guide after a lot of testing out of commands and queries.
Descriptions for parameters were sometimes dropped but usually greyed out when I couldn't get them to work.
Added a new page about the JavaScript functions inside HapPlayer411.js.

Pages added for "obsolete" commands that nevertheless work:
\loadsound (for .ogg-sounds)
\setcameraoffset (leads look of character away from camera)
\setlookat (camera direction)
\setlookfrom (camera location)
\setmorph (triggers a morph)


Figured out now:
\loadmorph (bind a morph to a switch)
\texcoords (triggers a special effect)


Do the following commands\queries really work?
\createscript
\bmmaskcopy
\deletescript
\tare
\timer
renderer cap edgeantialias
Title: Re: Haptek commands & queries Guide
Post by: Maviarab on December 28, 2005, 03:22:35 pm
Im still lost on a lot of this Doc, but may I take the time once again to thank you for your many hours spent on this.

Im sure the other members are just as appreciative  ;D
Title: Re: Haptek commands & queries Guide
Post by: Freddy on December 28, 2005, 05:24:09 pm
Thanks Doc,  I know that's going to be useful    8)