Page 1 of 1

Correct TP dest entity.

Posted: Sun Apr 04, 2010 12:14 pm
by Hipshot
How would you create a teleport?

trigger_teleport -> misc_teleport_dest (as seen in q3dm17)
trigger_teleport -> target_position (as seen in q3dm7)
trigger_teleport -> target_teleporter

All these three seems to work, I always assumed the first one was the correct, but seems there are different solutions here? Does it matter which one you use, seeing how id used two different?

Re: Correct TP dest entity.

Posted: Sun Apr 04, 2010 1:45 pm
by dONKEY
I always understood it was misc_teleport_dest

target_position is the correct target for jump pads.

target_teleporter should target at a misc_teleport_dest iirc.

Re: Correct TP dest entity.

Posted: Sun Apr 04, 2010 4:02 pm
by obsidian
Generally, you should use trigger_teleport --> misc_teleport_dest
Touching this will teleport players to the location of the targeted misc_teleporter_dest entity. This entity allows client prediction of events.
target_teleporter is used if you want to have something trigger it, though I'm not entirely sure how that works.
Activating this will teleport players to the location of the targeted misc_teleporter_dest entity. Unlike trigger_teleport, this entity must be activated by a trigger and does NOT allow client prediction of events.
Technically, I think whatever you target at the end doesn't matter too much since all it does is assign an origin for the player to spawn at. misc_teleport_dest has a better visual object in the editor so you don't spawn a player's shoulder in a wall.

Re: Correct TP dest entity.

Posted: Sun Apr 04, 2010 5:37 pm
by phantazm11
target_teleporter is used if you want to have something trigger it, though I'm not entirely sure how that works.
People use this to have the player teleported if they shoot the teleporter, though id didn't use this in the final game as far as I know.

Re: Correct TP dest entity.

Posted: Sun Apr 04, 2010 5:54 pm
by $NulL
I think you can also use target_teleport to have team specific destinations via a target_relay.

ie:

Code: Select all

trigger_multiple -> target_relay ( red only) -> target_teleport -> misc_tele_dest
                 |
                 -> target_relay (blue only) -> target_teleport -> misc_tele_dest

Re: Correct TP dest entity.

Posted: Mon Apr 05, 2010 6:24 pm
by Silicone_Milk
$NulL wrote:I think you can also use target_teleport to have team specific destinations via a target_relay.

ie:

Code: Select all

trigger_multiple -> target_relay ( red only) -> target_teleport -> misc_tele_dest
                 |
                 -> target_relay (blue only) -> target_teleport -> misc_tele_dest
that actually sounds like it could be a useful little setup.