Doors opening - When you get close enough. [message #59869] |
Sun, 24 October 2010 09:58 |
IDontKnow
Messages: 190 Registered: August 2010 Location: 127.0.0.1
|
|
|
|
Probably been found/done before
But still This door opens when you get close enough, [Same Object as bowerstone doors] [ But I imagine you could replace the mesh [and animation? I don't know] to replicate[?] this with other doors]
[Don't for get to change the Uids For the door and the entrance connected to] [I don't think the entrance connected to Is THAT important, I could be wrong]
Anyway Here's the script, Have fun experimenting.
[Toggle Spoiler to see script]
Toggle Spoiler
NewThing Object;
Player 4;
UID Your Uid Here5;
DefinitionType "OBJECT_BS_GATEHOUSE_MAIN_DOORS_01";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
Health 1.00000;
ObjectScale 1.00000;
StartCTCPhysicsStandard;
PositionX 94.08154;
PositionY 64.15515;
PositionZ 46.81220;
RHSetForwardX -0.99943;
RHSetForwardY -0.03364;
RHSetForwardZ 0.00000;
RHSetUpX 0.00000;
RHSetUpY 0.00000;
RHSetUpZ 1.00000;
EndCTCPhysicsStandard;
StartCTCEditor;
LockedInPlace FALSE;
AttachToGround TRUE;
Freezed FALSE;
EndCTCEditor;
StartCTCTargeted;
Targetable TRUE;
EndCTCTargeted;
StartCTCActionUseScriptedHook;
Usable TRUE;
ReversedOnMiniMap FALSE;
HiddenOnMiniMap FALSE;
VersionNumber 1;
ForceConfirmation TRUE;
TeleportToRegionEntrance TRUE;
EntranceConnectedToUID Your Uid Here;
CameraTrackUID 0;
SoundName "";
AnimationName "";
ReplacementObject 0;
EndCTCActionUseScriptedHook;
EndThing;
Pictures [Not video's] [The pictures probably don't prove anything though ]
http://img543.imageshack.us/i/24102010174428.jpg/
http://img834.imageshack.us/i/24102010174423.jpg/
[Pictures in the Daylight]
http://img809.imageshack.us/i/25102010021449.jpg/
http://img44.imageshack.us/i/25102010021458.jpg/
http://img820.imageshack.us/i/25102010021459.jpg/
http://img163.imageshack.us/i/25102010021511.jpg/
I'll start messing around with it sooner or later, When I feel like it.
Also
Feel free to use this in any upcoming mods.
27/4/11 23:XX (11:XX Pm) She went to a better place. 28/4/11 10:XX She was burried; RIP
Leren van de taal van Nederland is leuk.
Ik heb nog veel te leren, hoewel.
Tengo la ambición de aprender a español.
Yet I have no idea how to start.
[Updated on: Sun, 24 October 2010 18:16] Report message to a moderator
|
|
|
|
|
Re: Doors opening - When you get close enough. [message #59899 is a reply to message #59897] |
Sun, 24 October 2010 17:37 |
IDontKnow
Messages: 190 Registered: August 2010 Location: 127.0.0.1
|
|
|
|
JohnDoe wrote on Mon, 25 October 2010 01:34 | Daytime pics are always better. And I believe that there's a variable in CDoorDef for the type of door which determines how the door behaves. If the door is only meant to function as a barrier that opens/closes and not meant to teleport the Hero anywhere, then EntranceConnectedToUID shouldn't matter at all.
|
Thanks for clearing that up,
Thanks for that list, I never knew such a list existed.
Updated first post with Pictures in the daytime.
27/4/11 23:XX (11:XX Pm) She went to a better place. 28/4/11 10:XX She was burried; RIP
Leren van de taal van Nederland is leuk.
Ik heb nog veel te leren, hoewel.
Tengo la ambición de aprender a español.
Yet I have no idea how to start.
[Updated on: Sun, 24 October 2010 18:18] Report message to a moderator
|
|
|