| Script Modding |
How to get into Second Life without really trying Selby Evans is Thinkerer Melville in Second Life |
|
This section offers a number of scripts to mod. These are available in specific objects at Hobo Island. |
|
|
1. Set your Goal Pick something that you would be interested in doing with a script. Find a script that already does something like that. Make a new object. Put the script in it. Don't put anything else in the object except things the script needs to work with. |
LODScr.
Look over the list here for starters. Gadgets Get your tools here. |
| 2. Explore Find a script that does something like what you want. |
The scripts in this section have notes to suggest how you might modify them. I will add to them over time. |
| 3. One step Make one simple change that might be in the direction you want. One change can be a whole code block if you know it is working in another script. |
Just one change unless you are really good at frustration
tolerance. Don't change or delete an
existing line. To get rid of a line, use the comment marks
(//) to hide it from the compiler. To change a line, copy the
original line to the line below it. Then change one and comment
out the other. The code blocks I post here are taken from working scripts. They will probably work. But I may have introduced errors. The scripts in my script stash were working when I put them in. The are probably still working. |
| 4. Check your work. Save the script. | If it saves, be happy that you
got it right. If you get an error message, be happy that your good scripting practice makes it easy to find the error. Common errors |
| 5. Take more steps. Do steps 3 and 4 repeatedly till you get what you want. | Right. Iterative loops work for
people as well as for computers. The main difference is that
computers don't complain.
Brain trap: Expect it to work the first time. Fast track to exit. |
| 6. Mod more. | Higher level iteration. And save your scripts. A working code block is a joy forever |
|
The Thinkerer
10/25/2008 Copyright (c) D. F. Dansereau & S. H. Evans |
LODScr | ||
| Famous fables | |||