I-X Second Life Demonstration: Virtual World of Whisky I-Room
This demonstration is based around a (fictional) virtual event held in an I-Room in Second Life at which a tutor delivers a tutorial about some aspect of whisky to those present.
In order to run this demonstration, you will need be already registered for Second Life (register here), and have downloadeded the latest Second Life viewer client application.
We'll assume that you're familiar with the Second Life environment.
Moreover, you must have permissions to place objects on some region in Second Life, and then deed them to the group.
Finally, we assume that you're running I-X on a Windows PC.
To run the demonstration, you'll need to do the following:
- Enter Second Life, and go to the region.
- Create two "screen" objects - these should be objects with a flat vertical face, of 4x3 (WxH) dimensions, and large enough to be easily visible in-world.
As content of each of these objects, create a new script called "I-Room Display" and (by copying-and-pasting) replace the default code with the contents of the file resources/I-RoomDisplay.lsl.
Edit the parameter need the top of this script so that one screen has integer channel = 10; and the second has integer channel = 11;.
Save the code, and ensure that it is running.
- Arrange the screens so that they are simultaneously visible from some vantage point, and deed each of them to the region, and touch them to switch them on.
- Next, create an object with a name such as "I-Room Helper Robot" - the shape and dimensions of this object are immaterial, but it should be placed near the screens.
As content, create two scripts called "I-Room Help" and "I-Room Help Comms", and replace the default code with the contents of the files resources/I-RoomHelp.lsl and resources/I-RoomHelpComms.lsl.
Save these scripts and ensure that they are running.
Now within your Second Life inventory create a new note(-card), and name it "I-Room Setup".
To this, add the contents of the file resources/I-RoomSetup.txt.
Save the notecard, and add it to the Robot object by dragging it from your inventory to the content pane of the object edit window.
- Now touch the Robot to switch it on.
The Robot should respond by chatting the UUID of its communication channel.
- In the file config/sl-agent.props edit the parameter sl-channel-id so that it has this UUID as its value, and save the file.
- Now, double-click on the file scripts/win/run-process-panel.bat. This will start the tutor's I-X Process Panel and a local nameserver.
- Double-click on the file scripts/win/run-sl-agent.bat. This should start the I-X Second Life agent.
At this point you should have all the components you need in place to run the demo.
You can test the connection between I-X and Second Life by selecting Test > Say welcome to room from the panel - after a short delay this should cause the Robot to say "welcome" in Second Life.
- Now, by selecting Test > Deliver whisky tutorial from the panel, you can conduct your own tutorial by selecting from among the various Action options that are available for each of the steps, and sending display and say activities to the Helper Robot by selecting Pass to sl-agent.
Full instructions for conducting the various tutorials can be found here.