So... In my tiring quest to make a decent AI for my mod, I stumbled on yet another big hurdle.
I have done the Angel Wings AI for my mod and it is completely functional-- I'm happy with it, moving on to the next faction, the Red Skulls.
They have a good amount of structures that are mobile. I set-up the scripts accordingly, and they seem to just stop building after the Calling Pods(Barracks).
It's also weird that they build a second Monolith(Power Plant) even though the script say it needs a VTOL Pad(Airfield) to be built by this player.
They don't build the Gatherer(Supply Center). The Gatherer is mobile mecha that uses drones to collect supplies for it, it armed with a machinegun to defend itself.
I've reviewed the script multiple times, I cannot get them to build it.
After a while, I thought, maybe I can make a special AI version of it-- like what I did with the Angel Wings' War Factory.
So I made a non-mobile AI-only version of the Gatherer, And have it BuildVariation itself unto the main Gatherer object, so that it can still possibly engage if threatened(the AI doesn't seem to know how to use it).
It worked. SOMEHOW. Now they build the Gatherer. But sometimes, they don't, it weird- I put the AI in the same positions in my AI test map, there's a 20% chance they don't build anything after barracks even in the hard setting.
I tried the same method on the other Mobile Structures(VTOLPad, Assembly Line(War Factory), BellikOS(Drone Factory)). It DIDN'T WORK.
I tried editing the faction's AIData SkirmishBuildList, it didn't work.
I tried editing the prerequisites, it didn't work.
I tried looknig at scripts properly, I don't see what's wrong in it.
So does the AI just plainly hates Mobile Structures?