Page 1 of 1

CPU AI

Posted: 22 Mar 2014 08:56
by mousetail
Trujillo Transport, 15th Oct 1951.png
2 of them completing the same subsidy
(140.58 KiB) Downloaded 2 times
I just made a road AI.
It builds road routes in the biggest cities and completes subsidies.
Please tell me what you think of it.

Re: CPU AI

Posted: 22 Mar 2014 11:53
by Brumi
When downloaded from bananas, it doesn't show up in the list of AIs. I believe AIInfo::GetVersion should return an integer.

Anyway, in my first game, it built a station which is inaccessible from the road. The poor bus cannot make a profit.
station.png
station.png (62.41 KiB) Viewed 9638 times
Sometimes it really spams the area with debug signs, and the buses are running without orders:
debug signs.png
(279.45 KiB) Downloaded 2 times

Re: CPU AI

Posted: 22 Mar 2014 11:59
by mousetail
thanks for responding so quicly, I actually uploaded a wrong version, so it should work on bananas now. I will work on making more settings.

edit: Did it

Re: CPU AI

Posted: 22 Mar 2014 14:43
by krinn
mousetail, don't let Brumi try your AI, his computer always manage to let your ai fail at connecting a station on slopes ! It's like a special skill

Re: CPU AI

Posted: 22 Mar 2014 15:08
by Brumi
:lol:
So true...

Re: CPU AI

Posted: 25 Mar 2014 12:50
by mousetail
Version 1.2 released. It now replaces crashed/old vehicles and destroys vehicles that don't make a profit. I hope to release 2.0 at the end of the week, that actually makes a profit.

Re: CPU AI

Posted: 31 Mar 2014 12:35
by mousetail
New version. Now builds drive-through road stations and checks if subsidies are profitable before completing them, as well as some bug fixes with checking if orders are valid before completing them. I got delayed because my computer broke so version 2 will have to come later.

Re: CPU AI

Posted: 15 Oct 2014 15:15
by noname1208
It's a good AI, but one suggestion would be to have the debug signs turned off by default as I have seen close to a hundred signs produced around a town before and when choosing random AI's I cannot tell it myself to disable debug signs.

Overall though I like it

Re: CPU AI

Posted: 16 Nov 2015 03:04
by potatomy
This AI is awesome! :bow: It's not too hard to compete against, but doesn't act stupid. Good for new and experienced players. :) The signs that say stuff like "build depot" kinda get in the way. :|

Re: CPU AI

Posted: 16 Nov 2015 06:51
by Alberth
You can simply hide signs by other players

Re: CPU AI

Posted: 22 Apr 2016 10:40
by xarick
Spamming bus stations