Hearts of Iron IV

Hearts of Iron IV

Full AI Overhaul
234 Comments
Elindos Phar & Family  [author] 27 Dec, 2022 @ 1:14am 
I believe that the values the mod changes will be overwritten by other mods, patches and extensions ; which lessens the impact it has and make a mixed situation.

This mod does not impact the tech tree itself, it changed division priority and spending priority. It should not hinder tech tree modifications.
LOLCL 26 Dec, 2022 @ 11:35pm 
Would this mod work with a mod like Extended Tech that messes with the tech tree? (and effectively your scripting i'm assuming)
LordZile 26 Jul, 2021 @ 9:50pm 
LOL i feel you bud. every patch or update wipes the base game and i have to reconstruct all the files and check each code line to see what changed and what i need to revert. paradox is great in some aspects and sucks in others. any way thanks for the update and good luck on your game development
Leviticus 28 Apr, 2021 @ 5:27am 
Hi Elindos. Thanks for clearing things up, good luck on your bigger project!

I just wanted to clarify that the boost version did indeed solve the spy problem, so there's always an option there for those thirsting for an update.
Elindos Phar & Family  [author] 28 Apr, 2021 @ 4:05am 
Hello Celco!
(and other Generals!)

Thank you for using the AI Overhaul!

The mod is not officially tested with latest updates. This is because some updates and patches were actually hindering basic/vanilla AI performance and addressing it every time they are released would require constant tests.

This is something I would only be able to do by working on this continuously.
As I can't do that yet for now - I am a game developer too releasing its own project - I am sorry if I had to pause maintenance, since some time, as maintenance efforts were increasing instead of decreasing over time.

However, I do appreciate the support and appreciation people are sending here!
Elindos Phar & Family  [author] 28 Apr, 2021 @ 4:05am 
Hello Celco!
(and other Generals!)

Back to the issue now:

=====================

The mod uses separate variables though so it should not impact this aspect "by design"; but it's still very possible that AI priorities is ignoring spy spending (for better or worse!) because of something added in updates, and it would do this by mistake as a consequence.

There may be a solution though: you may also try the "boost version" which uses more isolated files and variables and has increased compatibility (and should better work across all possible mods and updates), this version is here:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=846939696&searchtext=full+ai+overhaul

The boost version does not know in which order AI files are applied, meaning another mod may apply itself after or before it applies its variables, and I can't know if this fixes the issue you just mentioned, but it has more compatibility.

=====================
Leviticus 27 Apr, 2021 @ 3:36pm 
Hey, is this mod really compatible with some of the latest updates? I've done some AI games with this and noticed that no one has been hiring any spies.
jurrasiczilla 25 Mar, 2021 @ 7:20am 
fun fact this a great mod. the ai soviet union finally reinforces the front when i play as germany. also this doesn't need an update to work.
Elindos Phar & Family  [author] 26 Aug, 2019 @ 8:48am 
Thank you Iroh!

And I must say, you have a great avatar and name pick too :)
(Iroh is a character I really loved)

Thank you for mentioning this, I'll see what I can do.
Iroh 25 Aug, 2019 @ 6:48pm 
any ETA for the mod? love this mod, just getting back into the game
Elindos Phar & Family  [author] 4 Feb, 2019 @ 6:49am 
Hello all!

Sorry guys for the lack of maintenance this mod has known.
I was planning on reviving the mod with some hot upgrades and attempts.

I can't give you an ETA yet but yes a full rework is in the works.
And before that, just a compability patch for 1.5.4.

I estimate that the mod's performance must be upgraded now, because patches may break things (not cause crashes however). So it needs some full work on this.

Tanobi 4 Feb, 2019 @ 3:19am 
could you update it to 1.5.4 ?
Jared 3 Sep, 2018 @ 5:43pm 
k then...
!unreal 6 Apr, 2018 @ 8:45pm 
To many big wourds for me tiny brain i have seasur
BHL.Kriminel 3 Apr, 2018 @ 12:01pm 
No problem !
Thank you for your reply, i just hope someone will make a mod for that ^^
Elindos Phar & Family  [author] 3 Apr, 2018 @ 12:01am 
@TrashTeammateFM
The mod does not access any mechanics which should make it non compatible.
It should work.

@Zhakarov
Thank you for your request!

The mod addresses the way AI manages its armies but has less effect of how it produces it "magically" in last updates. It does not address the new updates new kind of problems, such as minor countries spawning and odd number of regiments. So it won't be able to fix other mods or updates hacks in that field.
BHL.Kriminel 1 Apr, 2018 @ 11:14pm 
Hello can i use your mod for Millenium down ?

Because the AI of this mod its completly hacked ...

For exemple Albania in 3 month with 4 steel factory spawn 19 div of infentry with each one count :
-12 infentry brigade
-2 artillery bgd
-2 AA bgd
-5 extra bgd of AT , AA , Artillery , Medical bgd & Reco bgd

And 25 other div of tanks, artillery & a massive light navy without any fu...ing factory ...

Can i use this mod for this ?
Thanks in advance.
gloom 18 Dec, 2017 @ 1:20pm 
is this compatible to the 1.4.2 verison? just wondering.
Elindos Phar & Family  [author] 18 Dec, 2017 @ 5:39am 
@ Bob
I'll add that to the idea list!

@ DerpAlmostNormal
These should be tho Boost version which has increased compatibility with other mods:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=846939696
Derpy Gamer 16 Dec, 2017 @ 4:55pm 
Compatible with MD mod?
Jared 22 Oct, 2017 @ 8:30am 
Could there be a side mod in which the ai builds divisions. The reason I am saying this is because any nation that gets puppeted, their ideology is changed, or generally loses all of its divisions after a war. This cripples the nation who lost and hurts nations with less divisions at the start unlike france or the soviets. If they could build divisions, they would also compatible with mods that make nations start out with no divisions or ones with little divisons.
Elindos Phar & Family  [author] 27 Sep, 2017 @ 10:40am 
@Mentol there are adjustments for that in this AI mod, of several kinds:
- AI mobilizes more divisions to the attack/main front/most dangerous front
- AI does not try to overspend its units, and waits for pierce time
- AI recovers faster before it plans again
..

@Joseph many many many thanks :)
the devs made AI moddable though, so kudos for that
unfortunately they do not allow to make true AI scripts

@Ruffy I am indeed set up for modding Sanctus Reach and TW2,
but since I am possibly planning some HOI4 multiplayer, I plan to upgrade AI again
No ETA yet sorry
RuffyRoxX 6 Sep, 2017 @ 4:03pm 
Will there be an update soon ? still looking for a mode that make the AI more alive.. germany just stops doing anything after the AI beat russia. same as all Ai enemies. kinda sucks
Lavrentiy Beria 23 Aug, 2017 @ 2:13pm 
Lol Telparion did a better job with the sack of shit of AI rather than the devs lmao. Btw mate have you thought incorporating your mod to other big mods? It would seriously help out retarded AI there as well thnx for your time :p
76561198015502985 8 Jul, 2017 @ 12:12am 
Is it possible to ensure that enemy divisions do not continue to attack the front if they can not break through the defenses? Their organization is less and they become very weak - this is a serious disadvantage of the vanilla game.
Elindos Phar & Family  [author] 6 Jul, 2017 @ 11:26am 
Time warped here Mentol, sorry about that. Making tests takes time. The version here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=846939696 is guaranteed to be compatible even with patched HOI versions. I'll continue working.
76561198015502985 6 Jul, 2017 @ 6:08am 
The week a little stretched...
Elindos Phar & Family  [author] 18 Jun, 2017 @ 11:30am 
I plan a 1.4 release next week.
I'll also see what I can do about UK templates, as mentioned below ;)
I'll keep you updated on the deadlines.
76561198015502985 18 Jun, 2017 @ 10:51am 
Any news about 1.4 version?
[RE] Chrobo 24 May, 2017 @ 12:22am 
Thks :D
Elindos Phar & Family  [author] 20 May, 2017 @ 12:11am 
@Chronox:
Sorry for the late amswer: te version which should be compatible with what you say is here:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=846939696
[RE] Chrobo 11 May, 2017 @ 12:12pm 
Will this mod work with, say mods such as the WW1 Mod? Or the Kaiser Mod? Mods that change the map, nations, and/or focus trees?
Elindos Phar & Family  [author] 9 May, 2017 @ 2:50pm 
@hwfanatic
Thanks a great lot! these words count :)
hwfanatic 24 Apr, 2017 @ 2:25pm 
@Nikkei It was more enjoyable for me personally. It does a way better job on the field and makes for a very dynamic campaign. The only part where it felt lacking, and this was a major deal-breaker for me, are the templates. Germany, most notably, updates their templates and does it very well. United Kingdom, on the other hand, does not, for the entirety of my game. So, it is a mod with great potential. I hope the author is still actively tweaking it and am eager to see the next release.

@Telparion Thanks for your hard work.
Nikkei 14 Apr, 2017 @ 10:10am 
how does it compares with expert AI 2.0?
Elindos Phar & Family  [author] 10 Apr, 2017 @ 2:42pm 
@ Bruce
Yes. It is perfectly dynamic and affect all countries including the new.
Remember the notes about multifronts though, some countries have been reported more able than others depending on the number of fronts they face (the less the better they are)
Spiky38 2 Apr, 2017 @ 1:07pm 
Does it work with mods that add other country? Like those new country will be less static too?
noahg1109 12 Feb, 2017 @ 2:57pm 
If so would it be possible to mod in events that create new units (create_unit command) and then add low level bunkers to intentionally slow it down?
Elindos Phar & Family  [author] 12 Feb, 2017 @ 12:54am 
@arya: thank you Arya for providing that information to Clio! :)

In any case Clio, if you want both experiences, try out the Full AI "Boost version" (one I made for even increased compatibility with all mods: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=846939696 ) and activate both mods at the same time. I don't think it can really go wrong, you should activate more benefits than problems in what you are looking for.

Elindos Phar & Family  [author] 12 Feb, 2017 @ 12:49am 
@ noah: it's not that I wanted to increase its speed in any manner noahg.
It is just the result of all AIs being upgraded in the focus they give.

Think of it this way:
if players were playing HOI4 and were playing the spanish civil war, would it be shorter than two or three years? quite possibly!

Just like in HOI3, a player controlling Japan could conquer China in less than 40 days. The focus and the tools available in the simulation make it possible.
noahg1109 11 Feb, 2017 @ 9:04pm 
Why did you guys want to increase the speed of the spanish civil war. Historically the war lasted into early 1939. The fact that the war ends early increases tension way too quickly.
Maurice Morisson 11 Feb, 2017 @ 6:21pm 
@Clio : this mods only upgrade the stinky brains on AI's, thus making AI more smarter in generic ways, this mods does not force historical focuses or such, thus, can still play the Alternate History with the smart AI's, especially in combat
Clio 4 Feb, 2017 @ 7:41pm 
To rephrase: I really want to use this mod instead because of better compatibility with other mods but am not sure if this mod achieves the same level of AI as "Expert AI" (particularly with AI tech research and division design) and am seeking reassurance before I make the leap.
Clio 4 Feb, 2017 @ 7:40pm 
Which mod is better: this or Expert AI?
Johnny Utah 30 Jan, 2017 @ 7:38pm 
OK cool, thank you for the info
Elindos Phar & Family  [author] 29 Jan, 2017 @ 1:10am 
If you use a full conversion mod or a mod which upgrades the recruitment AI, the boost version is much preferable.

But if you do not, this version is better.
As this one also upgrades the land troops the AI likes to build.
Johnny Utah 28 Jan, 2017 @ 3:31pm 
What is better to use, this one or the boost one?
Elindos Phar & Family  [author] 24 Jan, 2017 @ 11:01pm 
Welcom stj3rn!

It certainly was the case in my test games (Germany did conquer a lot of countries very fast so it captured empty lands).

However that does not mean that all new patch contents are addressed, so more tests may be needed on that part.
stjern 24 Jan, 2017 @ 4:42pm 
Does this fix the 1.32 bug that makes land ai units unable to advance into unapposed territory?
Elindos Phar & Family  [author] 21 Jan, 2017 @ 5:10am 
@andrew:
This is a generic AI mod so it should have some results!

Still expect the unexpected though - not everything from vanilla can be addressed easily. Also we can't touch the "core AI scripts", only the values it uses!