Train Question

CannabisCannabis Join Date: 2004-03-18 Member: 27407Members, Constellation
Say you have a system of path_tracks for func_tracktrain b1, b2, b3, and b4 in a square, with the train starting at b1. Is there anyway to prevent the minecart, from going in reverse to b4, making b1 a one-way dead end (only in reverse) if you get my point? i tried working with branchs and branch reverse, if people know how they work.

Comments

  • ReeseReese Join Date: 2003-05-08 Member: 16143Members
    each path_corner has a name and a target. If you don't want a train going back to a certain path_corner don't ever target it from another path_corner.
  • YamazakiYamazaki Join Date: 2002-01-24 Member: 21Members, NS1 Playtester, Contributor
    <!--QuoteBegin-Reese+Apr 12 2004, 04:18 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Reese @ Apr 12 2004, 04:18 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> each path_corner has a name and a target. If you don't want a train going back to a certain path_corner don't ever target it from another path_corner. <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    Uh, it doesn't work that way Reese.

    Func_tracktrains can't be stopped from going in reverse, but they can be disabled completely by setting the fourth flag (bit 8) to true on a path_track.

    If you really need a func_tracktrain that won't go backwards then I suggest not including func_traincontrols and simply using some multimanagers and triggers/buttons to stop and start the train.
  • ReeseReese Join Date: 2003-05-08 Member: 16143Members
    sorry, i've only ever worked with func_train....and i've always controlled it with buttons and a multimanager.
Sign In or Register to comment.