Manual:Verbot Editor Microsoft Agent Tags
From VerbotWiki
Tags and Microsoft Agent
Verbot® 4.0 utilizes Microsoft Agent, because of this, not only will you be able to create your own characters for use with Verbot® 4.0 engine, but you'll also be able to utilize the animation features of MS Agent.
Note: All Verbot® animation is done with tags that are inserted into Output/Response fields. For example, to make a Verbot® character smile, simply insert the following: "Here is my smile <agent.play smile>"
MS Agent Command Tags
There are a number of commands for interacting with the MS Agent Loaded in the Verbot
| Tag Name | Tag Description | Example |
|---|---|---|
| agent.pause | Pauses the agent for the given number of milliseconds. | <agent.pause ms> |
| agent.speak | Speaks the given text without outputting it to the screen. | <agent.speak text> |
| agent.play | Has the MS Agent play an animation | <agent.play animation> |
| agent.gestureat | Tells the agent to gesture at the given screen coordinates. | <agent.gestureAt x y> |
| agent.moveto | Moves the agent to the given screen coordinates. | <agent.moveTo x y speed> |
| agent.movehome | Moves agent back to center of Verbot Player window. | <agent.moveHome> |
| agent.load | This will change the agent to the one you specify with agentfile. | <agent.load agentfile> |
| agent.setvoice | Changes the voice used by the MS Agent | <agent.setvoice name> |
| agent.setpitch | Changes the voice pitch to the specified value. | <agent.setpitch pitch> |
| agent.setspeed | Changes the voice speed to the specified value. | <agent.setspeed speed> |
| agent.setvolume | NOTE: Not yet implemented, will eventually set the voice volume. | <agent.setvolume volume> |
Microsoft Agent Tags:
<agent.play animation>
<agent.gestureAt x y>
<agent.moveTo x y speed>
<agent.moveHome>
<agent.pause ms>
<agent.speak text>
Show a little emotion will ya?
<agent.play animation>
Plays the agent animation.
Example:
I really like you.<agent.play quiz>
Animation Available:
Verbot® Character Sylvie® currently has the following animations:
angry
lookaround
quiz
Sad
smile
stickit
wow
Note: these animations are only valid for the character "Sylvie®" . Though you are able to download any MS Agent and use it with Verbot® 4.0, the animation commands will vary for every character.
This way! No, No. That way!
<agent.gestureAt x y>
Tells the agent to gesture at the given screen coordinates(?).
Example:
Click the Start button.<agent.gestureAt 0 768>
Verbot® Character Sylvie® does not currently support gestures. To use this feature try the MS Merlin character.
Move stage left!
<agent.moveTo x y speed>
Moves the agent to the given screen coordinates(?).
The moveto command allows you to set screen coordinates for the Verbot® character to move to. Like the Animation Tags, the moveto tag is inserted into Outputs.
To make the character move, you would insert "<agent.moveto x y s>" where "x" is the x screen coordinate, "y" is the y screen coordinate, and "s" is the speed in which to move.
Example:
"I'm going to move up. <agent.moveto 800 600 1>"
or
"<agent.moveTo 0 0 1>Can't catch me!<agent.moveTo 500 400 10>"
Get back here!
<agent.moveHome>
Moves agent back to center of Verbot Player window.
The moveHome command should be used to reposition the agent to the center of Verbot Player window. The command is usually helpful after using the moveto command above.
How to make a Verbot® relax a little.
<agent.pause ms>
Pauses the agent for the given number of milliseconds.
Example:
My name is<agent.pause 2000> Rex!
Say it, don't text it!
<agent.speak text>
Speaks the given text without displaying it.
Example:
If you were to use the following text within an Output, "The secret word is:" would be displayed in the out put box. However, the text "This text will not display in the output box." would only be spoken, but NOT displayed in the Output box.
The secret word is: <agent.speak This text will not display in the output box.>

