I recently installed 3.2.2 and figured I would give creating my own bot a try.
However I was unlucky with this due to the fact that the documentation found here: https://warzone.atlassian.net/wiki/disp ... .ai)+Files is outdated.
the AI file does not exist anymore and has been replaced with a JSON file containing something like:
Each is unique in its own way and probably do some things differently than each other. (maybe we should have some kind of standard or library that all AI can share).
maybe we should have some kind of standard or library that all AI can share
Some high-quality work on providing a useful utility library was done by aubergine during his work on his wiki.
Pieces of NullBot should be reusable, but they are mostly too unrefined to be useful. One thing i definitely suggest re-using is the system of "rulesets" which abstracts the AI away from game rules/mods. In fact, it'd be great to have all AIs consume rulesets in the same format - this way modders could provide the rulesets themselves and porting all AIs to all mods becomes trivial. The current ruleset system is still not quite great though, it has some items hardcoded (eg. the hardcoded equivalence of "cyborgs" (droids that die against machineguns) and "cyborgs" (droids that are produced as fixed templates) and "cyborgs" (droids that are produced in the cyborg factory) really hurts the concept and in fact works for the default ruleset only).