Week 13 : Second Life Objects

Introduction
During the second session on Second life, we decided to go into second life during our class & meet up together to experiment with it. After adding ourselves as friends we wondered around for a bit to explore some places & decided to meet up in one place.

Creating Objects & Scripting
We made sure that we were logged in as advanced users & started creating some objects using the tools provided in the viewer. Creating an object is quite simple but it takes a little bit more knowledge to develop a script and bind it to an object.
Step 1: Right click > Build
Step 2: Draw the object in the viewer
Step 3: Name the object and set some custom properties

Afterwords you can attach a script to the object which is usually an action triggered by an event such as when someone sits on your object. I've noticed that permissions can be given to other second life members to edit the object as well, so an object can also be developed as part of a project made of multiple people. Finally once the object is ready you can wear it, use it or even sell it for linden dollars.
Scripts

//This script shows a url to the avatar that touches the particular objects

default
{

touch_start(integer total_number) {

// load a dialog with a URL
llLoadURL(llDetectedKey(0), "Tripchamp", "http://www.tripchamp.com");

}

}








//This script plays a sound every 30 seconds


default
{

state_entry() {
llSetTimerEvent(30);
}
timer() {

llPlaySound(llGetInventoryName(INVENTORY_SOUND,0),1);

}

}









//This script plays a sound every 30 seconds


default
{
string email_address = "xx@example.com";
touch_start() {
llEmail( email_address, "Hello World Email!", "This is a test email");
}


}
Experience
As already mentioned, during our session we decided to meet up all together in second life with our avatars. It was a funny experience since we watched as some so called second life geeks threw some objects at us and called us noobs while we were trying to repell back without any success. We created objects near each other, interacted with each other aswell as with each other's created objects. We also noticed that the viewer has a music player integrated with it which plays quite some nice music. Finally we decided to meet up in Middlesex(On second life obviously) & took a picture which you can view underneath. 

Conclusion
Today was all about meeting each other, becoming friends on Second Life, Experiencing the World, creating objects & taking photos. One thing I'm starting to admire about this 3D world is it's vast flexibility in allowing users build it piece by piece. We can take an example with facebook which is the world's most profitable user driven website & we can say without it's users it's just a useless piece of software with no revenue. Comparing to such software, up till now Second life hasn't made similar success but may one day in the future.


0 comments:

Post a Comment