Hearts of Iron IV

Hearts of Iron IV

187 ratings
Smarter Ai
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
636.767 KB
7 Jan @ 4:04pm
17 Jan @ 1:27pm
15 Change Notes ( view )

Subscribe to download
Smarter Ai

Description
Smarter AI
Best AI For HoI4

Compatible Mods At The Bottom Of The Description

If you found a bug and want it fixed fast, or just to hear me yap join my Discord[discord.gg]

If you want to support me for making mods and help me buy future paradox games to mod
Patreon[patreon.com] you'll get a role in my discord which would give you a special channel to make mod requests and get early access to any mods im developing. You can still make mod requests without supporting, but if i dont like the mod i wont make it


Will Work Even If Outdated
The way that i have the files set up makes it so, even if the devs overhaul the entire game the ai will still be really good


Why Should I Use This Mod
  1. If your tired of bad AI
  2. You want to improve your skills without playing an MP game
  3. Looking for a good AI mod that can work with almost any mod
  4. Looking for an AI mod that does not throw cheats at them to make it seem like they are better


AI Economy
Compared to vanilla this AI will have huge economies and unlike mods like expert AI this one is adaptable and compatible.

They will start off building civs then at the right time transition into building mills. No more mixed construction where it will build civs one month and mils the next.

After a bit of testing and comparing i found in most cases it was equal if not better to expert AI, along with matching or even surpassing youtubers like Bitt3rSteel FeedBackGaming Alex The Rambler!




Expert Tank Makers
The AI is very tank heavy, for most of the game they will have around half of their factories on making tanks, So in 39 expect germany to have around 10 medium tank divisions. But its like giving a gun to a child, they will miss and not know how to use it, though in this case its a 200 IQ child... but still a child


Planes Go Brrr
AI will have a good chunk of their factories on planes throughout the game, but the planes are very good and also very expensive. 100 of these planes will easily kill 1000 vanilla AI planes.

So numbers might be the same if not smaller then vanilla, but the effectiveness will be way higher. I expect most players to lose the air war tbh. And yes the designs are better then expert AI and all the other AI mods, and prolly most players too if im being honest


Tech Bros
AI will research sort of like a meta player, im not touching the tech files themselfs so im limited in what i can do. They are 100% better then vanilla, but im not so sure against expert ai, but this mod is 100% compatible with any mods that change tech unlike expert ai, so im counting it as win



Best Naval AI
AI build good ships and they use them MUCH better then vanilla ai. The average hoi player should regularly lose against the naval ai


Market Enjoyers
Ai is just generally more smart about using the international market, i havent really touched on it too much yet so its just a slight improvement from vanilla


Good Micro
I talked about the ai not really knowing how to use its tanks earlier, but they will use them better then vanilla. The AIFC is improved from vanilla, along with the battleplans the ai uses, you should see them grind less on fronts they cant beat.

But making ai micro good is like trying to calm the ocean... it wont happen


Performance
Ive put a custom script in so irrelevant countries wont ♥♥♥♥ out units unless they need to, so it mimics what IRL countries do while at peace (Sell boat loads of stuff on the market) But i reccomend always using this mod BMOptimization


Quirks
In making the ai better they picked up some interesting traits.
  1. Japan will likley never win in china
  2. Germany might get stuck on poland and the benlux (This used to be a constant issue but i did alot of custom improvements to the german ai, so it happens less now}
  3. UK not defending north africa well
  4. Sometimes the ai gets confused and doesnt build mils till like late 39
  5. AI is an enjoyer of western budgeting (They will run a deficit of guns and all that most of the time). This ties into the ai micro, they like attacking things they cant break, so they end up spending lots of guns, they also train alot of units at once so while it may seem like they have a deficit, really its just in the training divs. Ive made sure the impact on their armies isnt noticeable
  6. Germany doing well against soviets is not guaranteed! The allies put up an amazing fight that even my friends with thousands of hours struggle to beat france before 41-42.



Compatibility
Almost every mod should be compatible, most of the issues i faced when making this were trying to make things as compatible as possible with most mods. But AI mods dont work and will never work with this. And for mods like KR, MD, R56, i have no clue, R56 should work flawlessly, same with KR i think. But mods like MD rework alot of tech, so ai will search for "medium_tank_chassis" but MD prolly changed it to something "tank_chassis" so it wont work, and there will be no tanks.



Help Make The AI Better
Let me know when a mod doesnt work, if it has over 1k subs and its updated to the latest hoi4 version ill try and get it working, or make a separate patch for it. Or if you have any ideas on how something could be improved lemme know (most wont be done because of compatibility)


No Cheats
The Ai has no built in cheats, and will never get any cheats


GameRule For AI
I recommend turning the "P Mode" gamerule to "Normal Ai". It was originally supposed to be off by default, but when i improved the ai micro, the allies were able to easily push Germany back. So in order to not derail players games i put it on default


Modders there is text file in the mod folder called "For Modders" which will explain how to make Smarter AI compatible with your mod

Compatible Mods
  1. Kaiserreich
  2. The Road to 56

Stolen Stuff/Inspirations
I copied alot of Amines AI mods defines for the ai. So big thanks to him (No his ai mods are not compatible with this, they will just mess alot of ♥♥♥♥ up, we have two very different approaches to ai modding)

I also got alot of advice from discord user "Mili la trobe" in the BM discord.


Check Out My Other Mods
Smarter Ai for Victoria 3

feel free to use/tweak js remember to credit me
249 Comments
[ЭЛ 40-21]Huesos 4 hours ago 
---3---
You can make several variations of the infantry template, for example with 1 medium tank of 16 front width, or add 1/2 artillery to the infantry template, but only for countries that have an advisor +15% to artillery attack, but this is more for variety.
That's all for now, the mod is good
[ЭЛ 40-21]Huesos 4 hours ago 
---2---
Change the template for attack aircraft, I use the "anti-tank gun" model in it, since for an attack aircraft, 10 air assault attacks will be much more profitable than 10 production costs for major countries.
Remove the additional "military police" company for resistance suppression divisions, since it does not justify its cost and the bot has to spend extra power on its production, which is quite significant even for countries like Great Britain and France.
Also, after several games, I still have not noticed that the bot uses Anti-Tank and / or Rockets (MLRS) in divisions, even in production, he just studies them, but does not use them.
Change the terrible templates for infantry 27 front width, at least the bot for all countries uses only this template, it is enough to make a regular template 14 front width or at least 10/16 front width, but not this horror 27 front width, and also with the use of 3 artillery.
[ЭЛ 40-21]Huesos 4 hours ago 
---1---
Change the AI ​​behavior for countries like Iran, Iraq and the like, so that they build troops from the very beginning of the game, otherwise it's funny when "Operation Consent" begins, the same Iran has 2 divisions.
I would also advise changing the suspension model in the tank designer for the AI, otherwise it's also funny to watch how the AI ​​makes tanks with a speed of 4-6 km / h.
Change the priorities for the AI, so that at later stages they do not produce modern tanks, since they are worse than medium tanks in almost everything.
Add more variations of aircraft templates for the AI. with less or no rubber at all.
Add for the AI ​​in the behavior so that they produce naval bombers, because even the vanilla bot produces them, and yours does not, it is enough to create 2-3 templates of ordinary naval bombers on a medium hull.
TheGamingNot  [author] 6 hours ago 
redoing ai production/division deployment for the 100th time, also gonna get to adding that gamerule to turn off performance mode
TheGamingNot  [author] 13 hours ago 
AI CAN BUILD A TANK FOR EVERY 1-3 ANTI_TANK
074684802110 13 hours ago 
AI ARMY WITHOUT ANTI_TANK
TheGamingNot  [author] 19 hours ago 
its a gamerule u muppet it has the wargoal icon i think
zikamime 22 Jan @ 5:18am 
Bros i cannot manage how to turn off P-mod i'm dumb asf can someone tell me how and just don't tell me figure it out you dumb muppet or something like that
yeah, like i've said a while ago, script that is limiting AIs' unit shittage pace is derailing modded games. Russian warlords in Redflood do not produce more then 1 million manpower worth of units while having more then 300 of factories after reunification because they all have custome country TAG
星陨 18 Jan @ 7:13pm 
KR German East Asia, even with complete sea control and a series of landing plans, will not initiate any landing on Indonesia. The enemy has almost no army (there are only 8 divisions in total, 5 of which are on the front line). In fact, except for it and me, all other countries' naval ships in this world have been sunk. I waited for two years and gave up