Hearts of Iron IV - Developer Diary 7 - Air Combat

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

Darkrenown

Star marshal
141 Badges
Jan 8, 2002
24.778
16.989
no
  • Leviathan: Warships
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Wealth of Nations
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • East India Company
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
Once again it is time for a Hearts of Iron Dev Diary! This time I'm going to talk about how Air Combat has changed, and boy, it sure has changed! In earlier HoI games, air units were all "wings", a grouping of a non-specific amount (but notionally around 100) planes which you could order to carry out missions in an area or targeting a specific province. In HoI4 we no longer use only wings; each plane is an individual piece of equipment, and rather than give each one orders, you give orders to your air bases to send a certain number of planes on missions to a given Strategic Region.

I'll go into more detail in a moment, but in previous diaries there have been questions about how our design and development process works, so I thought I'd share a little info about that first. Before working on HoI4, both Podcat and myself worked on the For The MothlandMotherland and Their Finest Hour expansions for HoI3, so we already had a lot of ideas about what we wanted to be different in the next game. One of our main ambitions was reducing the micromanagement needed for Air units and making the Air game more about your overall campaign goals. You shouldn't have to manage every sortie. So after seeking inspiration and doing some research, we held a brain-storming session which resulted in these concrete details being nailed down:
DD7 notes.JPG


Now, to those of you without years of game development experience, that may look like a jumbled mess of nonsense scribbles, but rest assured that Podcat, as he says, "doesn't even see the code" at this point and can make perfect sense of it (perhaps one day I will develop this skill too!). After that we write up a proper design based on our notes from the meeting and start turning that design into code and actual bits of a game. For example, here is an early debug screenshot showing a stream of German fighters and bombers attacking Britain:
DD 7 planes1.png


We often do visual aids like the above when developing new graphical systems. The red lines show possible generated attack paths for planes as they attack, while the blue lines show their return paths. Which attack/return path they take varies so not all missions follow the same path and things look nice. Of course, we do not show every dogfight in real time on the map. The planes on-screen represent the average goings-on in an area, so if there are fighter battles going on in a region you will see a dogfight happening, with whoever is getting the worst of the battle being shot down.

And here is how air combat currently looks, although it is still in development:
dd7_map.jpg


We've made various other changes to how planes work in HoI4:
  • Rather than artificial stacking limits, Air Combat is limited to 1v1 or 2v1 fights within larger battles. Overall numbers still matter, but only so many planes can effectively engage another at one time. We felt this reflected real historical battles much more closely.
  • No more Interceptors or Multirole Aircraft. Instead, we have Fighters and Heavy Fighters, the latter being twin engine planes which are faster and more heavily armed but less agile. Historically, not many planes perfectly fit a specific role, so it will be up to the player to decide in what direction to steer plane development. In general, Heavy Fighters are good at shooting down Bombers, but have trouble against more agile Fighters. Fighters can shoot down Bombers too, of course, but being less heavily armed they take longer to do so.
  • Speed now affects targeting order in combat. Faster planes get to pick their targets first. Because of this, speed and firepower will be the most important attributes for planes you intend to intercept bombers.
  • Agility is a new stat. When two planes meet in combat, the more agile plane will be able to use a greater percentage of its Air Attack value.
  • Coverage is more a concept than a stat, and is based on a plane's Range stat compared to the distance to the center of the Strategic Region it is operating in. Planes which can just barely reach the target have a poor Coverage value compared to a plane that can fly laps around the area.
  • While individual planes do not gain experience, combat/missions have the possibility of generating Aces. Aces can be assigned to Air wings and improve the efficiency the planes. We'll talk more about them in a later dev diary.
Now, getting back to how air missions work: HoI4's map is divided into large areas which we call Strategic Regions. These are the targets for Air Missions. To give you an idea of the size, mainland France is divided into just two Strategic Regions. You can give orders to any air base within range of the region to send however many planes you want, set mission priorities, and can then largely leave the planes alone to fight it out until you want to change orders or just monitor their progress. The balance of forces in a given Strategic Region affects the Air Superiority value within it, and when Air Superiority is lopsided it will affect how often the weaker side can carry out missions. This will also, of course, negatively affect the operation of ground forces in the Region.

Actual missions (and let's assume a Strategic Bombing mission for this example), barring bad weather or enemy air dominance, are flown twice a day - a daytime and nighttime flight - and will either follow priorities set by the player or be split up logically if the player has set no priorities. When a mission flies, it has a chance of being detected by the enemy based on weather, Day/Night, RADAR coverage, enemy Air Superiority, etc. If it is detected, the enemy's defending planes may intercept it. Enemy planes will prioritize attacking bombers, but the mission's escorts have a chance to catch intercepting aircraft. After the air battle is concluded, the mission continues with available aircraft. The damage done will be affected by not just the number of planes sent, but also a Disruption Penalty, calculated based on the proportion of bombers sent that were engaged or destroyed while on the way to their target.

Overall we hope the Air War in HoI4 will be more a matter of Planning and Production than micromanaging Air Wings. It is intended to be something that will require you to wear down an enemy's air force with campaigns of attrition before your own air force can really cause major damage to their country with strategic bombing. As you can guess, many of these changes also affect how Carriers work, but that's another subject of a future DD.
 
Last edited by a moderator:
  • 15
  • 6
  • 3
Reactions:
Awesome DD !! Really think this will work so much better, play/ fun wise; immersion; and sense of realism!

Bravo!!!
 
  • 1
Reactions:
Looking good, although those strategic regions seem to be too large. Sometimes I want slightly more concentration, especially when running bombing missions during a breakthrough.

Well, well you can't have anything and this make the use of aircraft for defense much more plausible.

Edit: the ace thing I don't really like. I think pilots in general could and should've been portrayed. Perhaps 3-5 different pools of pilots of experience. One would then prioritize which strategic sector should get the best pilots.
 
  • 1
Reactions:
1. Where are the resources? :D

2. The "Red" numbers/pictures are the enemy planes?

3. Why is France divided in only 2 "regions", why not 4(north, east, south and West)?

4. How is this "1on1" works? Ex: Plane A beats plane B, Plane A keeps on fighting(because winner) against D? And so on.. till it get shot down? Or is plane A vs B predefined, and when there is a winner Plane C against D is continuing the fight?
 
Interesting - i like the fact that theres no stacking anymore and seems like quite a bit less microing. I never got that into the whole air part of the game before but it seems like that will change. And Agility as a stat pfft Zero ^^. Looking forward to hearing more later.

A couple of questions:
Since you have removed the stacking in airbattles have you done the same in naval battels?
Regarding Aces since its something you add to your units i guess theres also a % chance of them being shot down so you will lose them?
Since the Airzones are relative big how does bombing work. Do you bomb the airzone or do you target an actual province in the airzone. Im thinking in regards to how you damage IC/AA/INF and on which scale these work. From the picture i can see theres 30 AA on southern england so i guess the AA works on airzone level. Or do the planes just pick a province within the airzone?
 
  • 1
  • 1
Reactions:
The number of provinces in the channel (three provinces from UK to France) indicates that there will be some kind of coastal sea mechanic (minefields!) or at least I can hope!
 
by looking at the pic i assume you can decide what targets your planes may attack
right?
 
Hopefully you can "draw" the strategic zone yourself by deciding which provinces or regions should be included into your strategic target zone!!!!

As said before, sometimes it's necessary to concentrate your airforce activities to specific regions. (F.e. D-Day landing zone and some provinces behind...)
 
  • 2
Reactions:
1. Where are the resources? :D

2. The "Red" numbers/pictures are the enemy planes?

3. Why is France divided in only 2 "regions", why not 4(north, east, south and West)?

4. How is this "1on1" works? Ex: Plane A beats plane B, Plane A keeps on fighting(because winner) against D? And so on.. till it get shot down? Or is plane A vs B predefined, and when there is a winner Plane C against D is continuing the fight?

1) Around! They are not visible on the air war screen though
2) At the top right of the sidebar? Yeah, plus AA guns.
3) Why not 1 or 6? :) 2 felt right, and the most likely combat in the area is going to be the Germans heading along the coast and then occupied northern France vs Britain.
4) Combat is divided into phases, or passes, each pass planes pick their targets and engage them.
 
I gather that if I send bombers on a ground attack mission over northern France during fall gelb, they will target in priority the big battles to support the troops ?
 
Interesting - i like the fact that theres no stacking anymore and seems like quite a bit less microing. I never got that into the whole air part of the game before but it seems like that will change. And Agility as a stat pfft Zero ^^. Looking forward to hearing more later.

A couple of questions:
Since you have removed the stacking in airbattles have you done the same in naval battels?
Regarding Aces since its something you add to your units i guess theres also a % chance of them being shot down so you will lose them?
Since the Airzones are relative big how does bombing work. Do you bomb the airzone or do you target an actual province in the airzone. Im thinking in regards to how you damage IC/AA/INF and on which scale these work. From the picture i can see theres 30 AA on southern england so i guess the AA works on airzone level. Or do the planes just pick a province within the airzone?

1) No naval questions! :p
2) Yup!
3) AA/IC is at the State level, several states make up a Strategic Region, and you can set Prios as to what State you want to bomb. Land units are still in Provinces.