23 June 2010

Building My Office - Scripting

I have attempted to add some sort of interactive element to my office by scripting certain objects in my office to perform different things. Scripting, learning to perform basic scripting on Second Life and searching for scripts online has been a bit of a mission. After several days of searching, learning, editing and rewriting scripts, I have done it!





For the above two images, I have been able to change the opacity of my facade upon a written command. Type "noshade" for the the highest transperancy and "shade" for the lowest transperancy. In real life, making the transperancy of a window lower or tinting it can offer more privacy and offer some sun protection.





The images two images above this time show a lighting script i have used. This is most effective at night in Second Life as during the day the lights on make some surfaces blindingly bright.

To trigger the lights the avatat nearby must type "lighton" and to turn them off "lightoff".



The surrounding light not created by the light under the desk is a light underwater and under the platform. Because my prim count was so high I couldn't build lights suspended from my facade which I intended to do so i created a light underneath my platform which only cost me 1 prim to do the job. The effect looks good and I think its better having surrounding light from below rather then above.

No comments:

Post a Comment