Crusader Kings: Deus Vult introduces an annoying behaviour where independent counts and dukes pledge to quite illogical lieges, resulting in oddities like the count of Barcelona being a vassal of the King of Sicily, or all of North Africa pledging to Egypt.
This event fixes that behaviour by allowing any vassal to break free from his liege if certain conditions are met.
Rules to break free are:
-Character must be a ruler
-Character must be a vassal
-Character must not be a bishop
-Character must not be at war
-Character must not be a loyalist
-Character must not be rebellious (if you're already in a civil war -- fight it)
-Character must not be ill, have pneumonia, or be seriously wounded
-Character must not be friends with liege
-Liege must not have immense values of prestige (5000+)
-Liege must not be an emperor (trait)
(Optional: -Liege must be AI. If you want to make sure YOUR vassals won't break free, remove the # sign to cheat)
-For Catholics: Liege must not be the pope (very prestigious)
Two of the following MUST be true:
-The liege's capital must not be in the same region as the vassal's, or in a neighbouring area OR (duchies only the liege must not hold the "natural title" for the area
-The liege's culture must be different from the vassals and not accepted (see below for details),
-The liege's religion must conflict with the vassal's (catholic vs orthodox; sunni vs shiite; wrong religions; heretics)
-The liege's government form must conflict: feudal lords will be unhappy with nonfeudal lords, republics will only accept Italy or Byzantium as a liege, and knight orders will always want to be independent.
-The liege and vassal are rivals.
An exception is made for muslims, here area by itself remains a valid trigger (since muslim cultures are much larger spread across the map than christian ones).
You can still keep a huge empire together, but it will be far less likely that a random pledger will stay with his random liege for long.
To keep a huge ahistorical together, try to make sure all your vassals are of your culture, that you hold the king titles of the areas, do not have too many count vassals (as a king), or be friends with vassals.
Normal MTTH is 2 months, but there are multiple modifiers that decrease or extend this time. The further away a vassal is, the more likely he will break free. Likewise primary heirs and ruler children are much less likely to break free. Rivals are more likely, etc..
All cultures accept their own culture in their liege, as well one from the group. The groups are as follows:
Scandinavian: Norwegian, Danish, Swedish
Anglo: Anglo-Saxon, Scottish, English
Celtic: Gaelic, Welsh, Breton
Ugricbaltic: Finnish†, Prussian, Lettigallisch, Lithuanian, Mordvin
Germanic: German, Dutch
Frankish: French, Occitan
Iberian: Castillian, Catalan, Portuguese
Slav: Hungarian†, Bohemian, Wend, Croat, Serb, Bulgarian, Polish, Russian, Vlach
Byzantine: Greek, Georgian, Armenian, Nubian
Turkic: Turkish, Cuman, Alan, Pecheneg, Mongol
† For game reasons. No need to educate me on the actual cultural or linguistic relationships.
Additionally the following cultures accept the following additional culture(s) in their liege:
Italian: Occitan, Norman, German
Norman: English, Italian, French
Finnish: Sami, Swedish
Sami: Finnish, Mordvin
Gaelic: Scottish, Norwegian
Scottish: Gaelic, Norwegian
Norwegian: Gaelic, Scottish
The region check makes sure that if for example the king of Germany becomes English, his vassals will not break free as long as the capital remains in the German region. It should also prevent the HRE from breaking up too much.
Once a vassal breaks free, the liege gets an event informing him so. The tooltip will display who broke free.
Immediate repledging is prevented by a heavy relations hit.
Installation (easy way): unzip the attached file over your DV install, overwrite events.txt when prompted.
Advanced (for use with other modifications): unzip the break_free.txt event file into db\events and add the following to db\events.txt:
Also place the attached modtext.csv in your DV config folder (or add the following strings to an existing modtext.csv file).
event = "db\events\break_free.txt"
With thanks to the Pdox forum users for inspiration and ideas.
EVT_1979080_NAME;Our liege has no natural right to rule over our lands. Perhaps we should declare our independence?;;;;;;;;;;X
ACTIONNAME1979080A;Yes, break free;;;;;;;;;;X
ACTIONNAME1979080B;No, loyalty is a virtue;;;;;;;;;;X
EVT_1979081_NAME;Our vassal broke free!;;;;;;;;;;X
Region and area checks originally by Byakhiam for CK 1.05.
NOTE: this event is included in DVIP.