Deepelements 3d 1 769 views.
Secondlife how to make a locking door.
Door works in standalone mode or connected to server.
As a result it s hard to find a multi prim door script that will work if you link the door to your structure.
Channel door will listen on if other doors are touched.
Smooth rotating door script introduction.
You need a configuration notecard called config main door script.
Must be in the root prim of the door link set.
Will be used to retrieve owner s key.
The door designed for private house or roleplay sims multi secondlife groups.
They set the door s rotation in one or more steps resulting in a somewhat choppy motion.
In the root prim you will need 3 rezzable objects simple cubes will do named open close and lock with in them the corresponding scripts see at the bottom of the page in order to play sounds at the right place.
If you want to make a hole in one prim the only way to do it is to turn the prim so you are looking down its z axis and then increase its hole size from 0 to whatever size you want.
It involves moving and rotating each of the door s child prims relative to the hinge edge of the door separately.
Exporting prims from second life to clean up topology create doors windows then export back to sl duration.
That s on the object tab of your build edit tool ctrl 3 the only thing about that method is that a hole is always centered on your prim and.
Integer ichan 1000.
To make a sliding door that can lock just put the following code on the object you want to be your door.
Also the channel this door will broadcast on.
This script uses a mixture of lltargetomega and llsetlocalrot to achieve a very smooth pleasant looking animation for the door.