Multi Animations Stand - adrianomesl/script_shack_support GitHub Wiki

Multi Animations Stand is a script that allows you to have all your own day to day AO animations easily accessible so you can watch your avatar from all angles while it moves.

The Stand

The stand is a rather simple gadget to use. All we need to do is to drop our animations in the content, sit on it and use the arrows to navigate through the available animations.

The provided stand object is modifiable so you can change it looks to match the room decoration. You can use seamless textures on each of the faces or use the provided UV layout textures to create a custom look.

The animation browser script can be used with any object as long as the object has at least two faces which we can assign to the navigation buttons.

Since version 2.0.0 the stand also provides up to four light switches. Each switch needs a dedicated face to capture the touches so if all switches are used the stand object must now have at least six faces.

Light switches

Since version 2.0.0 the stand includes four light switches; each of which can toggle lamps located around the stand to illuminate the avatar for better viewing.

The switches don't check for the existence of lamps, they just broadcast an on/off signal which will captured by the lamps if there are any.

Configure the Stand

The only thing we need to specify for the stand is which faces from the object are going to be used for each of the six touchable areas:

  • Left arrow
  • Right arrow
  • Four light switches for zones 1 to 4.

We specify these numbers by providing a comma separated list of integers in the object's description field. The provided stand uses faces 2 and 3 for the arrows and 4, 5, 6 and 7 for the light switches where 4 targets light zone 1 and 7 targets light zone 4. For this specification the stand description fields needs the following setting:

2,3,4,5,6,7

The order here is important, we must make sure that the face numbers are set in the right order for the stand to behave as expected.

The Lamp

A lamp in the context of Multi Animations Stand is any object running the provided lamp script. Each lamp must have its own configuration file where we can specify the properties of the light when the lamp is on and when it is off; as well as the face that we want to be treated as the light source.

Configure the Lamp

A Lamp is configured via a notecard. The settings are grouped in the following sections:

[General]
[LightOn]
[LightOff]

[General]

Zone integer(1|2|3|4) - Default 1

Assigns the lamp to one of the four available light zones. When one of the light switches on the stand are turned on; all the lamps assigned to the zone will be turned on.

LightFace integer - Default 0

We can change the texture and color of one face from the lamp when it goes on and off. This helps to make the lamps more interesting. The Lamp included in the package uses face 0 for this purpose.

HideOnStand (yes|no) - Default yes

When this variable is set to yes the lamp will hide when the avatar leaves the stand and show up again when an avatar sits in the stand. This helps to keep the environment uncluttered when the stand is not used. If you like how the lamps look around the stand, set this to no so they are always visible.

[LightOn] and [LightOff]

LightOn and LightOff are identical in the number and name of the properties, the only difference is when they are applied to the lamp, therefore we are going to describe the properties once.

LampColorHex hex - Default FFFFFF (white) An hexadecimal RGB color to be

LightTexture key - Default null If a texture key is specified, the texture is applied as projector. If this is left null, the whole prim will emit light in all directions.

Note that projectors require Advanced Lighting Mode enabled. If your hardware doesn't support ALM the projector won't have any effect.

ColorAlpha float - Default 1.0 This color is applied to the light face as well as the emitted light.

The reminding settings map to the light feature parameters present on a prim. We are not going to explain what each property does. What I recommend is to edit these values manually until you are happy with them, finally copy them to the notecard.

LightIntensity float

LightRadius float

LightFalloff float

LightFov float

LightFocus float

LightAmbience float

GlowIntensity float

How to extract the script to use on other objects?

This package doesn't include a Scripts inside box. In order to use the script in your own objects you have to take them from the provided objects: the stand and the lamp following these steps:

  • Rez the object (stand or lamp)
  • Edit the rezed object and open the Content tab
  • Drag-and-Drop the script from the rezed object to the inventory. Since the script is Copy-able, the source script will remain where it is and a copy will go to the inventory.
  • Once the script is in the inventory, drag-and-drop it into your custom object.