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

Home » Fable TLC » Discussion » Level Scripting » What's wrong with this script?
What's wrong with this script? [message #21191] Tue, 03 July 2007 04:23 Go to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

Trying to make a teleporter in the Lookoutpoint to Hookcoast.

I've looked here for reference.
Can't find what's wrong.

NewThing Object;
Player 4;
UID 36363632244429999777;
DefinitionType "OBJECT_BS_SIGN_POST_DIRECTION_01";
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 TRUE;
TeleportToRegionEntrance TRUE;
EntranceConnectedToUID 1844674187468630005555666;
SoundName "";
AnimationName "";
ReplacementObject 0;
EndCTCActionUseScriptedHook;
Health 1.0;
EndThing;

NewThing Marker;
Player 4;
UID 1844674187468630005555666;
DefinitionType "MARKER_BASIC";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX -2196.715942;
PositionY 724.763672;
PositionZ 20.698526
RHSetForwardX 0.927178;
RHSetForwardY -0.374605;
RHSetForwardZ 0.0;
RHSetUpX 0.000342;
RHSetUpY 0.000847;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 197244689441777999;
EndCTCVillageMember;
Health 1.0;
EndThing;


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

[Updated on: Tue, 03 July 2007 04:24]

Report message to a moderator

Re: What's wrong with this script? [message #21192 is a reply to message #21191] Tue, 03 July 2007 04:25 Go to previous messageGo to next message
chaos is currently offline  chaos
Messages: 542
Registered: May 2006
If you can't figure out how to do the math by hand, try using this calculator. It's very helpful. Also, make sure the marker and sign are both in lookout point.

http://i143.photobucket.com/albums/r124/korgoth-of-barbaria/chaos-1.jpg
Re: What's wrong with this script? [message #21194 is a reply to message #21192] Tue, 03 July 2007 04:29 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

Well, I believe I can do a little math, so don't think that's the problem. Thanks for the app though Razz

http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: What's wrong with this script? [message #21196 is a reply to message #21194] Tue, 03 July 2007 04:31 Go to previous messageGo to next message
chaos is currently offline  chaos
Messages: 542
Registered: May 2006
No problem.

And you might want to set these to things on the sign post from FALSE to TRUE.

ThingGamePersistent ;
ThingLevelPersistent ;


http://i143.photobucket.com/albums/r124/korgoth-of-barbaria/chaos-1.jpg
Re: What's wrong with this script? [message #21197 is a reply to message #21196] Tue, 03 July 2007 04:38 Go to previous message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

Figured it out. I took the wrong coordinates to calculate with. Rolling Eyes
Thanks anyway for helping.

It should be this:
NewThing Object;
Player 4;
UID 36363632244429999777;
DefinitionType "OBJECT_BS_SIGN_POST_DIRECTION_01";
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 TRUE;
TeleportToRegionEntrance TRUE;
EntranceConnectedToUID 1844674187468630005555666;
SoundName "";
AnimationName "";
ReplacementObject 0;
EndCTCActionUseScriptedHook;
Health 1.0;
EndThing;

NewThing Marker;
Player 4;
UID 1844674187468630005555666;
DefinitionType "MARKER_BASIC";
ScriptName NULL;
ScriptData "NULL";
ThingGamePersistent FALSE;
ThingLevelPersistent FALSE;
StartCTCPhysicsStandard;
PositionX -2324.715942;
PositionY 756.763672;
PositionZ 20.698526;
RHSetForwardX 0.927178;
RHSetForwardY -0.374605;
RHSetForwardZ 0.0;
RHSetUpX 0.000342;
RHSetUpY 0.000847;
RHSetUpZ 0.999994;
EndCTCPhysicsStandard;
StartCTCEditor;
EndCTCEditor;
StartCTCVillageMember;
VillageUID 197244689441777999;
EndCTCVillageMember;
Health 1.0;
EndThing;


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Previous Topic: Time based script
Next Topic: Start cutscene from sign
Goto Forum:
  


Current Time: Sat Nov 30 03:24:48 PST 2024

Total time taken to generate the page: 0.14895 seconds