Very simple little script that allows you to set up your doors however you like. It also allows the end user to make modifications to how to the door works as long as they are able to modify the name and description field of the doors themselves. Set up is easy.
Drop the script into the Mesh Door that you want to use it in. Name the door something like this
Door1
Then add the following into the doors description field with each item being separated by a comma '#'
1.0#3.0#3#4#<0,-5,0>#<0,0,0.6>
Note: If nothing is in the objects Description field when the script is first place inside it, the script will say:Oh schnapp, we got ourselves an issue here, looks like this door isn't properly configured. Let me go ahead and get those defaults set up for you" and will set up the default settings. They will most likely 99% chance need to be adjusted depending on how your mesh door was designed.
* The first part of our example '1.0' defines the length in time it takes to open the door, this can be 0.01 up to 99.0 [though anything longer than 10.0 is REAAAAALY slow]
* The second of our example '2.0' is the length of time to wait to automatically close the door, this can be 0.0 up to 999999.0, 0 is NO auto-close, anything higher than 0 will initiate the auto close system [if you're going to use auto close we suggest at minimum 10.0 because it allows people to walk through the door before it closes]
* The third part of our example '3' is the doors way of storing the current security setting [this can be changed through the control script that is also included, set to 0 [everyone], 1 [group only access], or 2 [owner only access]. if anything else is entered the door will not allow ANYONE to use it and will state it is set to an 'unknown access level',
* The fourth part of our example '4' is the doors way of storing the current use of sound. [this can be 0 (false) or 1 (true) and will use the sounds included in the script in the SOUND_ON_OPEN or SOUND_ON_CLOSE UUID keys.
* The fifth part: '<0,-5,0>' this is the vector for the open rotation of the door in degrees. The script allows for all 3 X,Y,Z where X is Roll, Y is Yaw, and Z is Pitch. The script takes the doors current position & rotation into account, meaning it believes itself in the closed position.
* The sixth part:<0,0,0.6> this is the vector for the hinge offset used to rotate the door. This is to correct what old Prim based doors use to use by cutting a box prim in half to allow for a centered rotational axis, but mesh doors don't have this [unless specially created].
* The system is self healing, if someone, you or your end user should input corrupting data the door will reset itself to the factory default settings allowing it to function correctly.
That is all that is required. The doors do not use a lag inducing timer they use a much more memory efficient method of postponing the opening and closing effects of the door, as well as ensuring the sounds happen when they should. Such as the door opening sounds when the door begins to open, and the close sound occurs when the door is actually closing not when it begins to close. This makes for a much more realistic and believable door.
And remember as per the End User License agreement pursuit to the purchase and use of this script, you agree to never sell or give away the script as solely a script (to include but not limited to a script in a set of 2 prims or less) the design being sold must be of time and craftsmanship. And that the next user permissions will be set to
no mod / copy / no trans
The script checks the permissions it has for NEXT OWNER and will send you a message saying the permissions are wrong and delete itself, to ensure customers remain compliant with our End User License Agreement.
Features Added in 07.21.17.01: The system will now replace outdated versions of the script when copied to the contents tab of an existing door with our system (please note, you will need to manually remove any versions prior to 07.21.17.01 - all future updates will automatically remove outdated versions)
Note:
For Matching Doors - Ones you want to open when either of the 2 doors are touched/clicked (ie: French doors, make certain they have the same name - The left door in the set should have the same name as the right door.)
Example: You have 4 doors attached/linked. A Front Door, 1 set of French Doors (2 doors you want to open at the same time), and a Garage Door. You could name the Front Door 'Door1' the 2 French Doors would both be Named 'Door2' and the Garage Door could be named 'Door3'. That way when one of the French doors are touched both will open, but not the others, and the same can be said about the front door 'Door1' and the Garage Door 'Door3' if all the doors have the same name, when one is clicked they ALL will open/close at the same time.
Veja o item no Second Life- Script for Left Handed Doors!
- Script for Right Handed Doors!
- Script for Garage Style Doors!
- Without or Without Sound
- No Notecard, Easy Set Up!
Its a good script
Dont take this review as a bad one but the set up is not as simple as the notecard states maybe make a youtube video or link of how it should be done i've read the notecard alot of times still not understanding how it works... In the long run I can tell this will be a wonderful script just as soon as I learn how to use it. good job
OMG, ABSOLUTELY FANTASTIC!!!
This is *SO* worth the $. And the customer service is ABOVE AND BEYOND! I am so happy I stumbled upon this! Both the doors in my cabinet work to open outward from opposite directions, they also open and close gracefully, and individually. The script comes with instructions and examples that make it easy to figure out and design your doors exactly how you would like them. Belle Morte even took my 2 prim door and made it a 1 prim mesh to improve my design ...OMG, can everyone and everything in SL be like The Belle Morte? :D Thank you so very, very much!!! ♥