Join us in Outworldz at www.outworldz.com:9000 or follow us:
How to make the NPC Recorder/Player
Make a 0.1 X .1 X .1 sized prim:
Give this prim a name, such as NPC recorder:
Click the Content tab and select "New Script"
Now download this script and save it to disk. The script is in .LSL format, which is plain text. Use any editor to open the script. Notepad.exe, which is the default for Windows boxes, is brain dead, and everything will end up on one line line. You can safely ignore this, or use Wordpad or Write.
Highlight all the text and press control-C.
Double click the "New Script" in your Content Tab, and highlight all the text you see.
Click Ctrl-V to paste the script. It should look like this:
Now press the "Save" button. and make certain it says "Script Saved". If there are any errors, please check to make sure you deleted all the old script.
Change the name of the script to "Controller".
Download this zip file and extract it to a folder on your hard drive.
Add the following animations to the Content tab, or use any animations you already have in your inventory:
Walk - Plays when the NPC is walking. I changed this to a custom walk for 4-legged animals in our sim
Stand - Plays when the NPC stands, at end of flying, and when pausing at the end of wanders.
Run - Makes the avatar run, usually just a faster walk, but for 4-legger critters, this should be a gallop.
Fly - For birds, this would be a wing flapping thing. For people, its a superman-like pose.
Upload these at priority 2, and make sure you have the Loop button checked.
When you are done, it should look like this:
Take a copy of the prim to Inventory. See the article on Using the NPC Controller.
Please support Open Source by crediting any authors of these scripts and sharing any improvements with the community.
Copyright (C) 2013 Wizardry and Steamworks - License: GNU GPLv3
Please see: http://www.gnu.org/licenses/gpl.html for legal details, rights of fair usage, the disclaimer and warranty conditions.
If you distribute copies of this program, whether gratis or for a fee, you must
pass on to the recipients the same freedoms that you received. You must make sure
that they, too, receive the source code by leaving this script MOD/COPY/TRANSFER.
And you must show them these terms so they know their rights.
Back to the Best Free Tools in Second Life and OpenSim.