KUDr@3900: Ships: KUDr@3900: ====== KUDr@3900: Set the YAPF (Yet Another Path Finder) type in the "Configure Pathes/Vehicles/YAPF for ships": KUDr@3900: - 0 - No YAPF (NPF or old PF) KUDr@3900: - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed) KUDr@3900: - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed) KUDr@3900: - 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.) KUDr@3900: - 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.) KUDr@3900: KUDr@3900: KUDr@3900: Set the "npf_max_search_nodes" value in your openttd.cfg to tune the pathfinder behavior. KUDr@3900: This value tells, how many nodes (Tile/Trackdir or Tile/ExitDir) combinations the pathfinder KUDr@3900: should visit before it ends. The lower number would mean quicker, but less accurate results. KUDr@3900: The "npf_max_search_nodes" value is shared between NPF and YAPF and has the same meaning. KUDr@3900: KUDr@3900: The pathfinder without such limit would be unusable on large maps, where number of visited KUDr@3900: nodes can exceed 10 milions. NPF on my machine (dual code AMD 4400+) with 1 milion of nodes KUDr@3900: visited took 2 minutes to finish, but with this limit set to 10000 it takes 20 miliseconds. KUDr@3900: The new YAPF had similar results (18 seconds vs. 4 miliseconds). KUDr@3900: KUDr@3900: KUDr@3900: Road Vehicles: KUDr@3900: ============== KUDr@3900: Set the YAPF (Yet Another Path Finder) type in the "Configure Pathes/Vehicles/YAPF for road vehs": KUDr@3900: - 0 - No YAPF (NPF or old PF) KUDr@3900: - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed) KUDr@3900: - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed) KUDr@3900: KUDr@3900: Trains: KUDr@3900: ======= KUDr@3900: Same types as for ships: KUDr@3900: - 0 - No YAPF (NPF or old PF) KUDr@3900: - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed) KUDr@3900: - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed) KUDr@3900: - 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.) KUDr@3900: - 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.) KUDr@3900: KUDr@3900: KUDr@3900: