• 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:
Just a short question - Does all random AI in the rules allow for achievements? I mean, if you want to cheat for them by restarting a 100 times until the random AI goes down the path you want, you can also just unlock them with the Steam Achievement Unlocker. I'd just like to play for Achievements while still getting some fun Alt-History.

Otherwise, which paths ARE enabled for the AI to go to with historical focuses off?
 
@Archangel85

In the event of India and Pakistan breaking free and going to war, I really think Burma ought to do so as well. Burma became a separate dominion in 1937, being split off from India and gaining its own government. The Burmese were never happy at being ruled alongside the Indians, and of course the anti-British partisan warfare in Burma was very bloody.

It also looks very weird having Burma remain part of India whilst Pakistan splits off and goes to war. This is alt-history after all: I think it would make a lot of sense to have Burma become independent once India does the same (even if you don't include Burma in the war).
 
It would be good to know the team's thoughts on what was it like to develop for 10 months and creating this big expansion in that recap dev-blog.
 
@Archangel85

In the event of India and Pakistan breaking free and going to war, I really think Burma ought to do so as well. Burma became a separate dominion in 1937, being split off from India and gaining its own government. The Burmese were never happy at being ruled alongside the Indians, and of course the anti-British partisan warfare in Burma was very bloody.

It also looks very weird having Burma remain part of India whilst Pakistan splits off and goes to war. This is alt-history after all: I think it would make a lot of sense to have Burma become independent once India does the same (even if you don't include Burma in the war).

It does.
 
Since this is not only an AI diary, but also a game rule one, I'm just going to re-post this question I asked back over half a year ago that went unanswered:

Finally, will there be an option to block off the Manchukuoan focus path to annex Mengkukuo and core China while still remaining as a puppet of Japan?



It's wildly ahistorical and unrealistic and the AI doesn't do it when historical focuses are on, but players in competitive historical MP still can because it's in the "historical" part of the focus tree for Manchukuo.

I take it there is no game rule blocking players from picking the ahistorical "Alliance with the Kwantung Army" focus?
 
Uruguay, vamos arriba la celeste.

I want to see define entry added in patchlog
 
Last edited:
Oh, okay then, it just doesn't in the screenshot so I assumed otherwise. No problem, then. :)

BTW Kaiser Bill + Edward VIII were first cousins once removed - not too distant.
 
I think this addition will make it much easier to do the campaigns one wants to do, like an all-out monarchist versus communist WW2. No longer will I have to switch to Hungary to pick the Monarchist option, or for any country from now on - way better IMO. Also nice writing, I loved some of the references like the Victoria Louise and the Hindenburg one.
 
I don't know why this annoys me so much, to be honest, but it kind of does. So many wonderful focus trees, but the AI just doesn't go down them when playing for achievements. :(
Realistically, which Achievements get easier or harder if the AI changes their paths?

And yes, I realise, Achievements generally aren't important, but I do like the possibility of earning one.

I know this seems petty and irrational and it probably is.
 
Since this is not only an AI diary, but also a game rule one, I'm just going to re-post this question I asked back over half a year ago that went unanswered:



I take it there is no game rule blocking players from picking the ahistorical "Alliance with the Kwantung Army" focus?

There isn't but such a rule would be fairly easy to mod in.
 
Rejected DD Titles:
- Hearts of Iron 4: Monarchies Galore

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

10/10 for dat reference :D

@Archangel85

In the event of India and Pakistan breaking free and going to war, I really think Burma ought to do so as well. Burma became a separate dominion in 1937, being split off from India and gaining its own government. The Burmese were never happy at being ruled alongside the Indians, and of course the anti-British partisan warfare in Burma was very bloody.

It also looks very weird having Burma remain part of India whilst Pakistan splits off and goes to war. This is alt-history after all: I think it would make a lot of sense to have Burma become independent once India does the same (even if you don't include Burma in the war).

I agree with this. Burma should be independent as well.
 
let the AI pick a plan at random

How random exactly? For example, will Manchukuo have a perfect 50-50% split when coming to pick between its branches?

More importantly: if Non-Aligned Germany loses the civil war, will Germany get its focus tree back with the Fascist option pre-selected (as you suggested America's CSA would)?
 
Last edited: