@ GoodGuy: Thank you for your posting!
The biggest problem is that modding AI doctrines, AI behavior or AI formations is probably only interesting for the small handful of modders like myself, that are looking to expand into other historic periods (which would be wonderful as the base game has so much potential). Most of the player base seems to be quite happy with the WW2 setting, and making chances to the code to allow for AI behavior modding (who knows if that would be possible at all) is probably not a high priority for the developers.
I'd like to mod the doctrine, too, to depict Russian 1941 tactics, for example, or to implement the German Field-Replacement Unit and March Bn regime. I'd also be interested in creating WWI scenarios, but the routines would not be able to recognize trench lines, let alone to use such lines as springboard/home base for all or most of the attacks. The Ai would also have to spread units across the trench lines evenly, to cover the whole front. For the replacement regime, the engine would have to be able to spawn and dissolve units and hand the authority over that process to the player (or AI commander).
Regarding the bayonets - I would have to give it a try, but with the AI being incapable of using period tactics it seems a wasted effort at this point.
You could test that by pitting 2 single coys against each other and taking away all their firearms (or ammo, if you disable supplies). Sound can be modded in the game, so you could even replace a gun sound with a mix of stabbing sound effects and a battle cry or something like that, if bayonets work. Maybe Dave will have time to tinker with the formation regime, at one point.
Btw. you can see how the modded formations currently look like in 2 screenshots I made, posted above in this thread: https://forums.lnlpublishing.com/threads/civil-war-estabs-work-in-progress.5695/#post-32410
Yes, I took a look at that in February, already. I just checked the screenshot again, and a detail caught my attention:
The coy-based formation (screenshot 1) spans across ~1.5 km. What happens if you select auto, instead of setting the line's width manually?
And what happens if you set the formation to 2 lines (or rows, if you will). Historically, I am guessing that the front row kneeled, so that both lines could fire, or the 1st row stepped back after firing the salvo, reloaded and went back in front to fire the next salvo, after the 2nd row had fired its salvo.