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

Mefisto1029

First Lieutenant
12 Badges
Aug 15, 2018
269
211
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • 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: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Crusader Kings II
  • Age of Wonders III
  • Shadowrun Returns
Description of issue
focus_factors in ai_strategy_plans do not work.

What platform do you play on?
Steam

Game Version
1.12.10

Enabled DLC
Together for Victory, Death or Dishonor, Waking the Tiger, Man The Guns, La Resistance, Battle for the Bosporus, No Step Back, By Blood Alone

Do you have mods enabled?
No

Description
focus_factors in ai_national_focuses does not work.

Steps to Reproduce
1. The easiest to do is take random country file delete all national focuses in ai_national_focuses add all avaiable at the start of the game focuses to focus_factors with = 0 to make ai desire to pick these one to never.
2. Start as this country and look at the ai picking random focus. Even tho it's shouldn't.

Attachment example for Mexico.

Upload Attachment
File(s) attached
 

Attachments

  • Example.png
    Example.png
    160,4 KB · Views: 0
Upvote 0

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.784
6.846
I can not reproduce this bug. I set all Australian starting NF weights in the alternate democratic plan to zero, cleared the ai_national_focuses list, disabled historical AI and set the AI to this plan
Code:
    ai_national_focuses = {
    }
    focus_factors = {
        AST_additional_militia_training = 0
        AST_expand_the_raaf = 0
        AST_cockatoo_island_shipyards = 0
        AST_kangaroo_point_shipyards = 0
        AST_standard_gauge_railway = 0
        AST_industries_assistance_corporation = 0
        AST_establish_advisory_war_council = 0
        AST_support_the_policy_of_appeasement = 0
        AST_never_another_gallipoli = 0
    }
As expected the AI did not pick a focus.
 
  • 2
Reactions:

Mefisto1029

First Lieutenant
12 Badges
Aug 15, 2018
269
211
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • 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: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Crusader Kings II
  • Age of Wonders III
  • Shadowrun Returns
I can not reproduce this bug. I set all Australian starting NF weights in the alternate democratic plan to zero, cleared the ai_national_focuses list, disabled historical AI and set the AI to this plan
Code:
    ai_national_focuses = {
    }
    focus_factors = {
        AST_additional_militia_training = 0
        AST_expand_the_raaf = 0
        AST_cockatoo_island_shipyards = 0
        AST_kangaroo_point_shipyards = 0
        AST_standard_gauge_railway = 0
        AST_industries_assistance_corporation = 0
        AST_establish_advisory_war_council = 0
        AST_support_the_policy_of_appeasement = 0
        AST_never_another_gallipoli = 0
    }
As expected the AI did not pick a focus.
Weird, when I tested it didn't worked... now tested it and it works.
 
  • 1
Reactions: