Teleporters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Adding info on team-specific teleporters.)
m (otherlang2'd)
Line 1: Line 1:
{{otherlang2
|ru=Teleporters:ru
|pt=Teleporters:pt
}}
{{stub}}
{{stub}}
Teleporters can be created using standard Source entities.
Teleporters can be created using standard Source entities.
Line 30: Line 34:
*[http://www.snarkpit.net/index.php?s=articles&article=149 Random Teleporter (snarkpit)]
*[http://www.snarkpit.net/index.php?s=articles&article=149 Random Teleporter (snarkpit)]


{{otherlang:en}} {{otherlang:en:ru|Teleporters:ru}} {{otherlang:en:pt|Teleporters:pt}}


[[Category:Level Design Tutorials]]
[[Category:Level Design Tutorials]]

Revision as of 18:38, 9 March 2011

Template:Otherlang2

Stub

This article or section is a stub. You can help by expanding it.

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).


Now in game when you go through the trigger_teleport you come out at the info_teleport_destination

Making Teleporters Team-Specific

If you have teleporters in your map that are out in the open, and you want to make them team-specific, add 1 filter_activator_tfteam per teleporter that you are making team-specific.

External Links