In this section you will make a moving, animated bug.
Step 1 Make a bug body
This bug body is made from two images:
You can edit the above image to make you own, unique bug body.
Upload the above two images to Second Life. Add the sculpt image to a prim whose type is set to Sculpt:
Then apply the texture to the bug body:
Making Bug legs
Make a leg prim
Log into Second Life and make a flat prim to hold your animations. This pim needs to be flat like this photo, when oriented at the 0,0,0 rotation:
You can then lay it flat, with a rotation of 270:
Set this prim to 100% Transparency:
Now select just the top face and set that one face to 0 Transparency:
Now select the bug prim and then select the board prim and link them with Ctrl-L so that theboard prim is outlined in yellow.
You do not need to add your texture to the prim. You must instead add it inside the prim in the Objects tab along with the scripts, which I will show you in the next step.
Scripting your pets
If you want to move on to making a bug, then go to the Scripting your pets section.
If you want to know more about the process I used to make these images, then read on. You do not have to do any of these steps unless you want to make your own, custom bug.
Making a Bug Body
This bug is 2 prims. Prim one is a sculpted body I made with Archipelis, which is a very useful sculpt tool. Archipelis costs 35 Euros and is an easy to use tool that can make mesh, sculpt and also the texture with a few mouse strokes.
I started with this image of a bug:
The animated legs were made with a paint program by editing the original image twice. I then converted them to a GIF and then to a SL image. The result is this animated gif image in Second Life. This can be done manually, but the sequence I'll show you next works on much more complex things than these bug legs, it keeps the images perfectly aligned, and is thus far more useful on other projects you may want to work on.
Make this animated leg image
Imade this image by editing the legs of the original picture of a bug slightly, and saving it as two separate files.
Here are the edited bug images: The one of the left has no body, and the one on the right is a copy of that image but with the legs shifted slightly.
I moved each leg slightly and rotated them individually by 15 degrees. You can make a better animation by making more images and rotating them more or in different patterns with your own bugs and other pets. You need at least two images to animate the bugs legs.
Convert the images to a GIF
The two new images were then converted to a Gif89 image using www.makeagif.com . You can also use Gimp, PhotoShop or PaintShop Pro to do this step.
Navigate to the web site makeagif.com, sign up for a free account so you can remove their watermark, and upload the two images we made in the earlier step for the legs.
Your screen should look like this:
Click Continue and use the defaults for the next screen:
Click "create you gif" and let the machine process your new image:
Click "Download" and save it to your hard disk for your new legs.
Convert to Second Life
Next, I used Gif2SLA, a free Gif to Second Life Animation convertor program by Gomer Maltz
You get the following screen after running the program ( no install is needed).
Cick "Load Gif" and navigate to the folder where you saved your GIF image:
Select the Transparency Option so the background will remain removed, and your converted GIF will appear:
The resulting file name contains codes that will affect the how the converted GIF plays in Second Life.
The name contains a readable name, the number of images in the X axis (across), the number of images in the Y (vertical) axis, and the number of frames per second. This image is 1 wide, by two tall, and it will play at 10 frames per second. This is a bit fast for my bug legs, so I changed the last digit to 5. The resulting file name is "Animation1.anim;1;2;5"
The animation is then automatically played with one of my scripts from my www.outworldz.com library. This technique makes it very simple to convert GIF files for use in SL for any number of frames, with perfect alignment, and no scripting knowledge is needed.
Click to see the next part: Scripting your pets
Back to the Best Free Tools in Second Life and OpenSim.