Thursday, 13 March 2014

Second Life – Mailbox


Once we got to know how to tackle note cards and sending emails, we were asked to create a mailbox object which allows an avatar to drop a note card and this is sent to the owner of the mailbox – in this case, my avatar. A notecard is available to be viewed at a later stage. This is the required work for the next two weeks.
The mailbox is created using a typical London red mailbox as an inspiration as shown below.
images
This object is made up of a number of cylinders of different sizes. At the top, a semicircle is added with custom settings in order to produce the same rotating top of a mailbox.
creating
Color is added.
addingcolor
A small box which  would ‘insert’ a notecard is added to the mailbox to make it more realistic.
black
Next, a script is added. This is discussed later on in this blog entry. The script initially asks to user to touch the mailbox and the small entry in it would light up. Also, on dropping a notecard on it, my avatar is able to read the notecard later on.
lighton
Some explanations on the script used for this mailbox is done below. Later on, a link is provided to see the full script.
Light
The light script has been researched for and found through this link: http://wiki.secondlife.com/wiki/Category:LSL_Light. Initially, a number of variables are declared and initialised. The first method is switchit() which basically occurs on an avatar’s request to switch the light on or off. If it is not switched on, it will do so by the llSetColor() function.
llSetColor()
By default, the mailbox displays a message stating “Touch for light”. This is shown in the images above. One important function for this work is the llAllowInventoryDrop() function which must be set to TRUE. This is the script which allows a notecard, which is later on specified, to be added by another avatar.
AllowInventoryDrop
Sending notecard
On clicking on the mailbox, the switchit() method is called and the light is switched on or off accordingly. Also, the llGiveInventory() function is triggered which finds the notecard to be sent to my avatar.
on touch_start
When the inventory is changed, which means that a notecard has been dropped in the mailbox, a message is displayed to my avatar. This has been tested by a number of my colleagues when their avatar sent a notecard to mine. This is shown  in the image below.
notecards sent by avatars
The script for both light and sending notecard can be seen through this link:

Second Life – Letterbox with Drag and Drop.



Today I created a letterbox that allows any item to be dragged and dropped from the inventory on it. To do this I used the same letterbox as I used in my previous post, and edited the script.
I used the CHANGE_ALLOW_DROP, which will allow objects to be dropped into the letterbox.
Image
letterbox3 letterbox2letterbox5letterbox4

Avastar: -2- Adding Clothes


Avastar: -5- Mesh Rigging


Create clothes on Second Life


Let's Play Second Life #24


Let's Play Second Life


Workshop Bauen in Second Life

http://www.youtube.com/watch?v=XrZVimd76Ac

Second Life Workshop: ‘A Global Perspective on Gifted Education’

On Saturday 26 March at 8.00PM UK time, I will be leading a workshop in Second Life taking ‘A Global Perspective on Gifted Education).
The Workshop is my personal contribution to the inaugural celebration of the European Day of Talent, celebrated on 9 April 2011, which has been organised by the Hungarians as part of their drive to support European gifted education while they hold the EU Presidency.
The corresponding times for other parts of the world are:
  • 9.00 PM CEST
  • 4.00 PM US Eastern
  • 1.00 PM US Pacific
  • 7.00 AM Aus (Victoria) (Sun 27 March)
  • 9.00 AM NZ (Sun 27 March)
You can find further details about me and about how to join the event on the website of theBavarian Centre for Gifted and Talented Children which has been organising a series of Global Gifted Education meetings in Second Life, this being the sixth in the series.
Roya Klingner, the Head of the Bavarian Centre, has designed specially for the event a Gifted Phoenix avatar, which is literally the embodiment of the ‘headshot’ avatar I use for this Blog, Twitter and Facebook. Doesn’t he look a fine figure!
So you will be interacting with a hybrid personality, combining the body of Gifted Phoenix and the voice of his alter ego Tim Dracup. (My normal gender-shifting SL avatar Tiresius Draconia is resting on this occasion.)
I want to take a slightly different direction to my predecessors in the series by making a serious effort to maximise interaction with you, the participants.
While it’s fine to come along, take a back seat and watch the proceedings, I’m really keen to get some proper discussion going amongst those willing to take part.
To that end, I’ve decided to share my presentation a week in advance, so participants can see broadly what I plan to cover and so prepare their own contributions. You can find it at:
As a lead-in to the discussion I shall be relying on a graphical version of my very first post on this Blog, which I have also reproduced below.