Join us in Outworldz at www.outworldz.com:9000 or follow us:

[Table of Contents]

Make a breedable pet Troubot Robot spaceship transport for Second Life

This is Part 6 - Making a spaceship transport crate for a breedable pet robot in Second Life.

Previous: Making a nut and bolt toolbox for your breedable pet Troubot Robot in Second Life

Your Troubot Robots cannot live in your inventory. They must be carried in a special spaceship crate. A spaceship crate is set of prims with a script and a copy of the nut and bolt and the Troubot Robot in it. Transport spacehips should be given out for free. Each will carry one Troubot Robot.

You can make a simple crate form a simple cube prim. Just add the script xs_cryocrate to a cube. Set the Global variable BOX to TRUE and you are finished. Name the crate "Transport UFO" and you are done. And that is sooo boring.

So lets make it into a spaceship!

Rez a cube and set it to type = 'sculpt'.

Add this sculpt texture to the sculpted texture window:

A spaceship shape with a dimple in the top should appear:

Make a top and bottom

Make a prim, type = sphere. Set the Dimple Begin to 0.5, and set the height to about twice the width to make a half-egg

Position this over the Spaceship and size it to fit inside the dimple. Make sure that some of the half-egg shows above the spaceship, as it will show the one of the colors of the breed.


Now shift-copy the egg and flip it over to make the second half.

Color both the eggs blank, or white.

Upload this texture and apply it to the base:

I set mine for a Horizontal repeat of 5:

Add a teleport beam

Add a cylinder with a taper Begin and end of 0.5 to the bottom of the UFO. Mine was .14 X .14 X .14 meters tall

Teleport beam

Add the UFO particles plug in script and the "Rotate the Teleport.lsl" script. The cone should start spinning rapidly.

I colored my beam blue and added a Torley Linden texture with stripes:

Torley textures\

Now make the teleport beam 100% transparent. The script will change this later to visible.

Linking the Spaceship holder

Select all the part and select the invisible base last, and then press ctrl-L to link them together.

Scripting the spaceship

If you want to add any special effects, not is the time to do it.

For example, this small script will rotate the spaceship:

default
{
    state_entry()
    {
         
        llTargetOmega(<0,0.0,1.0>*llGetRot(),0.1,3);
    }
}

Put a copy of the "Nut and Bolt" and "Troubot" from your inventory in the spaceship crate.

Put a copy of xs_cryocrate in the spaceship beam.

Put a copy of the rotate script in the spaceship beam.

Put the "Beam Particle Effects" script inside the invisible 'beam' prim.

Now you can select which two prims will be changing color by changing the description of the child prim to 'color1' and 'color2'. For the simplest version, set the egg top and egg bottom to a description of 'color1' and 'color2'.

Now you can take a copy of it back to inventory.

Next - Part 7 - Putting it all together as a complete system

Back to the Best Free Tools in Second Life and OpenSim.