Teleport questions Created 13 years ago2011-02-23 21:54:16 UTC by X-LAyer2 X-LAyer2

Created 13 years ago2011-02-23 21:54:16 UTC by X-LAyer2 X-LAyer2

Posted 13 years ago2011-02-23 21:54:16 UTC Post #290713
How do I #1: Make a teleport so that teleporting sound plays and #2 set up a delayed teleport like the one during the RC where you teleport but not right as you get to the area you're being teleported away from?
Posted 13 years ago2011-02-23 22:14:04 UTC Post #290714
#1 have a trigger that targets MM. Have MM target a change_target that gives the teleport a proper target to activate, and also target MM_sound.
MM_sound will target a ambient generic at 0.0 set to be initally silent, and then target the ambient generic again at 0.2 or whatever to shut the sound ambient_generic off.

#2 I'm not sure i understand your second question correctly but here is one way to delay the teleport:

the easiest i can think of is to send the player to a "limbo area", which could be nothing more than a black box with another teleport in it. have the teleport in the limbo area to be targeting an erroneous target. Whenever you want the player sent to his final destination, trigger a trigger_changetarget(like above) on that second telport to give it the proper target. (you could do this with the same multimanager that initiated the first teleport if you wanted)

There might also be a flag on the telport entity to delay teleport, or a keyvalue to delay the activation time, i can't remember. I don't know what RC is btw.. sorry1

)

Captain Terror Captain Terrorwhen a man loves a woman
Posted 13 years ago2011-02-23 22:21:08 UTC Post #290715
User posted image
Set this option as an interval based in seconds. (1 - 9, being the acceptable parameters. Decimals to the 100th will work as well, i.e. [ 1.25 ] being the set number would generally amount to, in game, 1 second and 1/4th of a second.)

/edit, A quick note... the count-down to when the actually teleport will take place.. will only be activated while standing IN the area in which the trigger_teleport is placed over. Leaving this area before the 9 seconds (or whatever set time) is up will cause the countdown to start over for that specific player.

Unless, of course, the teleport is activated through some other means, such as a trigger_multiple, multimanager, func_button, ect. Then, in which case, the count-down timer will start immediately after triggered and follow through until closed/canceled.
Posted 13 years ago2011-02-23 23:27:03 UTC Post #290716
RC is the resonance cascade, and what I meant by that was you walk into the test chamber but you aren't teleported to xen until the RC occurs.

Thanks You both though very helpful.

EDIT: Arg the "delay before trigger" doesn't seem to be working. Anybody know why?
Posted 13 years ago2011-02-24 00:52:36 UTC Post #290717
:/ I'm not sure..

Have you tried, giving the func_teleport a name, then triggering it with something else (i.e. multimanager, trigger_multiple, ect.) That may solve things rather smoothly?
Posted 13 years ago2011-02-24 01:17:08 UTC Post #290718
or u could just use the changetarget trick ;) psilous have u gotten the teleport delay to work for u personally before recommending it in such great detail?

P

alternatively, u could decompile the RC map to see how valve did it...
Captain Terror Captain Terrorwhen a man loves a woman
Posted 13 years ago2011-02-24 04:27:22 UTC Post #290720
I've done it.. in my spongebob map.. and another map.. i can't recall the details of the other map..

though in the spongebob map there is a simple trigger_teleport with a 2 second delay, and it works fine, not activating the teleport until you've rested inside the trigger_teleport.

I don't know.. I hate hammer editor, it's so weird for me.
Posted 13 years ago2011-02-24 10:28:24 UTC Post #290725
Yeah Joebama told me the same thing, to trigger the teleport with something else, I'm going to try it today.

EDIT: Got it to work I used trigger_once that targets a multisource which is the master of my teleport :)
Posted 13 years ago2011-02-25 01:10:33 UTC Post #290757
Awesome.
Posted 13 years ago2011-02-25 02:02:26 UTC Post #290759
Using trigger_changetarget is simpler/easier than using multisources imo, but i'm glad you got it working alright.

)

Captain Terror Captain Terrorwhen a man loves a woman
Posted 13 years ago2011-02-28 21:05:55 UTC Post #290932
Thanks for all your help, I'm glad I found TWHL otherwise I might have never even started mapping.
Posted 13 years ago2011-02-28 21:15:29 UTC Post #290933
TWHL - BREEDING MAPPERS SINCE 1798
You must be logged in to post a response.