• 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.

HoI4 Dev Diary - AI Plans

Hello, and welcome back to the very last feature DD before we release Man the Guns on February 28th. Today we will be showing you a few more details of the AI strategy plans you can set in the Custom Game Rules Menu.

In Waking the Tiger, we created the backend support to give the AI multiple paths it can go down, and in the free 1.6 'Ironclad' update releasing together with Man the Guns, we have expanded this feature by combining it with the Custom game Rules menu, which now allows you to pick which path a country should go down.

Every country with a unique focus tree now has at least two AI strategy plans, depending on the number of branches in the focus tree. You can either pick which plan the AI should follow specifically, let the AI pick a plan at random, or tell the AI to obey the other game settings.

Screenshot_17.jpg


The setting for an AI overrides all other game settings, so if you check historical focuses but tell the German AI to restore the Kaiser, it will pick Oppose Hitler anyway.

Since this would allow you to set up scenarios that would make some achievements fairly trivial, these settings largely disable achievements.

It should also be noted that this allows you to create combinations that lead to situations we didn’t anticipate when we made some focus trees (“Should Democratic Germany really ally with Communist Hungary to contain Fascist France? What if Britain is Communist?”) or event chains. Given the often mutually-exclusive nature of focus trees and the sheer number of possible combinations, that can lead to situations where one AI can no longer continue its path or things behave in an unexpected way.

Today, we are going to go through a little AAR based on one of the little scenarios people around the office have been using: “How many monarchies can I have at the same time?”

So Germany will bring back the Kaiser, Hungary will restore Austria-Hungary, Romania will aim to achieve Balkan Dominance, Japan will restore the Emperor, Manchukuo will attempt to gain independence, Britain will give support to the King’s Party (Charles II of Romania approves, but is quietly told that is not what that means) and finally the Netherlands will try to support the only man in the Dutch government - Queen Wilhelmina. France is kept as default (so it will react to Imperial Germany), the US and Mexico are set to be random. We will observe from the country of Uruguay.

Screenshot_18.jpg


Germany kicks off the Monarchist revival with their civil war. As a little sidenote: we have reworked the positioning of the armies at the start of the German Civil War a little to give a more coherent front line. Meanwhile, the Hungarian AI has decided to strengthen the Monarchists, Britain is still building up its industry and Japan is supporting the Kodoha Faction.

Screenshot_19.jpg


While the German Civil War rages, Britain continues to build up and Hungary is rushing down the branch to restore the monarchy. With Romania set to expand later, that is probably the right choice.

Hitler’s Summer Offensive has the Royalists in Germany on the backfoot for most of 1936 before they manage to contain it. At the same time, Otto von Habsburg has assumed the Hungarian Crown. Incensed by Edward’s insistence to marry Wallis Simpson, the British government has resigned. Manchukuo is still biding its time, building up its industry.

Screenshot_20.jpg


By October 1936, the Royalist counter-offensive is in full swing and has largely succeeded in restoring the original frontline. Meanwhile, Otto’s first act as King of Hungary is to start an ambitious program of industrial expansion - believing, no doubt, that providing jobs to the Hungarian workers will help build support for his rule.

Surprising many observers, Alf Landon has defeated Roosevelt in the presidential elections and wastes little time in returning the dollar to the gold standard in a bid to undo the damage wrought by the irresponsible policies of his predecessor.

As 1936 turns into 1937, the Royalists in Germany have pushed deep into fascist territory in the South and the far North. The British Empire has broken into pieces as the Dominions have shed the last ties to their former mother country, causing one British Civil Servant to exclaim “Not since Helen of Troy has such misfortune been brought over a great nation by a single woman!” (Churchill, reportedly, remarked “If only she had been single.”)

Screenshot_22.jpg


About a year after the insurrection started, the writing is on the wall for Hitler. A last-ditch offensive in Mecklenburg has failed with only moderate territorial gains. As the King’s Party solidifies support for the monarchy in Britain, Otto von Habsburg has begun to take the next step on his way to restore the old lands of his dynasty: Turning Hungary into Austria-Hungary by adding Austria through a referendum.

Screenshot_24.jpg


By early April 1937, the fighting has reached Berlin. Hitler orders all available resources to be thrown in a counterattack under General Steiner, but is informed by his Generals that this attack did not take place. He takes the news with his usual stoicism. The city falls a few days later, and the fascist government does not survive the end of the month.

In Britain, Edward has taken the crown and is evidently preparing a great coronation ceremony. Against all expectations, the people of Austria vote to return to the rule of a Habsburg King.

Screenshot_26.jpg


The rather hasty departure of India from the British Empire brings the question of the Muslim population in the country to the forefront: worried about a lack of representation, Muslims in Pakistan and Bangladesh have taken up arms to defend their freedom. Observers expect a long and bloody struggle.

Screenshot_29.jpg


By this point, the Civil War in Spain is considered little more than a sidenote, as Alf Landon shocks the world with a strong commitment to a policy he calls simply “America First”.

Screenshot_31.jpg


The news of a minor incident in the Zeppelin Hindenburg is missed by most major newspapers, although German Princess Victoria Louise has reportedly shown a great interest in it.

Meanwhile in Asia, Generalissimo Chiang Kai-Shek is preparing a new offensive to finally bring the warlords on the periphery under his control. Emperor Puyi has successfully re-negotiated the relationship to Japan, giving him much more control over internal matters.

As the press in Europe prepares to attend the official ceremony in which King Otto of Hungary is crowned Kaiser of Austria-Hungary and the German Military Government declares its commitment to restoring the monarchy, the central government in China has declared the “Southern Pacification Campaign” against the obstinate Guangxi Clique and the governor of Yunnan.

Screenshot_32.jpg

The Spanish Civil War ends in a Republican victory. In his first speech as Emperor of Austria, Otto announces that his government will seek to deepen ties with the former provinces of Bohemia and Slovakia, while also extending his warmest congratulations to the German government for defeating “the poisonous snake of fascism” in their country, promising to do what he can to help them in restoring the old order.

Seeing the way the wind is blowing (especially since their traditional ally, France, seems to face a resurgence of communism and may not be available to protect them for much longer), the Czechoslovakian government decides to accept Otto as King of Bohemia and be absorbed again into the resurgent Austria-Hungary. Not to be outdone by his now much larger neighbour, Charles II of Romania takes steps to institute a Royal Dictatorship.

Screenshot_34.jpg


In India, Pakistan has shocked observers by reversing initial Indian gains and taking the offensive, with fighting now in the outskirts of Delhi. In Manchukuo, Emperor Puyi has purged the General Affairs Council of everyone he suspects of divided loyalties. In neighbouring China, the war in the southern part of the country has ground to a stalemate while Chiang Kai-Shek turns towards what many suspect was his true objective all along: eliminating the small base of the Communist party.

On the 4th of August, 1938, some 20 years after he was forced to abandon his throne, Kaiser Wilhelm II returns to Germany. The world, he remarks, seems to have finally understood why it needs monarchs. Meanwhile, Austria-Hungary, although still technically under the provisions of the Treaty of Trianon, has begun a barely-concealed rearmament program.

Screenshot_35.jpg



The fortunes of war in India have turned once again, as India has launched a major offensive along the entire front and has pushed back Pakistani forces all along the line.

With the demise of the Hitler government in Germany, fascist Italy is looking increasingly alone on the world stage. This is cemented by diplomatic maneuvering at the highest level, with an exchange of personal letters between Kaiser Wilhelm II and his distant cousin Edward VIII. It appears that both see eye to eye with regards to Italy, and some diplomats even speculate that this is but the first step towards a full-scale alliance between the previous enemies. With France looking increasingly likely to fall to communism, Germany is eager to secure its back while it deals with the communist threat on the continent.

Screenshot_37.jpg


In the final days of 1938, Indian forces finally crush the last bits of Pakistani resistance and end the long and bitter struggle.

At the start of 1939, the political landscape of Europe has changed quite dramatically. Two monarchs regained the thrones they had lost in 1918, and one has brought back the crown to a level of power not seen in centuries. In the Far East, Emperor Puyi is biding his time, as he knows that Japan must eventually strike against the Soviet Union - and when it does, his moment has come. The King of Romania has cemented his power, and although any attempt to strongarm Hungary is now impossible, he may yet assert his position on the Balkans.


Screenshot_38.jpg


Meanwhile, in the US, conservative and reactionary elements have made a comeback, leading to a decisive shift to the right of US politics. With the post-war order in Europe collapsing and old thrones being restored, the US starts to prepare for an intervention in Europe, should it come to that.


That’s all for today. Next week we will have a MASSIVE RECAP episode, and then it’s time for the 1.6 Patchlog and Man the Guns release the week after.
 
Last edited by a moderator:
ah, DD about AI without mentioning AI... clever :p
 
Why in the world would they do that? Every mp community put together would likely not add up to even one percent of the playerbase.
Because that is the best environment to recognize the weaknesses of their system and deal with it from their on. Which can include AI behavior and general system
Tweaks. Sure Not everyone has the same consensus on how to deal with said problem but many of them recognize the problem and deal with it in their own manner. Overall Think of it like this. If the system can do well and offer substantial player value on that level of intensity and scale in a player on player setting. Then it would naturally trickle down and enhance the play at all levels. Because now those systems flaws hopefully get addressed and adjusted accordingly based on their pinnacle use from the MP crowd.

the other point is to get them to instill in the AI the ability to think and interact with you like a high level player. And I’m not necessarily talking about combat. I’m talking about the side stuff that gets them in gear and ready for when the fight comes. Like the industry goal marks you want it at in 1938 for X nation. Getting trade under control. Getting new tech at the optimal time without sacrificing production. And so on.

Honestly Where else are going to acquire that high level ingame behavior then from high skills players? Clearly what we have now is what paradox considers optimal play when in reality it isn’t. The AI should be pushing me to be brink every single game and not because I’m giving it cheats or coming up with the stupidest strategy possible. But because it knows how to use what it has to the most effect. And at its current state it can’t.
 
Last edited:
I suppose it's high time I made this statement.

Looking through the numerous HOI4 overhaul communities, on Reddit and Discord, while many do have legitimate criticisms, there is this overwhelming arrogance that pervades them, particularly Kaiserreich.

A large part of the Kaiserreich fandom has never played vanilla, refuses to do so, and is under the impression that the entire KR dev team could single-handledly replace the HOI4 team altogether and the game would sell millions. The KR dev team do try to emphasize that credit should be given to the HOI4 devs for creating the base game and so many new mechanics, but they are often drowned out by the community. Any suggestion that vanilla can be playable or is improving is dismissed as garbage from corporate boot-lickers, or outright lies. When the newest development on vanilla comes out, people claim that it'll never surpass KR. Nevermind that KR has so much more time to focus on research and making trees, and not having to allocate large amounts of time to making the base game from the ground up.

Same goes for a lot of other total overhaul mod communities. It's why I've had to distance myself from many of them. Apparently it's wrong to enjoy vanilla now, and those who do so are total idiots.

I can respect criticism from those who have played vanilla extensively and found faults. But if you just play one game of vanilla, give up and spend the rest of your time trashing it, I will not listen.
 
Had to log in just to disagree this. The hyper-historical MP community is a cancer upon this game.
Ya like the arm flailing Alt fantasy crowd are any better. What was once a ww2 centered game has devolved heavily because of the Incesiant demand for absolute joke scenarios. Over sensible updates or actual historically relative pathways pertaining to world war 2. Call us cancer if you want at least we try to retain the setting the game supposedly aspired to emulate.
 
Because that is the best environment to recognize the weaknesses of their system and deal with it from their on. Which can include AI behavior and general system
Tweaks. Sure Not everyone has the same consensus on how to deal with said problem but many of them recognize the problem and deal with it in their own manner. Overall Think of it like this. If the system can do well and offer substantial player value on that level of intensity and scale in a player on player setting. Then it would naturally trickle down and enhance the play at all levels. Because now those systems flaws hopefully get addressed and adjusted accordingly based on their pinnacle use from the MP crowd.
o_O First time I've ever seen trickle down economics used to justify gameplay changes. Also it doesn't really address the main point of it making more sense for paradox to balance the game around 99% and ask the last 1% to adjust rather than the other way around.
 
o_O First time I've ever seen trickle down economics used to justify gameplay changes. Also it doesn't really address the main point of it making more sense for paradox to balance the game around 99% and ask the last 1% to adjust rather than the other way around.
If the 99 percent are set in a challengeless environment that barely pushes innovation or opposition to your methods and in reaching your goal. Simply because the main arbiter of that challenge is extemly inferior to adapting and using its assets. Either then letting it cheat or you gimping your own ability. Then yes the 1 percent in this case can be used for effect to improve The 99 percent.

Again the point is to get paradox mainly to shape the behavior of the AI to prioritize and emulate above average behavior. You don’t train your baseball team to mirror the worst player imaginable. You train them to emulate the behaviors of the best players around. It’s not gonna apply for everything but the main elements like industry, trade, production and division design can go along way in its ability to better enhance your experience.
 
Last edited:
You train them to emulate the behaviors of the best players around. It’s not gonna apply for everything but the main elements like industry, trade, production and division design can go along way in its ability to better enhance your experience.
this is subjective at best. like the AI that beat people in starcraft, they didn't do it by emulating players, they did it by outclicking players, even though those that did the AI said it performed no better than a human. this wasn't the case, it did what no human could do.

22K
 
Looking through the numerous HOI4 overhaul communities, on Reddit and Discord, while many do have legitimate criticisms, there is this overwhelming arrogance that pervades them, particularly Kaiserreich.

I agree with you.

I love Kaiserreich, in fact most of my recent time in HOI4 is in this mod because Vanilla+ is outdated for the time being. But any person with a little thinking can come to the conclusion that the Kaiserreich team as great as they're cannot do things such as the ship designer or spearhead command.

I don't play Vanilla a lot because I think it is lacking in the flavor department, but in the end Kaiserreich, Old World Blues, BICE and others are just modified versions of a game made by Podcat and the rest of this great team.

There is a lot of things to improve, but as we have seen in MTG with the naval rework, those improvement will come given time.
 
if i would be thanos i would really struggle to decide whether the ultra alt-history fanboiss or the ultra hyper-historical fanbois are the most cancer, aand should get snapped into the darkest part of the azkaban

usually after 2 focus the game went down another path as in history did due to player involvement. most of these history-advocates don t even know the right order for focuses in a historical scenario, most people just don t have a clue that anschluss or czechslovakia when did exactly happen
but also i don t get why alt-history fans dislike the hyperrealistic way to play the game.. the whole reason the game exists is history, amirite

if the game can properly represent the historical way the stuff went down, i don t care how many romanov sits in their rightful throne surrounded by people hating them for not being able to beat anybody, i personally enjoy historical paths more, but i also like well done alt history paths.

yet at this point the game still can t represent properly how the war went down.
there is a reason why italy joins just in 1940 june, why vichy france shouldn t be a puppet (at least initially) or why free france shouldn t hand over indochina, and yeah while such things aren t major stuff, i don t get why developers don t take the (not that much time) to change some historical inaccuracies especially minor stuff like indochina.

i would like to see many more alt history paths, but i would also like to be able to play the game historically, and i directly chose to mention such stuff which break the game's authenticity (like axis depending on the few ports of libya, italy hesitating to get into action initially,-i don t even know why italians got that aggresive modifier, i guess that is why in real life they waited until france nearly fell lmao- or allies not giving up major bases so close to singapore) yet wouldn t be a major stuff to change (some of them) yet they are disregarded bcuz developers don t pay enogh attention to such minor and easy to fix, historical game
but but.. why do you care about such details, it-it doesn t make sense yes-yes
because this is a historical AND an ahistorical game. and history depends on the details. if i chose to play it historically, i would like to see such minor stuff correctly, if i don t, than not. the game already chose to gave the freedom of choice, both part should get attention and it does. so stop whining and convince them to pay attention to the details, and make it possible also to put a puppet romanov at the head of russia
 
this is subjective at best. like the AI that beat people in starcraft, they didn't do it by emulating players, they did it by outclicking players, even though those that did the AI said it performed no better than a human. this wasn't the case, it did what no human could do.

22K
Ya your also forgetting Starcraft is clearly a different form or game. In that grand strategy is demanded more from it as opposed to button mashing. But ya know I suppose a bike is clearly comparable in expectation to perform
And take stock to that of a motorcycle? Or is that subjective?

If the AI is faulting at the base foundational building blocks of the game it’s doomed to fail regardless. Which overall that seems to be the case more often then not. Especially in cases if you watch Germany lose to France or Japan to China outright. Mainly because it failed to meet the expectation required to deal with that event. A player can still fail but against another player the stakes and expectation are raised. if that level of expectation is integrated into the AI through its various behaviors then we can see a major shift in entertainment.
 
Last edited:
I suppose it's high time I made this statement.

Looking through the numerous HOI4 overhaul communities, on Reddit and Discord, while many do have legitimate criticisms, there is this overwhelming arrogance that pervades them, particularly Kaiserreich.

A large part of the Kaiserreich fandom has never played vanilla, refuses to do so, and is under the impression that the entire KR dev team could single-handledly replace the HOI4 team altogether and the game would sell millions. The KR dev team do try to emphasize that credit should be given to the HOI4 devs for creating the base game and so many new mechanics, but they are often drowned out by the community. Any suggestion that vanilla can be playable or is improving is dismissed as garbage from corporate boot-lickers, or outright lies. When the newest development on vanilla comes out, people claim that it'll never surpass KR. Nevermind that KR has so much more time to focus on research and making trees, and not having to allocate large amounts of time to making the base game from the ground up.

Same goes for a lot of other total overhaul mod communities. It's why I've had to distance myself from many of them. Apparently it's wrong to enjoy vanilla now, and those who do so are total idiots.

I can respect criticism from those who have played vanilla extensively and found faults. But if you just play one game of vanilla, give up and spend the rest of your time trashing it, I will not listen.


I suppose it is also high time I said something too but should start by saying that while I play mods extensively, I would not claim to speak for anyone but myself.

I have hardly played HOI4 vanilla, though I wouldn't say I refuse to do so. It is just that I prefer a course of events that are mainly historical and am one of those micro-manager types who enjoy the BI production choices. While I have the greatest respect, admiration and gratitude for the modders at BI, I would never suggest that they could build a game from the ground up. (They may be able to do so, but I will leave it to them to make that claim).

Note that my reasons for not playing vanilla are not that there is anything wrong with it - it is just I find more details enjoyable (am I the only one who actually liked setting up my OOB in HOI3?) and prefer straightish history. I find vanilla a bit boring to be honest, but that is because the "fantasy" options are not all that attractive to me. Purely a personal choice.

I totally accept that Pdx wants to (and must if wants to grow its customer base) attract a range of different player types, from hard core multplayers, historical nerds, detail obsessives and those who can't really say who was on what side in WW2. The wonderful thing about the base game is that with modifications it can do that.

Even though I don't play vanilla atm, I will probably play it when MTG comes out, as it will take a while for the modders to upgrade to take advantage of the new features.

Please do not lump all those who do not play vanilla as some sort of ungrateful arrogant poseurs who despise the rest of the player base. I for one am constantly grateful that there exists a game (and a game manufacturer) that can be played in so many ways that even my particular tastes can be met. And who am I to be critical of the preferences of others? Most people I know find my liking of computer war games (as opposed to FPS) as highly amusing if not borderline weird.
 
are these AI things ironman compatible?

Ironman compatible for sure... but it's probably not achievement compatible, given OP's first screenshot.
 
Ya your also forgetting Starcraft is clearly a different form or game.
it's RTS correct?
n that grand strategy is demanded more from it as opposed to button mashing.
not if you are playing MP without pause... it still is speed of how you do things, and the strategy of doing things in the best order
But ya know I suppose a bike is clearly comparable to a motorcycle in the expectation of its performance in regards to speed right
it can be... check out some of the extreme downhill stuff MX bikers do.
If the AI is faulting at the base foundational building blocks of the game it’s doomed to fail regardless.
subjective. it all depends on the experience vanilla is designed to deliver.
A player can still fail but against another player the stakes and expectation are raised.
only if the other player is good. My fiancee has no idea how to play and wouldn't be a good challenge
to any player that is good at the game, so apparently your statement isn't true.

major shift in entertainment.
both true and false. those that casually enjoy the game would hate it, and those that are addicted would like it
 
I suppose it's high time I made this statement.

Looking through the numerous HOI4 overhaul communities, on Reddit and Discord, while many do have legitimate criticisms, there is this overwhelming arrogance that pervades them, particularly Kaiserreich.

A large part of the Kaiserreich fandom has never played vanilla, refuses to do so, and is under the impression that the entire KR dev team could single-handledly replace the HOI4 team altogether and the game would sell millions. The KR dev team do try to emphasize that credit should be given to the HOI4 devs for creating the base game and so many new mechanics, but they are often drowned out by the community. Any suggestion that vanilla can be playable or is improving is dismissed as garbage from corporate boot-lickers, or outright lies. When the newest development on vanilla comes out, people claim that it'll never surpass KR. Nevermind that KR has so much more time to focus on research and making trees, and not having to allocate large amounts of time to making the base game from the ground up.

Same goes for a lot of other total overhaul mod communities. It's why I've had to distance myself from many of them. Apparently it's wrong to enjoy vanilla now, and those who do so are total idiots.

I can respect criticism from those who have played vanilla extensively and found faults. But if you just play one game of vanilla, give up and spend the rest of your time trashing it, I will not listen.
i agree with you. for me it was always important to play the game balanced, i found enjoyment if i had to struggle with a country, not if i could roflstomp everyone. i can count on my hand how many balanced mods are out there. while there are excellent mods out there, people give them too much credit to them. 90%of mods that change the nfs are cool, but are unbalanced as hell. i found that many mods have some problems with them (lack of complete or partial balance, very buggy, laggy..you name it) so i ended up playing vanilla with minor modifications and total overhaul mods, cool nfs are not that enjoyable for me if they are too unbalanced
 
They don't have equal weights in the sense that Germany, for example, is more weighted to go Kaiser or Fascist than democratic in random mode, but that is easy to change if people want to do that. But you can also set a specific path, so I think it is less of an issue now.
Currently, I didn't see any non-historical german AI goes for opposite Hilter. I hope this can be addressed that AI can choose opposite path let's say, 30% of time
 
By semi-communist I meant the economic system they wanted, you could call them Nationalist-communist or something. And probably any dialogue w/ moscow would be declaration of war or signing a peace treaty. And I don't know if they had any foreign policy. I guess it was shoot-on-sight on any foreign/non-Japanese ship, lol, as I was saying, they were pro-isolation, anti-capitalist and pro-Emperor. How are you supposed to even call them? National-communism? Communist monarchy? There is option for national-socialism but nazis weren't isolationist, quite opposite in fact. Again, I don't know that much about this stuff. If there is someone on the forums that is interested in Japanese military factions and politics in 1920s and 1930s, please say something!
I'm fairly certain that a Nationalist Government with Socialist economic policies is a National Socialist Government because that was what A.H.'s government did basically.