| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|
#1 (permalink) | ||||||
|
Technical GURU
Join Date: Feb 2006
Location: India
Posts: 805
Thanks: 4 Thanked 19 Times in 15 Posts Thanks: 4
Thanked 19 Times in 15 Posts
Blog Entries: 2
Rep Power: 14
|
Integerate Your Site With Talking Characters - MS Agents ![]() Have You ever seen the above MS Agents in any of the websites ? They Demonstrate things,Explain,Greet your visitor, Give Information about the user and above all they give a pretty cool cool to your website! Want them on your site? This tutorial will explain on how to Integerate MS Agents in your website! This tutorial may feel every long but beleieve me I have made it easy as much as possible Some of you might not be able to see this Agent in the above link there are plenty of reasons -> 1) You donot have required componenets to view them. ( Check More for the solution) 2) You donot have ActiveX controls enabled in your browser 3) Your firewall might be blocking the (agentsvr32.exe) file , if your firewall propmts for a permisiion to agentsvr32.exe allow it! 4) There could be many more reasons but users with Windows will have a cool stay! What it is? Actually this thing is nothing but calling off the Microsoft Agent(s) with most of them in Mircrosoft Office to your webpage with certain actions and speeches.This really gives a great look to your website. What you require? Actually there are 4 components required to see these/this agent(s),your visitor may too need this component(s) to view your cool website.Donot worry all the components donot exceed 2MB size! and THE MOST important is it only works in Interent Explorer as far as i know, I donnot know abt Firefox. Now how to know whether you or the user has or hasn`t the required components? Visit this page, this page will automatically detect the required components and make a checklist and will give you the download link too if you have missed some! If you already have all the required components youm will be perfectlly able to see the sample page. Check Components Here ->> *** Components Check & Download Here *** Ohh! Now done with the every components! Lets start the work. What you need to do? Just costumize the full HTML code inbetween your BODY tags. The main Script!This is the main script : ( THIS IS THE SCRIPT PROGRAMMED FOR THE AGENT : MERLIN ) Soon I will post of remaining 3 agents.
<!-- This Script should be placed in between the Agent Script-->
<!--Chararacter Script Ends--> ow many of u might ask whats that? The Commands which are present ONLY in the sample script. ( There are lot fo more commands refer below) :::: **** List Of all Commands and actions can be found below **** Char.Show(); ---> Displays or enables the Agent for which the cript is configured. Char.MoveTo(x, y); ---> Move the character to desired place ( X= Width ,, Y=Height) Char.Play("ACTION"); ---> Plays the desired Action ( Action needs to be replaced with the desired action see below for the action(s) list ) Char.Speak("U R Message"); ---> The Message that you want your character to talk! ( Replace Your Message) Char.Speak("\\Chr=\"Whisper\"\\U r Message Here"); ---> " Whisper Command " the character talks in a whispering way. Char.Think("U r Message"); ---> Only the white message box appears with your message in it. It displays as the agent is thinking. ********************************************************** *** >>>>>Breaking up the commands<<<<< The Commands ->>>> 1) * Char.Speak ("Welcome To Technik.Co.In); * This Command indicated your character to speak the test inside the brackets and quotes. This works through the TTS Engine which is one of the four componenets. 2) * Char.Show/Hide(); * This Command respectively shows or hides the agent. 3) * Char.MoveTo(XW, YL) * This Command will move your character to the desired height and width. As for Merlin he takes a flight to the desired place. 4 * Char.Play("Desired Action") * This is the most important action of all the agents.This Command plays the animation u desire. All you have to do is Pick the animation from the list given below and replace it in place of Desired Action. Without this it wud be Bad! [img]smileys/smiley2.gif[/img] Now almost we have reached at last. And Below we are going to see list of animations !!! Animations for the agents..........
^^^ So these are the actions ^^^ Now something for advanced users! Figure out the scripts at last giving the Single/Double Click actions? So at last thig BIG tutorial has ended! If u have any probs/comments reply here Edited by: BINNY
__________________
BINNY
|
||||||
|
|
|
|
|
#2 (permalink) |
|
Super Moderator
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117 Thanked 241 Times in 198 Posts Thanks: 117
Thanked 241 Times in 198 Posts
Blog Entries: 4
Rep Power: 51
|
Hi Binny,
This is great tip for improving the user friendlyness. Thanks for the coding. Thanks, Krishna
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation. |
|
|
|
|
|
#5 (permalink) |
|
Moderator
Join Date: Jun 2006
Location: India
Posts: 960
Thanks: 0 Thanked 21 Times in 20 Posts Thanks: 0
Thanked 21 Times in 20 Posts
Rep Power: 14
|
Hi Binny,
This is wonderfull...thank you very much reg wizkid
__________________
\"WHEN GOING GETS TOUGH, ONLY THE TOUGH GETS GOING\" |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|