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 category
Note
While some people strongly advise keeping to these recommendations, they are by no means mandatory. Feel free to ignore some/all of them if you don't like them.
While some people strongly advise keeping to these recommendations, they are by no means mandatory. Feel free to ignore some/all of them if you don't like them.
AI behaviour recommendations
Here are some recommendations for AI behaviour. You can ignore them and still make your AI work, but if you want users to like your AI, it would be best if you stick to them.
- Your AI should have a setting to be more friendly, i.e. do not compete, or compete significantly less with other players for goods from industries serviced by other. For easy difficulty, the setting should be ON by default. Some people like competition, but not too much of a competition (novice players, for example, may be disappointed if they build some route and then AI outsmarts them and takes most of the cargo and profit by constructing a better route nearby). Advanced players wanting fair competition can keep this OFF.
- An AI set as friendly should never buy exclusive transport rights anywhere.