Crusader Kings II

Crusader Kings II

111 个评价
Animism Fix 1.2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
164.363 KB
2018 年 12 月 4 日 下午 1:33
2019 年 5 月 27 日 上午 8:29
3 项改动说明 ( 查看 )
您需要 DLC 才能使用该物品。

订阅以下载
Animism Fix 1.2

在 Dragatus 的 1 个合集中
Fixes & Missing Features
6 件物品
描述
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://psteamcommunity.yuanyoumao.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 条留言
Dragatus  [作者] 2020 年 10 月 18 日 下午 9:45 
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 2020 年 10 月 18 日 下午 1:55 
Has this been fixed? I'm positive to have seen the inititation rite bonus modifiers on AI characters.
Dragatus  [作者] 2020 年 7 月 25 日 上午 12:07 
Ah, that must be an oversight. Thank you for pointing it out.
[yep]Thmyris 2020 年 7 月 24 日 上午 10:05 
The mod reads "animism fix 1.1" in the ck2 launcher when subscribed & downloaded.
Dragatus  [作者] 2020 年 2 月 5 日 上午 4:19 
Sure, just put my name in the credits somewhere.
Lajos Tueur 2020 年 2 月 4 日 上午 9:58 
Hello! Can I use your mod in the Community Patch?
Dragatus  [作者] 2019 年 12 月 14 日 上午 11:41 
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 2019 年 12 月 14 日 上午 7:46 
You don't know? Yeah that mod changes way too much stuff for my liking.
Dragatus  [作者] 2019 年 12 月 13 日 上午 1:47 
They might be incompatible, but my mod is included in this mod that attempts to merge the community patch with several other mods: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1928000432 .
Riekopo 2019 年 12 月 13 日 上午 12:38 
When I run the Paradoxos Mod Mananger tool it says this mod conflicts with the Community Patch mod. Are they compatible or no?