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.


Topics - apollon

Pages: [1]
1
Ultra Hal 7.0 / Is it possible to disable the pronoun switch?
« on: May 05, 2009, 01:20:28 pm »
I would like to make my Hal a copy of myself. To that end, every sentence that refers to me, Hal should also interpret as refering to himself.
I thought of simply deleting the part of Hal's brain that switches the pronouns, but then I noticed that there are some other parts that seem to rely on it. Is there a way to disable the switching of pronouns without breaking Hal's brain?

2
Ultra Hal 7.0 / Appointment book only displays dashes
« on: May 02, 2009, 11:47:35 am »
When I tell Hal to remember an appointment, he gives me an appropriate reply.
I say: "Appointment today 18:00",
to which he replies: "Appointment on samstag, 2. mai 2009 at 6:00 pm . I'll Remind you when this time is near."
(I'm running a German WinXP, that's why he says "Samstag" and "Mai".)

Then I check the apptmnts.dat and find in there the entry:
appointment on samstag, 2. mai 2009 at 6:00 pm
5.2.2009
18:00:00

But still, he never remembers to remind me.
So I check the appointment book, and what I see is a number of dashes were there should be text. There is a dash on each day where I had entered an event, but nothing else.

Does the address book only work with an English operating system?

3
I'm trying to get Hal to change his background image in response to certain keywords. Please understand that I've already searched the forum, and I did find some relevant threads, but they weren't of any help because I either don't understand what's being said, or the proposed solutions simply don't work. (However, I did try to copy quite a few of their ideas)

Here's what I did:
I created a file named change.hap. I put that file into the characters folder, where the other .hap files are.
The .hap file does work when I drag it onto a separate haptar (I mean a .htr file started and running separately from Hal). When I drop the file onto the haptar, the background image changes to the one I specified.
I opened the main brain .uhp and added the following lines after the very last line:

Code: [Select]
File = ""
UserSentence = LCase(UserSentence)

If InStr(UserSentence, "change background") <> 0 Then
File = "change.hap"
End If

If file <> "" Then
HalCommands = "<HAPFILE>" & File & "</HAPFILE>"
BlockSave = True
GetResponseBlock = True
End If

However, the thing doesn't work when I enter the key phrase. There's no error message, Hal is just ignoring it.

I respectfully ask that you do not direct me to any plugins that already do this sort of thing. I would very much prefer to learn how to do it myself, rather than messing with plugins. :-)

Pages: [1]