Teleporters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (External Links)
Line 15: Line 15:


<!-- Suggestion to write a section on two-way teleporters, perhaps? (in a way that the player doesn't get infinitely teleported back and forth...like adding a "delay" before allowing to teleport back again) -->
<!-- Suggestion to write a section on two-way teleporters, perhaps? (in a way that the player doesn't get infinitely teleported back and forth...like adding a "delay" before allowing to teleport back again) -->
==External Links==
*[http://sdknuts.net/tutorials/wiseTele.asp Teleporting (sdknuts)]
*[http://www.halfwit-2.com/?page=tutorials&id=12 Teleports (halfwit-2)]
*[http://www.editlife.net/tutorial.php?tutid=32 Teleporter with Random Destination (editlife)]
*[http://www.interlopers.net/tutorials/1828 Teleporter (Interlopers)]
*[http://www.snarkpit.net/index.php?s=articles&article=50 Multi-destination 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}}
{{otherlang:en}} {{otherlang:en:ru|Teleporters:ru}} {{otherlang:en:pt|Teleporters:pt}}

Revision as of 05:38, 2 April 2009

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


External Links

Template:Otherlang:en Template:Otherlang:en:ru Template:Otherlang:en:pt