From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/game_tele.md | 139 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 128 insertions(+), 11 deletions(-) (limited to 'docs/game_tele.md') diff --git a/docs/game_tele.md b/docs/game_tele.md index c6e2868..a40f1c9 100644 --- a/docs/game_tele.md +++ b/docs/game_tele.md @@ -1,11 +1,128 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [game_tele](game_tele) - -Column | Type | Description ---- | --- | --- -Id | mediumint(8) unsigned | -Position_x | float | -Position_y | float | -Position_z | float | -Orientation | float | -Map | smallint(5) unsigned | -Name | varchar(100) | +# game\_tele + +`Back-to:World` + +**Table Structure** + +This table contains a list of teleport locations that can be used with the *.tele* command in-game. Entries in this table can be added/deleted manually or with the *.tele add* and *.tele delete* commands. + + +++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

id

mediumint(8)

unsigned

PRI

NO

NULL

Auto increment

position_x

float

signed

 

NO

0

 

position_y

float

signed

 

NO

0

 

position_z

float

signed

 

NO

0

 

orientation

float

signed

 

NO

0

 

map

smallint(5)

unsigned

 

NO

0

 

name

varchar(100)

signed

 

NO

NULL

 

+ +** +** + +**Field Descriptions** + +### id + +The ID of the teleport location. This number is unique to every location added. + +### position\_x + +The x-axis coordinate of the teleport location. This can be attained by using the *.gps* command. + +### position\_y + +The y-axis coordinate of the teleport location. This can be attained by using the *.gps* command. + +### position\_z + +The z-axis coordinate of the teleport location. This can be attained by using the *.gps* command. + +### orientation + +The direction that the player will face after arriving at the teleport location. This can be attained by using the *.gps* command. + +(North = 0, South = 3.14159) + +### map + +The map ID of the location. See the [Map DBC file](http://collab.kpsn.org/display/tc/Map) for the IDs of all of the zones. + +### name + +A descriptive name for the teleport location. The name *cannot* have any spaces in it. It is also not recommended to use special characters such as periods, commas, slashes, etc... -- cgit