• 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.
Status
Not open for further replies.
resist_viceroy_revocation_cb is used for attempted unjust imprisonment and title revocation rebellions, rather than overthrow_ruler. This means these rebellions are not major revolts and do not call in other vassals. Is this intended? (For justified imprisonment, overthrow_ruler_no_calls is used, but not for justified revocation, where resist_viceroy_revocation_cb is again used)

From the wiki's Overthrow ruler:
For justified arrest:
-The rebelling vassal does not get a temporary title, and must fight alone​
For unjustified arrest or any revocation:
-The rebelling vassal gets a temporary title, and calls in some fellow vassals​
So this means overthrow_ruler is being replaced by resist_viceroy_revocation_cb.

Steps to reproduce:
1. Choose any ruler
2. Attempt to imprison vassals until you fail
3. The vassal's rebellion will be using resist_viceroy_revocation_cb

Verifying:
1. Switch to another character and offer to join war
2. The description will have the resist_viceroy_revocation_cb_desc;§Y$CLAIMANT$§! has rebelled rather than have [Root.GetHerHis] title stripped from [Root.GetHerHim] by §Y$TARGET$§!.;;;;;;;;;;;;;x
To check more often, I changed the war_name of resist_viceroy_revocation_cb:
WAR_NAME_OVERTHROWRULER --> WAR_NAME_RESISTVICEROYREVOCATION,
and gave it its own description: WAR_NAME_RESISTVICEROYREVOCATION;$ORDER$War to Resist Viceroy Revocation by $DEFENDER$;;;;;;;;;;;;;x

Attempted fixes:
I tried modifying the CB's can_use block for imperial government, but it didn't work. Simply removing resist_viceroy_revocation_cb enables overthrow_ruler, but that would break the 4 events in CK2Plus_viceroy_events.txt that use it. I suppose changing these events to use casus_belli = overthrow_ruler(_no_calls) would work, but resist_viceroy_revocation_cb does not force an abdication (only reduces crown authority).
 
resist_viceroy_revocation_cb is used for attempted unjust imprisonment and title revocation rebellions, rather than overthrow_ruler. This means these rebellions are not major revolts and do not call in other vassals. Is this intended? (For justified imprisonment, overthrow_ruler_no_calls is used, but not for justified revocation, where resist_viceroy_revocation_cb is again used)

From the wiki's Overthrow ruler:
For justified arrest:
-The rebelling vassal does not get a temporary title, and must fight alone​
For unjustified arrest or any revocation:
-The rebelling vassal gets a temporary title, and calls in some fellow vassals​
So this means overthrow_ruler is being replaced by resist_viceroy_revocation_cb.

Steps to reproduce:
1. Choose any ruler
2. Attempt to imprison vassals until you fail
3. The vassal's rebellion will be using resist_viceroy_revocation_cb

Verifying:
1. Switch to another character and offer to join war
2. The description will have the resist_viceroy_revocation_cb_desc;§Y$CLAIMANT$§! has rebelled rather than have [Root.GetHerHis] title stripped from [Root.GetHerHim] by §Y$TARGET$§!.;;;;;;;;;;;;;x
To check more often, I changed the war_name of resist_viceroy_revocation_cb:
WAR_NAME_OVERTHROWRULER --> WAR_NAME_RESISTVICEROYREVOCATION,
and gave it its own description: WAR_NAME_RESISTVICEROYREVOCATION;$ORDER$War to Resist Viceroy Revocation by $DEFENDER$;;;;;;;;;;;;;x

Attempted fixes:
I tried modifying the CB's can_use block for imperial government, but it didn't work. Simply removing resist_viceroy_revocation_cb enables overthrow_ruler, but that would break the 4 events in CK2Plus_viceroy_events.txt that use it. I suppose changing these events to use casus_belli = overthrow_ruler(_no_calls) would work, but resist_viceroy_revocation_cb does not force an abdication (only reduces crown authority).

Try this:
Code:
diff --git a/CK2Plus/common/cb_types/00_cb_types.txt b/CK2Plus/common/cb_types/00_cb_types.txt
index 9d9a086be..62ab8a532 100644
--- a/CK2Plus/common/cb_types/00_cb_types.txt
+++ b/CK2Plus/common/cb_types/00_cb_types.txt
@@ -24389,6 +24389,7 @@ resist_viceroy_revocation_cb = {
     can_use = {
         ROOT = {
             de_facto_liege = FROM
+            has_character_flag = resisting_viceroy_revocation
         }
     }
    
@@ -24421,6 +24422,9 @@ resist_viceroy_revocation_cb = {
                 detract_grace_super_huge_effect = yes
             }
         }
+        attacker = {
+            clr_character_flag = resisting_viceroy_revocation
+        }
     }
    
     on_success = {
diff --git a/CK2Plus/events/CK2Plus_viceroy_events.txt b/CK2Plus/events/CK2Plus_viceroy_events.txt
index 563ef13f8..4dd7c534c 100644
--- a/CK2Plus/events/CK2Plus_viceroy_events.txt
+++ b/CK2Plus/events/CK2Plus_viceroy_events.txt
@@ -659,6 +659,7 @@ letter_event = {
             }
         }
         log = "---> [Root.GetBestName] has decided to rebel rather than submit to [From.GetTitledFirstNameNoRegnal]"
+        set_character_flag = resisting_viceroy_revocation
         tooltip = {
             war = {
                 target = FROM
@@ -1015,6 +1016,7 @@ letter_event = {
             }
         }
         log = "---> [Root.GetBestName] has decided to rebel rather than submit to [From.GetTitledFirstNameNoRegnal]"
+        set_character_flag = resisting_viceroy_revocation
         tooltip = {
             war = {
                 target = FROM
@@ -1345,6 +1347,7 @@ letter_event = {
             }
         }
         log = "---> [Root.GetBestName] has decided to rebel rather than submit to [From.GetTitledFirstNameNoRegnal]"
+        set_character_flag = resisting_viceroy_revocation
         tooltip = {
             war = {
                 target = FROM
 
Hi, I didn't expect such a quick reply. I added those lines, but the same thing happens, so I also tried
Code:
can_use = {
        ROOT = {
            de_facto_liege = FROM
            has_character_flag = resisting_viceroy_revocation
+           culture = nahuatl
        }
    }
and it still happens.
Edit: I commented out is_revolt_cb = yes, and that works.
 
Last edited:
Hi, I didn't expect such a quick reply. I added those lines, but the same thing happens, so I also tried
Code:
can_use = {
        ROOT = {
            de_facto_liege = FROM
            has_character_flag = resisting_viceroy_revocation
+           culture = nahuatl
        }
    }
and it still happens.
Edit: I commented out is_revolt_cb = yes, and that works.

Crap, this is some hardcoded thing in the game. Try switching their places in the file.
 
Try switching their places in the file.
Do you mean switching de_facto_liege = FROM and has_character_flag = resisting_viceroy_revocation? I tried a few combinations of switching de_facto_liege, has_character_flag, and is_revolt_cb without any luck. It seems like is_revolt_cb is some special trigger that overrides overthrow_ruler
 
Last edited:
Do you mean switching de_facto_liege = FROM and has_character_flag = resisting_viceroy_revocation? I tried a few combinations of switching de_facto_liege, has_character_flag, and is_revolt_cb without any luck. It seems like is_revolt_cb is some special trigger that overrides overthrow_ruler

If you now have:

overthrow_ruler_cb
some_other_cb
...
viceroy_resist_cb

Change it to:
viceroy_resist_cb
some_other_cb
....
overthrow_ruler_cb.

Just move the CB position in the file.
 
Iranian cultures cap out at Barracks 1 in steppe counties, as in can't upgrade it further. Version 2.8.1.1 with 4.07.3 ck2+. How to replicate: just start any type of game where there is an iranian culture ruler in control of a steppe province with feudalism/iqta government and attempt to upgrade beyond barracks 1.
 
I want to form the HRE and own the kingdoms (as well as the full de jure domains) of East Frankia, Pommerania and Bohemia I've got a domain of 194 holdings and got crowned by the pope, but I did not get the HRE. The decision to form the HRE is now there (as well as the de jure domain of the HRE including east Frankia, Burgundy and Austrasia) but I apparently don't have a title with the rank 'king'. I am playing on the newest version (v4.07.3 lion king)
 
I want to form the HRE and own the kingdoms (as well as the full de jure domains) of East Frankia, Pommerania and Bohemia I've got a domain of 194 holdings and got crowned by the pope, but I did not get the HRE. The decision to form the HRE is now there (as well as the de jure domain of the HRE including east Frankia, Burgundy and Austrasia) but I apparently don't have a title with the rank 'king'. I am playing on the newest version (v4.07.3 lion king)

How did you get crowned by the pope without having HRE?
What's your primary title?
 
How did you get crowned by the pope without having HRE?
What's your primary title?

The kingdom of east frankia. Might be because I have a mod enabled which moves the event positions to the right? Although I can't see why that would impact the event where you get the HRE though. Although it sait it was incompatible I just assumed it only had problems with some of the event pictures since some of them did not have pictures. Mod: moved event position 2. I still got the event though and I have altered the files so that some of the genetic traits to show up more often
 
The kingdom of east frankia. Might be because I have a mod enabled which moves the event positions to the right? Although I can't see why that would impact the event where you get the HRE though. Although it sait it was incompatible I just assumed it only had problems with some of the event pictures since some of them did not have pictures. Mod: moved event position 2. I still got the event though and I have altered the files so that some of the genetic traits to show up more often
Whatever mod you are using, it is not compatible.
 
Spelling in court faction description:
Cown Levy Privileges.png

00_CK2Plus_factions.csv
Line 7: faction_court_desc

Bug in Taoist description:
taoist_FEATURES.png

00_CK2Plus_overrides.csv
Line 202: taoist_FEATURES;;;;;;;;;;;;;;x
-Fixed by copying the ad removal method (that description in the file :D) of adding spaces:
Line 202: taoist_FEATURES; ; ; ;; ;;;;;;;;;x
 
Last edited:
Status
Not open for further replies.