M28AI Devlog (v224)
-
v209 Update
12 changes, mostly relating to improving how M28 plays with certain mods, including:- If a mod adds a unit with really good shielding M28 should build that shielding in preference to T3 shielding (or its special stacked T3 shielding for protecting game-enders), and should be more likely to build game-enders.
- Fixed an issue with a mod that added multiple upgrades to T3 mexes, including an experimental mex, resulting in M28 thinking the experimental mex was a paragon
- Added a redundancy to better support mods that have upgradable PGens
-
v210 Update
13 changes mostly relating to unusual maps and mods:- Various adjustments to fix and then improve how M28 handles maps with no mexes
- Improved speed of getting upgrades if a 'low cost upgrade' mod is enabled (and fixing some bugs that would cause ACUs to get stuck in an upgrade loop)
- Reducing the mass cost limit at which to consider experimental shielding, and adding better support for QUIET/LOUD experimental shielding (in the event they were to be cheap)
Acknowledgements
- Chucups - Highlighting a no mex map where M28 wasn't working
-
v211 Update - Naval experimentals
Various changes relating to using SACUs in ponds to help build naval experimentals - in the case of FAF this should mean M28 starts on a naval experimental a bit sooner if it builds SACUs and is a naval personality (or is on a naval map), while it should be more impactful for LOUD and QUIET which prevent engineers building experimentals.4 other changes relating to fixing some issues with engineer build logic in some niche scenarios (including better support for mods that add units with an unusual size)
-
v212 Update
15 changes, including:- Various fixes and improvements to how M28 plays the enemy AI on Black Day (including no longer having the rally point for air units based on the AI's start position if that location is in range of enemy cruisers), and fixing some errors on campaign maps more generally.
- Fixed a bug with bombers that meant if bombers were getting more kills than losses they'd avoid enemy units with ground based anti-air.
- ASFs should no try and protect strategic bombers as a priority target
- Fixed some issues that could cause short ranged units to suicide into longer ranged ones on land.
Acknowledgements
- Vortex - QUIET replay
- Samofflive – Replay and highlighting a bug with M28’s SACUs in campaign
-
v213 Update
11 changes, including:- Support for M28 personalities in campaign - to apply M28 personalities to the allied or hostile campaign AI, you can specify in game options (in place of the previous option for applying M28Easy, you now have a selection of the different M28AI personalities). Note that this is likely to be less impactful than in a normal game, since a significant part of the effect of the personalities is how many and what type of factories to build, whereas in campaign missions the AI often has the factories pre-built for it.
- Support for experimental PD and AA buildings, including where they need building by SACUs (QUIET+LOUD)
- Added in tracking for AirAA kills and deaths to make M28 more cautious if it has taken bad air fights, along with fixing some bugs with tracking gunship and bomber kills and losses
Acknowledgements
- c04spoon replay against v211 M28AI (where it failed to beat restorers with its air force)
-
v214 Update
14 changes, mostly relating to extra voice taunts:- Campaign AI should ignore its assigned start position and record a different one if the mission's start point for it has no factories or ACU
- 9 voice taunt additions for various niche scenarios
- 3 QUIET specific adjustments, including having Czar use manual attack orders instead of attack-move orders
Acknowledgements
- c04spoon replay where Czar failed to use its main weapon
-
v215 Update
New configuration "M28: Enable helpful teammate logic?" game option to disable the following parts of M28's logic:- Gifting asfs to the air player
- Gifting eco buildings when it completes a paragon
- Gifting power generators if built adjacent to a teammate’s air factory/smd
- Gifting mass storage if built adjacent to a teammate’s mex.
- Transferring stored resources to a teammate on death.
- Gifting a t1 mex if M28 builds it in a teammate’s base
- Assisting a teammate with building an experimental/T3 arti/nuke
5 other changes, including various adjustments to 1st bomber micro (so tanks that can be 1-shot are considered, and damaged power generators are given a higher priority), and having engineers no longer idling if they want to reclaim but the reclaim is in a different plateau.
Acknowledgements
- Zwaffel - comments and replay relating to M28 early bomber.
-
v216 Update
11 changes, including:- Improved selection of transport drop locations when dropping on the same plateau, so the number of mexes in the target zone gets factored in.
- Fixed compatibility with the flying engineers mod
- Renamed 'M28: Enable helpful teammate logic?" to "M28: Helpful teammates?" (to deal with text overflow issues)
Acknowledgements
- Fearghal screenshot highlighting text overflow issue on the helpful teammates game option
v217 Update
18 changes, including:- Fixed some bugs with inties/asfs logic so they should no longer pursue enemy inties/asfs that are out of range (unless they think they can win the fight)
- Surface naval units should consider attacking the nearest enemy naval unit if it's outranged (even if the enemy has longer ranged units in the general area)
- Improvements and fixes to ACU logic when using splash upgrade or laser (so it's a bit less likely to build things or get reclaim)
-
Hi, i am playing against M28 everyday and i have tons of fun. Just 2 things to report and a question.
-
For some reason on Rush me green V3, players dont utilise torpedo bombers. I see they build them and if u walk with experimental on small patch of water on land, they attack. But on main water they dont. So i just rush megalith's in water.
-
Same for Strats and Exp bomber - they dont attack megaliths under water. Im guessing it has to do with depth of water ? Bomb from ahwasa doesnt damage mega
Im playing with certain restrictions, mainly game enders. Latest replay is #24583934
Question: since i mostly play only against AI, does it make any difference to AI, UI and how game behaves between opening a new game in FAF client, or just click play localy from FAF starter page and make new skirmish game ?
-
-
@goblinsly2 Thanks, unfortunately the replay doesnt work but I've been able to reproduce an issue with torpedo bombers not targeting naval units on that map so should be able to investigate.
For strats and exp bomber I expect the issue is the unit is too far underwater.
Playing offline should be similar to playing through FAF, the main differences being the replay wont get saved to FAF (so unless you rename your lastreplay it gets overwritten when you start a new game), and you need to create a game through FAF after any update to benefit from the changes in that update.
-
v218 Update
5 changes, including:- Fixing a bug in QUIET where mobile SMD would be built instead of spearheads
- Units should be more likely to engage enemies near the frontline that they outrange.
- Improved ACU build order so it is less likely to build the 5th+ mexes at the start
v219 Update
15 changes, including:- Various improvements to Aeon missile ship usage, including making them less likely to fire at units protected by cliffs
- Civilian buildings in water will now be considered for capture
- Fixed a bug where water zone locatiosn could be considered as land zones
- Fixed an issue where if the asf support location was too near the frontline (with the enemy having ground based AA near the frontline) they'd ignore all enemy units
Acknowledgements
- Relent0r - Replay involving Aeon missile ships
v220
Hotfix with 4 changes, including:- Fixed a major bug with torp bombers that meant most of the time they wouldn't attack
- Fixing a couple of ACU related errors where the ACU was in a different plateau to nearby units
- Fatboys should be more likely to attackmove in LOUD and QUIET
Acknowledgements
- goblinsly2 - Highlighting issues with M28 torp bombers
- Vortex - QUIET replay involving fatboy
-
v221 Update
13 changes, including:- Island factories should build land scouts in teamgames and be less likely to pause
- Indirect fire units should try and attack if the nearest enemy is outranged and not protected by friendly enemy units.
- Adjusted t3 arti targeting to reduce the value of heavily shielded zones when assessing the best zones to do a detailed check on
- T3 facs should in some cases be ctrl-k'd for mass late-game
v222 Update
10 changes, including:- More PD builders
- ASFs should shadow friendly strat bombers even if the enemy has AA nearby
- Naval factories should be more likely to get engineers if they have higher tech than land/air
- Units should transfer on death (relevant for QUIET+LOUD)
Acknowledgements
- C04spoon – v218 QUIET replay
- Azraeel – v218 QUIET replay
- Vortex – 3 v220 QUIET replays
-
v223 Update
8 changes mostly relating to improving M28's response to a comdrop attempt:- More inties should be built if an enemy T2 transport is detected
- Various adjustments to inties+asf micro when engaging enemy air targets
- Emergency PD's build location should be reassessed if the PD is going to be built in range of existing enemies and the engineer is sitll moving to the build location.
Acknowledgements
- Chucups replay where 4 M28 lost to a 2 player T2 comdrop
-
It would be awesome if I could tell the AI to gift me an engineer.
-
@NomenNominandum You can (try using a text marker to ask)
-
v224 Update
15 changes, including:- M28 should place markers when it spots high value enemy units if it has a human teammate
- Engineers should be more likely to reclaim wrecks within a second of being in range of the wreck.
- Decreased bomber aggression early game and where M28 lacks intel
- T2 radar outside the base can be upgraded to omni on larger maps when M28 has very good eco
- 2 QUIET specific changes, including an infinite upgrade bug and fixing factory enhancements
Acknowledgements
- Relent0r - identifying triggers relating to a brain gaining visual of a unit that I was able to use to add in some taunts (although after working on it some more I decided to go with a custom approach for greater functionality)
-
Firstly, I like the AI. For someone that likes to play vs AI rather than pvp, I appreciate the work you do.
It would be great to have a setting to turn down the strat bomber hover spam. Or the ability to scale the amount of APM to a more human-like amount. I get flooded with 50+ strat bombers, each hovering out of range, flicking bombs forward. No shields can protect you and AA cant kill them fast enough. By itself, it is a minor issue, but the AI being able to focus on that while doing micro on everything else on the battlefield can make it hard to deal with.
I'm also unsure of how balanced ASF vs AI ASF combat is. I've often outnumbered their ASF while having vehicle AA below, and my ASFs get decimated while the AI ASF are barely touched.
-
The AI is cheating again.
Last game the M28 (easy) marked a nuke without seen it.
Same seems with other funktions but i cannot proof it. For example the first bomber. It seems he sees everything without having a scout.
It would be nice to have a funktion to stop M28 doing things that are not possible for humans. -
@Laso That's essentially how M28 (and many previous AI as well) performs. It has information it shouldn't, and does things with units that you would find it either impossible or incredibly difficult to do. It's not, and doesn't claim to be, a level playing field.
-
@Swarm133 Thanks for the feedback; I can look at how feasible it would be to add further customisation into how it uses hover-micro as a game setting (e.g. the number of units it's able to hover-micro simultaneously); in the meantime you can play using M28Easy which should disable all hover-micro.
For ASF vs ASF combat I've seen it lose lots of air fights that have looked relatively close in separate replays, but there is a high degree of variability in asf matchups even with the same tactics being used by both the player and the AI, so it's certainly possible that you can have more asf and lose an air fight, although I'd expect with a significantly larger force you should overcome the variability/micro difference.
To help illustrate what I mean, in sandbox you could create 50 asf for two players, and have 1 group attack-move towards the 2nd group, and the 2nd group move and then press stop when near the 1st group; I'd expect the 2nd group to win the fight. M28Easy will disable the main micro M28 uses in asf vs asf fights, which I'd expect to make it weaker (although I've not actually tested to confirm!)
@Laso Please can you provide a replay - the only scenario I'dve thought M28 would have knowledge of a nuke it hasn't scouted is if that nuke has already launched its missile; M28 aims to approximate what a competent human player can infer by recognising certain units exist when they fire, to avoid scenarios where an unscouted unit can fire at M28 and it continues as though that unit doesnt exist (another example would be a monkeylord firing outside of visual range - a human player would see the big laser and know there's a monkeylord there). I'd need a replay to check or (if it's marking the nuke when it shouldn't) to fix the bug causing this).
As for the first bomber again I'd also need a replay to assess, but I can assure you it is very much limited by intel, and doesn't see everything despite not having a scout. For example, in the recent rainbow cup semi-finals you can see the dark blue early t1 bomber do a number of suboptimal plays due to its lack of intel:
https://www.youtube.com/watch?v=GQI_jUrivfk&t=120s- Once it gets near the enemy T1 AA (bombers have a radar+visual range although you can't see this in the cast due to observer view) it decides to turn and try and seek a different target
- It then proceeds to go towards various empty mexes with no units, because it's trying to find enemy engineers to target (2m10 of the replay/2m32 of the video)
- It's not until 3m20 of the replay (3m47 of the video) that it approaches a location with enemy units, having wasted a long time trying to find some