Later I discovered python on linux and I realized that it's as good if not better.
Then I made a script that display the character Merlin said something.
Today I'll try the same thing with python.
First you have to install python module called win32com.
For this we use installer from here.
It automatically installs python 2.6 folder, see picture below...
For this we need to read the MSDN documentation least, see here.
The first step required is to import module module ...
Access file .acs and declare a variable named vrajitor to use it.
import win32com from win32com import client from win32com.client import constants
Now we can use its methods for animation and not only ...
agent = win32com.client.Dispatch("Agent.Control.2") agent.Connected = -1 agent.Characters.Load("Merlin", "Merlin.acs") vrajitor= agent.Characters("Merlin")
Here's the result ...
vrajitor .LanguageID = 0x409 vrajitor .Show() vrajitor .Play("Announce") vrajitor .Speak("I like to use Python programming language!") vrajitor .Speak("... and I'm really good. See!?") vrajitor .Play("Congratulate") print "Type some commands! (max 99 comands)" print "Congratulate, Acknowledge, Blink, Confused, Decline, Explain" for i in range(100): cmd=raw_input() print cmd vrajitor .Play(cmd)