Teleporter Basic is a working teleporter that exists in Dark Forces but was not discovered until the source code was reverse engineered.
It transports objects to a designated location.
How to use
Like teleporter chute
, teleporter basic
is defined on a sector in a level's INF file. The following example demonstrates the usage.
item: sector name: my-teleporter seq class: teleporter basic target: dest-sector1 move: 320 -20 135 90 seqend
A target sector must be given.
The move
command instructs the teleporter where to send objects when they enter the teleporter. The syntax is:
move: [x coordinate] [y coordinate] [z coordinate] [yaw]
Important: The Y axis is inverted (unlike with elevator stops), therefore negative values are up and positive values are down in the game world.
The destination coordinates must be inside the target
sector, or teleported objects may end up "lost" in the void outside any sector.