• 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:
You definitely have to read original text of Order 227 - to understand, what it is about, first of all.

And I'm open to any proof of events where Soviet soldiers were thrown in a battle without any weapon. "Enemy at the gate" movie doesn't count.
Well how am I supposed to get good info on Soviet history (that isn’t affected by propaganda) in the States?

EDIT: or American propaganda.
 
And I'm open to any proof of events where Soviet soldiers were thrown in a battle without any weapon. "Enemy at the gate" movie doesn't count.

David Glantz, one of the all-time most informed historians on the Eastern Front, notes in this lecture (video link below) that it did happen and that it's not something invented by the movie. Don't remember where in the lecture he said that though. You can probably find the source material through Google searches, though probably not the original ones since a lot of this stuff is from the Russian archives that are now pretty much locked up to scholars who don't have an active pro-Russian agenda.

 
David Glantz, one of the all-time most informed historians on the Eastern Front, notes in this lecture (video link below) that it did happen and that it's not something invented by the movie. Don't remember where in the lecture he said that though. You can probably find the source material through Google searches, though probably not the original ones since a lot of this stuff is from the Russian archives that are now pretty much locked up to scholars who don't have an active pro-Russian agenda.

Save my time, please. Does he cites any combat journals or anything, well, documental?
 
Save my time, please. Does he cites any combat journals or anything, well, documental?

I haven't read him myself, but Glantz is well-regarded in his field (which is the Eastern front in WW2, more or less, iirc). Too much land and not enough sea for me to have read much about it, but if Glantz is suggesting it happened, that usually warrants paying it some attention at least.
 
Search for original text of order. Russian one can work too - translate into English through Google translate.

As for unarmed soldiers - well, if no proof - no event. That's simple.
Thanks.
 
@Archangel85 I asked about this a couple years ago when an AI became unbeatable at Go.
Now an AI is able to beat the best SC2 players.

Any update on looking into real AI for HOI?
People have traditionally got defensive about the idea saying it's too complicated etc, but I don't believe it is anymore.
Plus it wouldn't need to be amazing, it just needs to be better than the current scripted AI we have.

I'm looking forward to the new release and coming back to the game. I've stopped playing as I don't have time for MP and the in game AI is kind of sad to play against. Also I have always really hated the naval side of the game so I have yet to play a game as a naval nation. This update is the most important so far for me.
 
There are several popular MP mods that either consolidate most of the countries that historically weren't very relevant to the war into a single entity called "Neutral Land" or the like, which doesn't build divisions, or they leave said countries like they are in vanilla but prevent them from building divisions by stripping them of manpower, etc. Both methods considerably boost game speed: MP can actually be played at speed 5, speed 3 becomes vanilla's speed 4, and so on.

The question is the increased speed is due to those countries being taken out or instead due to the game MP and the AI not having to manage the major countries. I am also against such measures in vanilla as it would remove parts of the world that were relevant and did participate in some way (not much, but they did participate).
 
A query in relation to these AI plans and more longer term thoughts for nations with special focus branches, especially the big huge ones- might there be more expansion/options to some of them in time, or perhaps something that has some sections of the focus branch simply turn off/not be visible if your going down a certain path? Perhaps even some paths that are ONLY open if other factors occur (Like say, the Kaiser being restored and France going Fascist, or what if the Soviets back Trotsky and a civil war breaks out there again?)
 
@podcat @Archangel85 The entire multiplayer host community would be grateful for the ability to lock national focuses being in the base game instead of a mod. There are a lot of servers/hosts that prefer vanilla games. Additionally, mods can be hard to implement without a already set up reserved list as a lot players leave once a rehost with the mod is done. So please just put that code in the game so universally all mp server/groups can have the lock national focus ability.
 
I wasn’t saying that Gulags were why they fought as it was for their Motherland and not for Stalin or Communism like propaganda would have you believe. Though under Stalin for a while thousands of Soviets were killed due to his ultimatum to not retreat or die by your country’s hands (not to mention for quite a while in the war men were without rifles so it was either guaranteed to die by the Germans or to die by the hands of your people).
Don't get your history knowledge from Hollywood movies.
 
@podcat @Archangel85 The entire multiplayer host community would be grateful for the ability to lock national focuses being in the base game instead of a mod. There are a lot of servers/hosts that prefer vanilla games. Additionally, mods can be hard to implement without a already set up reserved list as a lot players leave once a rehost with the mod is done. So please just put that code in the game so universally all mp server/groups can have the lock national focus ability.
It's incredibly easy to make a mod that removes 1 or 2 foci.
 
It's incredibly easy to make a mod that removes 1 or 2 foci.
Thats not the point, not every mp group wants to use a few mods for the game. Some just want to have vanilla without the worry of losing people when having to rehost for mods and what not. If the modding would not be that difficult, then it would not be difficult to have in the vanilla game. The devs do not have to add it of course, but I think it would be a very welcomed addition to the game for all mp players.
 
AI plans sound good in theory (it's definitely a feature I'd like to have), but it doesn't sound like something that was crafted to do the things it needs to. It's a strategy game, the AI opponent should have some way of handling dynamic changes in context (even if they're not that good). The context might change in a way that you don't anticipate - that's the whole point, but there should be some lowest denominator that the AI could rely on (i.e. all commies join Comintern - as such, it doesn't matter that the former democrats are now fascists and fascists turned into commies, they should still band together for a good old FFA).

All in all, I'm happy this feature is in, but I do hope the game's balance can also be improved not completely messed up.
 
I have stopped playing this game because, even after over two years, the AI was garbage. I have however kept an eye on developments. I see this developer's diary, hoping to see that this has actually been addressed. Instead, more althisory crap that is more properly described as alt-fantasy. Someone described this attempt at a world war II game having DEVOLVED to such. I agree wholeheartedly.
Quite sad.
 
I have stopped playing this game because, even after over two years, the AI was garbage. I have however kept an eye on developments. I see this developer's diary, hoping to see that this has actually been addressed. Instead, more althisory crap that is more properly described as alt-fantasy. Someone described this attempt at a world war II game having DEVOLVED to such. I agree wholeheartedly.
Quite sad.
It sells.