Wednesday 19 October 2011

Week 5-

ExercisesWrite LSL scripts to do the following: (hint: you can reuse code from previous exercises)
  1. Record the Name, KEY and speed of an avatar and/or object that collides with the object containing your script.
  2. When touched by the owner, the script should read this information out (in an easy to read format) in chat.
  3. Read a list of named way points and their region coordinates from a notecard and move the object containing the script between the way points. At each way point it should say the name of the way point and turn to face the next before moving on.
As well as using chat experiment with creating floating or hover text - this uses the llSetText function (follow the link for explanation and examples).

Making of the game- Adding Text



Although I could not keep the texture since I did not have any funds available, I learnt how to upload it onto the boxes.

Week 3: 3rd October

I statrted work on ideas on what Second Life game I would make.
In the meantime the exercise for today was to create a gun.
Learning outcomesThis week it is time to reflect, review and probably do a lot of catching up.
Consolodate LSL scripting - use examples and adapt them but always read up on what is going on.
Use lslEditor to edit and check scripts offline before trying them out in-world.
Organise your examples and scripts (both in world and on your back up)
Understand and implement rezzing and setting object paramters.

Week2- 26th September

Today I used the 'Build' button to make an object and modify it.
I wasnt quite sure how to make it visible to others, so I checked the LSL Wiki and it provided the information I need.









The exercise for today was to
Tasks
Write scripts to do the following:

  1. Greet you by name with a with Good Morning/Afternoon/Evening message (as appropriate) when you touch the object containing your script.
  2. Write a script that, when a collision is detected, says the name of the avatar/object that collides with the object containing the script. It should also say the speed at which the collider was travelling and the owner of the collider if it was an object.
  3. Write a script that looks for avatars within a 50 metre radius when the owner touches it. It should give you a list of names of the avatars that it can see. If someone else touches it, it should only scan for a 25 metre radius.
This is what I did.

Introduction/Week1- 19th September

Made an account with Second Life
Went through LSL101 to get an insight into module.








The exercise for today was:
Scripting Exercise: (to be completed by next class.)
  1. Write a script that, when touched speaks your avatar's name and then counts to 10. It should use an integer variable for the count and a loop (for or while).
  2. Write a script that keeps count of the number of times that it has been touched.
  3. Post a snapshot of your object doing these actions to your blog with a brief description of what is going on.


This is what I did