vertical payload

n30n

L4: Comfortable Member
Jul 13, 2009
154
14
Hello! Ive been working on PL map and I need my payload to go straight down at some point, but if just start to fly backwards. Basically I have a lift, payload get in lift goes down payload gets out. I remember reading something about vertical payload here but cant bloody find it now. Please help!
 

Ravidge

Grand Vizier
aa
May 14, 2008
1,544
2,818
I don't see a connection between plr_panic and the problem n30n has.

What you want is just path_tracks that goes straight down at a certain point. And parent the platform it's on to the cart. With some AddOutput trickery

Or something similar...

(I haven't done it myself so I can't be more specific, sorry)
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
You wouldn't really want players to use platform elevators because the player collision physics are bugged.

If it's just the payload it's a matter of simply matching the speed of the payload with the elevator and firing them to move at the same time. No real need to parent it or the elevator to each other.

Take a look at sdk_pl_goldrush in your sdk_content/tf/maps folder and you can see that it's just a matter of putting one path track vertically rather than horizontally. The carts go down little elevators at the end of the first 2 rounds.

additionally, having players "push" the cart up or down an elevator is bad mechanics, and will cause a lot of balance issues in the game.
 

n30n

L4: Comfortable Member
Jul 13, 2009
154
14
Thanks for tips guys!

I have vertical path for cart, but i think my problem is with prefab tracks. Gonna figure that out.
Also i disable cart on the elevator and enable it on the bottom so it doesnt move at all. Elevator goes only down.
 

n30n

L4: Comfortable Member
Jul 13, 2009
154
14
It apears that theres issue with parented path_track. When next path is parented cart just flies away. Any ideas?
 

Dr. KillPatient

L3: Member
May 10, 2009
115
8
Don't parent the path_track to the elevator, just match the speed of the payload to the lift and have the lift move when the payload is moving. Parented path_tracks don't work.