Teleporting a func_tracktrain

Avatar
youme
937 Posts
Posted Dec 01, 2007
I have a func_tracktrain that I want to be instantly teleported to another path_track when it passes the final one.

The tracktrain goes from A to B and what I want is when it reaches A it is teleported back to B.

How do i do this?

Advertisement
Registered users don't see ads! Register now!
Avatar
volt
104 Posts
Posted Dec 01, 2007
Replied 12 minutes later

youme wrote:
I have a func_tracktrain that I want to be instantly teleported to another path_track when it passes the final one.

The tracktrain goes from A to B and what I want is when it reaches B it is teleported back to B.

How do i do this?

Do you mean teleported back to A?

Avatar
MrTwoVideoCards
584 Posts
Posted Dec 01, 2007
Replied 17 minutes later
Im not too sure by the given description, but you just specify the next path after point b, or you want something to go back and forth? or?
Avatar
youme
937 Posts
Posted Dec 01, 2007
Replied 1 minute later

volt wrote:
Do you mean teleported back to A?

Yeah, oops.
Start at A
travel slowly to B
teleport instantly to A
travel slowly to B
teleport instantly to A
travel slowly to B
....
...

Avatar
Korjagun
122 Posts
Posted Dec 01, 2007
Replied 1 minutes later
So something like the platforms in Chamber 15?
Avatar
youme
937 Posts
Posted Dec 01, 2007
Replied 2 minutes later
yes just like that, except I only want one platform going at a time and I think chamber 15 has 2 or 3 platforms at once
Avatar
msleeper
4,095 Posts
Member
Posted Dec 01, 2007
Replied 1 minutes later
I am 99% sure there is some sort of flag and/or an Output that the path_track gives, something like OnPass or a "Teleport to Destination" flag.
Avatar
yikkayaya
71 Posts
Posted Dec 01, 2007
Replied 1 minute later
Point_teleport?
It's supposed to teleport any entities?
Avatar
Shmitz
167 Posts
Posted Dec 01, 2007
Replied 1 minutes later
I'd have to double check again to be sure, but I recall when looking through chamber 19's entity list that they just killed the train when it reached the end (B) and used an entity maker to make a new one (A).
Avatar
youme
937 Posts
Posted Dec 01, 2007
Replied 6 minutes later

Shmitz wrote:
I'd have to double check again to be sure, but I recall when looking through chamber 19's entity list that they just killed the train when it reached the end (B) and used an entity maker to make a new one (A).

That sounds kinda complicated, can you use an entity maker to make a whole hierachy?

Avatar
yikkayaya
71 Posts
Posted Dec 01, 2007
Replied 12 minutes later
When it reach the end, reverse direction and change the speed to something EXTREME?
Avatar
NocturnalGhost
200 Posts
Posted Dec 01, 2007
Replied 4 minutes later
I'm relatively sure there is a teleport option in the path_track flags. Is it not working for you?
Avatar
youme
937 Posts
Posted Dec 01, 2007
Replied 1 minute later

yikkayaya wrote:
When it reach the end, reverse direction and change the speed to something EXTREME?

Too kludgy

Avatar
Korjagun
122 Posts
Posted Dec 01, 2007
Replied 2 minutes later
There is a flag on the path_track entity called "Teleport to THIS path track". Perhaps setting that on the first path_track might work?
Avatar
youme
937 Posts
Posted Dec 01, 2007
Replied 6 minutes later

Korjagun wrote:
There is a flag on the path_track entity called "Teleport to THIS path track". Perhaps setting that on the first path_track might work?

No, thats got something to do with moving it from where it starts in hammer.

Avatar
NocturnalGhost
200 Posts
Posted Dec 01, 2007
Replied 35 minutes later
I just tested the teleport option on the path_tracks, and they work just fine. I have attached a vmf to show the setup, but it's mega-simple.
Advertisement
Registered users don't see ads! Register now!
Avatar
youme
937 Posts
Posted Dec 01, 2007
Replied 12 minutes later
Thanks, it makes perfect sence now. I have to link A to B and then B back to A but flag A with 'teleport to this path'