Development
AI Programming
- API Documentation
- Introduction
- info.nut file
- main.nut file
- Basics
- Using the road pathfinder
- Using the rail pathfinder
- Saving / Loading data
- Things you need to know
- Squirrel
- Lists
- Coping with OTTD errors
- Trams
- AI Libraries
- Forum
- Forum FAQ
- AI Behavior
- ShortNames in use
AIs
All articles in NoAI categoryHere is a comparison of AIs which are available through the Online content system.
Note: The information below is correct for the latest versions available through the online content system (as of August 2015), newer versions may be available on the forums.
Contents |
General information
This article or section is outdated. Some of its content may no longer be accurate due to changes in the latest release. Please update this article.
AI | Latest version | Forum thread |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Features
Below is a comparison of features. Please note that those AIs which aren't meant for running a transport company (such as Idle, IdleMore, etc.) are discussed below.
AI | Trains | Road vehicles | Aircraft | Ships | Passengers/mail | Freight | Save/load compatibility | NewGRF compatibility |
---|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Goes bankrupt frequently when NuTracks is in use |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Will build cars in towns if a town cars NewGRF is present |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
No NewGRF road vehicle support |
|
|
|
|
|
|
|
|
NARS is the preferred trainset, works with the 2cc TrainSet and the default trainset |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Problem with Japanese trainset. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Can only use non-articulated buses |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
No support for NewGRF railway track sets |
|
|
|
|
|
|
|
|
No support for industry replacement sets |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Trams are also included
² Might have unfinished routes
** Makes a few moneymaker train routes when starting but after that doesn't use trains
Performance
There have been some tests on the forums comparing the performance of the AIs. These threads include graphs and other screenshots, savegames are available for download.
AI testing threads on the forums: (with the most recent being on top of the list)
- March 2017 Testing compatibility with the World Airliners Set
- February 2017 Starting year 3000
- August 2016 Aircraft only test
- August 2016 Ships only test
- July 2016 Trains only test
- June 2016 Road vehicles only test
- October 2012, videos: Semifinals 1, Semifinals 2, Finals
- March 2011, May 2011, July 2011
- November 2010
- November 2010 - A train-only test
- October 2010
- September 2010
- July 2009, August 2009, February 2010, July 2010
There has also been a test on the CPU usage of particular AIs in May 2010:
See also Test AIs - attempt to measure performance of various AIs.
Other AIs
- Beginner Tutorial - Ship AI - A special Ship AI for the Beginner Tutorial, it is meant to be used together with the game script. It only visible to AI/game script developers.
- CityConnecter - An AI which connects nearby towns with roads.
- Idle - An AI that does nothing, keeping minimal permissible balance. Idle can be used for running multiple companies in a singleplayer game, using the company switching Sandbox options.
- IdleMore - It is a fork of Idle which does even less work. Bank balance management is configurable, and it doesn't rename its company upon loading a savegame.
- Orders Assistant AI - This AI does not play on its own. It manages routes for a player which has joined its company.
- StreetTrafic1 - It is a fork of TownCars, which runs cars in towns for eye-candy. It needs a car NewGRF to be present (like Generic Cars).
- TownCars - An AI which runs cars in towns for eye-candy. It needs a car NewGRF to be present (like Generic Cars).
- TREE - An eyecandy AI which plants trees and lets the user control how many it plants (and where) instead of the general explosion of trees normally encountered in OpenTTD games. It is meant to be used with the tree growth setting disabled.
- TutorialAI - An AI which acts as an in-game tutorial, introducing new players into playing OpenTTD. It has now been replaced by Beginner Tutorial which uses a Game Script for the tutorial.
- WmDOT - An AI which connects towns with roads, without running any vehicles on them. WmDOT can be used to have a pre-built road network between towns. It uses ships to make some profit.