Quick Question: Trains

Discussion in 'Mapping Questions & Discussion' started by R!ghteous, Mar 10, 2008.

  1. R!ghteous

    R!ghteous L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    This is my first post (even though I have been reading here for awhile now) so first of all hello. :-D Secondly, I am creating a map that is going to have trains moving like that in cp_well, through this tutorial
    HTML:
    http://tf2maps.net/showthread.php?t=1072
    I have the trains setup and moving so a thank you to spaceweasels goes out for his post on setting it up, however i do have another question on the same topic... once the train has used a logic_timer to run its course how do I get the cart to go back to its original location and run along the same track again? Thanks in advance.
     
  2. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    Set the "Teleport to this path track" flag to checked on the starting path_track. On the last path_track, set the target to link back to the first one. This will make it so that when the train reaches the endpoint, it will teleport itself to the start point. You may need to give the endpoint an OnPass that tells the func_tracktrain to Stop, so that the train will wait for the timer before it starts again.
     
  3. R!ghteous

    R!ghteous L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    Works perfectly. Thank you for your help man. my cart on a track looks super sexy now :D