Hearts of Iron IV

Hearts of Iron IV

AI naval build fix
51 kommentarer
zzziiiwuuzu 26. apr. kl. 11:56 
the files can be recovered from the workshop download, indeed.
im sure the original creator can find them there
Riekopo 2. dec. 2024 kl. 18:04 
Can the mod files just be recovered from someone's download?
14th Apostle  [ophavsmand] 24. nov. 2024 kl. 15:19 
OK bad news my old SSD crashed with all my old mod data. It looks like its totally fubar and not recoverable. IF/when I get beck into HOI4 Ill have to rebuild the whole mod and update it for the new DLCs.
Riekopo 15. nov. 2024 kl. 20:49 
new DLC/update released.
Riekopo 23. okt. 2024 kl. 14:53 
Big Germany update/DLC coming soon.
Cuban Dictator 2. sep. 2024 kl. 9:32 
Something that I've noticed lately is that the AI has very weird priorities in building fleets. For example, some AI prioritizes building ONLY battlecruisers, and the German AI refuses to build any capital ships outside of heavy cruisers, even with over 100 dockyards to work with.
Hector_Goobert 21. mar. 2024 kl. 7:03 
Can you make this mod r56 compatible?
Turret Limit, Henry 23. dec. 2023 kl. 17:07 
WHat a based mod, i played a lot of HOI3, and its a damn shame just how moronic the Hoi4 naval AI is, most likely because HOI4 does not have overstacking penalties for fleets, so doomstacking becomes the meta in Hoi4, while in Hoi3 the AI actually builds seperate fleets.
14th Apostle  [ophavsmand] 20. nov. 2023 kl. 13:27 
I don't have HOI 4 installed atm...I will have to reinstall and check to see if they messed with the tables after I can get the new DLC around the start of December hopefully.
Riekopo 11. okt. 2023 kl. 15:12 
need update for new AAT DLC?
Riekopo 5. feb. 2023 kl. 8:29 
Does this need an update?
Riekopo 28. jan. 2023 kl. 12:57 
Does it need an update?
Domnu Alexutz 10. dec. 2022 kl. 2:37 
When update ?
Riekopo 6. dec. 2022 kl. 19:40 
Is this compatible with KubiG's mod "Improved AI Research"?
Riekopo 8. okt. 2022 kl. 17:20 
Think the mod needs a minor update again.
14th Apostle  [ophavsmand] 28. sep. 2022 kl. 9:45 
It is kind of dynamic, based on my tests the AI will build differently (I think it is chance based on what they construct based on the priority listed in the code) however for a truly dynamic ai the current implementation is very rare and when it is there it can act bonkers. I had to nullify the mine response mechanics as it would mass cancel most of the ships being built to make a few minesweepers.

The response mechanics for the ai are simple coding in the game, a more complicated one could be made but it is not worth the time investment for me. Otherwise the dynamic nature is limited to a small set of response mechanics for a few majors.

For the most part the AI will try to build up to a ratio of ships. Destroy to many of one group the ai will try to compensate by building up that group to the desired ratio.

For the best experience of naval warfare a mod to increase dockyard output is recommended.
Riekopo 27. sep. 2022 kl. 14:44 
Question about the vanilla game, is the AI fleet building strategy dynamic at all? Or is it completely static and set in stone? Because if it's static and can't change based on circumstances that's really bad.
Bayhaqi 27. sep. 2022 kl. 13:43 
Nice mod :steamthumbsup:
14th Apostle  [ophavsmand] 27. sep. 2022 kl. 10:39 
Updated for 1.12.x, Enjoy :steamhappy:
14th Apostle  [ophavsmand] 27. sep. 2022 kl. 9:46 
Mod is outdated atm, I need to rewrite it.
dr.nonsons5 30. jan. 2022 kl. 10:30 
update pls :steamhappy::steamhappy::steamthumbsup::steamthis:
14th Apostle  [ophavsmand] 8. jan. 2022 kl. 13:12 
At the moment Paradox gave up on capitols according to their code. You get the starter ships and that is it. Building capitols for the ai in vanilla are in the deep negatives. Instead Paradox opted for player meta strategies of destroyers, some cruisers, and subs. It is up to individual modders to fix this which is sad since it was introduced in the man the guns dlc.
Riekopo 8. jan. 2022 kl. 6:12 
It seems to me like the AI simply doesn't understand that Capital ships are expensive, require a timebuild plan (not just immediate need), and need priority in resources/Dockyards (it often places them on the bottom and cancels them the moment it "feels" it no longer wants that 1 extra ship even if it's 90% finished).

And I think these are issues that can't be fixed by modders. Paradox needs to do it.
14th Apostle  [ophavsmand] 7. jan. 2022 kl. 8:42 
I have it set to build them at a fixed ratio rather then as a response. If you enable the response mechanic it leads to a very erratic build queue canceling heavies in favor of a minesweeper. I tested for some time and sided with the idea of just allowing them to build a fixed amount of sweepers/layers.
Riekopo 7. jan. 2022 kl. 1:00 
Is it me or is the AI building Minesweepers even when it doesn't need them?
14th Apostle  [ophavsmand] 5. jan. 2022 kl. 17:54 
I believe it is a ratio like 200 screens to 50 capitols. However with the ai ability to cancel prior to 25% complete the production queue is very finicky.
Riekopo 5. jan. 2022 kl. 11:16 
I don't understand the ratio numbers really. Are they supposed to represent percentages?
Riekopo 1. jan. 2022 kl. 18:52 
Can you show me how to alter the ratios? Would like to mess around with it.
14th Apostle  [ophavsmand] 31. dec. 2021 kl. 23:57 
This is not Road to 56 compatible. If I have time, I try to make a Rt56 version once they update since they are using vanilla values for the most part and I use that mod.
Riekopo 31. dec. 2021 kl. 17:32 
If we're going by history for Germany, the ratio of Submarines to other ships should be much higher. Germany built around 1100 Submarines during WW2. They barely built anything else.

https://en.wikipedia.org/wiki/List_of_Kriegsmarine_ships#Destroyers_and_torpedo_boats
Riekopo 29. dec. 2021 kl. 17:54 
Is this RT56 compatible?
14th Apostle  [ophavsmand] 27. dec. 2021 kl. 23:34 
The priority for subs for Germany is set to 500, 200 for screens, and 50 or less for everything else.
Riekopo 27. dec. 2021 kl. 6:07 
Can you post the AI naval build ratios in the description?

I am observing Germany on Historical mode and it's already March 10 1940. They have 33 Dockyards. Only a few are building a single Submarine. The Germans have only 6 Submarines and 29 were sunk. So they had 35 total. Compared to real life where Germany started the war with 57 Submarines. So it seems to me that AI Germany is still not building Submarines like it should be.
jmsmorezzi 26. dec. 2021 kl. 22:53 
Something paradox should have in vanilla
Roger1 23. dec. 2021 kl. 18:58 
Good mod thanks man
14th Apostle  [ophavsmand] 23. dec. 2021 kl. 5:20 
@Riekopo No, but expert AI already fixes this.
Riekopo 23. dec. 2021 kl. 3:04 
Would this be compatible with Expert AI 4.0?
Bloodman123726 21. dec. 2021 kl. 10:13 
Essential mod, thank you
14th Apostle  [ophavsmand] 21. dec. 2021 kl. 3:13 
@Ascari "Naval AI Production" by KingStance will add in the canceled heavies at 25% via an AI decision as well as add buffs to AI to make it more competitive.

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2506845603
Ascari 20. dec. 2021 kl. 6:47 
Ah sorry did not read the description correctly.
@wesleyjackson81484, yes these can be found in the zzz_generic.txt ideas file in common/ideas. You can change all values there
14th Apostle  [ophavsmand] 20. dec. 2021 kl. 6:46 
@WesleyJackson81484 --"After the Naval Race (1.7+)" will remove the naval treaty and add a bunch of ships to majors and some minors through an event.
wesleyjackson81484 20. dec. 2021 kl. 6:39 
has there been any mods made that allow charges to the navy treaty
14th Apostle  [ophavsmand] 20. dec. 2021 kl. 2:49 
Unfortunately the AI is hard-coded when it comes to deleting ships under 25% completed. What I was able to alter was the desire to build and maintain heavies under role_ratios. The AI should try to build heavies in the future but it will prioritize the 4 to 1 screen ratio first.
Ascari 19. dec. 2021 kl. 23:37 
I see France immediately deleting the Dunkerque and Richelieu class battleships. from it's build queue. Is the mod working as intended?
14th Apostle  [ophavsmand] 19. dec. 2021 kl. 17:02 
@Kagrenax --Yes it will work fine, I use that one myself.
Kagrenax 19. dec. 2021 kl. 16:00 
Cool looking mod, I was planning to make something like this for myself but it looks like you saved me the effort. I assume this will work well with Historical Naval Production (doubles base dockyard output). If so I might actually have fun fighting the AI navies for once.
14th Apostle  [ophavsmand] 19. dec. 2021 kl. 9:00 
@Seek Truth from Facts I would not use this and expert AI. That mod already covers this from the look of it but they did not add in the desire to build super heavies (honestly a really minor oversight to an impressive mod). Also AI paths are the same for each country from the look of it, instead of country based it looks like they went with doctrine based.

This is a much smaller mod I made as a response to a frustrated poster on the forums.
Flux 19. dec. 2021 kl. 8:34 
Yay for ships!