Hierarchy Module Document

The sequel of the legendary wargame with a complete graphics and interface overhaul, major new gameplay and design features such as full naval combat modelling, improved supply handling, numerous increases to scenario parameters to better support large scenarios, and integrated PBEM++.
User avatar
Curtis Lemay
Posts: 15314
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

Telumar wrote: Mon Jul 27, 2026 6:50 am
Curtis Lemay wrote: Sun Jul 26, 2026 8:16 pm
Telumar wrote: Sun Jul 26, 2026 7:51 am

That's a good idea! The info panel might also be the realm that could harbour the two digits behind the comma ;)
Unfortunately, it turns out that the info panel is only used by graphical objects like buttons, checkboxes, etc. Straight text doesn't use it. TOAW still has things to teach me.
Fortunately you have the power to change that 😊
If my name was Ralph, and I had a few spare months.
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15314
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

I've now fixed Hierarchy bug #38. Units with very low equipment counts but with subordinate attachments couldn't resist overruns. The problem was difficult to find => impossible without the debugger. I had expected that some routine had omitted the strength from the subordinates, but that wasn't the issue => the defenders had full strength accounted for. Rather, the overrun check also totals active and passive equipment for the defender and if more than 90% is passive it gets auto overrun. And the routine that checks for active/passive ratio had omitted the contributions from the subordinates. Since the superior only contained a commander (passive) regardless of the unit's total strength, it was rated as 100% passive and ran away.

I fixed it so that the subordinates were included in the active/passive check and it mostly worked. (I had to fix another issue I introduced with the fix: I was using the built-in "current player" value, and the units that were being checked were for the non-current player instead. I finally got it all corrected and it is now fixed.

This makes me think there may be lots of other routines that impact stuff other than strength that still need subordinates included. I'll have to make a closer checkout of that issue soon.
Attachments
Hierarchy Bugs.jpg
Hierarchy Bugs.jpg (529.44 KiB) Viewed 107 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15314
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here is Page 1 of the Unit Report for the defender in one of the overrun attacks. Note that its only equipment is a commander (passive equipment):
Attachments
Unit Report Page 1.jpg
Unit Report Page 1.jpg (129.59 KiB) Viewed 105 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15314
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

But, here you see on Page 2 of the Unit Report that the unit also had a bunch of subordinate units attached (all huge active equipment counts). It should have been almost 100% active equipment. But due to the omission of the subordinates to the passive check, it was rated 100% passive:
Attachments
Unit Report Page 2.jpg
Unit Report Page 2.jpg (132.55 KiB) Viewed 105 times
Last edited by Curtis Lemay on Tue Jul 28, 2026 6:41 pm, edited 2 times in total.
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15314
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here are a suite of overrun attacks about to be attempted. Note the huge sizes of the defenders and tiny sizes of the attackers. Yet, before the fix, all four were consistently overrun. After the fix, none could be overrun => correct.
Attachments
Overrun attacks.jpg
Overrun attacks.jpg (54.74 KiB) Viewed 105 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Telumar
Posts: 2336
Joined: Tue Jan 03, 2006 12:43 am

Re: Hierarchy Module Document

Post by Telumar »

Curtis Lemay wrote: Tue Jul 28, 2026 6:26 pm Image
If you would add a space between Manpower and (% of Auth) as well as one between the (manpower) number and the opening bracket indicating % it would be much better to read. Like this:

Manpower (% of Auth.): 1190 (99,17%)

....

Of course "Manpower Estimate: 1190 (99%)" would even be better ;)
User avatar
Curtis Lemay
Posts: 15314
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

Telumar wrote: Tue Jul 28, 2026 7:27 pm
Curtis Lemay wrote: Tue Jul 28, 2026 6:26 pm Image
If you would add a space between Manpower and (% of Auth) as well as one between the (manpower) number and the opening bracket indicating % it would be much better to read. Like this:

Manpower (% of Auth.): 1190 (99,17%)

....

Of course "Manpower Estimate: 1190 (99%)" would even be better ;)
Alright, done.
Attachments
Unit Report Page 2.jpg
Unit Report Page 2.jpg (131.04 KiB) Viewed 86 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Telumar
Posts: 2336
Joined: Tue Jan 03, 2006 12:43 am

Re: Hierarchy Module Document

Post by Telumar »

Thanks - much better :)
User avatar
Curtis Lemay
Posts: 15314
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

Curtis Lemay wrote: Mon Jul 20, 2026 9:13 pm I've fixed Hierarchy bug #42. Attachment checkboxes weren't having any effect for subordinated units.

Turns out, I was checking a subordinate for attachment rules and not the superior unit's rules. Corrected that and it works fine now.
Well, I spoke too soon about this issue. There was a deeper issue that didn't show up until I made a more thorough checkout. Turns out I wasn't comparing the unit to be attached with the parameters of the unit that had orginally occuppied the slot. I finally got that corrected and (I think) it's now fixed.

Now I'll get a new version up ASAP. Edit: Done!
My TOAW web site:

Bob Cross's TOAW Site
Post Reply

Return to “The Operational Art of War IV”