Loading

HELL

  1. Psg 297 Hell‎
  2. Yet another way of handling multiple cargoes is complex, hacky and awesomely evil.
  3.  
  4. 1    Trains try load passengers
  5. 2    ‎If train failed to load passengers, try again, otherwise continue to step 3
  6. 3    Trains go to first waypoint
  7. 4    The closest waypoint is through split to depot/station
  8. 5    If train doesn't manage to split, it skips the Go To nearest depot order, and continues to the next waypoint (eventually back to step 3) - because it doesn't see any depot - all depots are behind dead ends (reversers)
  9. 6    If a train does split, it goes around the pathfinder trap which tricked into making it split
  10. 7    Goes to reverser
  11. 8    Arrives to waypoint after reverser, from where it can see a depot
  12. 9    Obeys the Go To nearest depot order and refits
  13. 10    The cargo loaded is at 0% by getting rid of passengers, so a conditional check skips to Load order
  14. 11    Train goes load the cargo with full load order
  15. 12    Train drops the cargo
  16. 13    ...
  17. 14    Refits to passengers and starts again from step 1
  18.  
  19. ‎In more human words:
  20. Trains load passengers first and then enter a cycle of waypoints. The only way out of the cycle is through reversers, behind which are depots and stations.
  21. The trick is that when trains don't see any depot, they skip the "Go to nearest depot" order‎. And on the main waypoint loop they don't see any depot because all of them are hidden behind a dead end - reverser.
  22. If trains manage to split and go to the reverser, then they finally arrive to the waypoint, from which they can see a depot.
  23. They refit in the depot to the desired cargo, which sends the passengers to a black hole and makes train load 0%, triggering the next conditional order: go load cargo.
  24. The rest of the orders is standard, can easily be combined with picking up products, possibly even returning with them to the sideline.

Comments