Teleporters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (tidy & categorized (remember: this is more general than TF2))
No edit summary
Line 16: Line 16:


[[Category:Level Design Tutorials]]
[[Category:Level Design Tutorials]]
[[Category:Team Fortress 2]]

Revision as of 01:55, 13 September 2008

Teleporters can be created using standard Source entities.

One-way teleporter

File:Rustiznotch teleportation.jpg
An example teleportation room.

Start by creating a trigger_teleport as a brush_entity and placing it where you want the teleport entry zone to be. This will be the area in which a player must enter to be teleported (see picture on the right).

  • Set the 'Remote Destination' to an arbitrary name (destination1, for example).
  • Change to the 'Flags' tab and check the 'Clients' flag.


Next, create an info_teleport_destination as an entity where you want the teleport exit zone. This will be the area where the player is teleported to.

  • Set the 'Name' attribute to the arbitrary name that was used in the previous step (destination1).