Script
/File/en/Translation.png
Este artículo se está traduciendo del original en inglés: en/Development/Script/Main Page.
Porcentaje: 0% aprox.
  
Puedes colaborar ayudando a su mejora en la redacción.
  • Usa el Manual de Estilo para una correcta edición.
  • Recuerda quitar esta plantilla una vez que el artículo haya sido correctamente traducido.
/File/en/Notice.png
Note
The user page is here: AI settings (en)
NoAI Framework

NoAI Main Page

Development

Development milestones
Suggested API changes

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
Home page
Common mistakes
Lists
Coping with OTTD errors
Trams
AI Libraries
Forum
Forum FAQ
AI Behavior
Using ShortNames

AIs

TestAI
WrightAI
Convoy
SimpleAI
Comparison of AIs (en)
See forum
See BaNaNaS
All articles in NoAI category

Welcome to the AI Development. Starting from 0.7.0 release it is possible for any user to create his or her own AI. Not only do we deliver a clean and simple API, we also allow you to make your AI in scripts. This should make it possible for anyone with a bit of programming knowledge to make fairly good AIs. It should also challenge people to build better AIs than the ones we had in 0.6. This page is all about telling you how to do it.

For all pages there is a rule: where examples are given, we will use Squirrel. We suggest everyone who wants to write an AI to read the Introduction as it will explain the basic concept.

Contents

Source & binaries

As of April 1st, 2009 NoAI is available in the 0.7.0 release. This means, you can get the latest stable release. Alternately you can get the latest source code by checking out from OpenTTD SVN repository (svn://openttd.org), or get compiled version by downloading a nightly build.

Tutorials

API Documentation

AIs

Examples

User AIs

To download user made AIs, please use the online content service or alternatively have a look at the NoAI forum.

Feature availability
<1.0
1.0-1.2
1.3
1.4
1.5-1.7
Nightly