The code printing these lines:
Code: Select all
AILog.Info("Selected aircraft: " + AIEngine.GetName(planetype));
AILog.Info("Distance: " + AIMap.DistanceManhattan(srcplace, dstplace) + " Range: " + AIEngine.GetMaximumOrderDistance(planetype));

Moderator: OpenTTD Developers
Code: Select all
AILog.Info("Selected aircraft: " + AIEngine.GetName(planetype));
AILog.Info("Distance: " + AIMap.DistanceManhattan(srcplace, dstplace) + " Range: " + AIEngine.GetMaximumOrderDistance(planetype));
It mean you cannot compare it with AIMap.DistanceManhattan(srcplace, dstplace) as this is a map reference functionThe unit of the order distances is unspecified and should not be compared with map distances
It doesn't come from the NewGRF specs, and yes, this is somewhat problematic for AIs.krinn wrote:I suppose it cames from NEWGRF specs, but now we are playing with what ? potatoes distance ? ant foot steps ? Little rock spacing ?
Users browsing this forum: Bing [Bot] and 13 guests