I love DM, but the BAI still seems hopeless. Here is an especially annoying example I had early in the Peninsular campaign. I was France, defending the city of Badajoz from the British (VH campaign, N battle, 2x units size).
I had - 6 x Fusiliers, 5 x Musket armed citizens, 1 x Militia, 1 x 6-lb cannons, 1 x Chassuers, 1 x Chassuers a Cheval (generals unit).
AI had - 8 x Line Infantry (4 British foot, 4 Portugese foot), 2 x Light Foot, 1 x Portugese Cazadores, 2 x 6lb cannons, 1 x howitzer, 2 x Light Dragoons, 2 x Portugese Cavalry, 1 x Dragoons, 1 x Arthur Wellsley.
I had about 5500 men to their 4500, but that included 3000 citizens and militia.
The town of Badajoz was on my left flank, so I garrisoned three of my Citizens in the houses there and had the other two and my militia stand at the back of the village behind some walls, so they could fire between the houses at any enemy units who got near my garrisoned buildings. I then drew my six fusiliers up in a line with Badajoz guarding my left flank. I placed them "reverse slope" on the right side of the line (it wasn't possible to do so on the left) and put my cannons and Chasseurs on the top on the ridge. My chasseurs chavel I left as a floating unit to launch counter charges wherever needed.
I really didn't think I would win this battle, I just planned to try and inflict as many casualties on my enemy as possible. This really should have been a fairly easy AI win - all the British needed to do was use their artillery to bombard me and force me out of the buildings, then use a coordinated infantry and cavalry attack and I would be routed no problem.
Instead Wellington made a complete hash of it. He sent his light dragoons to try and drive me out of the town, but they were unsupported and were driven back no problem. Then the British artillery moved up and opened fire, but instead of targeting my troops they fired at a random spot in the town way infront of my garrisoned units. Not a single shell hit one of my units all battle.
Wellington then drew up his infantry line, but left all the rest of his cavalry in reserve behind his cannons. Instead of matching my line (or even better ignoring my garrisoned units and focusing on destroying my regular army units), the infantry formed into two clumps with no discernable formation.
They then advanced. The one on the left (1 cazadores, 2 light foot, 1 portugese foot, 1 British foot) got caught up in Badajoz and was wiped out by my citizen units who took very few casualties. Instead of bayonet charging my garrison units, which would surely have routed them, the enemy instead tried to return fire whilst in dense columns all mixed in together. Carnage.
On the right the rest of the British infantry sat in a poor formation right in front of my cannons and Chasseurs for about 5 minutes, allowing me to rake them with grapeshot and musket fire, inflicting about 600 casualties. WTF.
They did finally attack, overwhelming my cannons and Chasseurs and even briefly routing some of my fusiliers, but they were ultimately driven off with very heavy losses. Wellington led the attack (although he did not engage in combat) but ran back to his cannons when he realised the attack was failing!
The battle was now effectively over, since although the British still had 3 cavalry units plus Wellington left they had no hope of routing my infantry (now in squares) or my garrisoned units, especially since the British cannons were still firing at absolutely nothing
That didn't stop Wellington suiciding two more units of cavalry against my garrisoned citizens units. Result - 240 dead cavalry, 12 dead citizens. With the AI now dormant I just fast forwarded the remaining 10 minutes of the battle to claim a time out victory.
Is there any explanation for this repeatedly awful behaviour by the AI? I mean seriously - letting cavalry attack fortified positions unsupported, attacking in ugly columns that get torn to bits by my muskets, leaving units right in front of my grapeshot firing cannons and having your powerful artillery units fire at a random space on the map?
I love DM and I thought it had sorted the worst of the AI behaviour, but obviously not