The Door script opens and closes doors. On touch or when walking into the door, it is
opened and on next touch, it is closed again. It also closes itself automatically after
a configurable time (can be disabled as well). On long touch (one second), it opens
a configuration menu where you can select the access level, manage lists for authorized
avatars and managers, lock the door, change the open time and reset the script. You can
use single-prim and multi-prim doors (incl. mesh), linked to the house or not. Opening
angle, number of steps and the delay in between, sounds and messages can be configured
in the script. Detailed configuration options:
- access level all, group only, friends only, owner only, list of authorized avatars or
managers only
- owners always have access, managers have access if not set to owner only
- only owner and managers are allowed to change the configuration
- add and remove avatars by username to list of authorized avatars and manager list
- lists use case insensitive usernames (first.last) or legacy names
- lock and unlock the door, only authorized avatars (access level) can open it then
- configure to use touch and/or collision (in script only)
- time the door stays open between 0 seconds (off) and 60 seconds in steps of 10 seconds
- combinable door types: hinged (rotate), phantom and fade (in script only)
- opening angle, number of steps and the delays in between (in script only)
- configurable rotation axis and offsets, determine automatically (in script only)
- configurable sounds that are played when opening and closing the door
- commands to open, close and hold the door using a configurable channel and distance
- spoken texts on startup, opening and closing the door and when it is locked
The Door script supports different door types: hinged, phantom and fade. These types can
be combined, but not all combinations are useful. When set to "hinged", the door rotates
around a configurable axis with a configurable offset to the rotation center. Both can be
determined automatically (rotate around largest side and with an offset that is half the
distance to the main prim's center. If you want to rotate it around its own center, you
can use path cut to make a prim appear to rotate around its edge and link the rest of the
door object (e.g. a nice mesh door) to it. Then automatic detection doesn't work anymore,
though. The door also works when linked to a house etc., both as single-prim or multi-
prim object (incl. mesh). If door type includes "phantom", the door is made phantom when
open if not linked to the house, or its physics shape is set to none if linked to the
house, which has the same effect, but can be set for child prims only (so your whole
house doesn't become phantom). If door type includes "fade", the door is faded out when
opened and in when closed. The script also includes a workaround for rotation drift and
checks if the door was moved before opening it.
The Door script is full perm. It's licensed under the BSD license with the addition that
it must not be resold or otherwise given away standalone in parts or as whole. It can be
used in your creations as long as these license conditions are met.
Please use the original scripts, keeping script name and creator intact, and remember to
change script permissions to copy or transfer only before you put your products on sale.
To update or redeliver a product, wear the included Updater and follow the instructions.
Store policies and info about custom scripting at my MP store and the inworld terminals.
- Open and close doors
- Access control, manager list
- Configurable sounds and messages
- Low lag, operated on touch
- Full perm, BSD license
Excellent
Great script, much better than other door scripts! I don't know anything about scripting so I did need help with it but Shui always gets back to you in a timely manner and is always very nice.