Bug #6732

Update Pathfinder.Road to use AI API instead of GS API

Added by yozi over 5 years ago.

Status:NewStart date:2014-01-18
Priority:NormalDue date:
Assignee:-% Done:

80%

Category:-Estimated time:1.00 hour
Target version:-

Description

http://wiki.openttd.org/AI:RoadPathfinder describes how to use Pathfinder.Road but it does not work as expected since version 4 uses the GameScript API and not the AI API. Minor changes are required (replace GS* to AI* in main.nut and library.nut).

Please find the new version attached - it worked for me.

Pathfinder.Road-5.tar - new version using the AI API (38 KB) yozi, 2014-01-18 17:22

Also available in: Atom PDF