HoI 4 - Tier 4 ship anti-air module not correctly marked as upgrade over tier 3

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Doorknob1

Recruit
16 Badges
Dec 21, 2019
2
1
  • Crusader Kings II
  • Europa Universalis IV
  • Cities: Skylines
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
Description of issue
Tier 4 ship anti-air module not correctly marked as upgrade over tier 3

Game Version
1.11.4

Enabled DLC
Man The Guns

Do you have mods enabled?
No

Description
Steam v.1.11.4.e26e [b22c] Tier 4 anti-air ship module has wrong parent

Description: When clicking the auto-upgrade button in the ship designer that comes with Man the Guns, and having the tier 4 anti-air module researched, one would expect any installed anti-air to be upgraded to the tier 4 module. However, the button (and thus, the AI) never actually auto-upgrades to tier 4 anti-air, making only the player cabable of manually designing a ship with it.

All DLCs enabled, no mods installed.

Step to fix:
Just go into <wherever HOI4 is installed>\Hearts of Iron IV\common\units\equipment\modules\00_ship_modules.txt and change line 757 from parent = ship_anti_air_2 to parent = ship_anti_air_3. The issue is clearly that the tier 4 anti-air module has the incorrect parent, the same one as the tier 3.

You can see in the screenshot that the upgrade all modules button is greyed out, since the game doesn't detect that the tier 3 anti-air in the bottom slot can be upgraded to a tier 4. I clearly have the tier 4 researched as well, as seen on the top row.

Steps to Reproduce
Reproduction Steps:
1. Start any game with Man the Guns installed
2. Research all technologies in the anti-air research tree
3. Have any ship hull that can add anti-air modules researched and enough naval exp to make changes
4. Design a ship with level 1, 2, or 3 anti-air
5. Click the upgrade all modules button
Observe that the anti-air doesn't get replaced by a tier 4 version despite having it researched

Upload Attachment
File(s) attached
 

Attachments

  • antiairupgrade.png
    antiairupgrade.png
    2,8 MB · Views: 0
  • 1Like
Reactions:
Upvote 0