Statcounter

26 August 2011

Second Life Mesh Support

A Brief Look at Second Life Mesh Support is a short explanation of why Second Lifers are so excited about Mesh.

Up to now we've had Prims, polyhedrons which can be manipulated using an inworld editor, and 'sculpts', weird single prim objects that are created offworld. Now, finally, we can import 'mesh' objects of the kind used by other computer generated worlds. There are plenty of free editors out there and a common file format, now they have been thrown into the SL sandbox. This is going to be fun.

There is a new Mesh section in the SL Destination Guide that will no doubt be filling up fast.

05 May 2011

Virtual reality scripting

Second Life has its own scripting language, without which nothing could move. Since SL is user created, anyone can write their own scripts using the built in editor and see them go wrong! Here is a library with some free samples.
Below is one what I wrote myself, the controller for a magic bridge. Say the password and the bridge appears!

// say password to activate prims in object
// this script must be in root prim
// activated scripts can be in any prim
// Oriella Charik 2010

// Bridge melts after (freezetime) seconds
float freezetime = 30;

default
{
state_entry()
{
llSetText("Bridge Power", <1.0, 1.0, 1.0>, 1.0);
// set channel to listen on
llListen(0, "","","");
}

listen(integer channel, string name, key id, string word)
{
if(word=="freeze")
{
llMessageLinked(LINK_ALL_CHILDREN, 0, "start", NULL_KEY);
llSetTimerEvent(freezetime);
}
if (word=="melt")
{
llMessageLinked(LINK_ALL_CHILDREN, 0, "stop", NULL_KEY);
}
}

timer ()
{
llMessageLinked(LINK_ALL_CHILDREN, 0, "stop", NULL_KEY);
}
}

For learning inworld I reccomend the College of Scripting.