Joel Billings wrote: Tue May 27, 2025 5:03 pm
Are you saying there's something unique about certain weapons in urban defense?
I've found it not being the (StG44) weapons (see point no. 2), so that we can ignore, my initial testing wasn't in depth enuff.
Joel Billings wrote: Tue May 27, 2025 5:03 pm
You're not comparing units on the defense with those on the offense, are you? Clearly units on the defense shoot and hit more often.
I am aware that there are differences between offense and defense - and rightfully so. I just found Urban defense having some oddities of which I had only reported the weirdest observations.
There is more when it comes to
Urban Defense, see points 3+4 and I correct my initial guess on the StG44 in point 2.
There's just soo many things.
Again, it's all only in Urban defence!
I did 4 Attacks Urban and 4 Attacks Clear terrain to get the data shown in the diagrams. GER is always DEFence, SOV is always ATtacK.
Every "TESTER" Squad is exactly the same (see following pic). The only difference is the "Type" and for the Mech units I have an ARMored and an unarmored variant each.
When tested like this the only difference for the most tested Squads is the "Type" and all test scenarios ...Urban attacks(SOV), Clear/Light Wood attacks(SOV)+defence(GER)
all make sense (except the normal "Mech issue") - see point no. 4 for the graphs!
So it is only the Urban Defense that is playing tricks on me!
Issues:
- Pioneers 39 perform better than Pioneer 44 (as reported initially) - In all othe instances the Pio44 is better as you can see in the following graph.
...generally they seem both somewhat "strong" (it's the Flamthrower hitting hundrets of elements)...

- Pioneers39vs44.png (488.31 KiB) Viewed 315 times

- Pioneer Squad 39 vs 44 - Performance in URBAN DEFENCE issue.png (25 KiB) Viewed 315 times
- The new Squad (with StG). I reported in in THIS THREAD because it only happens in Urban!

- copying the normal Rifle Squad,
- renaming it and
- changing the Kar98 to StG44
...this gives a worse performance in URBAN DEFENCE - no idea what's causinging that - If I give the StG44 to the regular Squad it was fine SO IT's NOT THE StG44 ......and IT IS NOT THE RENAME
... and it is nto the slot since it is not happening in non-Urban!
....it only happens in Urban Defense with new Squad, in Clear terrain/Light forest the Squad works normal. ...I did nothing more then copy, rename, change weapon... That's why it's called "oddities".
...and yes I am also going crazy by looking at this!

- Urban-Defense_Rifle Squads Urban vs Light Forest.png (274.36 KiB) Viewed 315 times
- NEW: 50mm Mortars are overperforming in Urban Defense.
As can be seen in the following, similar to the weird Pio performance being reverse in Urban Defence, the 50mm is outperforming 82mm Mortars and everyone else (except Pioneers) in Urban defence. Not sure why 50mm Mortars would be the 'big deal' in Urban Combat Defense?

- 50mm and Squads - Performance in URBAN DEFENCE issue.png (52.07 KiB) Viewed 315 times
- NEW: This is just a loose statement and may partially be related to the weird observation which was made in point "2" (creating new Squads which perform weird).
It can be observed, that the Difference between Squad performance (in Urban Defense) is much larger than in the all the other cases (while being exactly the same Squads [except "Type"]), as can be seen in the above graph. Again a case where everything else works as guessed, but Urban Defense makes some weird shenanigans I can not explain.
See the "TESTER RS" and "TESTER MotRS" outperforming others [collumn: urbanGERdef].
Joel Billings wrote: Tue May 27, 2025 5:03 pm
As for the idea that SMG squads or Assault Squads are treated differently, Pavel could find no reference those by name in the combat code. Now it is possible that the aray is referenced in some way by numbers, but that would be harder to locate. The issue with mech squads was caused by the class Mech Infantry being treated differently than the class Infantry. The SMG and assault squads are class infantry so that doesn't explain anything. As for the slots, Pavel said that he knows that the first slot is critically important as the main weapon for artillery units.
Yea, as mentioned and pointed out in point no. 2 it is not the StG44 causing the issue but some other trick the urban defense is playing on me. So that Weapons work different in different Squads we can forget about again (I hope), that was me not analyzing/testing more situations.
Joel Billings wrote: Tue May 27, 2025 5:03 pm
He's not sure if the first slot has a special status of some kind in infantry units. That's the extent of what we know without a very deep dive (and even then getting into Gary's head in the code and deciding how/when to make a change almost impossible. The impact of breaking a weapon into multiple different slots is unknown to us. I doubt Gary ever thought about it, so best not to do it.
This is a matter for the other Thread, this one is complex and confusing enuff already. I'll reply to you (this quote) in the other Thread.