Hearts of Iron IV

Hearts of Iron IV

Smarter Ai
357 Comments
mrslash231 Oct 31 @ 8:36am 
British AI for some reason sticking to ♥♥♥♥♥♥ inter-war mediums. (R56 Mod).
BurdHause Oct 2 @ 2:08am 
Does this mod work with OWB, I wanna make sure it does because at times it feels like the AI are doing everything but making good divisions or even researching
Малоросс Sep 28 @ 6:42am 
want to try it but other ppl here say its bugged
一只屑 Sep 28 @ 6:23am 
对于主要国家应该有特定的逻辑修改,例如对于日本,在前期游戏建设民工明显是不合适的,导致在1937年时军队实力的不足
ZeoreZ Sep 23 @ 10:12am 
Bro add this mod to ai can use nukes ability
LordZarmack Aug 31 @ 10:18am 
uk keeps getting sealion'd, refuses to build aircraft like most nations and refuses to defend the isles... germany gets stuck fighting russia every time... uk doesn't defend it's waters at all, and america is oddly weak and slow
Czechys Aug 25 @ 4:52am 
For whatever reason the UK ai refuses to build medium tanks better than interwar.
Its 1944 and they still have 40 mils on interwar mediums even though they researched advanced mediums already.
It doesn't seem like any other country has this problem.
P mode = normal ai, Road to 56
Dziewek Aug 23 @ 5:26pm 
I have one big issue with this mod, WHY SOVIETS ARE HELPING POLAND DURING FALL WEISS (invasion of Poland), historically, Soviet attacks Poland 17 september.


And, tank with howitzer is everything you will need to win against allies (tomorrow I will try to kill soviet, and I think this will be succesed, because all of the bots are making the same tanks and infrantry)

But it something new, I liked it
cody Aug 16 @ 9:21am 
when I was playing as germany, the UK and later US bots never defended their convoys against my submarines (or carried out any naval missions around britain), which prevented them from carrying out d-day and transferring troops around the world properly

also, the bot sometimes uses old interwar tank and plane templates even in the midgame (in 1941 ussr bot was still building them), which I think is an issue
PER1CH Aug 15 @ 10:32pm 
l_russian:
RULE_♥♥♥♥♥_MODE:0 "Щадящий режим"
♥♥♥♥♥_MODE:0 "Щадящий режим"
ALLIES_WONT_SEND_TROOPS_TO_POLAND_AND_BENELUX_DESC:0 "Альянс союзников не станет отправлять дивизии в Польшу и бенелюкс, тем самым не замедляя продвижение Германии"
NORMAL_AI:0 "Обычный режим"
RULE_NORMAL_AI:0 "Обычный режим"
INTENDED_WAY_TO_PLAY_DESC:0 "Игра началась"
kefirmundir1005,4 Aug 12 @ 3:04am 
will AI USE NUKES?
Партизано Aug 4 @ 7:52am 
this is not best Ai for HOI4, look at discord AI
Kisaya Aug 3 @ 12:13pm 
does es work by milenium dawn or Novum Vexillium
Petrus Fons Jul 27 @ 8:29am 
I've read several comment on German being retarted, but in all my play they are basically unstoppable and they always conquer all the europe and part of africa as well. They even somewhat were able to invade indonesia, i suppose for the rubber. RT56 + some Better Mechanics mods.
Hidler201 Jul 19 @ 10:48pm 
Under the historical national focus, AI Germany does not choose surrounding the Maginot Line.
sleepy_joe_69 Jul 8 @ 8:57am 
ai dosent build divisons
L-dog Jun 25 @ 5:16am 
Had a UK game where I made all the other majors go fascist so it was lke 1 v world, war started in 38, DDAY in 42-43, german AI was utilizing 5 tank divisions against my inf whereever my tanks werent, when i moved my tanks there they would move theirs somewhere else.

One of the best moments with this AI considering that most games the AI somehow ends up basically killing itself.
BrokenBuck Jun 18 @ 4:21pm 
Brother I have to ask, did you not have any armor divs putting more than 10 medium_armors because of the weird ai template designer bug where instead of putting 12 mediums in 3 columns of 4 and instead splits it into 4 columns with 2 having 4 and 2 having 2 leaving no room for the remaining infantry in the division? Because I went down a whole schizo spiral of what was causing the ai to do this.
Crumb Jun 17 @ 12:03am 
Is it compatible with UTTNH? its 38 and majors are still designing IW planes.
BrokenBuck Jun 16 @ 11:06am 
***if I just told them to put it in a province they...*** I meant state not province**
BrokenBuck Jun 16 @ 11:05am 
It's weird with railways because when you click the state it says railway level out of 5 but you can have multiple railway paths within the same state all at different levels which would lead me to believe that you would need to tell the ai to upgrade certain railways on particular provinces instead of on a state level, which would mean you have to tell them to individually upgrade loads of railways on individual provinces. And the thing with supply hubs and naval ports, you have to tell them to do it on provinces not states idek if the way I'm doing it would work if I just told them to put it in a province they might do it but it'd prolly be random where they actually put it.
BrokenBuck Jun 16 @ 11:05am 
You are correct that it's seemingly entirely impossible to get them to do it dynamically and intelligently, you have to tell them what to do and under what circumstances exactly. I can see why you would be concerned with incompatibility but that's not even the real problem. I haven't even done tests for railways yet, but I assume you could plausibly get them to build up railways in certain areas idk tho I haven't tried to do it yet.
TheGamingNot  [author] Jun 15 @ 10:24pm 
yeah i tried finding a way to dynamically make them build important ♥♥♥♥ like supply hubs, railways, naval ports, airbases. but hoi doesnt support it. and i dont want to manually put in state id's and force them to do it since any mod that changes the states would break it
BrokenBuck Jun 15 @ 11:24am 
I've been trying, they don't exactly make it easy. I've been working on an ai industry overhaul that gets everyone to build civs and mils intelligently, gets ai italy and japan to build up supply hubs and ports in key areas particularly in north africa and central china, and trying to get all majors to build up particular air bases pre-war so they can effectively utilize large quantities of planes, getting them to do airbases has definitely been the most difficult so far as was trying to get them to build rail ways
TheGamingNot  [author] Jun 15 @ 11:22am 
if u figure out how to get them making airbases then go ahead and make them do it
BrokenBuck Jun 15 @ 10:27am 
you say you expect player to lose the air war, ai basically never builds air bases though so player has a massive advantage against ai by being able to preemptively build air bases and put way more air in a tile efficiently than the ai can
Fegelein May 21 @ 6:45am 
The best ai i have ever experienced.
This AI is better than most players I know.
This is the first time I've seen an AI that knows NAVY! It's awesome.
TheGamingNot  [author] May 10 @ 9:18pm 
thats not caused by this mod
343 May 4 @ 8:02am 
One more time, this mod is not compatible with KR at all; GER even does not suffer from Black Monday.
Uhb0t Apr 25 @ 1:29pm 
does it work for BI
Lotus Apr 23 @ 6:58am 
@Fatalist You don't, Japan will never attack USA in this mod. I am pretty sure the dev is not working on this anymore, he is working on a Victoria 3 mod now.
Crykiss Apr 22 @ 11:40am 
Hi, How do I solve the problem when I play as the US on the historical focus, but Japan does not attack me, although all of its focuses on war with the US have already been completed?
Mythlamor Apr 17 @ 4:48pm 
how can you get off ♥♥♥♥♥ mode
lev77 Apr 10 @ 8:31am 
Nah the germans are still retarded. As the soviets I intentionally ♥♥♥♥♥♥ up in finland, deleted all my planes, built my industry in the west, did not train my armies and did nothire anyone in the military staff untill the invasion. Still I ended up in berlin in 1943 while suffering less casualties than the germans. All this while having to hold Japan in manchuria because they went to war with me for some reason. :steamsad:
玉米罐头 Apr 10 @ 7:30am 
Could you make one mod AI for the player,like,i give AI many troops and one target,then he helps me to make a invasion plan.Besides,i often encounter problems when i draw the battle plan,because the troops would run everywhere sometimes,do you have any solution to this?:steamthumbsup:
cwebbster Apr 1 @ 4:50pm 
I swear ive gotten danzig for Slovakia in a historical game now twice
Vytnikas Mar 31 @ 11:21pm 
Noice
vudwls802 Mar 30 @ 10:56pm 
Could you please make an MD version too?
Achtung Panzer! Mar 30 @ 11:16am 
I've played with this mod and RT56 around 5 parties and can tell you that it is ♥♥♥♥♥♥♥♥ - Germany merges in each game, resting against Belgium and France, even with strengthening through the start settings. In 1943, the major countries had 2-3 templates, where there were no proper support companies and the width of the front rested on 25. AI production is not optimized. I'll probably go back to Better AI.
ugur144 Mar 28 @ 1:35pm 
the former ai started 3 world wars to protect Albania. will I encounter such a problem when I install this mode?
Achtung Panzer! Mar 28 @ 2:00am 
Thank you. It is compatible with Expanded Tank Desginer Fixed! for RT56 - did you know?
Enrar Mar 27 @ 4:31pm 
No gain? Every country industrial and military production is different, some use different doctrine and some use certain templates better than others, some support companies are more optimal for different power, like logistic companies for the eastern front. Even the 30 width tank is outdated and 18 width 6 tanks/3 mobilised perform better in terrains these days lol

I guess I could always tweak the mod file myself and im already doing that so that's no prob, just some suggestions
TheGamingNot  [author] Mar 27 @ 6:05am 
@Enrar adding separate templates to tags just increases my work for little to no gain. and making ai do different templates is anooying enough alr

@HAN switching tags should be fine maybe. idk i havent looked at the code in awhile but i dont remember making ♥♥♥♥ as unfriendly as expert ai. and i did have plans for UTTNH and still plan to do smth with it

@Achtung Panzer! i made the mod ofc ima say mine. but i dont put cheats in my mod so imo mines better
Achtung Panzer! Mar 26 @ 2:44am 
Smarter AI vs Better AI 1.16?
HAN Mar 25 @ 1:21am 
@TheGamingNot
If I change the country using the tag console, will the AI ​​break?
HAN Mar 25 @ 1:06am 
Do you have any plans to make it compatible with UTTNH mode?
Enrar Mar 24 @ 10:29pm 
The AI is def way better with this mod, but every nation use the same template it gets a bit old. If Germany and USSR uses different template but still competitive it would be way more interesting
TheGamingNot  [author] Mar 22 @ 10:45pm 
wtf when did this get over 10k subs lmao.

anyway im taking a break from modding for a bit but i will fix any major issues like crashes if anyone reports them. When i come back to the mod im overhauling the production ai, and i might take a look at the micromanaging "skills" again.

ill look at all the comments from feb 6th to whenever i pick modding back up so if theres an issue leave a comment and it will eventually be fixed
Maixaips Mar 19 @ 9:13am 
Can you make "Normal AI" the default please? Im tired of setting up my nation just to be jumpscared by "♥♥♥♥♥ MODE ON". i think most people dont use ♥♥♥♥♥ mode anyway
Lotus Mar 17 @ 5:23pm 
The AI also does not prioritize convoys high enough; I observe all nations, but primarily Japan, USA, & UK, run out of convoys and Japan especially death spirals because of it. (Can't get any resources because no convoys, can't build more convoys because no steel)