teleporting player via multimanager? Created 13 years ago2010-05-24 00:46:08 UTC by 23-down 23-down

Created 13 years ago2010-05-24 00:46:08 UTC by 23-down 23-down

Posted 13 years ago2010-05-24 00:46:08 UTC Post #281419
Hey peolpe Am I just tired and don't see the solution right in front of my eyes or isn't it possible to teleport a player by trigger (without the player to walk over the trigger) I want a time activation via multimanager.

Just like valve did it in the testchamber map directly after the experiment went wrong and you're getting teleported to xen etc.

I've checked several teleportation tutorials and example maps but they don't cover that up. I also decompiled the original hl1 map but finding something there is nearly impossible.
Posted 13 years ago2010-05-24 01:50:18 UTC Post #281420
Maybe you could put a large teleport covering the area the player will be in, and use a multimanager to trigger it after a time?
Alabastor_Twob Alabastor_Twobformerly TJB
Posted 13 years ago2010-05-24 02:26:23 UTC Post #281421
I think you need to use a multisource. Can't remember for sure though.
Jessie JessieTrans Rights <3
Posted 13 years ago2010-05-24 08:47:18 UTC Post #281422
The way Valve did it (and the way its supposed to be done) was simply cover the entire testchamber with a trigger_teleport brush, so the player was touching it all the time. Now, since this entity does not have a start off/disabled flag, you'll be teleported as soon as you touch the trigger_teleport. Why didn't that happen in the testchamber? Because the t_t has a master property, allowing you to use a multisource to make it start off/disabled. Here's how to set it all up:

1. Make your trigger_teleport, enter a target and a name for the master field. Don't forget to place and name (t_t target field) an info_teleport_destination as well.
2. Place a multisource and give it the same name as what you typed in the master property of the t_t.

And that should be all. When enter the t_t, nothing will happen, because the teleport is disabled by the multisource. To enable, simply trigger the multisource, using a multimanager for example.

Hope thats helps.
The Mad Carrot The Mad CarrotMad Carrot
Posted 13 years ago2010-05-24 13:10:31 UTC Post #281426
Works fantastic thank you @The Mighty Atom. :)
Posted 13 years ago2010-05-24 14:59:06 UTC Post #281427
New problem:

I get teleported to another place when I get teleported back to the original place from where I started... The original first teleporation trigger is teleporting me again and again.

Causing the player to get stuck during that sequence. So the first teleport is working fine but the 2nd isn't due to the first trigger.

I tried to kill the trigger brush but it wont get killed. Is there a way to teleport the trigger itself or to deactivate it again?

EDIT: Nevermind I fixed it myself. I deleted the brush to late. That's why it didn't worked I suppose. I deleted it now a bit earlier in another trigger and it does work now. :)
Posted 13 years ago2010-05-24 18:51:16 UTC Post #281428
You could also just disable it again, could you not?
Notewell NotewellGIASFELFEBREHBER
Posted 13 years ago2010-05-24 22:36:37 UTC Post #281430
For some reason it didn't worked to disable it. Sometimes Hammer reacts really strange with all it's flaws..

Well bedtime for me. Gn8.
Posted 13 years ago2010-05-30 14:24:24 UTC Post #281480
I used trigger_changetargets to change the destination of a teleport to something null(just a random name that doesn't apply to any entity) to "disable" it, and that worked for me.

you can take a look at the rooms intro rmfs where the player can travel back and forth from one place to another multiple times: i had to disable one teleport and favor another, sitting on the exact same spot, kinda making them togglable, though that might be a bit confusing to understand.

There is also a teleport/trigger_changetarget example map in the vault by Elon Yariv, which i used to help me with the teleporting in rooms.

If you can't get it to work and feel like uploading the .rmf, i'll take a look at it for you.

)

edit x1000 = )
Captain Terror Captain Terrorwhen a man loves a woman
You must be logged in to post a response.