Conflicting Wargoals

crusader-kings-2

The HRE asked me to join in their war. I refused and then looked at who they were attacking and I noticed there were trying to claim an independent county somewhere in the Alps (forget the name). So I thought, why not. I found a claimant for the county, invited him to court, gave him a spare city I had and declared war on the same county myself. This made HRE hostile to me because of conflicting wargoals. Fair enough. We ended up fighting each other instead of the county (I eventually snuck one stack in to seige the county and used another to run interference and stop HRE from doing the same).

Later, I noticed BE was waging a holy war against an independent pagan country somewhere around Hungry. So, again, I thought why not and declared my own holy war against the same. But in this case, BE did not become hostile and we both laid siege to the same county (BE occupied 2 of 4 holdings, I took the other 2, but BE ended up winning the war – they had a head start).

So why did I get the hostile due to conflicting war goals in the first case, but not in the second? How can I tell when being opportunist and trying to declare war on a county already at war if I'm going to set off a massive conflict with another neighbor?

Best Answer

The types of casus bellis are in ..\common\cb_types\00_cb_types.txt. There is a flag hostile_against_others that is set for certain CBs and not others. It's not clear to me the exact functionality of this, but the only description I could find states that this flags hostility to all other combatants.

So if the game wants to consider multiple same-religion holy wars to be not conflicting (which makes sense), there is no way for it to consider differing religion holy wars to be conflicting either.

The CB types it is set for are:

  • claims
  • dejure claims
  • invasions
  • generated revolts (peasant/etc)
  • subjugations/conquests
  • buddhist holy wars (and only these guys)

Not sure why buddhists are different from the rest.