Self Learning Decision Tree's for AI - Robosturm/Commander_Wars GitHub Wiki

Commander Wars uses training files to generate decision trees for several ai behaviours. For example the very easy ai uses self learned decision tree's to decide wether to use a CO-Power or not. The game automatically checks if the training data has changed and recreates the decision tree.

If you have the feeling that the ai doesn't behave smooth or nice enough add some training data to those files.

This allows you to easily adapt the ai to new co's or producing other units etc.

Take a look into the resources/aidata folder to see which decision trees are used and how to modify the files.