HoI 4 - Japan. "Approach the Young Officers" national focus will give us only 1 general instead of 3. + "Cast the Die" national focus will send them

  • 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
Japan. "Approach the Young Officers" national focus will give us only 1 general instead of 3. + "Cast the Die" national focus will send them to fascist.

Game Version
1.11.12

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

Do you have mods enabled?
No

Description
1. "Approach the Young Officers" national focus should give us 3 communist generals, but it only give us 1.
XML:
        completion_reward = {
            custom_effect_tooltip = JAP_approach_the_young_officers_tt
            hidden_effect = {
                create_corps_commander = {
                    traits = { JAP_communist_sympathizer trickster}
                    id = 750 #communist general 1
                    attack_skill = 1
                    defense_skill = 4
                    planning_skill = 3
                    logistics_skill = 2
                    skill = 3
                }
                create_corps_commander = {
                    traits = { JAP_communist_sympathizer trait_mountaineer trait_cautious}
                    id = 751 #communist general 2
                    attack_skill = 2
                    defense_skill = 2
                    planning_skill = 1
                    logistics_skill = 2
                    skill = 2
                }
                create_corps_commander = {
                    traits = { JAP_communist_sympathizer trait_reckless politically_connected}
                    id = 752 #communist general 3
                    attack_skill = 4
                    defense_skill = 1
                    planning_skill = 3
                    logistics_skill = 3
                    skill = 3
                }
            }
2. "Cast the Die" national focus will set them in fascist Japan instead of communist.

Steps to Reproduce
Do this:
1. "Approach the Young Officers" national focus.
2. "Cast the Die" national focus.
3. Try to find "Communist Sympathizer" generals.

Upload Attachment
File(s) attached
 

Attachments

  • 1 Before CW after focus.png
    1 Before CW after focus.png
    2,4 MB · Views: 0
  • 2 CW communist.png
    2 CW communist.png
    2,2 MB · Views: 0
  • 2 CW fascist.png
    2 CW fascist.png
    2,2 MB · Views: 0
  • 1
Reactions:
Upvote 0

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
Partially found the issue.
If we gonna add name = {Just Name} under every create_corps_commander we can get all 3 of them.
XML:
                create_corps_commander = {
                    name = "Goro Masaki"
                    traits = { JAP_communist_sympathizer trait_reckless politically_connected }
                    id = 752 #communist general 3
                    attack_skill = 4
                    defense_skill = 1
                    planning_skill = 3
                    logistics_skill = 3
                    skill = 3
                }
There might be problem with portrait like in attachment. But it's random not like names...

The problem is in creating new random characters after "No Step Back".


Also changing id = 750 into legacy_id = 750 will fix second problem. Putting them in fascist Japan instead of communist.
XML:
        completion_reward = {
            custom_effect_tooltip = JAP_approach_the_young_officers_tt
            hidden_effect = {
                create_corps_commander = {
                    name = "Yoshinori Kawakami"
                    traits = { JAP_communist_sympathizer trickster }
                    legacy_id = 750 #communist general 1
                    attack_skill = 1
                    defense_skill = 4
                    planning_skill = 3
                    logistics_skill = 2
                    skill = 3
                }
                create_corps_commander = {
                    name = "Samata Katsura"
                    traits = { JAP_communist_sympathizer trait_mountaineer trait_cautious }
                    legacy_id = 751 #communist general 2
                    attack_skill = 2
                    defense_skill = 2
                    planning_skill = 1
                    logistics_skill = 2
                    skill = 2
                }
                create_corps_commander = {
                    name = "Goro Masaki"
                    traits = { JAP_communist_sympathizer trait_reckless politically_connected }
                    legacy_id = 752 #communist general 3
                    attack_skill = 4
                    defense_skill = 1
                    planning_skill = 3
                    logistics_skill = 3
                    skill = 3
                }
            }
 

Attachments

  • 3 of them.png
    3 of them.png
    2,5 MB · Views: 0
  • 1
Reactions:

Sunsteel

Colonel
34 Badges
Jul 20, 2021
872
996
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines Industries
  • Cities: Skylines - Mass Transit
  • Cities: Skylines
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Call to arms event
  • Crusader Kings III
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: By Blood Alone
  • Victoria 3 Sign Up
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Stellaris
This was reported before and it has something to do with forgetting to give them names so they don't create properly.