Teleport Problems [message #30526] |
Wed, 03 October 2007 09:28 ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Simononon
Messages: 10 Registered: October 2007 Location: NSW, Australia
|
|
![simonboo99%40gmail.com](/forum/theme/default/images/msnm.png)
|
|
I've recently started modding Fable for PC, and attempted to make a one-way teleporter between the guild and a filler map (NorthernWastes3_Filler_08).
This is the code for the teleport, located within the guild:
NewThing Object;
Player 4;
UID 18446741837628658528;
DefinitionType "OBJECT_GUILD_PEDESTAL_TELEPORT_01";
CreateTC "CTFActionUseScriptedHook";
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 99.742676;
PositionY 117.516113;
PositionZ 30.069347;
RHSetForwardX 0.000000;
RHSetForwardY 1.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCActionUseScriptedHook;
Usable TRUE;
ReversedOnMiniMap FALSE;
HiddenOnMiniMap FALSE;
VersionNumber 1;
ForceConfirmation FALSE;
TeleportToRegionEntrance TRUE;
EntranceConnectedToUID 18446741856351544164;
SoundName "";
AnimationName "";
ReplacementObject 0;
EndCTCActionUseScriptedHook;
Health 1.0;
EndThing;
and this is the code for it's destination (the entire NorthernWastes3_Filler_08.tng file):
Version 2;
XXXSectionStart NULL;
NewThing Object;
Player 4;
UID 18446741856351544164;
DefinitionType "OBJECT_GUILD_PEDESTAL_TELEPORT_01";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 156.039200;
PositionY 166.016100;
PositionZ 73.406010;
RHSetForwardX 0.000000;
RHSetForwardY 1.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
Health 1.0;
EndThing;
XXXSectionEnd;
I can't use the teleport at all, it just seems to be a stationary prop that I can do nothing with.
Any ideas as to what I've done wrong?
My apologies if I have posted this in the wrong section, I've only just began modifying Fable today.
|
|
|
|
|
|
|
Re: Teleport Problems [message #30629 is a reply to message #30526] |
Thu, 04 October 2007 01:12 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
![](http://fabletlcmod.com/forum/images/custom_avatars/2435.jpg) |
Sean_s
Messages: 576 Registered: June 2007 Location: Ohio
|
|
|
|
If you program them right, they can go into other areas (they're normally large numbers though). Here, this will help.
Remember this formula, destination map coordinates, minus starting map coordinates plus local coordinates of area you want to appear on map. For more details, go here.
New? Or looking for information? Look here before posting.
Help the community by adding this to your sig!
Assistant for Conquest
By the way, call me Searyan
[Updated on: Thu, 04 October 2007 01:17] Report message to a moderator
|
|
|
Re: Teleport Problems [message #30632 is a reply to message #30526] |
Thu, 04 October 2007 01:24 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Simononon
Messages: 10 Registered: October 2007 Location: NSW, Australia
|
|
![simonboo99%40gmail.com](/forum/theme/default/images/msnm.png)
|
|
I did try adding the Target Map's position and the Prop's location in relation to the Target Map, and minusing the Position of the Starting Map, but I must have done something wrong as the coordinates I used crashed the game.
Anywho, that's not the problem at the moment. I moved both the objects to the same place, within visible distance of eachother.
NewThing Object;
Player 4;
UID 18446741837628658528;
DefinitionType "OBJECT_GUILD_PEDESTAL_TELEPORT_01";
CreateTC "CTCActionUseScriptedHook";
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 102.626465;
PositionY 114.247600;
PositionZ 30.138624;
RHSetForwardX 0.000000;
RHSetForwardY 1.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCActionUseScriptedHook;
Usable TRUE;
ReversedOnMiniMap FALSE;
HiddenOnMiniMap TRUE;
VersionNumber 1;
ScriptData "Are you sure you want to use this teleporter?";
ForceConfirmation TRUE;
TeleportToRegionEntrance TRUE;
EntranceConnectedToUID 18446741856351544164;
SoundName "";
AnimationName "";
ReplacementObject 0;
EndCTCActionUseScriptedHook;
Health 1.0;
EndThing;
NewThing Object;
Player 4;
UID 18446741856351544164;
DefinitionType "OBJECT_GUILD_PEDESTAL_TELEPORT_01";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX 109.173828;
PositionY 114.247559;
PositionZ 30.147957;
RHSetForwardX 0.000000;
RHSetForwardY 1.000000;
RHSetForwardZ 0.000000;
RHSetUpX 0.000000;
RHSetUpY 0.000000;
RHSetUpZ 1.000000;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
Health 1.0;
EndThing;
I can use the teleporter - the confirmation message appears on the screen, and I select OK, however, I don't teleport anywhere.
[Updated on: Thu, 04 October 2007 01:25] Report message to a moderator
|
|
|
|
|
Re: Teleport Problems [message #30640 is a reply to message #30526] |
Thu, 04 October 2007 01:54 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Simononon
Messages: 10 Registered: October 2007 Location: NSW, Australia
|
|
![simonboo99%40gmail.com](/forum/theme/default/images/msnm.png)
|
|
Ok, I'll give it a try now that I've restored my fable backups (I was a giant chicken, and Whisper was a dominatrix).
How are the effects done for the teleport portal on the bottom floor of the guild?
|
|
|
|
|
|
Re: Teleport Problems [message #30651 is a reply to message #30526] |
Thu, 04 October 2007 02:43 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) |
Simononon
Messages: 10 Registered: October 2007 Location: NSW, Australia
|
|
![simonboo99%40gmail.com](/forum/theme/default/images/msnm.png)
|
|
Does using a different UID, or a different series of numbers, have a different effect on the object?
For example, this teleport wasn't working with the UID I had set, which was generated randomly by AlbionExplorer. When I changed it to the UID used in the tutorial on the Wiki, it began working.
I also copied the script for a bed from Barrowfields. All that I changed was the position, rotation, OwnerID and UID of the object, and now I can no longer sleep on the bed.
[Updated on: Thu, 04 October 2007 06:41] Report message to a moderator
|
|
|