Page 1 of 1

How to install AI?

Posted: 14 May 2009 18:01
by Logik
I tiered searching FAQ... How can I install new AI ? SOmebody plleeeasee can explain me from the "new sheet"?
I have OpenTTD version 7.0. And Admiral AI. How to install and how to start it?

p.s. In BIN directory there is no AI folder!

Re: How to install AI?

Posted: 14 May 2009 18:06
by GeekToo
Easiest way is to use the ingame download function, that way libraries the AIs depend on get loaded too.
It's on the starting screen of the game.

Start AI's by using the AI settings, or by console: type ` (left of 1), and then start_ai <ai_to_start>
You can use list_ai to show a list of AIs you can use.

Re: How to install AI?

Posted: 14 May 2009 18:08
by Logik
I have problems with Internet. I have only Latvian internet. Another thru proxy. And game dosnt accept proxy ((( So i wont to play with AI. And dont know how to INSTALLL it. Can somebody tell me? How install correct? Where put files etc..

Re: How to install AI?

Posted: 14 May 2009 18:20
by GeekToo
tar file in bin/ai (create if it does not exist)
libraries in bin/ai/library (download link somewhere in the faq)

Re: How to install AI?

Posted: 14 May 2009 18:25
by Logik
I put AdmiralAI.20.tar in D:\Games\OpenTTD\bin\ai
Started game, wrote ai_list in console... nothing.. zero!
what im doing wrong?

Re: How to install AI?

Posted: 14 May 2009 18:28
by GeekToo
little hint: word order is important!

Re: How to install AI?

Posted: 14 May 2009 18:31
by Logik
My mistake. Mistake on forum. I wrote List_ai and nothing. empty line.

Re: How to install AI?

Posted: 14 May 2009 18:32
by Logik
Can u PLEASE install it to your OpenTTD then RAR the game and send to me ? :( Please

Re: How to install AI?

Posted: 14 May 2009 18:39
by GeekToo
On Windows, remove the bin:
D:\Games\OpenTTD\bin\ai becomes D:\Games\OpenTTD\ai
and the library in D:\Games\OpenTTD\ai\library

Re: How to install AI?

Posted: 14 May 2009 19:25
by Logik
Tnx u very much!! You r my hero! ))

Re: How to install AI?

Posted: 31 Oct 2010 07:08
by abhichit
Hello forum gurus,
I have the same issue (don't have proxyless internet access on campus), and am trying to install SimpleAI. Here's the current setup:
In C:\Program Files\OpenTTD\ai
SimpleAI.5.tar.gz
C:\Program Files\OpenTTD\ai\library
Pathfinder.Road.3.tar.gz
Pathfinder.Road-3.tar.gz
Pathfinder.Rail.1.tar.gz
Pathfinder.Rail-1.tar.gz
Graph.AyStar.6.tar.gz
Graph.AyStar-6.tar.gz
Queue.BinaryHeap.1.tar.gz
Queue.BinaryHeap-1.tar.gz

However, I still get the following error when trying to load the AI:
Your script made an error: couldn't find library 'pathfinder.road'
*FUNCTION[main()] SimpleAI.5.tar\simpleai.5\main.nut line[1]
[this] TABLE

See below for screenshot
Image

Thanks for the help!!

Re: How to install AI?

Posted: 31 Oct 2010 07:14
by Lord Aro
get rid of the .gz part of the tar

Re: How to install AI?

Posted: 12 Aug 2017 11:24
by Shivam rai
GeekToo wrote:Easiest way is to use the ingame download function, that way libraries the AIs depend on get loaded too.
It's on the starting screen of the game.

Start AI's by using the AI settings, or by console: type ` (left of 1), and then start_ai <ai_to_start>
You can use list_ai to show a list of AIs you can use.