GodModder

Sergeant
21 Badges
May 10, 2021
62
6
  • Stellaris
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Shadowrun: Hong Kong
  • Shadowrun Returns
  • Stellaris: Apocalypse
  • Age of Wonders III
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II
  • Crusader Kings II: Conclave
  • Magicka 2
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Majesty 2 Collection
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
I'd like to write an event that fires when there exists any murder plot against anyone with a particular custom trait (held_in_awe), and would then end the plot automatically.

I'm not sure how to call this though. There's a condition for is_plot_target_of, but I'm not sure how to use that in this case, because I'd figure is_plot_target would be what to use for someone being plotted against - but there is no is_plot_target condition, just is_plot_target_of.

I feel like I'm brain farting and that this should be much easier to figure out than it is for me.
 

gza1991

Private
Apr 7, 2019
12
0
Hello. I am trying to figure out how to have a dispense justice event. I have it setup but when I go to have the prisoner kiilled I kill myself. How can I have the event target the prisoner? PS I would also like to pick specific people as my champion with their photos and names showing up in the text and event box. Please help!
Hello. I was able to figure it out by making another event directed at my target. But would anyone still be willing to help me out with setting up champions ( have a specific person do the killing for me?)
 

Judicatio

Private
1 Badges
Jun 26, 2020
16
0
  • Crusader Kings II: The Old Gods
How can i fix the shiled on this cavalry? it's only happened on rebel troops with shield. It's really immersion breaking because Christians shouldn't use a shield with "Allah" written on it. I've tried eveything, I don't know what to do anymore.
 

Attachments

  • 20210926222146_1.jpg
    20210926222146_1.jpg
    759,4 KB · Views: 0

neutrondecay

Colonel
23 Badges
Oct 1, 2015
996
592
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Holy Fury Pre-order
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
Is there a way to ensure that historical bloodlines are passed through matrilineal unions? I have a bloodline in our mod, where the historical founder is from dynasty A, and the heads of three different 'present day' dynasties (let's call them B, C and D) are all canonically members of the bloodline. I have set up the bloodline in the character history file like so:
Code:
    797.1.1 = {
        create_bloodline = {
            type = specific_bloodline # type defined in bloodlines file
        }
    }
and the bloodline itself defined like this:
Code:
specific_bloodline = {
    picture = picture = GFX_bloodlines_symbol_sunni
    inheritance = patrilineal
    allow_bastards = no
    # effects of the bloodline go here
    flags = { historical_bloodline bloodline_endearing }
}
And that duly gives the bloodline to the founder and all his male-line descendants. But the male line dies out. The last member has a sister, and she's married matrilineally to a member of another dynasty; his history has the following clause:
Code:
    925.1.1 = { add_matrilineal_spouse = 62248 } # 62248 is the daughter of a patrilineal descendant of the founder
But despite that, the descendants of this couple do not get the bloodline.

So I added a clause to their son's history:
Code:
    927.1.1 = { 
        birth = yes 
        effect = {
            add_to_bloodline = specific_bloodline
        }
    }
But that makes no difference. What am I missing?

Thanks,

nd
 

Whizzer

CKPlus Triumvirate
76 Badges
Jun 17, 2014
1.120
287
  • Semper Fi
  • Hearts of Iron III Collection
  • Heir to the Throne
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • Victoria: Revolutions
  • Rome Gold
  • Cities in Motion
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • A Game of Dwarves
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Crusader Kings III
  • Europa Universalis IV
So I added a clause to their son's history:
Code:
    927.1.1 = { 
        birth = yes 
        effect = {
            add_to_bloodline = specific_bloodline
        }
    }
But that makes no difference. What am I missing?

Thanks,

nd

'add_to_bloodline' takes a bloodline scope, not a bloodline type.

Also, from what I read on the wiki, this situation requires the bloodline to have 'matrilineal_override = yes' to work as desired:

If set, in matrilineal marriages or when there's no known father, the mother will be able to pass on the bloodline even if it is patrilineal, and the father will be able to pass on the bloodline even if it is matrilineal. Defaults to "yes"; set to "no" to disable.
 

neutrondecay

Colonel
23 Badges
Oct 1, 2015
996
592
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Holy Fury Pre-order
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
'add_to_bloodline' takes a bloodline scope, not a bloodline type.

Also, from what I read on the wiki, this situation requires the bloodline to have 'matrilineal_override = yes' to work as desired.
How do I scope to a specific bloodline from inside a history file, please?

According to the wiki, matrilineal_override is 'yes' by default - I have it set to 'no' on another bloodline in the same area, and the two bloodlines display differently in-game.

Thanks,

nd
 

Whizzer

CKPlus Triumvirate
76 Badges
Jun 17, 2014
1.120
287
  • Semper Fi
  • Hearts of Iron III Collection
  • Heir to the Throne
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • Victoria: Revolutions
  • Rome Gold
  • Cities in Motion
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • A Game of Dwarves
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Crusader Kings III
  • Europa Universalis IV
How do I scope to a specific bloodline from inside a history file, please?

According to the wiki, matrilineal_override is 'yes' by default - I have it set to 'no' on another bloodline in the same area, and the two bloodlines display differently in-game.

Thanks,

nd

The same way you do it in normal script. 'effect'-clauses in history files contain normal script. You may prefer to use 'propagate_bloodline_from' in the mother's character block instead, to ensure all descendants of the son also get the bloodline, since 'effect'-blocks in history files aren't executed until after starting a game.
 

neutrondecay

Colonel
23 Badges
Oct 1, 2015
996
592
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Holy Fury Pre-order
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
The same way you do it in normal script. 'effect'-clauses in history files contain normal script. You may prefer to use 'propagate_bloodline_from' in the mother's character block instead, to ensure all descendants of the son also get the bloodline, since 'effect'-blocks in history files aren't executed until after starting a game.
OK, I'm gradually working this out. propagate_bloodline_from is clearly the command I need, but how do I scope to a bloodline, rather than a bloodline type, in a history file? I tried this:
Code:
    927.1.1 = { 
        birth = yes 
        c_62248 = {
            random_owned_bloodline = {
                effect = {
                    propagate_bloodline_from = ROOT
                }
            }
        }
    }
in the history block for the first intended bloodline member in dynasty B, where his mother's ID is 62248. This doesn't propagate the bloodline, and also has the weird effect of disabling every successive date block for that character, so that he appears alive (and lacking his distinctive nickname) when play begins. The same happens if I use "mother = {" instead of "c_62248 = {".

It really is strange that there's no way to scope to a specific bloodline by name.

nd
 

Whizzer

CKPlus Triumvirate
76 Badges
Jun 17, 2014
1.120
287
  • Semper Fi
  • Hearts of Iron III Collection
  • Heir to the Throne
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • Victoria: Revolutions
  • Rome Gold
  • Cities in Motion
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • A Game of Dwarves
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • 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
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • War of the Roses
  • Crusader Kings III
  • Europa Universalis IV
OK, I'm gradually working this out. propagate_bloodline_from is clearly the command I need, but how do I scope to a bloodline, rather than a bloodline type, in a history file? I tried this:
Code:
    927.1.1 = { 
        birth = yes 
        c_62248 = {
            random_owned_bloodline = {
                effect = {
                    propagate_bloodline_from = ROOT
                }
            }
        }
    }
in the history block for the first intended bloodline member in dynasty B, where his mother's ID is 62248. This doesn't propagate the bloodline, and also has the weird effect of disabling every successive date block for that character, so that he appears alive (and lacking his distinctive nickname) when play begins. The same happens if I use "mother = {" instead of "c_62248 = {".

It really is strange that there's no way to scope to a specific bloodline by name.

nd

It should be formatted like this:
Code:
927.1.1 = { 
    birth = yes 
    effect = {
		c_62248 = {
            random_owned_bloodline = {
                propagate_bloodline_from = ROOT
            }
        }
    }
}

I don't know if ROOT can be used here, but the alternative would be to simply use the son's character ID directly.
 

Flamestar

Sergeant
35 Badges
Oct 20, 2018
67
218
20
  • Crusader Kings III
  • Imperator: Rome
  • Crusader Kings II
  • Europa Universalis IV
  • Crusader Kings II: Legacy of Rome
  • Hearts of Iron IV: Cadet
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Victoria 2
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
Is it possible to allow a culture to Overrule a religion on Divine Marriage. Like Allow it when it wouldn't be? If so how?