Page 1 of 1

New AI

Posted: 30 Nov 2005 15:10
by qerewen
hi im new here and i have a question.

what is the latest version of computer AI for this game,
i have version 0.4.0.1 and havent added anything so the AI that came with it is what i have and well the computer only builds vehicles, no trains, no planes, no ships

thx in advance.

Posted: 30 Nov 2005 15:18
by Villem
As far as i know, the New AI is exactly the same in the Nightlies as it is in 0.4.0.1

Infact, the AI hasn't seemed to progress in zonkers..

Posted: 30 Nov 2005 15:30
by qerewen
eh?

how come there havent been any progress to it?
oh well i'll stick to the old ai's (which cant build anything)

Posted: 30 Nov 2005 22:05
by Zuu
qerewen wrote:eh?

how come there havent been any progress to it?
oh well i'll stick to the old ai's (which cant build anything)
Acording to a comment in the code the author of the new AI have stoped to work with it in its current form. He/she have started to work with a better structure for AI hacking (acording to that comment).

I've looked up the orginal for you:

From: ai/trolly/trolly.c

Code: Select all

/*
 * This AI was created as a direct reaction to the big demand for some good AIs
 * in OTTD. Too bad it never left alpha-stage, and it is considered dead in its
 * current form.
 * By the time of writing this, we, the creator of this AI and a good friend of
 * mine, are designing a whole new AI-system that allows us to create AIs
 * easier and without all the fuzz we encountered while I was working on this
 * AI. By the time that system is finished, you can expect that this AI will
 * dissapear, because it is pretty obselete and bad programmed.
 *
 * Meanwhile I wish you all much fun with this AI; if you are interested as
 * AI-developer in this AI, I advise you not stare too long to some code, some
 * things in here really are... strange ;) But in either way: enjoy :)
 *
 *  -- TrueLight :: 2005-09-01
 */
I am not involved in the development so I can't tell if the new AI-system development also have staled.

Re: New AI

Posted: 01 Dec 2005 11:55
by TrueBrain
qerewen wrote:hi im new here and i have a question.

what is the latest version of computer AI for this game,
i have version 0.4.0.1 and havent added anything so the AI that came with it is what i have and well the computer only builds vehicles, no trains, no planes, no ships

thx in advance.
As zuu just stated, I (the current AI developer) am indeed working on a new framework to allow better AIs, and to make it easier for other people to build AIs. This framework is almost done, I am currently documenting stuff. When that is done, I expect many new AIs, which will be much better then mine, soon to popup. When that time is there, this NewAI in 0.4.0.1 (which is, besides some minor bug-fixing, exactly the same as in the current nightly), will be fully removed. This mostly becaues the code grown too ugly ;)

So, short, the AI development isn't standing still. That is, it was for the past few months, but it is now more alive then ever before ;) Expect some more details soon.

One sidenote: for now, only road-vehicles are supported. Soon this will grow to cover the rest of the transportation options.

Posted: 01 Dec 2005 14:42
by qerewen
ok thx i hope it will be sooncuz i miss a real opponent.

Posted: 01 Dec 2005 14:50
by osai
qerewen wrote:ok thx i hope it will be sooncuz i miss a real opponent.
"real opponents" can you only find if you click the multiplayer button :P