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

avee

Major
42 Badges
Aug 13, 2009
544
1
  • Hearts of Iron III: Their Finest Hour
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Cities in Motion
  • Sengoku
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Naval War: Arctic Circle
  • Hearts of Iron III Collection
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Prison Architect
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Surviving Mars
  • Crusader Kings Complete
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Hearts of Iron: The Card Game
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Stellaris: Synthetic Dawn
  • Cities: Skylines
Family Relations mini-mod for Crusader Kings II

Download link: View attachment Family Relations v5.rar

This minimod adds relation bonuses for close family members. Children, grandchildren, parents, grandparents, siblings, nephews, nieces, uncles, aunts and various in-laws will now like you more than random same-dynasty characters.

Should be compatible with 1.08.

Feedback is welcome! :)

Changelog:
Code:
v5:
- in-laws modifiers added
- partial german localisation added

v4:
- brothers and sisters now have separate modifiers
- french localisation added

v3b:
- now compatible with 1.06b patch
- now using namespace for events

v3:
- now compatible with 1.06 patch
- improved compatibility - should be compatible with any other mod

v2b:
- partially fixed issue with characters not getting appropriate opinion modifiers

v2:
- added opinion_modifier for cousins
- in CK2Plus compatible version same_dynasty modifier is lowered to 10 (from 15)
- various bugs fixed

v1:
- added opinion_modifiers for following relations: father, mother, grandfather, grandmother, child, grandchild, sibling, uncle, aunt, nephew, niece.

Known issues:
- due to vanilla behaviour in some (relatively rare in a long run) cases characters will not get cousin and uncle-nephew opinion modifiers.

Credits:
Gawam - French and German localisation
richvh - in-laws relations system

Feel free to include this mod in any other mods!
 
Last edited:
Feedback is welcome! :)


Ok, so let's take a look at my character's niece:
nieceopinion.jpg

niecef.jpg

siblingopinion.jpg


Something is not right, right?
It looks like some character's are left out of the equation - usually women...

Not sure where's the code loop-hole, though...
:unsure:
 
Nice, but one question: how did you get it to work? Is it unimplemented code already in the exe or what? I am willing to accept the alternative hypothesis that you are a genius.
 
I guess we'll have to wait Avee on that one! I'm trying to figure out all the opinion_modifiers and reverse_opinions... wow :confused:

So the loophole I was talking about is: when you have a nephew from a deceased brother or sister, there's no relation_modifier... I wonder if there's a workaround it.

Another thing that is still a mystery to me... with a few siblings, one character get's +10 boost, while in other cases +20. :huh:
There's no reason I can think of for this.
 
I'd like to nab this for the main version of CK2+. Do you mind?
 
I guess we'll have to wait Avee on that one! I'm trying to figure out all the opinion_modifiers and reverse_opinions... wow :confused:

So the loophole I was talking about is: when you have a nephew from a deceased brother or sister, there's no relation_modifier... I wonder if there's a workaround it.

Another thing that is still a mystery to me... with a few siblings, one character get's +10 boost, while in other cases +20. :huh:
There's no reason I can think of for this.
Yes, the problem is dead characters. For some reason when you transfer scope via dead characters, it just doesnt work. Look here: http://forum.paradoxplaza.com/forum/showthread.php?607106-Dead-characters-and-changing-scopes

About +20 boost. Hm, I`ll check and fix it ass soon as possible.

I'd like to nab this for the main version of CK2+. Do you mind?
Sure. :)
 
Version 2 is released. Added cousins modifier and fixed some bugs. All modifiers should apply correctly now.

Scope bug is still present, but it`s a vanilla issue and should not cause many problems in a long run.
 
avee, just out of curiosity, did you get to replicate the "sibling" thing?

I didn't mention before but I did tweak the siblings opinion_modifiers to +10.
That's why I was intrigued when some appeared as +20 instead...
I managed to reproduce sibling thing. I dont know why it happened. One version is that "any_sibling = {" fires twice for full brothers, but I may be wrong here.
This issue should be fixed in v2.
 
EDIT - By the way, saw this trigger on Fawr's Events thread:
father_even_if_dead =
do you think it might be helpful with the "dead characters" issue?
Thanks! It helps but is not enough. To deal with this issue we will also need "mother_even_if_dead" and "any_sibling_even_if_dead". :)
mother_even_if_dead doesnt work and I`m sure any_sibling_even_if_dead doesnt work either.

Version 2b is uploaded.
 
Last edited:
Pretty cool mod this. Have you given some thought to family feuds? While family can love each other more they sure as hell can hate each other.
There are plenty of reasons to hate each other in game already - like title claims, pretenders, trait differences etc. People don`t usually hate each other just because they are relatives. :)
 
Nice job.
It is a very correction to vanilla where it is better to be a distant kinsman than a close relative.
Thanks a lot.