SITREP Fri 18 Feb 22
Hi all,
With the attack code actually working, I tested the game and found that the new seniorHQ basing code has some unintended consequences. When we base the senior HQ (say a Bde HQ) it gets siphoned off from the main force group (mainFG) and assigned to its own HQ Basing task. The mainFG ends up being commanded by one of the brigade's BnHQ. This senior subordinate (seniorSub) ends up as the hub of any formation for the mainFG. It also ends up conducting the reassessments for the mainFG. This is not good. Not only is the seniorSub overloaded for command purposes, but it doesn't include any based arty when it comes to doing an attack from a Move mission. Also when launching an attack it determines that it should go to the reserveLoc and so only has two sub-attack, rather than the three Bn level sub attacks you would expect from a brigade attack.
To fix this we need to do two things. First we need to ensure that the based HQ does the reassessments and not the seniorSub. Second we need to find a way to assign the seniorSub to command its battalion and not be the hub of the formation.
I have explored ways for the latter and each is less than satisfactory or requires a lot of reworking. So I've opted to shelve this aspect for now and concentrate on having the basedHQ do the reassessments. I've started with the reassess for a Move. I've cloned the normal TaskMove::ReassessTaskSelf(), renamed it as ReassessMove() and call this for basedHQs in addition to their normal TaskDefend::ReassessTaskSelf(). I have been working my way through the code and modifying it so it uses the existing mainFG subject's location instead of the based HQ location to determine enemy threats, routes and approaches etc. I'm part way there now. But it's going to take a bit longer to finish and more to test. What I want to see is that the brigade launches an attack with three sub-attacks and with the full support of its based arty. If I can get that done I will release a new beta, knowing that there is still more to do. But at least this will get a working version of the game out to everyone.
BTW tomorrow is my birthday and I'm under starters orders not to work this weekend.