Simple Mesh Chandelier, scripted
Information:
- 5 LI
- copy / mod / no trans
- Materials enabled
- On/Off/Auto function (Auto turns on the light automatically at night)
Contents:
- [GA] Simple Chandelier I (5 LI)
- Spare Chain (1 LI, to increase the length of the chain)
Version History
1.0:
- Initial Release
- Updated Version of the AS Simple Chandelier
- Animated flames (better LoD on the flames now)
- Reduced LI
Important notes:
If you link this device to other objects, make sure you do not rename the flames prim.
Also make sure, you reset the scripts after linking it to another object (rightclick the chandelier -> more -> more -> scripts -> reset scripts).
NOTE: The flames prim is invisible, when the light is turned off.
To make invisible prims visible, press <Ctrl+Alt+T>.
Settings:
Settings can be found in the 'Settings' notecard (rightclick the lamp -> edit -> Content tab).
- Access (string)
Set the access level, case sensitive. Options are: public, group, owner
public: everyone has access
group: only the groupmembers with an active tag of the set group have access
owner: only the owner has access
- SunThreshold (float)
Sets the threshold of the sunheight to turn on/off the lights.
This is necessary for automode. Negative values show night, positive values show day.
Default: 0.0
- StartPollrate (integer)
Sets the interval to check the sunheight in minutes, default is 5.
- MenuType (string)
Set the menutype, case sensitive. Options are: advanced, light
advanced: set the timer intervals and hover text
light: basic functions (on/off/auto)
- StartUp Mode (string)
Defines if the device starts in Auto, On or Off state.
Options: ON, OFF, AUTO (case sensitive!)
- Object Glow when ON (float)
- Object Glow when OFF (float) - see above.
- Light Color (vector)
- Light Radius (float) - Sets the light radius
- Light Intensity (float) - Intensity of the light
- Light Falloff (float) - Sets the light falloff
Menu functions:
By default clicking the lamp opens the "light" version of the menu. This can be changed in the settings notecard, though.
The default menu contains only the basic functions:
- On
Turns the light on
- Off
Turns the light off (really now?)
- Auto
Enables automode.
In automode the light is turned on automatically at night and turned off at day.
- DONE
Closes the menu.
The advanced menu provides additional informations like check interval times and sunheight, it also adds a "Time"- and a "Reset" button.
The "Time" button opens the time menu.
You can select between 5 and 10 minutes to keep lag low.
There is also a "Test" button, which makes the device scan the sunheight in intervals of 20 seconds.
The "Reset" button resets the chandelier.
Hoping this device will bring you hours of enjoyment ㋡
If you have any questions about our products, please leave a message in our mailbox at our inworld store.
https://sites.google.com/site/toysbygwenandame/
- Gwen Setzer & Amelie Sawson
Ver el artículo en Second Life