France Alternate Democratic / Little Entente

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

Xerberous

Captain
35 Badges
Jan 27, 2018
346
682
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Battle for Bosporus
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Warlock: Master of the Arcane
  • Cities: Skylines
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Deluxe Edition
  • Stellaris
  • Hearts of Iron IV: La Resistance
  • Age of Wonders III
  • Stellaris: Megacorp
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
Hi,

has anyone recently tried to set the French AI to go for Little Entente?
As I did so, France did anything but not going that way.

A view in the FRA_alternate_strategy_plan.txt showed, that the AI behavior is not really surprising; as given in the file, it cannot work.
Code:
FRA_alternate_plan_little_entente = {
    name = "France alternate plan: France attempts to form the little entente"
    desc = "Behavior for France if is set to form little entente"

    enable = {
        original_tag = FRA
        OR = {
            AND = {
                ENG = { has_completed_focus = ENG_a_change_in_course }
                NOT = { GER = { has_completed_focus = GER_oppose_hitler } }
            }
            has_country_flag = FRA_AI_DEMOCRATIC_ALTERNATE
            has_game_rule = {
                rule = FRA_ai_behavior
                option = DEMOCRATIC_ALTERNATE
            }
        }
    }
    abort = {
        OR = {
            CZE = { exists = no }
            CZE = { is_subject = yes }
        }
    }

    ai_national_focuses = {

   
        FRA_strengthen_the_little_entente
        FRA_strengthen_government_support
        FRA_metropolitan_france
        #1937
        FRA_industrial_expansion
        FRA_algerie_france
        #FRA_colonial_industry
        FRA_military_factories
        FRA_extra_research_slot
        #1938
        FRA_defensive_strategems
        FRA_defensive_focus
        FRA_invite_yugoslavia
        FRA_invite_romania
        #1939
        FRA_fortification_focus
        FRA_alpine_forts
        FRA_infantry_focus
        FRA_artillery_focus
        FRA_heavy_armor_focus
        #1940
        FRA_army_reform
        FRA_extra_research_slot_2
    }          
    research = {

    }

    ideas = {

    }

    # Keep small, as it is used as a factor for some things (such as research needs)
    # Recommended around 1.0. Useful for relation between plans
    weight = {
        factor = 1.0
        modifier = {
            factor = 1.0
        }
    }
}
Is this a bug or do I have a corrupted game file?

Thanks a lot!
 

Mackus

General
53 Badges
Aug 5, 2008
1.732
2.653
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Cadet
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Battle for Bosporus
  • Europa Universalis IV
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Stellaris
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Darkest Hour
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Pre-order
  • Knights of Honor
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
What seems to be the problem? As far as I can tell at first glance, it should work?
 

Xerberous

Captain
35 Badges
Jan 27, 2018
346
682
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Battle for Bosporus
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Warlock: Master of the Arcane
  • Cities: Skylines
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Deluxe Edition
  • Stellaris
  • Hearts of Iron IV: La Resistance
  • Age of Wonders III
  • Stellaris: Megacorp
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
What seems to be the problem? As far as I can tell at first glance, it should work?

The relevant NFs are far down below in the tree and FRA_alternate_strategy_plan.txt offers no guidance the for AI how to get there. I tried it multiple times, the result is always the same: The French AI is messing around, sometime going communist, sometime going monarchist or fascist but literally never going for Little Entente; according to my understanding this behavior is totally in line with the strategy plan I posted.
 

KubiG37

Colonel
42 Badges
Apr 11, 2016
984
1.752
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Distant Stars
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Europa Universalis IV: Rights of Man
  • Victoria 2
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Third Rome
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Stellaris: Megacorp
  • Victoria 2: Heart of Darkness
  • Stellaris: Synthetic Dawn
I did not check, I don't have LaR, but if it is so it should probably be reported as a bug.

All the other NF presets (except Czechoslovakia, which is bugged in different way) have pretty clear focus orders that work.
 

Xerberous

Captain
35 Badges
Jan 27, 2018
346
682
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Battle for Bosporus
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Warlock: Master of the Arcane
  • Cities: Skylines
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Deluxe Edition
  • Stellaris
  • Hearts of Iron IV: La Resistance
  • Age of Wonders III
  • Stellaris: Megacorp
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
The script should work well as it seems.

As far as I understand - please correct me if I'm wrong - the line

Code:
FRA_strengthen_the_little_entente

means "If the focus-requirements are met, choose focus "FRA_strengthen_the_little_entente" and nothing else. It does not mean "If the focus-requirements are not met, try to work towards "FRA_strengthen_the_little_entente" and since the requirements are not met, the AI is just messing around in the focus tree with the pre-defined probabilities which focus to choose.
 
  • 1
  • 1Like
Reactions:

kettyo

General
11 Badges
Feb 11, 2017
2.429
1.260
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
means "If the focus-requirements are met, choose focus "FRA_strengthen_the_little_entente" and nothing else. It does not mean "If the focus-requirements are not met, try to work towards "FRA_strengthen_the_little_entente" and since the requirements are not met, the AI is just messing around in the focus tree with the pre-defined probabilities which focus to choose.

You're right. The early focuses are missing in there. Better write a bug report.

This is working well for the case when Britan goes ahistorical to force democratic France to the Little Entente path when it comes to that but it fails for the custom set path. Probably would be best to have two plans, this one for the British ahistorical case and another more railroaded one for the custom set path.
 
Last edited:
  • 1Like
Reactions:

kettyo

General
11 Badges
Feb 11, 2017
2.429
1.260
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
What is strange here to me is that according to the strategy plan as i understand it France could even go "buy time" but i have seen it consistently go Little Entente if Britain went ahistorical so it might work a bit differently than it seems.