My 5-cent worth
I a bit unsure if the ai actually falls asleep.
I have run a huge number of freehand games this last 1-2 month, messing with the ai.
I came to think of it. The vast minority of ai’s in the game has nothing to do!
They have no plan, they are peaceful by nature, they have no missions, and they have no places to conquer – and thus have noting to do!
If you study the ai files, and there functions, you will notice that close to 90% of all countries is set for doing noting – and when they do something, they ai files also says that they have to mainly conduct defensive wars. e.g. liberate own provinces, go mainly for high value provinces, keep troops close to home etc.
It is actually no wonder, once the game has run a few rounds; the ai has build up good relationships with surrounding nations, that it in human terms ‘falls asleep’ – while it in ai terms is doing exactly what its suppose to do.
Now while I do acknowledge that some ai’s that do have places to go, money to do it, opportunity and strength to do it, does seam to sometime lay much to low in unusually long time period (20-30 years) – but they usually come around again, themselves, or either by events or dragged into something by another nation.
I also know that if you re-load, there is a huge amount of activity, much war declaration.
Well I did read a while ago here, that this was because the relation between nations was not acknowledged at the very start of the game (or start of a reload). Thus in the small time it takes the game to figure out that A has good relation with B, those ai’s manage to declare war on each other, because they don’t know that they have good relations.
And as one knows one ai war seldom comes alone. Dragged along by alliances or ai’s that does have something to do, that now ‘triggers’ because nations they are supposed to conquer is now at war etc…anyway, it all falls like a card house, one event dragging/triggering another during a reload on and on and on – I’ll bet that is exactly what you see in a reload.
Another to support this behaviour, that not all things are accounted for during a reload. If you noticed it takes a few days before one can release national provinces as a vassal during a reload. Now this should not be possible since the revolt.txt, which is the file that determinate what you can release, is required even to start the game. But as a matter of fact it does take a few days before the info in revolt.txt is translated into game functions.
Which could suggest that part of the save games are also not understood right from days one- but takes a few days too for all parts to acknowledge it all.
So when you look at it, I don’t think that the ai falls asleep at all, since he does exactly what his supposed to do – which is nothing! But what you see in a reload, is not actually a waking of the ai, but a !!
bug – that forces the ai to do things he would otherwise not do.
So the real problem is rather simpler I think – supply the ai with something to do, by supplying ai files that is not saying that the ai should indeed go to sleep, e.g do nothing!
Well it’s a test that can be done.
Make the most warmonger ai files that can be done, just attack attack regardless of own provinces, regardless of value etc.. Apply it to all nations in the game with a ‘to conquer’ tag of all other nations in the game – and watch if the ai still falls asleep.
My personal bet is that he does not
