Does AI pick its focuses sensibly?

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

kviiri

Field Marshal
37 Badges
Jun 22, 2015
3.345
8.260
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings III
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Say I'm playing United Kingdom, and I want France on my side. Please tell me there's something I can do to make sure France picks my faction over Comintern, Axis or Little Entente.
 

RGN-JohnSnow

Corporal
108 Badges
Apr 1, 2016
32
69
  • Tyranny - Tales from the Tiers
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Sengoku
  • Cities in Motion
  • Victoria 2: Heart of Darkness
  • Steel Division: Normand 44 - Second Wave
  • Pillars of Eternity
  • Magicka 2
  • Victoria 2: A House Divided
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Sons of Abraham
  • 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
  • Magicka
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • For the Motherland
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Cities: Skylines
  • Crusader Kings II: Conclave
  • Stellaris: Galaxy Edition
  • Magicka 2: Ice, Death and Fury
  • Hearts of Iron IV: Cadet
  • Stellaris: Necroids
  • Victoria 2
  • Europa Universalis IV: El Dorado
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
From what I gather the AI has two different modes historical and ahistorical in historical mode I think that I will always pick the more historical decisions whether they make sense tactically or not in ahistorical that is more variable I believe.
 
  • 3
  • 2
Reactions:

Gort11

Field Marshal
84 Badges
May 22, 2011
4.553
3.765
  • Victoria 2: A House Divided
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Third Rome
  • Tyranny - Tales from the Tiers
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • 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
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Divine Wind
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis III: Chronicles
  • Darkest Hour
  • Europa Universalis III
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Warlock: Master of the Arcane
  • Europa Universalis IV
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • 500k Club
  • Stellaris
  • Victoria 2
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
There's a setting called "historical focuses" in game setup which makes the AI much more likely to pick what it did historically.
 
  • 2
  • 1
Reactions:

kviiri

Field Marshal
37 Badges
Jun 22, 2015
3.345
8.260
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings III
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Sorry, that's not what I mean. Please tell me I can influence the AI to pick my side (through diplomacy) in ahistoric mode too.
 
  • 1
Reactions:

Daddl

Lt. General
86 Badges
Feb 27, 2015
1.251
2.635
  • Europa Universalis IV: Res Publica
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Third Rome
  • Semper Fi
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron III: Their Finest Hour
  • Crusader Kings II: Sword of Islam
  • 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
  • Hearts of Iron III
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Nemesis
  • Steel Division: Normand 44 Sign-up
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Humble Paradox Bundle
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Victoria 2
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
Sorry, that's not what I mean. Please tell me I can influence the AI to pick my side (through diplomacy) in ahistoric mode too.
You can boost party popularity and ultimately stage a coup that might result in a civil war in foreign countries. The focusses that let the nations join different factions all require a certain dominating ideology before one can pick them, so it can't happen that they run completely wild unnoticed by you if you follow the party/ideology popularity of that country closely.

In the case of Great Britain wanting France in the Allies, it should be sufficient to maintain good relations and watch out if they stay democratic or get too much communist support. If they are democratic and like you, they should be gladly willing to go with you. Don't forget focusses are more like a shortcut, you can invite them to your faction yourself, they don't necessarily need to pick their own focus for that.
 
  • 1
  • 1
Reactions:

potski

Field Marshal
17 Badges
Mar 15, 2006
3.885
3.044
  • Steel Division: Normandy 44
  • Crusader Kings III
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Hearts of Iron III
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • 500k Club
Please tell me I can influence the AI to pick my side (through diplomacy) in ahistoric mode too.
There is a diplomatic action to improve relations. That should be enough to ensure UK invites France to their faction, as long as both remain democracies.
 
  • 1
Reactions:

kviiri

Field Marshal
37 Badges
Jun 22, 2015
3.345
8.260
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings III
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
There is a diplomatic action to improve relations. That should be enough to ensure UK invites France to their faction, as long as both remain democracies.

Sure it should, but I'm asking if we know it will. Of course with UK and France this isn't such a big deal, because they're well set for the alliance from the get-go (same ideology, probably historical friend bonuses too), but the ability to influence AI focus choices will be very relevant when trying for ahistoric alliances. For example, as Fascist Poland I would want to push Germany towards the "Danzig for Slovakia" focus instead of "Danzig or War".
 

zyphial

Colonel
66 Badges
Feb 17, 2013
860
780
  • Crusader Kings II
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Magicka
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • 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
  • For the Motherland
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Stellaris: Apocalypse
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Conclave
  • Crusader Kings III: Royal Edition
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
Sure it should, but I'm asking if we know it will. Of course with UK and France this isn't such a big deal, because they're well set for the alliance from the get-go (same ideology, probably historical friend bonuses too), but the ability to influence AI focus choices will be very relevant when trying for ahistoric alliances. For example, as Fascist Poland I would want to push Germany towards the "Danzig for Slovakia" focus instead of "Danzig or War".
So for obvious reasons I haven't seen the code but since HOI runs on Clautzwitz we can infer from previous Clautzwitz games how options (which are scripted) are analyzed by the AI.

Pretty much every option in the game (events, decisions, diplomatic actions, etc) have an ai_will_do factor that usually takes into consideration the strategic situation at least to some degree. It's entirely possible that PDS might overlook relations and/or is_facist etc, but I'll give them the benefit of the doubt and say it's unlikely that they would. If they did, however, it would be trivial to mod (like, barely a line) and almost certainly patched soon after it was brought to PDS attention as a serious issue in the suggestion forum.
 

Dalnar

Colonel
28 Badges
Apr 18, 2016
868
812
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Nemesis
  • Battle for Bosporus
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Stellaris: Megacorp
  • Stellaris: Apocalypse
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Steel Division: Normandy 44 Deluxe Edition
  • Steel Division: Normandy 44
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Pillars of Eternity
My guess is that without modding, the only way how a player can affect what focuses AI picks is that he denies certain prerequistes for certain focuses and on the same time make sure that all the requirements for the alternative branch are met.
 

potski

Field Marshal
17 Badges
Mar 15, 2006
3.885
3.044
  • Steel Division: Normandy 44
  • Crusader Kings III
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Hearts of Iron III
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • 500k Club
as Fascist Poland I would want to push Germany towards the "Danzig for Slovakia" focus instead of "Danzig or War".
Join the Axis. They wants it, it's their precious. Don't play Poland if you want to avoid war with Germany, and remain outside their faction.
 

potski

Field Marshal
17 Badges
Mar 15, 2006
3.885
3.044
  • Steel Division: Normandy 44
  • Crusader Kings III
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Hearts of Iron III
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • 500k Club
It does - you can probably deny Germany from attacking you if you join their faction. Given that even a guarantee by the Allies won't usually stop Germany, then you don't have many choices.

It might not be the answer you want to hear, but Poland's not often a country with a long lifespan in this game. Why would you expect anything different? Germany wasn't interested in Danzig per se, they wanted to destroy Poland completely. And the Soviet Union, having already fought one war with Poland, had the same motivation, against the "ugly product of Versailles".
 

kviiri

Field Marshal
37 Badges
Jun 22, 2015
3.345
8.260
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings III
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
It does - you can probably deny Germany from attacking you if you join their faction. Given that even a guarantee by the Allies won't usually stop Germany, then you don't have many choices.

The question I asked was whether being friends with Germany would make them prefer "Danzig for Slovakia" over "Danzig or war" and you didn't address that at all. I didn't ask about general Polish survival strategies, I want to know how the AI picks its focuses.
 

Sharp163

Major
28 Badges
Aug 3, 2015
688
1.761
  • Darkest Hour
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Pre-order
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Stellaris: Apocalypse
  • Hearts of Iron IV Sign-up
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: El Dorado
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Stellaris
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Victoria 2
  • Crusader Kings II: The Old Gods
  • Semper Fi
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
If France is couped by fascists or commies, that's just bad luck on your part. It's good alt history though :) perhaps you could make a German alliance to fight against socialist France and Russia?