Mon Aug 20, 2007 2:27 pm
There are obviously many problems with the AI, and faced with the level of complexity in the game, we might have to make it "cheat" to some extent...
There are 2 changes I would like to see in the way the AI does things, but they may prove to complicated and then I guess only a clever an limited way of "cheating" would make a difference :
1/ some sort of code routine that would go on from mid-december to mid-february that would see the AI go on the full defensive mode and do a general reshuffling of its generals according to there abilities : It would check all 3* commanding armies an without a command, and put the best ones in, then same for the 2* and then for the 1*.. Obviously to do that a "relocate generals" button would be necessary, and it would need to span several turns to avoid army disbanding, etc...
The way it would go the USA army would act that way
- end of early december turn : order all forces to go on defensive posture near or in cities.
- late december turn : check generals without command and generals in command, relocate good generals without command to replace the worse generals in command (say the has 4 armies, and has now 2 spare 3* generals : it would check qualities of the army leaders and if an army leader is worse then one of the free gens : relocate the free gen for it to replace the bad one).
- repeat as long as neede so that the AI ends up with an "optimal" organisation with the best generals in command.
If this needs to be then in several turns (one turn to relocate, then another one to change command) this would need to happen only in winter when the game is somewhat stalled.
But if the whole manoeuver coud be done in 1 turn only, the ideal would be for such checks to occur at the beginning of each turn. Say on turn "early april 1862" a bunch of 2 and 1* generals appear, then the first things the AI does is to sort out which are the "worst" 1* and 2* in command and replacing them with the new ones... A great improvement.
Coupling that with the fact that the AI should promote the generals whenever possible and integrate that promotion into the command relocation process, it would lead to regular improvement to the AI command structure, therefore activation chances, therefore manoeuver capabilities...
Say Grant wins a few battles as a 2* and becomes promotable to 3* stars. the AI should promote him automatically (the routine would be for the AI to promote whenever possible, and if several generals can be promoted, sort them by seniority order), and, as a 3* commanding a corps, tag him as "to be replaced as a corps commander asap", next generals checks, the best 2* general available is put in command of his corps releasing him as a free 3*.. Next generals check, it would replace the worse 3* in command...etc...
The main issue with this routine is how to make it sleak enough that it doesn't break the AI ? I think this would require some "cheating", ie for the AI relocating generals should be instantaneous. the way I see, every and any routine that forces the AI to execute a task spanning several turns is going to be very very hard to implement, with the possible exception of winter turns with very low activity.
So the AI should be able to do all this in one turn, with relocation and promotion being instantenaous, and possibly toggles to activate free division formation and disable seniority and political cost penalties as well. The typical routine would be :
Check promotable leaders--> promote by sorting according to seniority
Check leaders in command
Check leades without a command
Replace "worst" leader in command (a newly promoted leader would be at the top of that list) by best free leader.
Recheck leaders in command and free leader, if some free leaders are better than some in command, repeat the replace task, etc.. until the AI finds that all commanding army/corps/division generals in command are better than those not in command.
This would do away for the AI with seniority and political costs, or would be a lot more complicated to do, but it would at least help alleviate the AIs command problems.
Add that routine to an enhanced division forming routine (that still needs a lot of enhancing) and the AI would go a long way toward a better organisation.
2/ the use of army and corp structure by the AI is poor. Some basic principles of operationnal war need to be implemented : The AI needs to use the Army/Corps structure properly, ie on the field it needs to advance toward its objective with a "winged" structure depending on the number of corps it can field, the best number of corps being 3 :
- if 2 corps : the army advances in the middle, winged by the 2 corps :
corps--Army--corps
- if 3 corps : the Army advances in the middle of the 3 corps :
Corps-Army-Corps
------Corps-------
- if more corps, the army should keep the 3 corps formation and either use the other corps for rear cover or to extend the line...
Sorry for this long and incoherent post.. I wanted to post a few ideas.