Infrastructure sharing AI

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
juval
Engineer
Engineer
Posts: 30
Joined: 09 Dec 2008 21:52

Infrastructure sharing AI

Post by juval »

Hi all! I was just wondering if there is an AI who uses features as infrastructure sharing and/or timetable? Been looking around on the forum, but havn't found anything yet..
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Re: Infrastructure sharing AI

Post by Zuu »

The NoAI API doesn't allow access to the timetable functionality. So the only way for an AI to support timetabling would be to keep a timetable in the memory and reqularily loop over all vehicles and sending direct instructions to skip order or stop them some time (if they have finished loading but should wait according to the timetable).

As far as I know, the Infrastructure sharing patch doesn't have any API functions for AIs to work with the features in that patch. Without API functions, AIs can't interact with it.
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
juval
Engineer
Engineer
Posts: 30
Joined: 09 Dec 2008 21:52

Re: Infrastructure sharing AI

Post by juval »

ok thank you!
User avatar
DerekCZ
Engineer
Engineer
Posts: 105
Joined: 29 Jul 2014 18:08
Location: Czech Republic

Re: Infrastructure sharing AI

Post by DerekCZ »

topicus ressurectus

Any updates? I would really love an AI that could play with IS...
User avatar
kamnet
Moderator
Moderator
Posts: 8548
Joined: 28 Sep 2009 17:15
Location: Eastern KY
Contact:

Re: Infrastructure sharing AI

Post by kamnet »

DerekCZ wrote:topicus ressurectus

Any updates? I would really love an AI that could play with IS...
AFAIK, nobody has made any updates to any of the multiple Infrastructure Sharing patches to support this.
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 9 guests