Crusader Kings II

Crusader Kings II

111 ratings
Animism Fix 1.2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
164.363 KB
4 Dec, 2018 @ 1:33pm
27 May, 2019 @ 8:29am
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Animism Fix 1.2

In 1 collection by Dragatus
Fixes & Missing Features
6 items
Description
This mod fixes AI controlled characters not getting any bonus from their initiation rite. It's a bit of a dirty fix and they'll always get the bonus for 10 years instead of it scaling with wealth, but it's better than nothing.

Note that AI characters can still choose not to go through a rite (especially if they are Cynical, Greedy, or have no money). The mod only affects AI characters that choose to have a rite.

The mod is NOT compatible with ironman and achievements.

The mod also does not fix the issue of the minor morale bonus overriding other more powerful unit modifiers since someone else already made a mod for that: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1581542560


The way rites of passage work is that a few months after reaching adulthood characters first get an event where they decide how long the bonus they get will last. They can pick 20 years, 10 years, 5 years, or not getting a bonus at all. Human players have to spend more money if they want a longer duration, but AI characters actually get the bonus for free. The amount of money they have will still affect which one they'll choose. The game is then supposed to remember which level of bonus they picked and apply the specified duration in the next event where they pick the sort of bonus they want to get.

The bug with Animistic doctrine lies in that the game only actually remembers which level of bonus was picked for human players. For AI character it seems to forget and as a result in the second event it goes: "Okay, so I don't remember the character saying they want a 20 year buff, so I won't give them the bonus for 20 years. I also don't remember the character saying they want a 10 year buff so I won't give them the bonus for 10. And I don't remember the character saying they want a 5 year buff, so I guess they won't get the bonus for 5 years either." And so the character gets no bonus.

What the mod does is edit the second event with code that basically says "If you don't remember how long the bonus is supposed to last just make it 10 years."

What I like about the method is that if PDX fixes the bug and the game will properly remember whic bonus to apply, the mod will automatically stop having an effect even if it's activated and the rite of passage will revert to working as PDX intended.

22 Comments
Dragatus  [author] 18 Oct, 2020 @ 9:45pm 
I don't know. The problem was never with the event itself, but with the game not storing character flags properly for characters not controlled by a human player. So it's hard to say without testing.

The game will automatically give initiation rite bonuses to some characters at start too. So it's only after 20 years after the game has started that you can be sure rite bonuses are being applied by the event.
lalarukh3 18 Oct, 2020 @ 1:55pm 
Has this been fixed? I'm positive to have seen the inititation rite bonus modifiers on AI characters.
Dragatus  [author] 25 Jul, 2020 @ 12:07am 
Ah, that must be an oversight. Thank you for pointing it out.
[yep]Thmyris 24 Jul, 2020 @ 10:05am 
The mod reads "animism fix 1.1" in the ck2 launcher when subscribed & downloaded.
Dragatus  [author] 5 Feb, 2020 @ 4:19am 
Sure, just put my name in the credits somewhere.
Lajos Tueur 4 Feb, 2020 @ 9:58am 
Hello! Can I use your mod in the Community Patch?
Dragatus  [author] 14 Dec, 2019 @ 11:41am 
I'm not using the Community Patch, so I never got to look at what files it changes, but there is a fair chance it will change the same file that I changed for this fix. If you're unsure, I would recommend picking the patch over this fix as it solves more problems.
Riekopo 14 Dec, 2019 @ 7:46am 
You don't know? Yeah that mod changes way too much stuff for my liking.
Dragatus  [author] 13 Dec, 2019 @ 1:47am 
They might be incompatible, but my mod is included in this mod that attempts to merge the community patch with several other mods: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1928000432 .
Riekopo 13 Dec, 2019 @ 12:38am 
When I run the Paradoxos Mod Mananger tool it says this mod conflicts with the Community Patch mod. Are they compatible or no?