Page 1 of 1

ParAsIte - AI for OpenTTD which will use competitors infrastructure

Posted: 04 Sep 2020 21:52
by dbondarchuk
Hello All!

Note: This AI is for the custom patch pack of mine: viewtopic.php?f=33&t=87466

Image

This AI is built based on AdmiralAI.

The main purpose of this AI is to make money using competitors' infrastructure.

How to use this AI

Download AdmiralAI from OpenTTD to make sure that you have all needed libs.
Download the latest release from this repo and put it into 'ai' folder of your OpenTTD.'

Features
  • Building airplanes, trucks and buses on the competitors infrastucture. Trains will be available later.
  • Planting trees as a gesture of charity.
In order for AI to use trucks, pickup station need to have at least one truck with same cargo. This was made in order not mess up your pickup/drop-off stations for industries that consume and produce cargo at the same time.

You can limit max number of buses per stations (including competitors'). Max limit for airport is calculated based on the number of terminals.

Link: https://github.com/dbondarchuk/parAsIte

I also added some API for buying/selling company shares, so will try to add usage of it to this AI later