How to make teleport in other location [message #52844] |
Sun, 19 July 2009 08:22  |
Torionel
Messages: 71 Registered: March 2009
|
|
|
|
I make script with http://fabletlcmod.com/wiki/doku.php?id=scripting:d.i.y._tel eporter this article.
I need teleport (haunted house cellar to creature hub).
I paste it in creature_hub.tng:
Toggle Spoiler
NewThing Marker;
Player 4;
UID 1844674167311235794326976;
DefinitionType "GAZE_OUT_OF_BUILDING_MARKER";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
Health 1.00000;
ObjectScale 1.00000;
StartCTCPhysicsStandard;
PositionX 1728.00000;
PositionY 3040.00000;
PositionZ 40.00000;
RHSetForwardX 0.00000;
RHSetForwardY 1.00000;
RHSetForwardZ 0.00000;
RHSetUpX 0.00000;
RHSetUpY 0.00000;
RHSetUpZ 1.00000;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 197244689441620123;
EndCTCVillageMember;
Health 1.0;
EndThing;
...and this to HauntedHouseCellar.tng:
Toggle Spoiler
NewThing Object;
Player 4;
UID 1844674149173898138318821;
DefinitionType "OBJECT_BLOCKING_DOOR";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
Health 1.00000;
ObjectScale 1.00000;
CreateTC "CTCActionUseScriptedHook";
StartCTCPhysicsStandard;
PositionX 14.69092;
PositionY 39.37646;
PositionZ 30.24490;
RHSetForwardX -0.00876;
RHSetForwardY 0.97720;
RHSetForwardZ 0.21216;
RHSetUpX -0.04125;
RHSetUpY 0.00000;
RHSetUpZ 0.99915;
EndCTCPhysicsStandard;
StartCTCActionUseScriptedHook;
Usable TRUE;
ReversedOnMiniMap FALSE;
HiddenOnMiniMap FALSE;
VersionNumber 1;
ForceConfirmation FALSE;
TeleportToRegionEntrance TRUE;
EntranceConnectedToUID 1844674167311235794326976;
CameraTrackUID 0;
SoundName "";
AnimationName "";
ReplacementObject 0;
EndCTCActionUseScriptedHook;
EndThing;
What have I made incorrectly?
|
|
|
|
|
|
|
|
|
Re: How to make teleport in other location [message #52863 is a reply to message #52859] |
Sun, 19 July 2009 16:02   |
jwc2200
Messages: 845 Registered: March 2008 Location: Texas
|
Administrator
|

|
|
OldBoy, do you mean any region, or any set of coordinates in the region?
When I made a teleporter to Hook Coast using the marker method, it took the hero to the cullis gate. Can it be made to take him to the lighthouse, for instance?
I may be wrong, but I think his question is, can he get to a certain point in a region, not just to the entrance point. The link you posted is the same one in the first post, and the one I used to learn to make teleporters, it doesn't mention specific points in a region, just the region.
|
|
|
|
|
Re: How to make teleport in other location [message #52884 is a reply to message #52867] |
Mon, 20 July 2009 00:31   |
|
With this method you teleport to a marker. The exact spot of that marker.
So if you change the coordinates of that marker (xyz) you can start anywhere on a map.
You can teleport 10ft away if you want, or 100ft in the air.
Just add to, or substract from the coordinates of the marker.
I thought it was clear in the wiki, but I see now there's no mentioning of it, my bad.
this is not an exit.
|
|
|
|
|
|
|
Re: How to make teleport in other location [message #52892 is a reply to message #52844] |
Mon, 20 July 2009 04:45   |
Torionel
Messages: 71 Registered: March 2009
|
|
|
|
TELEPORTER (in HauntedHouseCellar.tng)
Toggle Spoiler
NewThing Object;
Player 4;
UID 1844674149173898138318821;
DefinitionType "OBJECT_BS_GROG_BOTTLE_WHISKY_01";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
Health 1.00000;
ObjectScale 1.00000;
CreateTC "CTCActionUseScriptedHook";
StartCTCPhysicsStandard;
PositionX 13.61230;
PositionY 36.58423;
PositionZ 30.31459;
RHSetForwardX 0.00000;
RHSetForwardY 1.00000;
RHSetForwardZ 0.00000;
RHSetUpX -0.04031;
RHSetUpY -0.21234;
RHSetUpZ 0.97636;
EndCTCPhysicsStandard;
StartCTCActionUseScriptedHook;
Usable TRUE;
ReversedOnMiniMap FALSE;
HiddenOnMiniMap TRUE;
VersionNumber 1;
ForceConfirmation FALSE;
TeleportToRegionEntrance TRUE;
EntranceConnectedToUID 1844674167311235794326976;
CameraTrackUID 0;
SoundName "";
AnimationName "";
ReplacementObject 0;
EndCTCActionUseScriptedHook;
EndThing;
MARKER (in HauntedHouseCellar too)
Toggle Spoiler
NewThing Marker;
Player 4;
UID 1844674167311235794326976;
DefinitionType "GAZE_OUT_OF_BUILDING_MARKER";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
Health 1.0;
ObjectScale 1.00000;
StartCTCPhysicsStandard;
PositionX 1728.00000;
PositionY 3040.00000;
PositionZ 40.00000;
RHSetForwardX 0.00000;
RHSetForwardY 1.00000;
RHSetForwardZ 0.00000;
RHSetUpX 0.00000;
RHSetUpY 0.00000;
RHSetUpZ 1.00000;
EndCTCPhysicsStandard;
StartCTCVillageMember;
VillageUID 197244689441620123;
EndCTCVillageMember;
EndThing;
|
|
|
|
|
|
|
|
Re: How to make teleport in other location [message #52912 is a reply to message #52904] |
Mon, 20 July 2009 12:10   |
Torionel
Messages: 71 Registered: March 2009
|
|
|
|
jwc2200 wrote on Mon, 20 July 2009 20:03 | I see what you're saying. I see a problem with your teleporter script too,
ScriptName NULL; should not be there.
There may be more wrong, as your script is alot different from one that I have that goes to Hook Coast. That may not matter as it is just the same stuff in different places.
Try getting rid of the ScriptName and let me know if it still did not work.
|
I was mistaken! It work fine! I hope it will work for all...
|
|
|
|
|
|
|
|