M28AI Devlog (v144)
-
v99 Update
13 changes including:
- New T1 arti drop logic for transports
- Guncoms should be more likely to have a land scout nearby to give them intel
- Delayed upgrades in the first few minutes at higher resource modifiers
- Adjustments to how units backup to make it more likely (since it appears units have to be stationary for backing up to work now)
- Decrease in ACU aggressiveness at the start of campaign missions so its less likely to suicide into nearby PD
Acknowledgements
- GerJS and Hypoxic – Campaign replays where M28’s ACU is suicidal vs enemy PD near its start position
- Radde – 1v1 replays
Trophies
- Radde trophy - Radde beat M28AI (v98) with a 1.4 resource modifier (albeit it was on a mapgen map that had been played a number of times)
- Sladow trophy (1.5 AiX, 10km+ map) - no change (Radde beat v81 M28AI)
-
v100 Update
M28 turns 100! 18 changes and fixes this update, including:- New AIx overwhelm mode where M28 can gradually get stronger or weaker over the course of the game - 3 new config settings have been added allowing you to specify the rate of change in the AIx modifier, how frequently it changes, and when it stops changing.
- Added support for Eye of Rihanne so it will sometimes be built late game (and then used to scout the enemy)
- Various refinements to unit backup logic, and expansion of preemptive engineer bomber dodging to try and more consitently reverse and/or dodge bombs
Acknowledgements:
- Zhanghm18 replay where M28 kept trying to build units it was self destructing due to the unit cap
- Balthazar – providing the game function for determining a unit’s speed
Trophies
No change from before (Radde trophy - current holder Radde who beat v98 M28AI; Sladow trophy - current holder Radde who beat v81 M28AI) -
Using your ais in parched river with ninja drones, offline skirmish.
It's the reclaim drones that break it. I'll just disable the drones next time, so, no rush.
-
@maudlin27 said in M28AI Devlog (v100):
M28 turns 100!
Congratulations to a great anniversary and achievement, and thanks for this great contribution!
- New AIx overwhelm mode where M28 can gradually get stronger or weaker over the course of the game - 3 new config settings have been added allowing you to specify the rate of change in the AIx modifier, how frequently it changes, and when it stops changing.
THANKS!!! specifically for this one.
-
°°7 Congratulations
-
@innomen said in M28AI Devlog (v100):
Using your ais in parched river with ninja drones, offline skirmish.!
It's the reclaim drones that break it. I'll just disable the drones next time, so, no rush.Have you got a replay ID, and what was the issue specifically? Also do you have the same issue using other AI (e.g. the default AI) with the ninja drones?
-
I've noticed M28 not attacking when it has loads of Mantis or Thaams and trying to keep them at range (or retreating) when it would be much better charging them in. Haven't got a replay of for you atm though.
-
@reckless_charger Thanks, I'm aware but it's likely an unresolvable side-effect of how it decides if it thinks it can win a fight. If it doesn't outrange the enemy then it tries to ensure it has a decent advantage over the enemy before committing, in part because when it attacks the units have a tendency to go in a line (making it easier for a smaller concentrated army to kill them). I.e. even with the current thresholds I've seen it lose fights that it picks (even if I'd have expected it to win if it was a human player based on army sizes).
However if it's got an overwhelming force, factoring in mobile enemies that in theory could also join the fight, and still doesnt attack it might be something I could look at to see if it can be tweaked slightly more.
-
@maudlin27 edit, I've made a mistake, it only fails offline in skirmish, save is 102mb, no replays in skirmish apparently
-
https://replay.faforever.com/22681440
AI seems to ignore reclaim on hills. Also, it seems it largely undervalues big portions of reclaim.
In general, I think it is quite interesting to see how AI plays on high reclaim mapgen in comparison to human -
v101 Update
13 changes mostly based on a few Yung Dookie replays:- ACU target prioritisation updated so it targets T1 combat units over enemy ACUs (unless trying to kill the ACU)
- Fixed an issue where M28 could tell its ACU to reclaim nearby wrecks despite being surrounded by enemy units
- Transports should commit to a drop once they get close to the target, and consider dropping early if getting low on health
- Fixed a bug that prevented transports from dropping on mex-free plateaus with lots of reclaim
- Improved ACU's ability to dodge notha shots (unlike a player it can't dodge all of them, but in a few sandbox tests dodged a much higher proportion than before)
Acknowledgements
- Yung Dookie for providing several replays against M28 on a 5km (M28 won one lost one) which helped with estimating the rating to give to M28 as well as identifying some issues, along with a replay on the Ditch which highlighted M28's failure to reclaim mex-less plateaus
- Pablo and Ravendel - Ditch replay also highlighting M28 failing to reclaim mexless plateaus, along with a couple of additional replays
- DillyDalli - A separate replay also highlighting M28 failing to reclaim mexless plateaus
Trophies
No change from before (Radde trophy - current holder Radde who beat v98 1.4 resource M28AI; Sladow trophy - current holder Radde who beat v81 1.5 AIx M28AI) -
https://replay.faforever.com/22700574
It seems that AI undervalues it's ACU in 1v1 - I managed to trade with AI that had 1.5 multiplier on 5 km map. Also, it's strange it did not block my path/focused my ACU with everything -
I think 1.4 and 1.5 multipliers is too much for v100+ trophies. I tried it like 5 times and it's really hard:
On 5km map the only chance is too push very early until eco advantage hits you
On 15 km mapgen AI can take really inefficient trades and still be in eco advantage
Just see how hard it was to cheese with aeon gun on 1.3 multiplier:
https://replay.faforever.com/22700773 -
https://replay.faforever.com/22701325
Managed to get map control from 1.4 AI - not sure it's a bug, but interesting. Still lost -
https://replay.faforever.com/22701462
AI does not go t2 navy till min 16 on navy map + undervalues islands with lots of mexes - still beats me as 1.4 mass is enough... (t2 navy countered with t1 subs xd) -
@dillydally said in M28AI Devlog (v101):
I think 1.4 and 1.5 multipliers is too much for v100+ trophies. I tried it like 5 times and it's really hard:
On 5km map the only chance is too push very early until eco advantage hits you
On 15 km mapgen AI can take really inefficient trades and still be in eco advantage
Just see how hard it was to cheese with aeon gun on 1.3 multiplier:
https://replay.faforever.com/22700773Thanks for all the replays! I might consider adjusting the requirements if it goes a long time with no-one able to beat them, but part of the reason for them being so high is because it makes it very likely that M28 will have made a significant blunder costing it the game, and it's not expected that many people would be able to beat it at those levels.
For example, in the first 1.5 resource 5km replay you posted, it largely played as I would have wanted, but was ultimately caught out part-way through its gun upgade when your Aeon half upgraded guncom appeared (but it didn't start its gun upgrade particularly late, hence there's nothing obvious I'd want it to do differently in the future that is feasible - e.g. getting gun sooner would damage its economy and mean fewer tanks; getting T1 PD to cover the upgrading ACU would probably be a mistake more often than it would help). In contrast if it was in that sort of a position despite both a significant resource and build rate advantage then I'd need to rethink the approach as it would have gone beyond unfortunate timing re the upgrade.
That said, with the 1.4 mapgen replay while it wasn't a bug I think it could've got a few more factories early on so I'll tweak to let it get slightly more in future)
In terms of the navy I see it as a grey area whether going T2 earlier or focusing on t1 navy spam is better - the risk if it focuses on T2 earlier is it gets overrun before it can build enough t2 naval units to help it (more likely for an AI since it requires a decent amount of judgement to assess if you think you have enough units to hold off the enemy while getting a T2 upgrade)
-
@maudlin27
I finally managed to beat the AI on 15 km mapgen with 1.4 resource modifier. I think AI just misjudged the map and went into air and navy when land was key factor. Also, it didn't go pd creep when my army with ACU arrived.
And I think it undervalued reclaim and far mexes again.
https://replay.faforever.com/22706131
Edit:
Now I looked through replay.
It goes 2nd air on this map - it's strange, mexes are not that far to rush a transport to drop 1(!) eng...
1st bomber goes without scout and bombs nothing
It is building engies from 2 factories instead of 1, so has no units + is very greedy with t2 mex. I think we are too close for t2 mex.
Then it spams eng from 4 (!!!) factories even when see my units coming
Not sure why it went t2 air at all.
9:20 - it knows I have army and it has a lot of t2 engies - couple of PDs could save the game. Then units just block the PD spot for years
11:00 - it is totally losing, but could probably rush gun and t1 PDs due to good eco + go into water -
@dillydally said in M28AI Devlog (v101):
@maudlin27
I finally managed to beat the AI on 15 km mapgen with 1.4 resource modifier
https://replay.faforever.com/22706131Thanks for the replay and comments, and congrats on beating it at 1.4 resource mod! A few things for me to work on from that for the next update. I think many of the issues were connected to it going for T3 air too early (causing it to stall power, which I expect was the reason it both failed to get T2 PD, and failed to get the gun upgrade on its ACU)
-
v102 Update
13 changes based mostly on replays from DillyDally, including:- A few tweaks to when tanks will come to the aid of M28's ACU to make them slightly more aggressive
- Increased the chance of a second T1 air fac being built at relatively high mass storage levels (since otherwise M28 wouldnt get any more factories)
- Significant increase in priority of building the first air scout if a first bomber has just been built
- Adjusted transport drop prioritisation so a 3+ mex zone on the same plateau will be prioritised over a 1 mex plateau
- When deciding whether to upgrade to a T3 air fac, the AI's resource bonus should be taken into account (to make an upgrade less likely in some cases than before)
- The first T2 PD should have its build location reassessed if construction doesnt start soon and units are blocking the build location
- Absolvers should be more cautious/retreat sooner
- Idle engineers should attack move to an adjacent land zone instead of sitting idle (so they can pick up very low reclaim value props on the way)
Acknowledgements
- DillyDally - various replays which formed the basis of the majority of the changes this update
Trophies
- Radde trophy - Awarded to DillyDally for beating v101 M28 at 1.4 resource on a 15km mapgen
-
@maudlin27 I had a crash today and it seems that it has to do with OBS which i use for streaming. Do you have any more insight as to what is wrong or how to solve it ?