Help, Can't find rail pathfinder

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
User avatar
jimbob
Engineer
Engineer
Posts: 87
Joined: 24 Nov 2014 21:13
Location: At a desk
Contact:

Help, Can't find rail pathfinder

Post by jimbob »

Hi All,

I have a rather strange error, which is unable to locate the rail pathfinder using the code from: http://wiki.openttd.org/AI:RailPathfinder stating

your script made an error: couldn't find library 'pathfinder.rail' with version 1

while it is quite likely that the wiki is depreciated, what is stranger is that the import for the road pathfinder works fine:

Code: Select all

import("pathfinder.rail", "RailPathFinder", 1);
import("pathfinder.road", "RoadPathFinder", 4);
both ai libs have been downloaded from bananas
Image
Real life transport planner
My projects:Link to my UK Scenario|Scenario Builder GS
Do check out my 3D unity transport game: transporter
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 6 guests