Sorian AI - isn't it supposed to be better ?

I just watched a game of Sorian adaptive vs Uveso adaptive, on 4 corners. I was an observer. I wanted to just see like first 5-10 minutes to see the differences but the game drew me into it and i watched like 50 minutes of it at +4 speed. Fantastic, fantastic. Kept markers on default, so i dont think it changed them. But sorian played considerably better than i remember anyway. It started strong, and took control of both islands, so more mass and also air superiority. Sadly, barely did any navy, which is insane considering both were cybran and this is sea map. Anyway, sorian also did some bomber runs. It wasnt looking good for uveso and i started thinking if maybe i set something wrong. But .. uveso was smart ... building eco. Then it started mass building navy factories, probably like 8 of them and spamming frigates and it was extremely good with them, i was following them ... that micromanagement ... wow. It was bad with transports, most got shot down. Looked like it doesn't have a clear plan by starting spider and nuke launcher at once. But sorian didnt do much either so looked like sorian will win with spider or nuke. Then it changed. Uveso built some subs, but sorian also, and was pushing. Both were bad with amphibian T2 tanks .. transporting them and getting shot down. Then uveso added bricks and that micromanagement was even better. I never saw an unit coming out of water, sniped some units, then when commander attacked it, it flew into water. This was just amazing to see. Anyway, uveso killed units and buildings on both islands, even though sorian did a good job of making a base there, with factories, pds, etc. But in time, it was destroyed. Also it was amazing how calm the bricks were. I thought it will easily get pulled inside the base and get killed, but no, it used range and very slowly adding bricks on the shore and killing building by building, until they reached commander and killed him. It was funny to see them spamming frigates and subs but not making any destroyers, which are like, really good. Then suddenly i see they made T3 ship but not using them, but then also build a destroyer and sent it to attack.

Oh, and the last part ... this is really funny. They actualy upped cloak and laser on their commander. Now that would be a nasty surprise if i attacked him with my gun upgraded commander only to find out they got laser. I look forward to playing more and seeing how much else it got in stock. I am guessing it can do many different things ? The only thing i would kind of note is that until minute 10 i think they didnt have even 1 unit capable of attacking. Nor any point defence. I did notice it was very smart detecting enemy bombers and started spamming T1 antiair units. Sorian was dumb, making tons of units and trying to walk on water with them .. which doesnt work. But i am wondering how it would end if there was land between them ? Commander would prolly take care of them, collect mass and use it to build its own units i guess.


I want to suggest that you set the option "AI Map Marker generator" to "Autogenerate Always".
There are some maps like maps from the author svenni_badbwoi that have better AI markers.
But its mostly better to let them autogenerate than using the original map markers.

Also when you test other AIs, have my mod activated in the background and all other AIs will use
the generated waypont markers. Also Sorian and GPG AI will use them.

Btw, thanks for your great feedback. It's very appreciated!

I just played another game with forced AI markers, but it prolly made no difference cause 4 corners doesn't have its own ai markers, so uveso made them in an earlier game too. This game was a bit different. Started the same, sorian took all islands and uveso was denied navy. But it adapted so well, it was nuts. It started making T2 amphibious tanks, then added bricks in the mix. A few of them. Like .. 110 of them and probably 200 amphibious tanks. It was just sitting outside the enemies base, cleared most of his navy, missed few factories on the left. It probably spent 20-30 mins sitting in the water, outside his base, it had plenty enough to kill him, not to mention laser on commander, spider in the base, etc. I thought it was bugged but then suddenly it decided to push and well, as u can imagine, it was brutal. It also had like 3 T3 battleships but only used them to clear some units and mexes on the beach. It looked to me like this AI was very conservative with attacks and planned to just cut off the enemy and over eco him to death. At the beginning, Sorian always ecos faster, prolly takes mexes around islands faster, but then all of the sudden, bam, uveso is like 3-4x higher in mass income than sorian. There really should be a AI tournament, because this is just soo much fun to watch. Im gonna try now an uveso vs two sorian AIs. I am not so interested in who will win, i am interested in how it will adapt to more pressure.

The only thing so far that im wondering, well, two things .. why is the AI so laid back, conservative ? I mean, 110 bricks, nothing can stop that 😄 A monkeylord sitting in the base doing nothing, battleships barely attacking, often completely skipping T2 navy and using only T1 and then going for T3 even though destroyed + cruiser combo would help ? Im guessing it detects battleship will be better utilised and keeps monkeylord for defence. And .. well, this one completely boggles me. Commander goes cloak + laser pretty fast, it seems it could use eco elsewhere. But im guessing its purely for defence - makes killing a comander very very tough.

Will let you know how other battles go, i plan to test it a lot, its more fun then playing to be honest ^^

@goblinsly said in Sorian AI - isn't it supposed to be better ?:

The only thing so far that im wondering, well, two things .. why is the AI so laid back, conservative

Well, i am a turtle player.

I also play with some unit mods like Total Mayhem.
And shame on me, i trained the AI to play with mods 🙂

So the adaptive sub AI is a turtle AI and meant to attack players turtle bases after 30-40 minutes.

If you want an AI that is stronger in the beginning, then use the Rush sub AI.
It has the same builder than the adaptive, but its eco is balanced to build units, not to eco up. It will only upgrade one extractor at a time and try to build many units.

The Rush variant is still a turtle AI and does upgrade and build the base while spaming units.
If you want a really spaming and agressive play from the beginning then try Relentors RNG AI or Dalli AI. Almost all new AIs are harder in the beginning then all uveso variants.

I tried also the rush variant and it is indeed more vicious early. I tried uveso vs 2 sorians and just now, uveso adaptive vs sorian adaptive, sorian air and sorian navy. Took some pics and videos also. Uveso obviously won all the games, but was getting hammered quite well early on, mostly by sorian air, which actualy did very good bomber runs (though never built a T2 airplane in like 90 minute game), doing lots of damage and also upped to T2 navy and did really lots of damage with destroyers. Uveso didnt react that well in this game, i expected T2 arty or/and T2 tacs. In previous game, it did wonders with a single T2 artilery, i thought to myself, there is an MVP unit. At moments i got pretty nervous when the commander got into the water next to like 10 T1 enemy subs, but it got out in time. Though experienced player would go for the snipe.

Ok, then it somehow took out the air player, which was the only player actualy doing something of worth. Then the "navy" player who didnt get to T2 navy in 80 minutes of the game. And then the sorian adaptive who didnt do anything at all, except building the biggest T1 land spam i ever saw and just sat on his island, sending a transport every 10 minutes or soo. Had T1 mass extractors by minute 60 and by the end of the game, actualy upped some to T2. But it seemed like uveso had the most problems with this player. It sat tons of units in the water by the beach, occasionaly trying to rush with about 10 amphibious tanks, but getting slaughtered by about 150 mantises. Didnt use the experimental. It really should have used T2 navy to bombard the beach. It took a looooooong time for him to send a nuke, missing the commander that was sitting by the beach, but the second nuke got him. I wrote down some things that got into my mind as i was watching the game. Keep in mind that while i think as a programmer, i have no idea how the AI programming is actualy done in this game, its just pseudo thinking. Might be impossible to implement, might not even be smart to implement.

  1. sending transports from A to B, to the same point, over and over, no unit survives the landing. Between points A and B are stationary antiair, enough to drop everything. Would be cool if there was a way to assess a path and avoid it if it detects to much AA to actualy land

  2. Units, mostly in water, getting torpedoed, not sending torpedoes back (out of range) but not moving away either. A lot of T3 mailboxes got shot this way.

  3. As i already said, detect when arty/tacs and navy are needed

  4. maybe a plan who to kill in 1v more enemies ... instead of sending few transports to 1 enemy, then the next, etc.

  5. maybe defend expansion bases a bit ? If not with buildings, at least few units. It made like T2/T3 mexes on empty islands, only to be lost to enemy engies seconds later

Oh, just another thing to add ... the way your AI is using commander is amazing. It got like 70 kills in a game and really responded well to attacks. At the start, i saw barely any direct damage units and i felt that was extremely risky, but i forgot that commander is an absolute power house at the beginning and it really did respond amazing to all enemy incursions and the more enemy attacked, the better it was since all they did was give mass.
Commander going into water near many subs got me worried but then i noticed its trying to build navyyard near, so it was actualy tanking some torpedoes. Killed some T1 ships also. I missed it reclaiming enemy subs sometimes, when it was only 1 sub there - it walked under it but then went onto the land. But still, awesome play. Then it built T2 PDs, like 5 of them, but not a single T2 AA. It got me worried but then i realised ... enemy didnt use any T2 air, and T1 AA units from factories are amazing, it had plenty of those and they cleared the sky awesome. See, if i was playing, i would surely build T2 AA as soon as i sighted a single enemy T1 bomber, and i would waste mass this way.

  1. The flightpath is already calculated with the threat of AA.
    The AI uses the way with the least threat, this can still be to hight to flight over.
    (I will look into it and maybe increase the threat value of AAs)

  2. Units don't know how long the weapon range from the enemy unit is.
    We can't access this data without using mechanics that are not avilable for players.
    Everything not available for players is considered as cheating, so we don't implement this to our AIs.
    (Maybe i can use the OnDamage event to issue at least an evade movement when getting damaged)

  3. Well, navy is one of the weaknesses of my AI. I don't play navy and have almost no clue how to make it.
    (I will compensate this in the 2 next updates but i can't promise much here.)

  4. Different from Sorian and GPG AI my AI don't has an picked enemy.
    It is attacking the closest enemy unit to its base. No matter what player it is.
    Transporter flight paths are tricky. I can't just unload units earlier on hight AA threat
    because of the landshape on some maps. If i unload the units and they can't reach the target then its also wasted.

  5. Psst secret 🙂 I work on a platoon that is moving to defensless mass extractors and add defenses around it.
    Building defenses while building the massextractor is not easy. i can only check the eco before i send the engineer to build
    the massextractor. If i add an defense to the buildplan and the eco goes down while the engineer is still moving to the
    buildplace then i have maybe not the eco when the engineer starts to build the defense.

Thanks for the compliment.
Yes the ACU function is brand new and surprising good. Can't wait to release it 😄
Did you see the small video i made to show how the ACU is getting targets and attack ?

It still needs some work, but i am satisfied how good it is already at the moment.

I just checked the vid and its very interesting. I am guessing it is constantly calculating whether it should attack units in its vicinity or go home .. and it is using many parameters, such as its own health, strength of ally/enemy units, distance from home, time of game, etc. Am i assuming correct ? Similar with overcharge, calculate mass of adjacent units, decide if worth the energy cost of overcharge ?

I am very impressed with the AI, like i said, it won against 3 sorian enemies. I am looking forward to seeing how it improves further. There is so many things .. for instance, sure, u can have a generic commander, same for every game. But, what if u spice it up, make a few personalities and at start of each game its randomly choosen ? So, in the last game, you saw an uveso enemy commander defending its base very well, then the next game, the enemy commander suddenly pops in the middle of your base, almost on a suicide run. I can almost hear my friend on skype, saying, what the f... and laughing if it happened to him. Sadly, im not a good player to give any tips on navy or anything.

1 thing i noticed, there seems to be certain markers on each map, you can even see them for a few seconds after the game starts. And then everyone builds navy bases on those markers (uveso sometimes even tries to build navy factory near enemy island, which is a neat trick, human enemies do it all the time). But, isnt the fact that those build markers even exist, kind of making the build thing almost scripted ? I was thinking about it earlier and if u set all the water as potential build site, you would probably have big problems preventing AI trying to build it in some insane places. But, speaking for 4 corners, i would add more navy build spaces, add different weight to them to make sure they more often then not pick the more optimal one, then just use a rand function to pick spot. I hope i didnt completely miss the point of how its done.

There is so much more i would like to say but i will keep it short just by 1 last comment. You said, units don't know how long the weapon range is from the enemy unit. But in a way, we do. Let's say we have radar coverage but no sight coverage, so we dont know which unit is shooting at our unit. But we do see that a) our unit is getting hit by something and in the case of torpedos, we do know its a torpedo, b) we know our unit isnt shooting back since we can see that visualy. And lastly, c) we can see that the unit is out of range, since we can visualy see that the enemy icon is out of the red circle that shows range of our attack. Now, it is true that we cant just by looking say exactly how many meters the unit is away, but we can approximate. We dont even have to know the distance itself, we just say ... if(gettingHit/taking damage && noUnitInWeaponsRange) doSomething (like move away, move closer, anything). Btw, is there any default unit response for what the unit will do when its getting hit ? In most strategy games, if u start shooting unit from afar, it will come to you and attack. Is that different in SC ?

Looking forward to your next AI update 🙂

Default response to getting hit is taking damage !

There is no micromanagement of units inside a platoon in the default game.
Only our custom AIs are microing units.
And doing so is tricky. Not only the CPU power but also the network traffic.
In case the AI is microing 800 or more units its the same traffic than 5+ players .

So we need to be carefull what we want to add.

New Update (v93) is out.
You can download it from the vault or from here: