Shortnote

The following build is a collision alarm that will make the avatar hiss like a cat once it collides with an avatar.

Features

  • 10 different cat hissing sounds.
    • Preloads all the hissing sounds.
  • [Optional] if you're using a RLV-enabled viewer, your avatar will rotate towards the colliding avatar.
  • Animates the avatar to make a scratching gesture.

Marketplace Item

Resources

All the sounds and animations are available in this section for download.

Animation

An animation called Scratch is used:

Sounds

The collision alarm uses 10 different hissing sounds:

Sound SecondLife UUID
b645fc03-1df0-86f1-04d2-35f05aab4855
60d3bf4a-5877-844e-a8cb-1f741ef6e253
be388893-4762-ef65-915b-0c35dddd9e84
3eda94d4-581c-5cbb-5190-4fd37be435ea
04ea2e2b-80b2-99f5-3370-bd754493cca3
ec1af886-18da-f193-6f17-c13b918eae63
37d5f9ed-4697-1db1-50c6-8f249f14ead7
1eb5ce15-eba2-9961-fc89-51489247cfad
65fa0971-6cbd-7c5d-395b-98ad02e5cff4
86eea6e4-36fc-8e91-8db1-9d0254bad23a

Note that in order to spare the off-by-one arithmetic in the script, the actual used sounds are called, in order: Hiss_0.wav, Hiss_1.wav, ..., Hiss_9.wav. This is to avoid having to do the extra arithmetic when using llFrand(10).

Index


secondlife/collision_alarm.txt · Last modified: 2017/02/22 18:30 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.