The idea is dead simple, just make AIs send attack waves after waves and the player is defending. But somehow I can't be able to create this mod.
But here are the heads up: I'm having an unlimited pop mod and I want to use "speed always wins" in the game (meaning this gonna be a who can spam troops faster competition lol).
So with "speed always wins", AI shouldn't really care about the econ as long as they have settler on farms. But the problem is with the unlimited pop, since the population is always 0 (cuz of the mod), AI just spawns troops and turtles up around the barrack and not attacking at all, sometimes they attack me once in a first couple mins and just pretty much sit there for the rest of the game, sometimes sends out a small waves even though it has a massive army.
So...I've taken a look at aimain.xs and to be honest there is a lot of unnecessary stuff for my need, for example the gGoodArmySize or something like that, but I can't really find a line that specifies when the AI choose to attack the player, I've read somewhere that AI only attacks people if its score is higher that player.
I would like to create an attack plan that is base on time interval no matter the population, but since I can't find a single function that determine when to attack, i can't...
Do you know what it is? Help..
But here are the heads up: I'm having an unlimited pop mod and I want to use "speed always wins" in the game (meaning this gonna be a who can spam troops faster competition lol).
So with "speed always wins", AI shouldn't really care about the econ as long as they have settler on farms. But the problem is with the unlimited pop, since the population is always 0 (cuz of the mod), AI just spawns troops and turtles up around the barrack and not attacking at all, sometimes they attack me once in a first couple mins and just pretty much sit there for the rest of the game, sometimes sends out a small waves even though it has a massive army.
So...I've taken a look at aimain.xs and to be honest there is a lot of unnecessary stuff for my need, for example the gGoodArmySize or something like that, but I can't really find a line that specifies when the AI choose to attack the player, I've read somewhere that AI only attacks people if its score is higher that player.
I would like to create an attack plan that is base on time interval no matter the population, but since I can't find a single function that determine when to attack, i can't...
Do you know what it is? Help..