unlimited destination distance for YAPF ships patch

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
xarick
Transport Coordinator
Transport Coordinator
Posts: 341
Joined: 26 Feb 2015 00:52

unlimited destination distance for YAPF ships patch

Post by xarick »

This makes YAPF for ships to allow any distance between orders, not just NPF. YAPF is more accurate than NPF and generates less lost ships than NPF.

This change also seem to improve some AIs. There were AIs with single orders in their ships when using YAPF. But with NPF, the AIs were prone to have lost ships. And lost ships have a much higher impact on cpu usage. It's a risky trade-off. I know it will be using more cpu resources under certain circumstances though, but since YAPF is much more accurate, I guess it's worth trying.

v2 - add it to scripts.
[+] Spoiler
Also posted here (rejected): https://bugs.openttd.org/task/6500

older version (v1)
Formerly known as Samu
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 15 guests