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
How to make teleport in other location [message #52844] Sun, 19 July 2009 08:22 Go to next message
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


...and this to HauntedHouseCellar.tng:

Toggle Spoiler


What have I made incorrectly?
Re: How to make teleport in other location [message #52846 is a reply to message #52844] Sun, 19 July 2009 09:19 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

Put your marker in the same tng as your teleporter.

Re: How to make teleport in other location [message #52847 is a reply to message #52846] Sun, 19 July 2009 09:31 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
jwc2200 wrote on Sun, 19 July 2009 20:19

Put your marker in the same tng as your teleporter.


And what it will give? Confused

UPD

It has not helped Sad

[Updated on: Sun, 19 July 2009 09:35]

Report message to a moderator

Re: How to make teleport in other location [message #52848 is a reply to message #52844] Sun, 19 July 2009 09:40 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
YEEAH!!!! THIS WORKED!!! THANKS!!!!!!!!!!!!!!! ahaha! ahaaaaaa!!!!!!!!!!!!!! yeah!!!!! Very Happy
Re: How to make teleport in other location [message #52852 is a reply to message #52844] Sun, 19 July 2009 11:48 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
oh, i remember! How to make teleport not for corner of map?
Re: How to make teleport in other location [message #52853 is a reply to message #52852] Sun, 19 July 2009 12:30 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

I think you mean that you want to teleport to somewhere other than the entrance gate to a region, if so, I do not think you can. Region entrance and exit points are the only places I think you can teleport to.
When you recall to an area you teleported away from, Oakvale as an example, you end up near a region entrance point, like Oakvale memorial gate or Clifftop path gate.
It may be possible to teleport to certain map coordinates, but I do not know how. You can experiment by using the wiki instructions involving markers to teleport to areas that already have cullis gates and see if you end up in town instead of at the entrance points I guess.


Re: How to make teleport in other location [message #52859 is a reply to message #52853] Sun, 19 July 2009 15:47 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

You can teleport to anywhere on a map.
http://fabletlcmod.com/wiki/doku.php?id=scripting:d.i.y._tel eporter


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: How to make teleport in other location [message #52863 is a reply to message #52859] Sun, 19 July 2009 16:02 Go to previous messageGo to next message
jwc2200 is currently offline  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 #52864 is a reply to message #52863] Sun, 19 July 2009 16:10 Go to previous messageGo to next 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

Re: How to make teleport in other location [message #52867 is a reply to message #52864] Sun, 19 July 2009 16:22 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

But that still only covers getting to the region in one set place. My question, and I think Torionel's most recent one also, is can you get to a specific point in the region.
Say I make a teleporter to Twinblade's Tent, can I make it teleport me to inside the tent, rather than next ro the region gate? Or one to Oakvale, can I get it to put me in front of the tavern, rather than at one of the region gates. I know how to have it put me at whatever region entrance/exit point I want to go to, but can I get somewhere other than one of those points?


Re: How to make teleport in other location [message #52884 is a reply to message #52867] Mon, 20 July 2009 00:31 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

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.


http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: How to make teleport in other location [message #52886 is a reply to message #52844] Mon, 20 July 2009 02:52 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
HELP PLEASE! When I reinstall fable and reinstall mod after it, game crashed when I teleport to creature hub.

Re: How to make teleport in other location [message #52888 is a reply to message #52886] Mon, 20 July 2009 03:05 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
Torionel wrote on Mon, 20 July 2009 04:52

HELP PLEASE! When I reinstall fable and reinstall mod after it, game crashed when I teleport to creature hub.
User error. Post all related scripts and someone can troubleshoot it with you.
Re: How to make teleport in other location [message #52889 is a reply to message #52844] Mon, 20 July 2009 03:30 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
Okay!
and this

[Updated on: Mon, 20 July 2009 03:51] by Moderator

Report message to a moderator

Re: How to make teleport in other location [message #52891 is a reply to message #52889] Mon, 20 July 2009 03:53 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
No. I said related scripts, not entire tngs. You'll notice that I removed them. Though it is handy to know which tngs were used...
Anyway, yea, try this out.
Teleport script
Destination script


You can use [code] tags to contain the tng scripts.
[code]
Teleport script
[/code]

[code]
Destination script
[/code]
Re: How to make teleport in other location [message #52892 is a reply to message #52844] Mon, 20 July 2009 04:45 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
TELEPORTER (in HauntedHouseCellar.tng)
Toggle Spoiler


MARKER (in HauntedHouseCellar too)
Toggle Spoiler

Re: How to make teleport in other location [message #52893 is a reply to message #52886] Mon, 20 July 2009 05:13 Go to previous messageGo to next message
JohnDoe is currently offline  JohnDoe
Messages: 3007
Registered: October 2007

Retired
You're jumping from place to place.
You first said that you crash when going to creature hub.
Torionel wrote on Mon, 20 July 2009 04:52

game crashed when I teleport to creature hub.
See? But now you say HauntedHouseCellar. And I see you're using ChocolateBox now.
And before you posted those scripts, you posted two different tngs in their entirety. You're asking me to play pin the solution on the problem but you keep changing the problem. Each problem needs to be described.
How does a teleporter in HauntedHouseCellar affect creature hub? It doesn't. What's the problem in HauntedHouseCellar? Does it crash too? You're using CBox, if it crashes, what steps were made in CBox to produce the scripts?

Screw it, I'm out.

[Updated on: Mon, 20 July 2009 05:13]

Report message to a moderator

Re: How to make teleport in other location [message #52902 is a reply to message #52844] Mon, 20 July 2009 07:46 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
I have made a teleport to creature_hub from cellar. Look at my signature about my english))
Re: How to make teleport in other location [message #52904 is a reply to message #52902] Mon, 20 July 2009 09:03 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

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.


Re: How to make teleport in other location [message #52905 is a reply to message #52844] Mon, 20 July 2009 10:04 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
it still did not work Confused
Re: How to make teleport in other location [message #52910 is a reply to message #52905] Mon, 20 July 2009 10:38 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

It looks like your marker is wrong also. The 'Player' part must not matter. Also, your UID's are huge, much longer than they are supposed to be. I think you should start over, generating new UID's and rechecking the coordinates. Open your own FinalAlbion.wld to get coordinates,

[mine for creature hub are different than the ones in the guide.] I was wrong here too, been too long since I did this I guess.

I have tried 3 times and I cannot make a teleporter from HauntedHouseCellar to CreatureHub.


[Updated on: Mon, 20 July 2009 11:34]

Report message to a moderator

Re: How to make teleport in other location [message #52912 is a reply to message #52904] Mon, 20 July 2009 12:10 Go to previous messageGo to next message
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...
Re: How to make teleport in other location [message #52913 is a reply to message #52844] Mon, 20 July 2009 13:21 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
How to clean furniture? I have removed the grey house and have removed furniture with CBox, but in game furniture is displayed.

[Updated on: Mon, 20 July 2009 13:22]

Report message to a moderator

Re: How to make teleport in other location [message #52914 is a reply to message #52913] Mon, 20 July 2009 13:51 Go to previous messageGo to next message
OldBoy is currently offline  OldBoy
Messages: 1112
Registered: October 2005
Location: Groningen

Administrator

If you already visited the area, it's stored in your savegame.,

http://img18.imageshack.us/img18/1640/48x48exit.png
this is not an exit.
Re: How to make teleport in other location [message #52924 is a reply to message #52844] Tue, 21 July 2009 08:37 Go to previous messageGo to next message
Torionel
Messages: 71
Registered: March 2009
Hmmm...Thanks. And how I can make buyable house?
Re: How to make teleport in other location [message #52936 is a reply to message #52913] Tue, 21 July 2009 11:26 Go to previous messageGo to next message
jwc2200 is currently offline  jwc2200
Messages: 845
Registered: March 2008
Location: Texas

Administrator

Torionel wrote on Mon, 20 July 2009 13:21

How to clean furniture? I have removed the grey house and have removed furniture with CBox, but in game furniture is displayed.


If you are trying to delete furniture from one of the buyable houses that can be upgraded, you have to delete all dress levels. There will be a dress level 1,2,3 bed so you need to delete them all.

You can use AE or cbox to set ownership of all the houses to the hero. Go to each house and change OwnedByPlayer FALSE; to TRUE.


Re: How to make teleport in other location [message #52945 is a reply to message #52844] Tue, 21 July 2009 12:45 Go to previous message
Torionel
Messages: 71
Registered: March 2009
And to make that it was possible to buy the house it is impossible? I hope you me have understood...
Previous Topic: Albion Explorer won't spawn any stuff (Objects and creatures)
Next Topic: Custom bodyguard wont respawn
Goto Forum:
  


Current Time: Fri Mar 29 02:27:52 PDT 2024

Total time taken to generate the page: 0.01314 seconds