If you create a scripted object that makes HTTP requests against an external Web server at fixed intervals and then use shift-drag to make multiple copies of it, watch out! The timer in each replicated object will be exactly the same as in the first - meaning that all your objects will make their HTTP requests at exactly the same time.
Create enough copies and you run the risk of over-loading your Web server.
Much better to build some randomness into the llSetTimer() call, to make sure that the objects make their HTTP requests at different times.
Showing posts with label lsl. Show all posts
Showing posts with label lsl. Show all posts
Tuesday, 2 October 2007
Friday, 7 September 2007
Script me!
The Script me! tool provides a very simple Web-based interface for creating LSL scripts.
This site will help you create scripts for your Second Life objects. These scripts allow you to add interactive elements to your builds without knowing how to code. All of the script are released under a creative commons license, which means that you can use them freely!The tool asks a couple of simple questions to find out what you want your objects to do, then generates the necessary LSL code. Neat. OK, the options aren't comprehensive... but it's a good start and could probably be improved to allow more options without spoiling the simplicity of the tool.
Wednesday, 1 August 2007
Wanted: rotation expert
The last thing I have to do on the prim front is to make its arms make a typing movement whenever it is chatting. Should be pretty easy.Good grief... how wrong was I? So far, I've managed to get one of Pandora Bot's arms to move up and down, but it is not exactly a smooth motion and it doesn't look much like typing. I know what I need to do - I need to get the forearm to rotate around the elbow. But doing that simple task is proving to be pretty complicated. Dunno if it is just me being thick but I cannot get my head around how to rotate an object correctly using LSL.
Any pointers to a good tutorial or examples would be very welcome.
Subscribe to:
Posts (Atom)
