Trans is an AI for OpenTTD. It try to transporting cargoes from/to any towns and industries using Bus, Truck, Tram, Aircraft and Ship. In the future it would try to use all available vehicles. Current strategy is try to use only one type of industry (if possible) as the destination of transporting cargo named Cargo Concept. See implemented feature at ROADMAP.md.
OpenTTD since version 0.7 allowing us to implement custom AIs to play with. This repository contain code of Trans, in-game AI opponent player for OpenTTD.
- Cloning repository directly to ai folder
- Cloning repository to another folder and manual deploying
- Linux : $(HOME)/.openttd/ai
- MacOs : $(HOME)/Documents/OpenTTD/ai
- Windows :
- `C:\My Documents\OpenTTD\ai` (95, 98, ME) - `C:\Documents and Settings\<username>\My Documents\OpenTTD\ai` (2000, XP) - `C:\Users\<username>\Documents\OpenTTD\ai` (Vista, 7, 8, 10)
To create bundle package for deploying to bananas: run powershell script "bundle.ps1". Tar (archive) file produced by this script could be used to upload to bananas or be installed to 'ai' folder.
Trans AI would need :
Extract the .gz into .tar and put in your ../ai/library folder. OpenTTD can read both AI and AILibrary inside tar files but it does not extract .tar.gz files by itself.
We uses rolling release model with YYMMDD format for versioning. This number is generated by script bundle.ps1 according to the latest commit date. If you are cloning the AI directly to ai folder, you will get the version number years ahead as written in info.nut. This is to ensure that you are running the latest version from repository. For the last bananas versions, see the bananas tags.
Trans AI is licensed under the GNU General Public License version 2.0. For the complete license text, see the file license.txt. This license applies to all files in this distribution. By contributing your code, you agree to license your contribution under the GNU GPL v2 License.
The issue tracker is the preferred channel for bug reports, features requests and submitting pull requests, refer to ROADMAP.md for contributing.