What's the War Goal for ticking Warscore when defending against a Revolt for Elective Monarchy?

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

Vseras

Second Lieutenant
17 Badges
Sep 14, 2020
110
35
  • Stellaris: Leviathans Story Pack
  • Crusader Kings III
  • Prison Architect
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Magicka 2
  • Pillars of Eternity
  • Cities: Skylines
  • War of the Roses
  • Magicka
What's the War Goal for ticking Warscore when defending against a Revolt for Elective Monarchy?
I'm currently stuck in an endless stalemate where I and the attacker just keep trading counties.
I've already taken the Leader's Capital.
 
Solution
As far as I can tell, the CB that's used in this war is probably change_feudal_elective_succession_law. And this CB has no provision for ticking warscore. So I believe there is no way to get ticking warscore.

(As far as I can tell, ticking warscore occurs if a contested title is fully occupied, or if attacker/defender_unoccupied_warscore = yes. The latter aren't specified in the CB code, and there's no obvious contested title (except perhaps your primary title?).)

From ...\common\cb_types\00_cb_types.txt
Code:
change_feudal_elective_succession_law = {
    name = CB_NAME_FEUDAL_ELECTIVE_SUCCESSION_LAW
    war_name = WAR_NAME_FEUDAL_ELECTIVE_SUCCESSION_LAW
    sprite = 6
    truce_days = 3650...
As far as I can tell, the CB that's used in this war is probably change_feudal_elective_succession_law. And this CB has no provision for ticking warscore. So I believe there is no way to get ticking warscore.

(As far as I can tell, ticking warscore occurs if a contested title is fully occupied, or if attacker/defender_unoccupied_warscore = yes. The latter aren't specified in the CB code, and there's no obvious contested title (except perhaps your primary title?).)

From ...\common\cb_types\00_cb_types.txt
Code:
change_feudal_elective_succession_law = {
    name = CB_NAME_FEUDAL_ELECTIVE_SUCCESSION_LAW
    war_name = WAR_NAME_FEUDAL_ELECTIVE_SUCCESSION_LAW
    sprite = 6
    truce_days = 3650
    attacker_can_call_allies = no
    can_ask_to_join_war = no
    major_revolt = yes
  
    can_use = {
        ROOT = {
            vassal_of = FROM  
        }
    }

    can_use_gui = {
        check_if_crusader_trigger = yes
    }

    is_valid = {
        FROM = {
            in_revolt = no
            liege_before_war = {
                in_revolt = no
                liege_before_war = {
                    in_revolt = no
                }
            }
        }
        ROOT = {
            OR = {
                liege = {
                    character = PREV # either independent
                }
                liege = {
                    FROM = {
                        is_liege_or_above = PREV # or have shared liege
                    }
                }
            }
        }
    }

    is_valid_title = {
        NOR = {
            has_law = succ_feudal_elective
            has_law = succ_hre_elective
        }
        OR = {
            tier = emperor
            tier = king
            is_primary_holder_title = yes
        }

    }
  
    on_success = {
        FROM = {
      
            hidden_tooltip = { disband_event_forces = faction_loyalists }
            if = {
                limit = { NOT = { has_dlc = "Zeus" } }
                any_demesne_title = { # All titles
                    limit = {
                        OR = {
                            tier = king
                            tier = emperor
                        }
    #                    is_titular = no
                        NOT = { has_law = crown_authority_0 }
                    }
                    if = {
                        limit = { has_law = crown_authority_1 }
                        add_law = crown_authority_0
                    }
                    if = {
                        limit = { has_law = crown_authority_2 }
                        add_law = crown_authority_1
                    }
                    if = {
                        limit = { has_law = crown_authority_3 }
                        add_law = crown_authority_2
                    }
                    if = {
                        limit = { has_law = crown_authority_4 }
                        add_law = crown_authority_3
                    }
                }
            }
        }
        ROOT = {
            show_scope_change = no
            participation_scaled_prestige = 100
            hidden_tooltip = {
                disband_event_forces = faction_revolters
            }
        }
        any_attacker = {
            limit = { NOT = { character = ROOT } }
            hidden_tooltip = {
                participation_scaled_prestige = 100
                disband_event_forces = faction_revolters
            }
        }
    }
  
    on_success_title = {
        if = {
            limit = {
                NOR = {
                    title = e_hre
                    has_title_flag = alternate_hre
                }
            }
            add_law_w_cooldown = succ_feudal_elective
            #succession_w_cooldown = {
            #    base_type = feudal_elective
            #    voting_rules = feudal_elective
            #}
        }
        if = {
            limit = {
                OR = {
                    title = e_hre
                    has_title_flag = alternate_hre
                }
            }
            add_law_w_cooldown = succ_hre_elective
            #succession_w_cooldown = {
            #    base_type = feudal_elective
            #    voting_rules = hre_feudal_elective
            #}
        }
    }

    on_fail = {
        ROOT = {
            show_scope_change = no
            prestige = -100
        }
        FROM = {
            show_scope_change = no
            participation_scaled_prestige = 50
        }
        any_defender = {
            limit = { NOT = { character = FROM } }
            hidden_tooltip = { participation_scaled_prestige = 50 }
        }
      
        hidden_tooltip = {
            any_attacker = {
                disband_event_forces = faction_revolters
                add_character_modifier = {
                    name = faction_succ_feudal_elective_ultimatum_timer
                    hidden = yes
                    duration = 3650
                }
            }
        }
        FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } }
    }
  
    on_reverse_demand = {
        ROOT = {
            show_scope_change = no
            prestige = -200
            prisoner = FROM
        }
        FROM = {
            show_scope_change = no
            participation_scaled_prestige = 100
            hidden_tooltip = {
                if = {
                    limit = { NOT = { has_opinion_modifier = { modifier = opinion_traitor who = ROOT } } } #Allow free revocation of a title.
                    opinion = {
                        who = ROOT
                        modifier = opinion_traitor
                    }
                }
            }
        }
        any_defender = {
            limit = { NOT = { character = FROM } }
            hidden_tooltip = { participation_scaled_prestige = 100 }
        }
      
        hidden_tooltip = {
            any_attacker = {
                limit = { liege = { character = FROM } }
                prisoner = FROM
                disband_event_forces = faction_revolters
                add_character_modifier = {
                    name = faction_succ_feudal_elective_ultimatum_timer
                    hidden = yes
                    duration = 3650
                }
            }
        }
      
        FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } }
    }

    attacker_ai_victory_worth = {
        factor = -1 # always accept
    }
  
    attacker_ai_defeat_worth = {
        factor = 100
    }

    defender_ai_victory_worth = {
        factor = -1 # always accept
    }
  
    defender_ai_defeat_worth = {
        factor = 100
    }
}

You're going to have to win this the hard way - my suggestion: defeat their armies a few times; make sure you have a high-martial siege general in the army; use his siege ability to take 2-3 holdings for every 1 they take; focus on taking the primary defender's personal demense while defending your personal demesne.
 
Last edited:
  • 1
Reactions:
Solution
As far as I can tell, the CB that's used in this war is probably change_feudal_elective_succession_law. And this CB has no provision for ticking warscore. So I believe there is no way to get ticking warscore.

(As far as I can tell, ticking warscore occurs if a contested title is fully occupied, or if attacker/defender_unoccupied_warscore = yes. The latter aren't specified in the CB code, and there's no obvious contested title (except perhaps your primary title?).)

From ...\common\cb_types\00_cb_types.txt
Code:
change_feudal_elective_succession_law = {
    name = CB_NAME_FEUDAL_ELECTIVE_SUCCESSION_LAW
    war_name = WAR_NAME_FEUDAL_ELECTIVE_SUCCESSION_LAW
    sprite = 6
    truce_days = 3650
    attacker_can_call_allies = no
    can_ask_to_join_war = no
    major_revolt = yes
 
    can_use = {
        ROOT = {
            vassal_of = FROM 
        }
    }

    can_use_gui = {
        check_if_crusader_trigger = yes
    }

    is_valid = {
        FROM = {
            in_revolt = no
            liege_before_war = {
                in_revolt = no
                liege_before_war = {
                    in_revolt = no
                }
            }
        }
        ROOT = {
            OR = {
                liege = {
                    character = PREV # either independent
                }
                liege = {
                    FROM = {
                        is_liege_or_above = PREV # or have shared liege
                    }
                }
            }
        }
    }

    is_valid_title = {
        NOR = {
            has_law = succ_feudal_elective
            has_law = succ_hre_elective
        }
        OR = {
            tier = emperor
            tier = king
            is_primary_holder_title = yes
        }

    }
 
    on_success = {
        FROM = {
     
            hidden_tooltip = { disband_event_forces = faction_loyalists }
            if = {
                limit = { NOT = { has_dlc = "Zeus" } }
                any_demesne_title = { # All titles
                    limit = {
                        OR = {
                            tier = king
                            tier = emperor
                        }
    #                    is_titular = no
                        NOT = { has_law = crown_authority_0 }
                    }
                    if = {
                        limit = { has_law = crown_authority_1 }
                        add_law = crown_authority_0
                    }
                    if = {
                        limit = { has_law = crown_authority_2 }
                        add_law = crown_authority_1
                    }
                    if = {
                        limit = { has_law = crown_authority_3 }
                        add_law = crown_authority_2
                    }
                    if = {
                        limit = { has_law = crown_authority_4 }
                        add_law = crown_authority_3
                    }
                }
            }
        }
        ROOT = {
            show_scope_change = no
            participation_scaled_prestige = 100
            hidden_tooltip = {
                disband_event_forces = faction_revolters
            }
        }
        any_attacker = {
            limit = { NOT = { character = ROOT } }
            hidden_tooltip = {
                participation_scaled_prestige = 100
                disband_event_forces = faction_revolters
            }
        }
    }
 
    on_success_title = {
        if = {
            limit = {
                NOR = {
                    title = e_hre
                    has_title_flag = alternate_hre
                }
            }
            add_law_w_cooldown = succ_feudal_elective
            #succession_w_cooldown = {
            #    base_type = feudal_elective
            #    voting_rules = feudal_elective
            #}
        }
        if = {
            limit = {
                OR = {
                    title = e_hre
                    has_title_flag = alternate_hre
                }
            }
            add_law_w_cooldown = succ_hre_elective
            #succession_w_cooldown = {
            #    base_type = feudal_elective
            #    voting_rules = hre_feudal_elective
            #}
        }
    }

    on_fail = {
        ROOT = {
            show_scope_change = no
            prestige = -100
        }
        FROM = {
            show_scope_change = no
            participation_scaled_prestige = 50
        }
        any_defender = {
            limit = { NOT = { character = FROM } }
            hidden_tooltip = { participation_scaled_prestige = 50 }
        }
     
        hidden_tooltip = {
            any_attacker = {
                disband_event_forces = faction_revolters
                add_character_modifier = {
                    name = faction_succ_feudal_elective_ultimatum_timer
                    hidden = yes
                    duration = 3650
                }
            }
        }
        FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } }
    }
 
    on_reverse_demand = {
        ROOT = {
            show_scope_change = no
            prestige = -200
            prisoner = FROM
        }
        FROM = {
            show_scope_change = no
            participation_scaled_prestige = 100
            hidden_tooltip = {
                if = {
                    limit = { NOT = { has_opinion_modifier = { modifier = opinion_traitor who = ROOT } } } #Allow free revocation of a title.
                    opinion = {
                        who = ROOT
                        modifier = opinion_traitor
                    }
                }
            }
        }
        any_defender = {
            limit = { NOT = { character = FROM } }
            hidden_tooltip = { participation_scaled_prestige = 100 }
        }
     
        hidden_tooltip = {
            any_attacker = {
                limit = { liege = { character = FROM } }
                prisoner = FROM
                disband_event_forces = faction_revolters
                add_character_modifier = {
                    name = faction_succ_feudal_elective_ultimatum_timer
                    hidden = yes
                    duration = 3650
                }
            }
        }
     
        FROM = { hidden_tooltip = { disband_event_forces = faction_loyalists } }
    }

    attacker_ai_victory_worth = {
        factor = -1 # always accept
    }
 
    attacker_ai_defeat_worth = {
        factor = 100
    }

    defender_ai_victory_worth = {
        factor = -1 # always accept
    }
 
    defender_ai_defeat_worth = {
        factor = 100
    }
}

You're going to have to win this the hard way - my suggestion: defeat their armies a few times; make sure you have a high-martial siege general in the army; use his siege ability to take 2-3 holdings for every 1 they take; focus on taking the primary defender's personal demense while defending your personal demesne.
Cheers. Well, that sort of sucks. 8 Years down the drain as it ended inconclusively because he died from illness.
Wish there was a ticking warscore. I'll try getting a commander like that next time