Hi everyone! From the time we show off features in dev diaries and release a lot happens. Usually its just bugfixing and work behind the scenes, but sometimes it can be bigger changes too. So today we will pick out some stuff thats changed since you last read about it. But first, but not least, lets talk a bit about AI development!
AI Updates
When we started with 1.9 'Husky' and La Résistance there were 2 main things we wanted to achieve. First we wanted to nerf germany (without actually nerfing them) by giving resistance more teeth. This worked pretty well, as after we had made the new resistance system Germany would consistently collapse to large polish uprisings behind its lines and needed to be expanded how to manage all that as well as control its equipment production better. Resistance is now constantly hurting garrisons and you don't pre-build garrisons, so stockpiling and not rushing units is more important.
The second thing is also related to Germany (its ww2 after all). For HOI (no matter the version really) we have always strived for a balance where Germany defeats the Soviet Union if the allies do not take pressure off by invading. This ensures that all of the big sides need to be active and if played by a player you need to step up. Now before we jump to the 10 pages of comments discussing if this is a realistic target... It is, for gameplay I think. History wise I am personally convinced that the Soviets would have beaten Germany on their own. It just would have taken a lot longer and been much costlier, and there isnt much point in playing the UK or USA if Soviets will just take care of Germany on their own (now now, please keep reading the rest of the diary before we start arguing what-ifs :p).
Anyways, in 1.7 the allies seldom pulled off invasions well enough, and pretty much only if they got lucky in italy or punched up through greece or something like that. Firstly we have made a bunch of improvements and bugfixes to wierf parts of the invasion logic for the AI that makes them perform better. The biggest impacts came from limiting the AI from shipping troops back and forth across the globe and simply getting them to buffer up its forces in specific allied territories. USA specifically here will now station troops ahead of time in UK so that when its time to do invasions they are already in the neighborhood. We have also improved prioritization of different fronts to make sure AI gets the importance of Europe and when landings have been made successfully.
One of our most important tools when working on high level AI stuff and history tuning is the "History Logger".
This is a tool that we developed to observe AI gameplay. When enabled, it collects & dumps data on how game progressed during a particular run and its output looks something like this when run through a web interface:
Other than showing country borders, it can also show many other other details for a selected country such as diplomacy status, army/navy mission/air mission positions, orders, taken decisions/focuses/ideas, executed operations/operative missions and many other things. On top of that, the things are logged using log effect will also appear in these logs so you can have custom logs in your effects if you want. Here is an example from USA:
The lines are invasion orders and red heat map is the army of USA. You can already see that USA successfully invaded southern France and has invasion plans for Northern France and Denmark.
And here is an example to things that are logged. Logs are filtered by country tag ENG and "operation" and here we see all operations that are executed by England.
We use this tool every day in our nightly automated tests. Everyday we run a bunch of AI only runs with history logger is enabled and at the end the day we get an email like this:
Our nightly tests inform us if the game is crashed or not, if there are some tests that are failed and if there are performance issues. In this particular example in one of the machines Germany was not able to beat France. When we check history logger output for that particular run we see the following:
(Green: Germany. Red: Enemies. Blue:Allies. Yellow: Potential Enemies. Heat map is the army position for Germany.)
In this run we see that Germany is attacking low countries way too early, before Poland falls and the front north west front is prepared. This allows France & England to be better prepared and push through. The fix was to add extra safety checks (we had broken some old ones too in an unrelated change a while back) for how the AI wants to feel prepared for this push.
This tool will be included so modders can take advantage of it which we think is going to be super good for anyone doing balance, ai or total conversion mods. There will be more info on that as well as some more details and info on how to set up the tests in the friday diary :)
Espionage Changes
We have done some changes to operative recruitment. Rather than being a timer on actual operatives recruitment time the system now is tied to the actual slots you have
This was needed because the old system was pretty confusing in practice, and giving more operatives from events, or historical operatives would really mess with the progression of the system so UK could gear up its agency way too fast.
Operations have also had a bunch of changes. The more visible one is the addition of the Outlook indicator
This breaks down risks and the potential for better rewards on an operation. Both can be affected by agency upgrades and Operative traits. A 10% risk means that there is 10% something goes wrong. This usually means that the operatives will need to go into hiding for a while to avoid local investigations, or have suffered an injury, or more rarely, have been captured, killed or turned to the other side. When operations end you'll get to find out as risk trigger generally when trying to extract from the operation area.
We have also added some new ministers for nations. Having an Illusive Gentleman will be a good choice for those who want to go all in on making the strongest Agency possible
You can also see that UK will get access to all programmers hero Alan Turing if they develop a cryptology department. He is more of a UK special though.
Portugal Changes
Hello everyone, Mano de Zombi here! As many of you have already noticed, there have been some changes to the Portuguese Focus Tree since my last DD before Christmas, and today I’d like to talk a little bit about them.
Let’s begin with the National Spirit Unstable Republic:
The previous stability penalty (a flat 10%) has been changed to a -0.5% weekly stability penalty. Salazar’s trait has also been changed from a flat stability bonus to a 0.5% weekly bonus.
As you can see, one stability modifier counters the other. The reason behind this is that while Salazar is in power, his Unstable Republic will be roughly under control. Stability might not increase but it will not decrease either (after all, even with some difficulties, Salazar historically managed to keep the Republic under control for decades). But once you start tweaking your politics, you can find yourself in a tough situation where low stability might not be easily recovered, putting your country on the brink of civil war before changing your government. More on this later in the diary.
Now let’s take a look at the final focus tree:
As you can see, there are some new focuses (12 to be precise), for a total of 122. During Christmas I worked on a design for the historical Salazarist branch, as well as a bit of reworking and additions to other branches. Big kudos to Pedro, the original FT designer, who helped me a lot and provided me with incredibly useful documentation!
The Military branch looked quite small so we decided to include three more focuses. This branch has also seen some changes, so let’s take a quick look:
Army Organization, Metropolitan Army and Corpo do Estado Maior will each grant some Army XP. In addition to that, Army Reorganization will remove Unstable Army National Spirit and add a small stability penalty(-5%).
To the left, Metropolitan Army also grants two research bonuses, followed by a production bonus under Standardization. The defensive focuses have not been touched, you must still choose between heavy fortifications in Lisbon or a light fortification line along the coast. Finally, Portugal has two focuses that provide research bonuses for special forces.
Tropas Paraquedistas is based on the Parachute Rifle Battalion, a group of 12 Timorese soldiers trained in Australia during World War II to be launched in the rearguard of the Japanese forces occupying Portuguese Timor; as you can guess, this focus gives a research bonus for Paratroopers.
Regimento de Comandos is a reference to the (later) historical Portuguese Commando Regiment (a special forces unit prepared for counter-guerrilla operations) formed in the early 60s, as a consequence of the Ultramar War; it will provide two research bonuses for special forces, as well as a National Spirit that will slightly increase your special forces limit.
To the right, we have Corpo de Estado Maior, which improves army leaders and makes them cheaper, followed by Staff Wargames and its two research bonuses for land doctrine. Finally, Field Maneuvers will add more Army XP and an additional research bonus for land doctrine.
A final note on this, if you support a Spanish faction during the Spanish Civil War, you can access a focus that also gives you some research bonuses (different bonuses depending on the faction you support):
Moving on to the political branch, you can see that some focuses have changed names. This is to clarify that they are related to the Spanish Civil War:
You may also notice that Securing the Free World is now available only through Allow Free Elections (aka Democratic path). This focus will guarantee the independence of every European minor country with a democratic/non-aligned government and not in a faction, as well as allowing you to create your own faction. It makes sense to have it as a democratic focus, since Communists have their own ways to deal with factions.
I would also like to clarify the requirements for the following focuses: Protect Chinese Civilians: Will grant a wargoal against the owner of Guangzhou, the state surrounding Macau. This focus is available by completing either The Popular Front Bloc, They Need our Help or Allow Free Elections.
Intervention in Spain: This focus grants a wargoal against Spain if their ideology does not match Portugal’s. It is available only through They Need our Help and Allow Free Elections.
Regarding the change of ideology, throughout the different political branches (be it Communist, Democratic, Fascist or even Monarchist) you will always find something like this:
As you can read in the lower red tooltip, if you attempt to change your government through the Focus Tree, you better make sure that stability is high enough, otherwise you could find yourself in the middle of a messy and unexpected Civil War (hmm… This sounds familiar to me…).
You will find something similar in the following focuses:
Now let’s talk about the historical path (cool new icons in the branch courtesy of our freelance artist @Indyclone77, who also made all the Portuguese Focus and National Spirit icons, event pictures, and plenty of other 2D assets... Big kudos to him!). We have added a new sub-branch by which Salazar will slowly strengthen his regime, eventually turning Portugal into a powerful nation, capable of dealing with great powers late-game:
The National Spirit Estado Novo represents the Salazar regime and has several levels now, being improved by different focuses along the branch.
You get it when you complete Estado Novo focus, providing a small bonus in consumer goods and civilian factory construction speed.
Strengthen the Regime represents Salazar dealing with all kinds of dissidents (historically, Communists were specially persecuted and oppressed, but there were also other groups, such as fascist-syndicalists). You will have to invest some manpower and equipment to strengthen the secret police, but you will get some Non-Aligned support, and your Estado Novo will get small bonuses.
Upon completion of Appease Monarchists you will get the support of most monarchists and will unlock a couple of Monarchist-related advisors (shared with the Monarchist branch). Historically, Salazar’s strategy was to co-opt the Monarchy supporters into the government and leave the restoration of the Monarchy open for the future. Among other benefits, this focus will add a small daily PP and a weekly stability bonus to Estado Novo.
Concordat with the Holy See: The Concordat of 1940 was an agreement between Portugal and the Vatican, which basically prevented the Church from interfering in the political affairs of Portugal. In-game, you will get a nice amount of PP and Estado Novo will get a bit more daily PP and weekly stability.
National Gold Reserves: During the War, Portugal played an important economic role (it was more complex than the simple “they sold tungsten to Germany”, but I'll leave that for another day). In-game this focus will give Portugal a National Spirit with some economic bonuses, as well as better trade relations with Germany and the United Kingdom. Keep in mind: you have to be at peace to complete this focus!
By completing Honor Anglo-Portuguese Alliance Portugal will join the Allies, gaining access to the focuses shared with the Democratic Path.
Proudly Alone is the final focus improving Estado Novo and finally removing Unstable Republic. From here Portugal can choose to leave behind the historical approach and go into the offensive against Japan or any major or neighboring Communist nation.
Last but not least, The Capital of Espionage focus: There were countless agents and plots in Lisbon during the war, from double agents and traitors who cooperated with former enemies to spies who gathered information on trans-Atlantic shipments for the Germans. This is represented in-game with the following National Spirit:
Regarding Refuse the Naval Blockade focus, it is now available not only through the Fascist path after National Syndicalism, but also through the Monarchist path after Return of Duarte. Now the Kingdom of Portugal can take revenge on the United Kingdom and finally connect its Angolan and Mozambican colonies (Mapa Cor-de-Rosa).
For those of you concerned about not seeing any custom tech sprites during the streaming a couple of weeks ago, I can confirm that there are Portuguese tech sprites, but unfortunately they were not hooked-in on the build we used for the streaming.
And that’s all from me, as you can see Portugal has gone through a lot of work during the last months and I hope you enjoy playing the different paths once the DLC is released!
For the next dev diary you won't have to wait a whole week as on Friday we will be showing off a bunch of stuff for modders as well as post the full 1.9 patchlog in preparation for La Résistance release next week.
Don't miss the stream today where we will continue our playthrough as Germany.
Tonight we also have an AMA on reddit where you can pop in and ask us questions.
Join me as I recount some of the highlights from my recent prerelease testing playthrough of LaR in this After Action Report (AAR) where played I as the UK.
Phase 1: The buildup
When playing the UK in singleplayer I don’t really like trying to hold France, as I feel doing so kinda ruins the pacing of a historical playthrough. So I spent all my time from game start only building civilian factories with about 85% of my mills making aircraft. I also began establishing my intel agency in late 1937. I focused on improving my intel generation and code-cracking ability first so I could give some force multiplication to my rather small army.
Phase 2: Naval Dominance and Focused Defense
At the start of hostilities, I began cracking Germany’s encryption and used my airforce in the Mediterranean in conjunction with a large part of my navy. I figured it wasn’t worth sacrificing too much air strength against Germany in France at this point. I had just switched to building military factories from only building civilian factories, so I could not afford to use my more limited airforce recklessly. I also set up the majority of my operatives to set up intel networks in Germany.
I attempted to recruit mostly “seducer” trait operatives as they have a lower chance of being caught. In the process, I got some interesting seduction experts.
Most of my rather small army was deployed in Egypt to hold the Suez. With air superiority and an intel advantage over the Italians, Holding Egypt was a great success. I was able to recruit the famous Nancy Wake and I decided to send her on a Roman holiday to help me get more intel on Italy since I would be fighting them in Africa for the foreseeable future.
Phase 3: Battle of Malta
After the Italian navy was largely defeated, I infiltrated the Italian airforce to help get a more clear idea of how close I was to breaking it. At this point, the Italian airforce started port striking my Mediterranean Fleet in Malta. After looking at their plane counts in the intel ledger, I built up some radar in Malta and deployed the airforce to intercept the Italians in the region. Baiting them to bomb my exposed, and no longer as useful, fleet worked as phase one of my plan to break the axis airforce.
Meanwhile, In Germany and occupied France, my intel networks had become rather strong and were providing good info on the state of the axis. I had at this point also infiltrated the German civilian govt’ and army to open up further options for operations and to get a more clear picture of their strengths.
By late 1940 I had broken both the German and Italian ciphers and had weakened both the German and Italian airforces by fighting in favorable conditions where I had a large radar advantage combined with my passive cracked crypto advantage. Having enemy ciphers broken increases interception efficiency as well as adds to air detection.
Phase 4: Battle of Greece
At the end of 1940, Greece was invaded by Italy and Germany. By this point, I had a significant intel advantage, was close to matching axis airpower, and had a large and equipped Free French volunteer force. I decided I would turtle southern Greece as long as I could and brutalize the axis in the air in the process. I scrambled a large part of my North African forces to Greece and deployed the majority of my airpower. At one point my defensive line was nearly broken. I was able to save it by activating my broken ciphers on Germany, giving myself a temporary 30 day combat. Before the buff expired I was able to get some extra forces in and save Greece.
By mid-1941 I had overtaken the axis in the air and southern Greece looked more and more secure. I decided it was time to start boosting resistance in France and laying the groundwork for eventual liberation. I also was well on my way to cracking the new Italian and German ciphers.
Once the ciphers were cracked again and my tac bombers were no longer needed in Greece, I decided to start harassing the Germans with a strategic bombing campaign in their homeland. With my Intel levels, I was able to track how my bombing campaign was impacting Germany. I had also begun targetting resource-rich areas in France with targeted sabotage operations to further put stress on the German war machine.
Phase 5: Yugoslavian Uprising
Over the course of the next year, America and Vichy joined the war and a fight for North Africa broke out again. With Intel and Air advantage pushing Vichy France back was pretty easy. During the North Africa campaign, I noticed that Croatia was barely keeping occupied Yugoslavia under control. So I sent some of my Operatives to support the resistance there, pushing it over the edge and causing a full-scale uprising. Many of the Axis forces in northern Greece were then cut off and annihilated.
After a great victory in Yugoslavia, I dedicated my operatives to building a massive spy network across all of Germany. This resulted in several captured Operatives, as they are more likely to be discovered in large and powerful networks, but I decided it was worth it to keep my intel on Germany maxed and the mainland set up for my Arrival. Phase 6: La Resistance and D-Day
By mid-1942 the French Resistance, due in no small part to my support, had become disruptive. It was not fully rising up in rebellion but was strong enough to disable strategic redeploy in northern France and was providing constant attrition to local Axis forces. This combined with local spy network buffs, general intel advantage, air superiority, and ongoing fighting on the eastern front made securing my beachhead in France very smooth.
After setting up a plan to drive the Germans out of France, I once again fully utilized my code-cracking for a 30day buff and battle planned the Germans back into their homeland. By late 42 The Axis was all but broken and crumbling on all fronts. The combined Allied air, land, and intelligence efforts proved to be too much and everyone was Home for Christmas of ‘42.
I hope you all enjoyed my war story! See you next time.
Hi everyone! Release of La Résistance is closing in and we are busy fixing, testing and polishing. Today its time to present all the new achievements we are adding, so that the achievement hunters among you can start planning :)
Without further ado, here is all 20 of them (I apologize in advance for all the young whippersnappers who wont get the movie and tv show references ;) ):
One King, Two Crowns As Bourbon Spain, hold all Spanish and French core states.
We will Rock you As Spain, own Gibraltar.
Well, I didn't vote for you Win the Spanish Civil War as the anarchists.
...our chief weapon is surprise As Spain, have at least 5 spies and stage 5 coups against other nations.
Die, Perfidious Albion! As Fascist France or Vichy France, occupy all of Great Britain.
Second Time’s the Charm As France, occupy Moscow while Napoleon VI is your country leader.
Tour de France Occupy all of mainland France while having at least 20 fully equipped Bicycle regiments.
Go ahead, Macau my day As Portugal, create a collaboration government in Macau and have it own all Chinese states.
BFFs As Portugal, join the same faction as Great Britain.
Warszawo, walcz! Stage the Warsaw uprising and succeed.
Play it, Sam Have a spy network of at least 50% strength in Casablanca.
Spies Trade As India, become the spymaster for the Allies.
You Will Never Kill Me Alive Have one of your spies take a Suicide Pill.
Why Die For Danzig As Germany, have France turn fascist while at war with Poland.
I SEE EVERYTHING Get over 90% intel in each category on a major without using code cracking
Shaken, not stirred Successfully stage a coup in any nation using a spy with the Seducer trait.
Listen very carefully, I shall say this only once Have a French and British spy work together on the same Operation
Man of a thousand faces, every one the same Have the same spies be captured twice (so needs to be successfully rescued)
Turing Complete Fully decrypt all nations in the axis
Don’t die for your country The challenge from PdxCon 2019 - As Germany in 1939, occupy all of Poland and France without taking more than 475 in casualties. No paradrops allowed!
-
See you all next week when we will be doing an AAR writeup of what its like playing as a spymaster of your faction. Also, don't miss out on our stream at 16:00CET today if you want to see LaR in action.
Hi everyone and welcome back to another dev diary for La Résistance. Today its time to cover the art and music part of the expansion plus showcasing some of our new historical operatives. I will also be sharing the rest of the diary schedule until release. Enjoy!
Music Let's start here so you can listen to some samples while you read!
For La Résistance we got 4 new tracks: “Imperterrita” - Our Spanish theme song. Really good buildup tune that I think will also fit well to the spanish civil war. “A Storm Coming” - Kinda classic HOI4 axis-y march tune we use at war and for nations going fascist. “Liberté, Égalité, Fraternité” - Our french theme song. A great song for democracies with plenty of drums. “Cloak and Dagger” - The “spy tune”. We play this when players are doing sneaky stuff. It's a pretty slow tension/thriller tune.
As you can see we try to cover new themes and theaters for each song so the game will not just play differently but also sound different with the new expansion :)
Art Hi! We are artists on Hearts of Iron team, Irene and Albina and we want to tell you a bit about the production of 2D assets..
Since we are focusing on France, Spain and Portugal in this expansion, we have added portraits of generals, admirals and political leaders from these countries. These portraits were created by a number of different artists including us, Celine and Ahmed. Here is some picked favorites:
Two of them are illustrations of Military Junta and The Anarchist Commune, two committees that represented opponent parties in the Spanish civil war. It was challenging and interesting to work with leader portraits that are a bit unusual!
Our new feature - spies. We have made a lot of portraits of them. Male and female operatives of different nationalities, ages (and attitudes :p). You can see that the operatives share some outfit details, like glasses, suits and so on. In order to create the amount of portraits needed for this expansion we tried a new system of 2D modular portraits. As the system was new we took a bit of a risk but we feel it paid off in the end. Some of the biggest challenges were to create elements in the same camera angle and lighting conditions so they could be switched easily. In the end it turned out to be really fun to play with this character creator!
When it comes to unit models we already showed off both our armored cars and scout planes, so click those links if you wanna see more than the below sample:
For spain we also have a new light tank model as well as a plane model (the nationalists had their own licensed version of the German Bf109)
Historical Operatives
As part of La Resistance, we wanted to highlight some of the most famous agents that were active during the period. There are quite a few of them, but here is a list of personal favorites:
Otto Skorzeny: Perhaps the most famous German small-unit leader of the war, Skorzeny was involved most famously in the German raid to liberate Mussolini (also available as a historical operation under the right circumstances!). Beyond that, he was involved in a number of other operations.
Jeannie Rousseau: A French woman who gathered intelligence on the German V-weapon program through work in a French company supplying war material to Germany. Her reports led to the Allies becoming aware of the V-2 development taking place in Peenemünde and the allied air effort to destroy the site. She was later captured, but survived the war.
Dusko Popov: A triple agent working for MI6, the Abwehr, as well as the Yugoslavian government-in-exile, he fed misinformation about D-Day to his German handlers, who were completely convinced that he was working for them. In between, he apparently chased a lot of tail and his lifestyle served as inspiration for Fleming’s James Bond (not to be confused with James Boned, who is inspired by Daniel).
Josephine Baker: An American-born Frenchwoman, she would use her considerable fame as an entertainer to gain access to high-ranking diplomats and relayed secret information she overheard at parties to the French intelligence service. She smuggled notes about German troop movements written in invisible ink on her notation or pinned in her underwear.
Nancy Wake: A native of New Zealand, the Fall of France found her, unfortunately, in France. She quickly began organizing an escape network for shot-down allied pilots before the Gestapo closed in on her and her husband. While she narrowly managed to escape to Spain, her husband was not so lucky. She later returned to France to organize the resistance, taking part in an unsuccessful uprising of the Marquis.
Upcoming diaries
As release approaches the dev diary content is getting pretty locked in so I figured I might as well show you the schedule so you know when topics will pop up (and so you can stop asking me for when we talk about AI and bugfixing… seriously guys it's pretty much always the last 2 diaries ;D). Here goes:
STOCKHOLM - 23 January 2020 - The codes have been cracked and your agents are ready to move. The enemy will do their best to uncover your mission, but you’ve been preparing for this day for months. You will expose the collaborators and bring the vengeance of the oppressed to the very doorstep of the occupier. You are La Résistance. And the date of the operation has been set.
Paradox Development Studio is ready to announce that La Résistance, the next expansion to Hearts of Iron IV, will be available for all generals and spymasters on February 25, 2020.Hearts of Iron IV, Paradox’s best-selling strategy wargame about World War II, will now be supplemented by an expansion that highlights the challenge of governing unruly conquests and the power of well-placed spies.
Features of Hearts of Iron IV: La Résistance include:
New Focus Trees for France: New National Focuses for Free France and the Vichy Regime, as well as an option for conservatives to restore the old French Monarchy.
More in Depth Spanish Campaign: New National Focuses for Republican and Nationalist Spain, including an expanded Spanish Civil War that can spiral into a wider conflict.
Portuguese National Focuses: New unique focus tree for Portugal. Restore Portuguese naval power, strengthen the overseas empire or intervene in the Civil War next door.
Espionage: Use your Intelligence Agency to train spies to specialize in certain types of information warfare and send them on special operations, or develop passive resistance to enemy espionage.
Support Resistance: Use your agents to assist allied resistance movements, giving them what they need to damage the enemy.
Collaboration Governments: Use your agents to prepare the ground for collaborators to fill the void once you’ve conquered your target.
Code Cracking: Decrypt enemy communications to gain short term battlefield advantages.
Recon units: Scout planes can provide useful information on nearby areas while armored cars help in detecting and suppressing resistance activities.