How is the Battle Planner placing divisions ?

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

Ruck

Major
5 Badges
Nov 28, 2005
666
1.879
  • Crusader Kings II
  • Europa Universalis IV
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Imperator: Rome
For my next playthrough Im planning to build some specialized divisions like anti tank, mountaineers and heavy tanks and such, which I normally never build (I play SP only), just for the reason that it makes productions so much easier and I never felt the need for specialized troops in the grand scheme of big frontline wars. So I normally have only one infantry division type and one tank (either light tank only or middle tanks only).

So Im wondering how does the Battle Planner actually places theses troops ?
Will it prioritize tanks to flat land and infantry into woods/cities, mountaineers on hills ?
What if I have enough intel to see that the enemy has tanks in some provinces, will the battle planner reshuffle tanks or anti tanks to neighbouring provinces ?
Will the battle planner try to avoid attacking into cities/woods/hills with my tanks ?

Or is it just random without any logic behind it ?
 

BeauNiddle

Lt. General
78 Badges
Oct 5, 2011
1.396
2.969
  • Stellaris: Galaxy Edition
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Tyranny: Gold Edition
  • Victoria 2: A House Divided
  • Leviathan: Warships
  • Victoria 2: Heart of Darkness
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis III Complete
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • 500k Club
  • Shadowrun: Dragonfall
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Shadowrun Returns
  • Age of Wonders III
  • Tyranny - Bastards Wound
  • Europa Universalis III Complete
  • Hearts of Iron IV: No Step Back
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV
  • Shadowrun: Hong Kong
  • BATTLETECH - Digital Deluxe Edition
  • Europa Universalis III Complete
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Galaxy Edition
  • Victoria 2
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
Last I heard it was one division per neighbouring enemy province. Or at least that is what it aims for as a minimum.

And no it doesn't take division composition into account - if you want to use specialist units either micro them or plan small precise battle plans for them.
 
  • 3
  • 1
Reactions:

General WVPM

Lt. General
23 Badges
Nov 14, 2012
1.618
1.082
  • Hearts of Iron III Collection
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Europa Universalis III Complete
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Steel Division: Normandy 44
  • Stellaris
  • Victoria 2
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
From what I've seen, it just evenly disperses the units by default. Forts, ports and victory points are given priority and are likely to contain more units. There is no priority for an attack order. The battle planner does not create a reserve (unless the supply is too bad).

The defines contain many parameters to tune it to your liking. I've yet to see a mod make it work well though.
 
  • 1
Reactions:

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.824
7.024
So Im wondering how does the Battle Planner actually places theses troops ?
Will it prioritize tanks to flat land and infantry into woods/cities, mountaineers on hills ?
What if I have enough intel to see that the enemy has tanks in some provinces, will the battle planner reshuffle tanks or anti tanks to neighbouring provinces ?
Will the battle planner try to avoid attacking into cities/woods/hills with my tanks ?

Or is it just random without any logic behind it ?
It takes none of these things into account. I'm still busy writing a magnum opus about the battle planer on the side. But as a rule, if you have to question whether it does something, it almost certainly does not.
 
  • 4
  • 3Haha
Reactions:

andersonm

Coastal Elite
103 Badges
Aug 14, 2009
793
774
  • 500k Club
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Victoria 2
  • Europa Universalis IV
  • Hearts of Iron IV: Colonel
  • Imperator: Rome Deluxe Edition
  • Crusader Kings III
I think the front line logic is a little something like this

j4YCJ.gif
 
  • 7Haha
Reactions:

Orbs

Second Lieutenant
11 Badges
Mar 15, 2019
114
251
  • Europa Universalis IV
  • Cities: Skylines
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Industries
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron III
I've noticed the BP is slightly flexible in allocation. I was guarding the southern desert in Egypt and didn't like how the BP had the highest division count in a mountain province whilst a desert province that had 3 enemy tiles adjacent to it had far less. So I manually clicked 2 divisions in the mountain province and told them to move to the desert tile and the BP let it happen. Then I moved a 3rd out of curiosity and the BP moved another division from a different tile back to the mountain so I guess I reached it's threshold for shenanigans. None of these units I moved were unassigned from the BP.

So my point is if you have a mountaineer that is not in a mountain tile using the BP, you can manually move that mountaineer and depending on how many units you have the BP will either do nothing, or move another unit out of that mountain (like normal inf) so your mountaineer can stay.
 
  • 2
Reactions:

Emren

Brigadier General
68 Badges
Feb 27, 2001
1.445
904
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: No Step Back
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Stellaris: Federations
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Synthetic Dawn
  • 500k Club
  • Europa Universalis IV
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Victoria 2: A House Divided
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
The battleplanner seems to take the number of neighboring provinces on the opposite side of the front line into account, so it sort of tries to consider potential combat width. I think it also places divisions with a view to opposing forces, but that is really just a hunch...
 
  • 1
  • 1
Reactions:

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.824
7.024
The battleplanner seems to take the number of neighboring provinces on the opposite side of the front line into account, so it sort of tries to consider potential combat width.
You can look at the produces scores in-game:
  • create a front line and select the army
  • tdebug
  • track_unit_controller_weights
  • debug_unit_controller_weights
It should look like this:
unitcontroller_weights.png

In this case the province west of Cologne has a weight of 6.4:
  • 1 base
  • +1.4 from neighboring non-allied province; 0.7 (PLAN_NEIGHBORING_ENEMY_PROVINCE_FACTOR) each
  • +2 from not having a victory point (PLAN_PROVINCE_BASE_IMPORTANCE)
  • +2 from being in the home area (hard-coded)
You can mess around with this a bit, but above list already covers almost everything being taken into account.
The weights determine how divisions are distributed. But on fronts with fewer than 4 divisions average per province, up to 20% of divisions are distributed uniformly (see PLAN_PROVINCE_PRIO_DISTRIBUTION_MIN and following defines).
 
  • 9
Reactions: