AI:Main Page

From OpenTTD
(Difference between revisions)
Jump to: navigation, search
(Examples)
(Since this page show up when users search for "AI", add a link at the top to the AI Settings page which seems to be the only AI-page for users.)
Line 1: Line 1:
 
{{NoAI}}
 
{{NoAI}}
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 then the ones we had in 0.6. This page is all about telling you how to do it.
+
Welcome to the AI Development. If you instead is interested in learning to use existing AIs, please head over to the [[AI_settings|AI settings]] page.
 +
 
 +
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 then 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 [[AI:Introduction|Introduction]] as it will explain the basic concept.
 
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 [[AI:Introduction|Introduction]] as it will explain the basic concept.

Revision as of 10:31, 25 February 2010

Welcome to the AI Development. If you instead is interested in learning to use existing AIs, please head over to the AI settings page.

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 then 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

  • WrightAI - Builds plane routes only.
  • TestAI - A minimal main.nut and info.nut to base your AI from.

User AIs

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

Personal tools