Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Problem with doors

SirCorn Alter
Registered User
Join date: 23 Jul 2009
Posts: 27
07-26-2009 11:23
I've made it so that my doors open and close by linking them to a small base prim located at the edge of the door which rotates when the door is touched. This works fine when the door is by itself, however when I link the whole house together this stops the doors from working, as the door becomes linked to the whole house instead of the hinge and only the hinge keeps the script. I've seen linked houses with working doors, how do I make the doors so that they will work?
DancesWithRobots Soyer
Registered User
Join date: 7 Apr 2006
Posts: 701
07-26-2009 11:41
Typically, you can not link a door to a build.

The only exception to this is the linkable doors like the ones introduced by Timeless Prototype. The original doors broke because of a change the lindens made to the size of the object name and description fields, so, look for the newer ones.

You can find the scripts in the scripting forums.
_____________________
"Two lives I have.
One life I live. One life I dream.
In dreams I remember the better in me."
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
07-26-2009 12:07
If you cut the door in half so the center of rotation of the prim is on the edge, you don't need a second "hinge" prim and you can link it with the build.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
SirCorn Alter
Registered User
Join date: 23 Jul 2009
Posts: 27
07-26-2009 17:56
From: Argent Stonecutter
If you cut the door in half so the center of rotation of the prim is on the edge, you don't need a second "hinge" prim and you can link it with the build.


How do I do that?
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
07-26-2009 18:00
cut 0.375/0.875 (or exchange one of those for 0.625)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
VonGklugelstein Alter
Bedah Profeshinal Tekstur
Join date: 22 Dec 2007
Posts: 808
07-27-2009 04:39
From: DancesWithRobots Soyer
Typically, you can not link a door to a build.

The only exception to this is the linkable doors like the ones introduced by Timeless Prototype. The original doors broke because of a change the lindens made to the size of the object name and description fields, so, look for the newer ones.

You can find the scripts in the scripting forums.



Typically you CAN link Doors - what you cannot link is hinged multi-prim doors.


Any cheap or free door script I have seen can do linked doors, I am not sure where this misinformation comes from.



The reference to cutting the prim is the proper approach except that if you you cut it even further you get the proper "hinge" location on a single prim.
_____________________