AIVehicleTest - an ai to test vehicles properties

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
krinn
Transport Coordinator
Transport Coordinator
Posts: 342
Joined: 29 Dec 2010 19:36

AIVehicleTest - an ai to test vehicles properties

Post by krinn »

Hi, this is an AI that could be use to test vehicles properties (for now train & road) to seek newGRF vehicles problems with an AI

Yep, it's just a debug helper i've made, so it's only useful for AI authors and not for users.

The repo is there http://dev.openttdcoop.org/projects/ai-aivehicletest
If you wish to be add as dev to modify the ai i'll be glad to add you as i think many AI authors might alter it to add some more tests they wish in it.

Howto use it :
You must cheat : as the AI need to know what vehicle to test, it's just done by modifying a label the AI will create to add the name of the vehicle you wish test (i've done it like that because i'm sure translation would else make the AI fail to find the vehicle by its name). So cheat to play as the AI and modify the label with the vehicle name you wish test.
And as the AI doesn't handle money, use the money cheat. And the date cheat to make vehicles appears if you didn't start on a date the vehicle to test exist yet.

Using it :
load your newGRF, start a map, run the ai, cheat to be AI player, lookout the X sign, change X sign with full or partial vehicle name (beware of the case)
Infos will be output to AILog
Attachments
AIVehicleTest-2.tar
(40 KiB) Downloaded 123 times
Last edited by krinn on 24 Jul 2013 19:00, edited 2 times in total.
krinn
Transport Coordinator
Transport Coordinator
Posts: 342
Joined: 29 Dec 2010 19:36

Re: AIVehcileTest - an ai to test vehicles properties

Post by krinn »

An update to add support for a new lib i will publish soon.
So until the lib is out, i'm afraid this version won't works with the missing dependency.
Kogut
Tycoon
Tycoon
Posts: 2493
Joined: 26 Aug 2009 06:33
Location: Poland

Re: AIVehcileTest - an ai to test vehicles properties

Post by Kogut »

There is a misspelling in the thread title (Vehcile).
Correct me If I am wrong - PM me if my English is bad
AIAI - AI for OpenTTD
krinn
Transport Coordinator
Transport Coordinator
Posts: 342
Joined: 29 Dec 2010 19:36

Re: AIVehicleTest - an ai to test vehicles properties

Post by krinn »

It has been like that for months :)
Thanks
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 18 guests