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: 14856
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

cathar1244 wrote: Sun Nov 02, 2025 4:32 pm
Curtis Lemay wrote: Sat Nov 01, 2025 8:47 pm
I agree that the AAA units need to be added to the Combat Report and will try to add that. I'm not sure that supply should be deducted due to the very short duration of AAA combat.
Deduct supply. The AAA combat should reflect actions over time, not a tactical duel of guns versus aircraft. In scenarios with turns involving weeks or months, this is certainly valid.

:D
Combat supply deductions are independent of time scale. So they equate to different amounts for different time scales.
My TOAW web site:

Bob Cross's TOAW Site
User avatar
sPzAbt653
Posts: 10086
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

Re: Hierarchy Module Document

Post by sPzAbt653 »

The Veteran part of the Untried/Veteran equation is a bit misleading. In TOAW terms, 'Untried' means that you don't know the exact combat value [Unit Proficiency] of a unit so labeled. Once an Untried unit is exposed to combat, its' status changes to Veteran, the only effect being that its' Proficiency is reset to a value + or - of its' starting Proficiency. Would there be a reason for any units to be left out of this equation?

If a scenario designer wanted proficiency to be static, then they could tick the 'Veteran' box for such units.

It would probably be more accurate for the labels to be 'Untried/Tried' instead of 'Untried/Veteran'.
User avatar
rhinobones
Posts: 2170
Joined: Sun Feb 17, 2002 10:00 am

Re: Hierarchy Module Document

Post by rhinobones »

Curtis Lemay wrote: Sun Nov 02, 2025 1:56 am . . . I want to change them from "D" to "AAA R#":

Are you going to make a distinction between anti-aircraft artillery (AAA) and surface to air missiles (SAM)? Patriot batteries might object to being called artillery.

Regards
Colin Wright:
Pre Combat Air Strikes # 64 . . . I need have no concern about keeping it civil

Post by broccolini » Sun Nov 06, 2022
. . . no-one needs apologize for douchebags acting like douchebags
User avatar
Lobster
Posts: 5490
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

Re: Hierarchy Module Document

Post by Lobster »

Curtis Lemay wrote: Sun Nov 02, 2025 4:33 pm Time over target is very short for aircraft. I don't think the deduction should be different than the one for AS (Escort or CAP). Whatever that is should be about right. I'll have to check that, though.
One aircraft over a Combat Air Support target isn't a practical example. It would be several aircraft over an extended period of time resulting in multiple targets and an extended period of time. It would rarely if ever be a one and done.
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
Curtis Lemay
Posts: 14856
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

OK, I've added logging of AAA units to the Combat Report and Combat Chart.
Attachments
Additional Feature 8 finished.jpg
Additional Feature 8 finished.jpg (139.16 KiB) Viewed 467 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here are the AAA units showing up in the Combat Report. The codes in the brackets will enable this to be added to the Combat Chart as well.
Attachments
Combat Report AAA.jpg
Combat Report AAA.jpg (74.48 KiB) Viewed 467 times
Last edited by Curtis Lemay on Mon Nov 03, 2025 7:44 pm, edited 1 time in total.
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

And here is how they show up in the Combat Chart:
Attachments
Combat Chart AAA.jpg
Combat Chart AAA.jpg (128.16 KiB) Viewed 467 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here is the revised Combat Chart Legend, showing how to interpret the AAA unit entries:
Attachments
Combat Chart Legend.jpg
Combat Chart Legend.jpg (190.18 KiB) Viewed 467 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here's a look at the code for this (see where I added logging to the Combat Report). Note the part commented out on line 3096. So...Ole Norm originally had a supply deduction equivalent to the one for an AS Furball (I'm guessing that's about 1 per combat), but then changed his mind about it. Easy to add that back in and see how it works out. Stay tuned.

Edit: I also wonder about the logic on line 3087. Looks like an issue to me.
Attachments
AAA Code.jpg
AAA Code.jpg (216.43 KiB) Viewed 467 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Ok, I've fixed Additional item #9 (adding supply deduction and proficiency increase check to AAA units). And I fixed the logic bust in that line I noted in the AAA use routine (I listed that as Legacy Bug #31).
Attachments
Additional Feature 9 finished.jpg
Additional Feature 9 finished.jpg (143.56 KiB) Viewed 392 times
Legacy Bug 31 fixed.jpg
Legacy Bug 31 fixed.jpg (231.54 KiB) Viewed 393 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here I show how AAA units that are used get a 1 point supply deduction. They are also checked for a Proficiency increase (though no increase occured in this case). They remain untried.
Attachments
AAA supply cost and proficiency increase.jpg
AAA supply cost and proficiency increase.jpg (125.09 KiB) Viewed 391 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here we see which AAA units participated in this combat. Now, closer units have better chances (before, all units in-range had 50% chances. :roll: ). (Compare to previous results: https://forums.matrixgames.com/viewtopi ... 5#p5247825).
Attachments
Combat Chart AAA 2.jpg
Combat Chart AAA 2.jpg (145.92 KiB) Viewed 390 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here's the way the code has been changed (3096 & 3097 added, and 3087 modified). In line 3087, note that the electronic support check has a test for default levels for both sides => passing cancels any electronic support check failure. Also, now, the electronic and communication check passing are required. Then the range check is required too. Before, the electronic and communication checks could pass and the unit would be added even if it failed the range check. Or, the unit could fail either of the electronic or communication checks but still be added if it passed the range check. That is now changed. Passing the electronic and communication checks is now required (with the allowance for the factor on the electronic check above) and passing the range check is also required. Finally, note the change in the range check: Before the randomization occured AFTER the check against the range. So, all ranges within range had a 50% chance of passing. Now chance of passing is inversely proportionate to distance from the target (which was surely what Ole Norm meant to do).

Compare to the previous way here: https://forums.matrixgames.com/viewtopi ... 8#p5247828

Edit: The existing electronics check just compared a random test of each sides levels relative to each other (a feather-weight difference = superiority). I thought that was too severe (50% failure when levels were equal), so I made a new test that made a ratio of the two levels and made a random test against that ratio (2:1 ratio required for 50% failure, etc.).
Attachments
AAA Code new.jpg
AAA Code new.jpg (226.23 KiB) Viewed 382 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

I'm setting Legacy bugs 12 & 13 to fixed. Also, I'm setting Legacy bug 19 to postponed.

I never could reproduce issue 13 until just recently. Of course, I can't be sure that what I'm seeing is exactly what that issue was about, but, for now, I'm assuming it is. Then, issue 19 is going to require examples from the Beta Test, or something similar to enable me to find the problems. So...it's being postponed till that test.
Attachments
Legacy Bugs 12 & 13 fixed and 19 postponed.jpg
Legacy Bugs 12 & 13 fixed and 19 postponed.jpg (232.07 KiB) Viewed 188 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Here, I attempt to save a unit to a specific folder using the "Save Unit As..." option:
Attachments
Save Unit Dialog.jpg
Save Unit Dialog.jpg (410.89 KiB) Viewed 188 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

The unit file should be in the Hierarchy folder, but it isn't. Where is it?
Attachments
Where is the Unit File.jpg
Where is the Unit File.jpg (272.74 KiB) Viewed 186 times
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

Well, I looked around for it and found it in one folder higher than the target folder. Note that the target folder name has been appended to the file name. In other words, the \\ is missing between the folder name and the file name:

My assumption is that this was the issue for those who did the save thing, then never could find the unit file. Also, note that .MAL files (map) and .OOL files (OOB) have the same issue.
Attachments
Save Unit Map OOB before.jpg
Save Unit Map OOB before.jpg (175.2 KiB) Viewed 183 times
Last edited by Curtis Lemay on Thu Nov 13, 2025 12:56 am, edited 3 times in total.
My TOAW web site:

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

Re: Hierarchy Module Document

Post by Curtis Lemay »

OK, I added code to insert the \\ in the right place (first checking that it's missing, just in case this issue reverses itself down the road) and now those files are written in the right folder. I've also confirmed that those files read correctly so the read path is correct.
Attachments
Save Unit Map OOB after.jpg
Save Unit Map OOB after.jpg (270.35 KiB) Viewed 183 times
My TOAW web site:

Bob Cross's TOAW Site
Ratbag55
Posts: 63
Joined: Fri Jun 16, 2006 6:48 am

Re: Hierarchy Module Document

Post by Ratbag55 »

I am experiencing something that I do not know if it's "working as designed" or not:

When I am in Force Editor and I Copy Current Formation, a copy of the Formation is created with Formation Name "unassigned". This is what I would expect.

But when I choose Cut Current Formation, move to a new place in the Force Editor list and choose Paste Formation, strange things happens. The first time I choose Paste Formation, the name of the copied Formation is pasted into the Formation from which I have selected a unit. When I choose Paste Formation again, the units of the Formation I copied are now pasted in, but with a completely new Formation Name.

The behaviour I would be expecting when selecting Cut Current Formation and then Paste Formation is for the entire Formation including all units of that Formation to be cut from the list, and then have that Formation with all its units and Formation Name preserved be pasted into the list at the "place" in the list that I have selected.

I know this might not be entirely clear the way I descibe it, and I apologies if this have already been covered. Also not sure if this will change with the new nested hierarchy?
User avatar
Curtis Lemay
Posts: 14856
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Re: Hierarchy Module Document

Post by Curtis Lemay »

Ratbag55 wrote: Thu Nov 13, 2025 6:38 am I am experiencing something that I do not know if it's "working as designed" or not:

When I am in Force Editor and I Copy Current Formation, a copy of the Formation is created with Formation Name "unassigned". This is what I would expect.

But when I choose Cut Current Formation, move to a new place in the Force Editor list and choose Paste Formation, strange things happens. The first time I choose Paste Formation, the name of the copied Formation is pasted into the Formation from which I have selected a unit. When I choose Paste Formation again, the units of the Formation I copied are now pasted in, but with a completely new Formation Name.

The behaviour I would be expecting when selecting Cut Current Formation and then Paste Formation is for the entire Formation including all units of that Formation to be cut from the list, and then have that Formation with all its units and Formation Name preserved be pasted into the list at the "place" in the list that I have selected.

I know this might not be entirely clear the way I descibe it, and I apologies if this have already been covered. Also not sure if this will change with the new nested hierarchy?
I think you're describing Legacy Bug #6.
My TOAW web site:

Bob Cross's TOAW Site
Post Reply

Return to “The Operational Art of War IV”