Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Fable TLC » Discussion » Level Scripting » How to make teleport in other location  () 1 Vote
Re: How to make teleport in other location [message #52864 is a reply to message #52863] Sun, 19 July 2009 16:10 Go to previous messageGo to previous message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

As stated above; you can teleport anywhere you like. Read the whole wikipage on teleporters.
Specially the second part, after the blahblah about predefined uid's:

Quote:


Telporting to an area that does not have a predefined UID

You can teleport to anything in the game using the following method.

First you’ll need something to use as a telporter (door, object, etc) and something to act as its destination.
(I usually use markers for this purpose).
Getting coordinates

Open up FinalAlbion.wld in notepad and find the map you’ll be teleporting from.

Example:
NewMap 1;
MapX 3232;
MapY 3488;
LevelName "FinalAlbion\LookoutPoint.lev";

This will be your starting position. Now find the map you want to teleport to.

Example:
NewMap 326;
MapX 4736;
MapY 5184;
LevelName "creature_hub.lev";


Now take the x coord of the destination and subtract the starting maps x coord from it: (Creature Hub) 4736 - 3232 (LookoutPoint)

Then do the same with the Y coord: 5184 - 3488
Using the coordinates

Enter the values you got earlier into your Marker or whatever thing you are using as the destination of your teleporter.

PositionX 1504.00;
PositionY 1696.00;

It should now look something like this:
NewThing Marker;
Player 4;
UID 1844674187468630005444448;
DefinitionType "GAZE_OUT_OF_BUILDING_MARKER";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 1504.00;
PositionY 1696.00;
PositionZ 12.32;
RHSetForwardX 0.927178;
RHSetForwardY -0.374605;
RHSetForwardZ 0.0;
RHSetUpX 0.000342;
RHSetUpY 0.000847;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 197244689441620123;
EndCTCVillageMember;
Health 1.0;
EndThing;


Now set the EntranceConnectedToUID of your teleporter object to the UID of your destination object.

Example:
NewThing Object;
Player 4;
UID 36363632222229999777;
DefinitionType "OBJECT_OK_GARGOYLE_FEMALE_02";
CreateTC "CTCActionUseScriptedHook";
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 126.44458;
PositionY 75.484619;
PositionZ 30.163687;
RHSetForwardX -0.788017;
RHSetForwardY -0.615644;
RHSetForwardZ 0.0;
RHSetUpX 0.000301;
RHSetUpY -0.000385;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCActionUseScriptedHook;
Usable TRUE;
ReversedOnMiniMap FALSE;
HiddenOnMiniMap TRUE;
VersionNumber 1;
ForceConfirmation FALSE;
TeleportToRegionEntrance TRUE;
EntranceConnectedToUID 1844674187468630005444448;
SoundName "";
AnimationName "";
ReplacementObject 0;
EndCTCActionUseScriptedHook;
Health 1.0;
EndThing;


[edit]
there's even a calculator for it here.


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.

[Updated on: Sun, 19 July 2009 16:11]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Albion Explorer won't spawn any stuff (Objects and creatures)
Next Topic: Custom bodyguard wont respawn
Goto Forum:
  


Current Time: Wed May 01 06:58:10 PDT 2024

Total time taken to generate the page: 0.01088 seconds