[Q] D1 "Run in Telport"

http://kalserverace.com
Joined
Sep 12, 2006
Messages
477
Reaction score
17
i know it has something to do whith Ect.txt (server side) and thats about it.
is there a way that i culd make one? (not move but make)

Thank you.
 
He means a portal that moves the player to a certain location once the player touches it. Like dungeon entrances/exits. He wants to know how to make a custom one that will teleport players to a location of his choice.
 
Upvote 0
it's in etc.txt and also the ksm files. thats why editing the ksm files can break the portal. you need to either make a ksm editor that can add the portal zones or ask someone very nicely to make one for you. i myself haven't got one of those nice map editors.

I'm pretty sure thats how it is done.
 
Upvote 0
Easy :
Code:
(portal (country 2) (from 0 7102 9954 7107 9960) (to 4 35560 34516 29717))
(Country 2) = Country code -_-
(from 0 7102 9954 7107 9960) = Start Square, (from [map] [NW:X/32] [NW:Y/32] [SE:X/32] [SE:Y/32]) its the same as spawning mobs Look further down the post if you dont understand it
(to 4 35560 34516 29717)) = The coardinates to telleport to
You need 2 points (coordinates) to define a spawn rectangle.
Go to the south/west corner of the (virtual) rectangle type /coordinates and write them down, now do thes ame with the north/east corner and write the coordinates down.

Lets say s/w = (257925 276013 16966) and n/e = (258648 276331 16811)

Now how to get (rect x y x2 y2) out of this coordinates?
Easy, take the first number of s/w coord. and divide it by 32 = x
Second number of s/w divided by 32 = y
First number of n/e divided by 32 = x2
Second number of n/e divided by 32 = y2

So the coordinates for the spawn rectangle would be:
(rect 8060 8625 8082 8635)
In this case:
(from 0 8060 8625 8082 8635)
 
Upvote 0
It's the plan, that we'll make some portal gates on HOAX to test the possbility of this out :-)

I just lack the time to help fixing the rest. But I'll make sure to post some screenshots if we make it work.
 
Upvote 0
Easy :
Code:
(portal (country 2) (from 0 7102 9954 7107 9960) (to 4 35560 34516 29717))
(Country 2) = Country code -_-
(from 0 7102 9954 7107 9960) = Start Square, (from [map] [NW:X/32] [NW:Y/32] [SE:X/32] [SE:Y/32]) its the same as spawning mobs Look further down the post if you dont understand it
(to 4 35560 34516 29717)) = The coardinates to telleport to

In this case:
(from 0 8060 8625 8082 8635)

yes that works fine if the portal box is in the portal zone of the ksm file.

by editing a ksm file you can break 'run in teleports' therefore it's not just in etc.txt
 
Upvote 0
Back