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

LaimCJ

Private
13 Badges
Oct 2, 2018
11
0
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Shadowrun Returns
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sons of Abraham
  • Darkest Hour
How do I assign divine_blood and max_consorts to just one dynasty, without modifying dynasties.txt and religion.txt? I tried modifying the government files to put the max_consorts assigned to a specific dynasty (along with divine_blood in dynasties.txt) via "if" and did not work, if using the trigger would work?

PS: Sorry for the mistakes, English is not my language.
 

HandicapdHippo

General
63 Badges
Jul 26, 2012
1.935
1.283
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings III
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Stellaris: Megacorp
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Distant Stars
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Ancient Relics
  • Prison Architect
  • Stellaris: Nemesis
  • Europa Universalis IV
  • Imperator: Rome Sign Up
  • Crusader Kings II: Holy Fury
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Europa Universalis III Complete
  • Europa Universalis IV: Common Sense
  • Europa Universalis III Complete
  • Crusader Kings III: Royal Edition
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
You can specify divine blood on a dynasty via an event or descion that has the effect set_divine_blood = yes on any character in the dynasty.

tried modifying the government files to put the max_consorts assigned to a specific dynasty (along with divine_blood in dynasties.txt) via "if" and did not work, if using the trigger would work?
You can't have conditional features in governments, and you can't specify consorts for a single dynasty. This part is impossible with a whole new government form.
 

LaimCJ

Private
13 Badges
Oct 2, 2018
11
0
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Shadowrun Returns
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sons of Abraham
  • Darkest Hour
You can specify divine blood on a dynasty via an event or descion that has the effect set_divine_blood = yes on any character in the dynasty.

You can't have conditional features in governments, and you can't specify consorts for a single dynasty. This part is impossible with a whole new government form.

Can set_divine_blood be used in an event to start with the game? For my character is already married to his sister in 769.

Quanto as consortes. So there is no way to have max_consorts for a dynasty? I thought about creating a new form of government and assigning via scopes "potential" will that work?
 

LaimCJ

Private
13 Badges
Oct 2, 2018
11
0
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Shadowrun Returns
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sons of Abraham
  • Darkest Hour
I came up with this code, which is working, I have not tested if it restricts to what I want. I'll have to clean up the redundant codes, but at least it works.

Any suggestion?

Code:
    goth_feudal_government = {
        preferred_holdings = { CASTLE }
        allowed_holdings = {
            CASTLE
            FORT
            HOSPITAL
        }
        allowed_holdings_culture = { # Will not get the wrong government type penalty for tribes of the same culture
            TRIBAL
        }
        accepts_liege_governments = { # Gets the wrong religion modifier instead
            muslim_government
            theocratic_feudal_government
            chinese_imperial_government
        }
        free_revoke_on_governments_religion = { # Tribal vassals of other religions can have their titles revoked for free
            tribal_government
        }
        potential = {
            OR = {
                controls_religion = no
                religion_group = muslim
                has_religion_feature = religion_temporal_head
                AND = {
                    religion = norse_pagan_reformed
                    has_religion_features = no # Old saves, and campaigns without HF, need the Fylkirate to continue working
                }
                AND = {
                    religion = gothic # Test Gut-Piuda mod
                    has_religion_features = no # Old saves, and campaigns without HF, need the Fylkirate to continue working
                }
                AND = {
                    religion = gothic
                    culture = goth
                    dynasty = 2000000
                }
            }
            NOT = {    religion_group = muslim    }
            NOT = { is_government_potential = roman_imperial_government }
            NOT = { is_government_potential = order_government }
            NAND = {
                culture_group = tibetan_group
                OR = {
                    religion = bon
                    religion = bon_reformed
                    religion = buddhist
                }
                higher_tier_than = BARON
            }
            NAND = {
                tier = EMPEROR
                primary_title = { has_title_flag = pretender_chinese_empire }
                OR = {
                    culture_group = chinese_group
                    culture = khitan
                    culture = tangut
                    culture = jurchen
                    has_character_flag = chinese_imperial_government_preserve
                }
            }
            is_patrician = no
        }
        
        color = { 91 133 207 }
        
        dukes_called_kings = yes
        barons_need_dynasty = yes
        max_consorts = 3

        can_build_tribal = no
        
        ignore_in_vassal_limit_calculation = {
            tribal_government
        }
        capital_move_delay = 600
    }
 

JustynS

Corporal
67 Badges
Sep 2, 2015
37
3
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Synthetic Dawn
  • Crusader Kings II: Jade Dragon
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Europa Universalis IV: Res Publica
  • Magicka
  • Knights of Pen and Paper +1 Edition
  • King Arthur II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Necroids
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Together for Victory
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Age of Wonders
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Victoria 2
You can specify divine blood on a dynasty via an event or descion that has the effect set_divine_blood = yes on any character in the dynasty.


You can't have conditional features in governments, and you can't specify consorts for a single dynasty. This part is impossible with a whole new government form.

Well, I believe you could have it set up so that the government form is only usable by having membership in that dynasty (or having a specific bloodline) being a prerequisite for the government type.
 

LaimCJ

Private
13 Badges
Oct 2, 2018
11
0
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Shadowrun Returns
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sons of Abraham
  • Darkest Hour
Well, I believe you could have it set up so that the government form is only usable by having membership in that dynasty (or having a specific bloodline) being a prerequisite for the government type.

The code above is more or less for that, I'm just in doubt about where to put this, if it's near "is_patrician = no" or if I need to use an "if" for it, I put it in "OR" more is part if I'm not mistaken and for temporal governments. The "NANDs" are likely to refer to a possible liege.
 

LaimCJ

Private
13 Badges
Oct 2, 2018
11
0
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Shadowrun Returns
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sons of Abraham
  • Darkest Hour
I think it could also be possible for bloodlines like the Game of Thrones mod does.

The divine blood? I'm just using their script as a base, the problem is how to implement this right at the beginning (769), since the first character is already marrying with the sister. Maybe an "on action" to trigger the event?

The consorts are almost solved I just need to refine the code, and prevent others from using the government.