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

Karlington

Field Marshal
94 Badges
May 1, 2017
7.477
14.272
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Federations
  • Age of Wonders: Planetfall - Revelations
  • Age of Wonders: Planetfall Premium edition
  • Sengoku
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Empire of Sin
  • Magicka: Wizard Wars Founder Wizard
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall
  • Crusader Kings Complete
  • Crusader Kings III
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • March of the Eagles
  • Europa Universalis III Complete
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis III Complete
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Stellaris - Path to Destruction bundle
  • Sword of the Stars II
  • Sword of the Stars
  • Rome: Vae Victis
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
One line summary of your issue
The AI will never pick the Forge Bloodline ambition

Game Version
3.2.1 (AZCE)

What expansions do you have installed?
All of the above

Do you have mods enabled?
No

Please explain your issue is in as much detail as possible.
The AI will never pick the Forge Bloodline ambition (obj_forge_bloodline) because a chance modifier is written incorrectly. At lines 280-289 in the file common\objectives\00_HF_ambitions.txt we find:

Code:
        modifier = {
            factor = 0
            NOT = {
                any_owned_bloodline = { #Founders of historical Bloodlines tend to spawn with enough prestige and troops to have an easy time achieving this ambition. Fine for the player, but the AI should not do it.
                    founder = {
                        character = ROOT
                    }
                }
            }
        }

The NOT should not be there, as it currently sets the chance to 0 for any character who is not the founder of a bloodline.

As the comment makes clear, the intent is the opposite. To prevent founders of bloodlines from creating bloodlines the NOT block should be removed, as it currently sets the chance to 0 for anyone who is not the founder of a bloodline rather than for those who are.

In addition, those AI characters cannot pick the ambition anyway as part of the potential block (lines 218-223) is:

Code:
        NAND = { # The AI shouldn't create bloodlines when they already have a historical one
            ai = yes
            any_owned_bloodline = {
                has_bloodline_flag = historical_bloodline
            }
        }

Together these two ensure that the AI can never pick the Forge Bloodline ambition. The second part appears to be WAI, but the first part is clearly, as the comment shows, a bug.

With this in mind it might make more sense to remove the chance modifier on top of this post altogether. The second piece of script I mention rules out the AI with historical bloodlines from picking the ambition altogether, so a chance modifier of 0 for founders of historical bloodlines is not necessary.

A screenshot of the relevant script is attached.

Steps to reproduce the issue.
The issue is always present in the game files and applies to all AI characters.

Upload Attachment
 

Attachments

  • Forge Bloodline Bug.jpg
    Forge Bloodline Bug.jpg
    224,7 KB · Views: 8
Last edited:
Upvote 0