OK, that was fun. Then I asked myself how far can I go in a real league doing the same. To make long story short: I have played a lot of matches, sometimes pending tens of them without any change in my AI, just to gain experience. And I mean experience, not XPs, because I needed to know how my AI perform against different opponent strategies (AIs, bots, initial settings...). Of course it was easier to see something is really wrong with the new AI and I have to get back to my previous AI, but it took tens of matches to see if there is any progress. Finally I managed to get to Master League with something like this (sorry about the quality of the image, but PNG version is to big to upload):
Seems a bit crazy, doesn't it? Especially when you look at the filters in "flee from enemy" actions it may seem illogical, but believe me, it has a reason. Here it is zoomed in:
This is the AI that has got to Master League when I was using only assault bots. Then I tried the same AI with Shotgun and it was even a bit worse, but when I tried it with Machine Gun, I've managed to get to Grand Master League, where I am at the moment. As you can see most of defensive actions are at the left side, because it's the first thing a bot should do when attacked and weak. In the middle there are the offensive actions and on the right there are actions to collect some points. That's the basic idea: kill all enemies and then get the resources. However I discovered that sometimes it's good to grab some resources earlier, that's why there is a single "catch closest resource in short distance" action performed in case there's nothing interesting to attack. Of course when the resource is catched by a bot, the most important thing is to secure it, because there is no reasonable way to make the bot to drop it without using a condition (at least I haven't figure it out). That's why "secure resource" action is on the left side, somewhere between "flee from" actions (since carrying resource bot should also avoid some enemy's fire - not all of it, because it wouldn't get to the base in some cases).
The funny thing about such a stupid AI is that when you look at the style it fights, it seems to be quite intelligent. I can even perform some dramatic actions, like in the matches 515359, 528198, 528469, 555125. I hope you'll enjoy watching and analysing it, while I start to program some specialized AIs. I hope this also will be fun.