jump.tf Forums
Welcome B)

how 2 seamless teleport

Superchuck

  • Proficient
  • ****
    • Posts: 413
    • Frags: +0/-0
  • y-you too
    • View Profile
I have a great idea for a map, but I need to know how to do a seamless teleport. An example would be jump_pushittothelimit.

If anyone can help out, that'd be much appreciated :)
The Rat Master


plep

  • Advanced
  • *****
    • Posts: 639
    • Frags: +0/-0
  • hi
    • View Profile
It's a pretty simple method. You can decompile jump_pushittothelimit to see how it's done.
iirc you only have to fill the "Local Destination Landmark" part of your trigger_teleport entity with the name of the teleport destination its own name, with a bunch of placement stuff (thanks RNC).

I'm too lazy to decompile the map to tell you exactly (I did it before by curiosity but never used it). Sorry :-[
« Last Edit: June 18, 2016, 03:21:54 PM by Sir Plopy »


RNC1839

  • Proficient
  • ****
    • Posts: 499
    • Frags: +0/-0
    • View Profile
From bouncerific bonus 1:



Now for the important part: Placement.

You want the tele destination to be exactly where you want to teleport to in relation to the origin of the teleporter. And the size of the teleporter defines the range you can be teleported to.

Or in english:
Cut the teleporter to the exact size of the hallway it's in, then put the center of the feet of the teleport destination at exactly the same position as the origin of the teleporter in the new hallway.
So if you have a 512x512 hallway you'd want to put the teleport destination at 256x256 assuming a centered origin.

If you want something like bonus 2 on bouncerific where you have 1 teleport and 1 destination you need to resize the teleporter to redefine where you're able to fall.


Superchuck

  • Proficient
  • ****
    • Posts: 413
    • Frags: +0/-0
  • y-you too
    • View Profile

Cut the teleporter to the exact size of the hallway it's in, then put the center of the feet of the teleport destination at exactly the same position as the origin of the teleporter in the new hallway.


...uh, I'm having trouble understanding the lingo here :(

EDIT: nvm I got it, thanks a lot!
« Last Edit: June 18, 2016, 03:34:42 PM by Superchuck »
The Rat Master