G General

Sonic Screwdriver API Kit Version 2.0

Sonic Screwdriver API Kit
Details
Features
Contents
Reviews

This kit allows interaction between Novatech's sonic devices (screwdriver, pen, etc.) and almost any object. It includes a full-perm API script you can use in your own creations, two sample doors (sliding and rotating), and a damage FX script to demonstrate more advanced effects. The doors are also full-perm, so you can use them into your own creations, and analyze the scripts to see how it all works.

To use the doors, just rez one, set your sonic device to scanner mode ("/5 s" by default), and fire at the door. It will open or close, depending on its state. By default, the rotating door will open but not close, as it has no electronics. To change this, edit the door script and set SONIC_CLOSE = TRUE; near the top of the script. Door sounds can be customized by replacing the included sound with one of your own.

For damage FX, drop the included "Sonic Damage FX" script into the root prim of any object, then aim and fire. Random smoke, steam and other effects will run for a few seconds. The more prims in the object, the longer and more varied the effect. You may also add your own sound to the object's root prim, which will play when the damage FX start.

Finally, if you want to create your own effects, copy the "-Sonic API-" script into your object and add your code to the sonic_event() function. You can add this script to the object's root prim, or a particular prim you want to react when probed. Sonic screwdrivers contact the prim that was targeted, and the object itself.

See item in Second Life
  • Compatible with Novatech's sonic screwdrivers
  • Create interactive "sonicable" objects
  • Includes full-perm sample doors and API script