G General

[:AT:] Universal Door Triplepane Version 2.0

[:AT:] Universal Door Triplepane
Details
Features
Contents
Reviews

Version 2 update: with new higher quality door frame! old ones remain included for lower land impact.
|--Basics--|
*********

Rez the door, put it in where you want it, texture the wall faces how you like
Click the door opener button to open door

--Advanced Customizing--

If you resized the door, you need to change the pane distances, so it knows how far it has to open out to, read bellow in Config Notecard section how, You also MUST RESET SCRIPTS in the door, so it re-records the panes home position (closed state)
DO NOT reset scripts while the door is open or in motion!

Door is linkable, however do not link two doors together, or else they will confuse the door panes between each!

Door can work by various API handles too, for compatibility with any custom script you desire!

|--Config Notecard--|
******************

The script will ignore the contents of this notecard.
The script reads the NAME of this notecard by the following format:
config,autoclosetime,distanceside,distancetop,movetime,apichannel

autoclosetime defines how long the door is open before it closes on its own
distanceside defines by how much the side panes of the door move when opened or closed
distancetop defines by how much the top panes of the door move when opened or closed
movetime defines how fast the door opens (in seconds)
apichannel defines what link message number it will accept (advanced users)

Example default: config,60.0,2.7,3.45,1.7,2100

The moment you change the name the door will update to the new values

Note: Different kind of doors may handle the two distance values differently
Like for example a double pane door would use distancetop as side, and distanceside as the other side!
or a single pane door might totally ignore the second value (distancetop)

|--Door API (advanced users)--|
***************************

Door API functions by link messages, where the integer number field of link message must correspond to configured API channel (default 2100)

the string message field must correspond to one of these commands:

"doorcycle" - Cycles the door to the next state, perfectly equivalent to pressing the button on the door
"opendoor" - Opens the door if not already open (IGNORES LOCK)
"closedoor" - Closes the door if not already closed (IGNORES LOCK)
"lockdoor" - Locks the door (sets description to LOCKED
"unlockdoor" - Unlocks the door (sets description to UNLOCKED)
"disablecontrol" - Disables the button touch control (useful if you have something else to handle door openings, like automatic door or a keypad)
"enablecontrol" - Enables the button touch control

example API: llMessageLinked(LINK_ROOT,2100,"doorcycle",NULL_KEY); //cycle the door

The door sends two API back
When the door is opened, it sends the message "dooropened" on API channel
WHen the door is closed, it sends the message "doorclosed" on API channel

|--The potential--|
***************

You can work your own scripted systems with the door, just by simply putting your script into the contents of the door and operating it with API handles, you can create your own locking/unlocking mechanism that only your imagination and scripting knowledge can put limits to!

|--Putting script into your own door--|
*******************************

The script can indeed operate in any custom door you desire as long as following criteria is met:

There must be a door frame as base prim
There must be a prim called "ctrl" as this is your control button you touch to open (it should reach over to both sides of the frame)

There must be sufficient door prims based on what kind of door script it is (single, double, triple)
Single expects a "door1"
Double expects "door1", "door2"
Triple expects "Door.L", "Door.R, "Door.T"

Single and Double expect orientation of door panes as Y sideways, X forward Z upward
Triple expects orientation of door panes as X sideways, Y forward, Z upward

DISCLAIMER! This package only contains the triple pane door scripts, do not expect it to work with d

Average rating: full star full star full star full star empty star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
great door but
full star full star full star full star empty star Posted August 18, 2019 by Cerean

its an awesome door but once you resize it the door will never close the same again ^^;
any way if this can get fix. other wise this would be a 5 star door.

Was this review helpful?