TF2/Creating Rollback/Rollforward zones for payload maps

From Valve Developer Community
< TF2
Jump to: navigation, search
한국어
한국어
Note:You should already have the knowledge to create a payload map in order to use this tutorial. Please visit this tutorial before you continue reading.

Basic Roll Forward/Backward

Go to the path_track(s) you want your cart to roll forward/back. Go to the flags, and you should tick one of the last two flags. This will tell the team_train_watcher that the path_track the cart is currently moving on will roll back/forth if nobody pushes it while it is in the zone.

Additional Info

Slower than usual rollback zones

If you want to make it slower than the default speed while is is pushed up, go to the path_track at the beginning of the rollback zone. Go to outputs and put them to these settings:

My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnPass Watcher_A SetSpeedForwardModifier 0.5 0.00 No
Io11.png OnPass Name of the path_track before this one DisablePath <none> 0.00 No

Then, go to the path_track at the end of the rollback zone, and set the outputs:


My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnPass Watcher_A SetSpeedForwardModifier 1 0.00 No

Voila! You're done!

Faster than usual rollforward zones

Do the same as the "Slower than usual rollback zones", only you must go to the path_tracks at the beginning and end of the rollforward zone, and you change the outputs around a bit.

Outputs for start of the zone:

My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnPass Watcher_A SetSpeedForwardModifier 1.5 0.00 No

Outputs for end of the zone:

My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnPass Watcher_A SetSpeedForwardModifier 1 0.00 No
Io11.png OnPass Name of the path_track before this one DisablePath <none> 0.00 No

Then you're done! I hope this tutorial helped!