Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Prospector

Pages: 1 2 3 [4]
46
Ultra Hal 7.0 / Help??
« on: November 28, 2005, 04:25:02 pm »
Easiest way to get haps to work in Hal6 seems to be to use a plug in.
This is a simplified version of what I've used.It's based on something Vrossi posted a few days ago.
Copy the following into notepad or use the attached file(but delete the .txt extension).Rename nameofhap to whatever one you use.Save it as hapcall.uhp and put it in the main Hal6 folder.Put your haps in the character folder as in Hal5 and leave any textures/backgrounds in the appropriate haptek folder.
Start Hal,goto Options,select the brain and select Simple hap caller from the plug in list.Then chat with Hal and type in your trigger phrase (qwz as default but you can change that to what you want)and it should work.Guess you know about the setup stuff,but someone else may read it later who doesn't.[:)]

Thanks to Vrossi for the idea and original script.

Download Attachment: testplug.uhp.txt
2.14 KB



Rem Type=Plugin
Rem Name=Simple hap caller
Rem Author=P
Rem Host=Assistant

'This sub setups the plug-ins option panel in Hal's options dialog
Sub OptionsPanel()
    lblPlugin(0).Caption = "make haps work"
    lblPlugin(0).Move 120, 120, 3300, 1000
    lblPlugin(0).WordWrap = True
    lblPlugin(0).Visible = True
End Sub

    Rem PLUGIN: SCRIPT_LOAD
    'The comment above tells Ultra Hal Assistant to insert the following code
    'on-the-fly into the main brain code in the section referenced.    
   
    Rem PLUGIN: CUSTOMMEM
    'The preceding comment is actually a plug-in directive for
    'the Ultra Hal host application. It allows for code snippets
    'to be inserted here on-the-fly based on user configuration.
   
    Rem PLUGIN: CUSTOMMEM2
    'The preceding comment is actually a plug-in directive for
    'the Ultra Hal host application. It allows for code snippets
    'to be inserted here on-the-fly based on user configuration.
   
    Rem PLUGIN: PLUGINAREA1
    'The comment above tells Ultra Hal Assistant to insert the following code
    'on-the-fly into the main brain code in the section referenced.

'-------------------------------------------
'-------------------------------------------
'declare variables

p_File = ""
p_UserSentence = LCase(UserSentence)




'------------------

'------------------
' Choose hap

If InStr(p_UserSentence, "qwz") <> 0 Then
p_File = "nameofhap.hap"
HalCommands = "<HAPFILE>" & p_file & "</HAPFILE>"
End if

'Repeat above with different haps if required

'Call hap
If p_file <> "" Then
HalCommands = "<HAPFILE>" & p_File & "</HAPFILE>"
BlockSave = True
GetResponseBlock = True
End if


47
Ultra Hal Assistant File Sharing Area / Full bodys
« on: October 05, 2005, 03:54:20 pm »
Glad you found it useful [:)]

48
Ultra Hal Assistant File Sharing Area / Sitting/Laying down .haps here...
« on: October 02, 2005, 04:25:33 pm »
Done a small modification so the haps will work with the jiggly one in the Haptek Guide.

Download Attachment: jigglysithaps.zip
1.98 KB

49
Ultra Hal 7.0 / Full body question help
« on: September 29, 2005, 04:46:13 pm »
Thanks for the kind words.All I've done is pull together stuff from this forum because as you say,most questions that can be asked have already been answered.Although I found a few answers to questions I didn't know I wanted to ask [:)]

Anyway here is the little script I mentioned and how to make it work.

Find this bit in the XTF 1.2 brain using the brain editor

'PROCESS: INITIALIZE VARIABLES AS INTEGERS
   'VBScript doesn't allow you to declare variables in advance
      'as a particular data type; everything is a Variant.
   'We must assign integers to the following
      'variants so that data type errors don't occur
   If LearningLevel = "" Then LearningLevel = 3
   If Hate = "" Then Hate = 0
   If Swear = "" Then Swear = 0
   If Insults = "" Then Insults = 0
   If Compliment = "" Then Compliment = 0
   If GainControl = "" Then GainControl = 25
   AvoidBeingFlag = False
   Randomize

Leave a line then paste the following

  If InStr(UserSentence, "qz") <> 0 Then HalCommands = "<HAPFILE>testskin.hap</HAPFILE>"
BlockSave=True
End If

Hit enter to leave a line then click the file menu and click save. Exit the brain editor.

Then paste the following into NOTEPAD or edit the attached file.

#Haptek Version= 1.00 Name= Hap_Test1 HapType= script

FileType= text
##standard

settexture [tex= data/standard/skins/nameofskin.jpg]] (Should be a backslash in front of this)


Edit nameofskin to whatever the name of the .jpg you are using
You can also add the hair delete and hair change commands from the above post to this file if you wish.
Then save the file as testskin.hap


Download Attachment: testskin.hap.txt
607 Bytes

If using the download delete the .txt extension after editing so it is just .hap
Place the testskin.hap file in the characters folder in the UltraHal folder and that's it.

When you run Hal and the main window opens you should see the standard full body character you selected in the options menu.
Type qz press enter and your skin of choice should appear.

50
Ultra Hal 7.0 / Full body question help
« on: September 28, 2005, 07:23:08 pm »
I've only recently registered on this forum but have been visiting for a while and playing with Hal so this is what I've done.
Ok idiots guide coming up [:)]

1 Download Hal (Guess you've done that)
2 Get XTF brain and 1.2 patch as most scripts seem to be for it.
3 Vist http://www.haptek.com
  Click Products Scroll down to and click HAPTEK GUIDE and click DOWNLOAD FREE GUIDE
  Run the file you have downloaded and it will extract to its own folder and should place a shortcut to it in your START MENU.Open the HAPTEKGUIDE folder and look in MAKINCONTENT.Then open ANIMATING,then HAPTARS.In here you will find body_female.htr(known here as JIGGLY) and a few others.
4 If you have the full HAL just drop whichever .HTR file you want into the CHARACTERS folder inside the Ultra Hal Assistant 5 folder which is inside the ZABAWARE folder in PROGRAM FILES on whichever drive you originally installed it to.This character file should now show up in the character section of the options settings in Hal.
  If you are using the FREE version of Hal you need to rename the .HTR file to ZABA.HTR and replace the file of that name that is already in the folder.Best to backup the original first.
This should now give you the new character.

To apply a skin.
1 Find one you like.(There are loads on this forum).If none take your fancy just pick the plainest and you can paint over it using the original as a template for what goes where.
2 Create a folder called SKINS inside the STANDARD folder that is inside the DATA folder that is inside the player folder that is inside the PLAYER folder which is inside the HAPTEK folder that should be inside PROGRAM FILES on your C drive. IT DOES NOT GO IN THE HAPTEK GUIDE FOLDER
3 Place the .JPG file you now have in the SKINS folder you just created.
4 Place the following attachment in your C drive (not my work but it's already on the forum somewhere)

Download Attachment: HapLogCtrl.txt
696 Bytes

When you now start Hal a Console window will open.If you have selected a .HTR file as your character that should appear in the main Hal window.
Copy the following to the top line of the console window
settexture [tex= data/standard/skins/name of skin.jpg]] (Should be a backslash in front of this.)
name of skin should be replaced by whatever you named the skin you want to use
Your character should now have a new look.
To delete the hair of the body_female.htr copy the following to the console window
delperson[figure= hair5_9EXP] (Should be a backslash in front of this.)
If you have hair7.htr or hair6_2exp.htr place them in the SKINS folder you created before
Then copy
load [file= data/standard/skins/hair7.htr]] to the console or load [file= data/standard/skins/hair6_2exp.htr]] depending on which hair you want.(Should be a backslash in front of this.)

Hope this helps.I'll put up a small script that goes in the XTF brain later that will set your intitial settings with just 3 keystrokes and no need to use the console.

This should give you something like my Monica character.





51
Miss Valentine.
Just wanted to say thanks for allowing the use of your server.Really helped when I lost a file.I use Filezilla FTP program and it worked perfectly.

Pages: 1 2 3 [4]