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

Silversweeeper

Ichi no Hito
58 Badges
Aug 24, 2012
3.951
2.853
  • Stellaris - Path to Destruction bundle
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Distant Stars
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Europa Universalis IV
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Charlemagne
  • Stellaris Sign-up
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • Crusader Kings II
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III Complete
  • Magicka
Is there a way to create a claimant-style faction ("I'm backing character X for [whatever]") that doesn't restrict X to claimants and people that could get elected if a title is elective, which apparently is a hardcoded limit for the "liege_titles_w_claimant" type?

The "character" and "liege_titles" types only allow a single faction of a certain kind type per realm (for "character") or title (for "liege_titles") and being able to have competing factions without requiring a claim on the title (which comes with a lot of side-effects, like being eligible for claimant factions and hating the title holder because of the claim) would be very nice (both in general and for a couple of applications I have in mind).
 

Kingsaver

Second Lieutenant
37 Badges
Dec 10, 2017
100
141
  • Hearts of Iron IV: Together for Victory
  • Arsenal of Democracy
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • 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: Jade Dragon
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Semper Fi
I have started including the ai in some targeted decisions and I am confused. Who does the ai "play"?

I want other playable characters to have the possibility to use the decision and by using ai_will_do it works quit well. What I do not want is for the ai to start using the decision on my (the player) " turf " . Recently I have made a decision whereby a prisoner can be turned into a slave and suddenly I find the ai turning my prisoners into slaves. How can I stop the ai from doing this?

I want to try using the filters, but if for example I (the player) am the king of France does using the <court > filter for the ai_target_filter refer to the <court> of any playable character that takes the decision ( ie the English court if the English king takes the decision) or will it also trigger the ai to search in my ( the French) court. If so how can I limit this?

Same question for scopes. If I use FROM in the ai_will_do block, is FROM the (non-playing) decision taker, and only my player character if I , the player, take the decision?
 

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
Who does the ai "play"?
Every character is considering a separate ai for the purposes of descion evaluations.

How can I stop the ai from doing this?
Put ai = yes in the potential, then it cant be targeted at any player.

I (the player) am the king of France does using the <court > filter for the ai_target_filter refer to the <court> of any playable character that takes the decision ( ie the English court if the English king takes the decision) or will it also trigger the ai to search in my ( the French) court. If so how can I limit this?
The two filters work the same, it limits who the descion taker can target, the reason they are separate is for perfomance, you may want a player to be able to target any character in the world, but if every ai could do that it would a lot of overhead so you limit it to their realm for example.

If I use FROM in the ai_will_do block, is FROM the (non-playing) decision taker, and only my player character if I , the player, take the decision?
yes.
 

Kingsaver

Second Lieutenant
37 Badges
Dec 10, 2017
100
141
  • Hearts of Iron IV: Together for Victory
  • Arsenal of Democracy
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • 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: Jade Dragon
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Semper Fi
Thank you for the answer.

I tried using ai = yes in the decisions but it does not seem to work.

I will give an other example. It is the decision to appoint a court_torturer which is a minor title I modded.

To get the ai to also appoint one I made the following targeted_decision:

Code:
#targetted_decision to encourage the ai to give out the title of court torturer
    # FROM is the decision taker ROOT is the targeted Character
    et_appoint_torturer = {
    
        filter = court
        
        from_potential = {                                 #player   
                        is_marriage_adult = yes
                        prisoner = no
                        NOT = {
                            trait = incapable
                        }
                        capital_scope = {
                                    OR = {
                                        has_building = et_torture_chamber
                                        has_building = et_torture_hut
                                    }   
                        }           
        }
        potential = {
                    is_marriage_adult = yes
                    prisoner = no
                    NOR = {
                        trait = incapable
                        trait = trained_warrior_slave
                        trait = trained_pleasure_slave
                        trait = broken_in
                        trait = slave
                    }
                                
        }
        
        allow = {
            always = yes
        }
        
            
        effect = {
            character_event = { id = ETT.700 }
                
        }
        ai_will_do = {
            factor = 1
            modifier = {
                    factor = 1.5
                    FROM = {
                        OR = {               
                            trait = martial_cleric
                            trait = theologian
                            trait = greedy
                            trait = arbitrary
                            trait = cynical
                        }
                    }
            }
            modifier = {
                    factor = 2
                    FROM = {
                        OR = {
                            trait = zealous
                            trait = rapist
                            trait = impaler
                            trait = cruel
                            trait = paranoid
                        }
                    }   
            }
            modifier = {
                    factor = 3
                        FROM = {
                            OR = {
                                trait = lunatic
                                trait = sociopath
                                trait = possessed
                            }
                        }
            }
            modifier = {
                    factor = 0.5
                        FROM = {
                            OR = {
                                trait = kind
                                trait = charitable
                            }
                        }
            }
            modifier = {
                    factor = 0
                        FROM = {
                            OR = {
                                trait = infirm
                            }
                        }
            }   
        }
    }

The triggered event is as follows:

Code:
character_event = {
    id = ETT.700
    hide_window = yes

    is_triggered_only = yes
    
    immediate = {
                any_courtier = {
                            give_minor_title = et_title_torturer
                }
    }           

}

In this case I had appointed a court_torturer myself and then found out that the ai had already appointed a court_torturer in my court, who did not even show up in my councilors tab.
There is only one slot available. So what am I doing wrong?
 

Kingsaver

Second Lieutenant
37 Badges
Dec 10, 2017
100
141
  • Hearts of Iron IV: Together for Victory
  • Arsenal of Democracy
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • 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: Jade Dragon
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Semper Fi
I know. However, after having created the minor title I found that the ai was very reluctant to grant it. Someone on this forum suggested I make a decision for it, because apparently the ai likes taking decisions. It worked because the ai did start appointing court_torturers. My problem now is not that the ai appoints them, but that it appoints my courtiers as court torturers, not just one but almost everyone! And this event though the grant_ limit is 1. I presume this means only one can be appointed? Or does it mean everyone can only appoint one? But why in my court?
 

Nendur

Colonel
1 Badges
Dec 16, 2013
882
197
  • Crusader Kings II
I know. However, after having created the minor title I found that the ai was very reluctant to grant it. Someone on this forum suggested I make a decision for it, because apparently the ai likes taking decisions. It worked because the ai did start appointing court_torturers. My problem now is not that the ai appoints them, but that it appoints my courtiers as court torturers, not just one but almost everyone! And this event though the grant_ limit is 1. I presume this means only one can be appointed? Or does it mean everyone can only appoint one? But why in my court?
Use random_courtier instead of any_courtier to get only one target.
Add a only_rulers = yes pre-trigger to the decision if it's your own courtiers appointing people.
 

Whizzer

CKPlus Triumvirate
77 Badges
Jun 17, 2014
1.625
799
  • 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
I know. However, after having created the minor title I found that the ai was very reluctant to grant it. Someone on this forum suggested I make a decision for it, because apparently the ai likes taking decisions. It worked because the ai did start appointing court_torturers. My problem now is not that the ai appoints them, but that it appoints my courtiers as court torturers, not just one but almost everyone! And this event though the grant_ limit is 1. I presume this means only one can be appointed? Or does it mean everyone can only appoint one? But why in my court?

Assigning by command ignores the grant limit, so you'll have to check that it hasn't been exceeded yet.
 

Thezezeal_

Corporal
15 Badges
Jul 4, 2016
31
1
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
Am I correct in assuming that the below would scope to any Province that a) the Player does not control, and b) is not controlled by any of the Player's vassals? If not, what would be the correct way of doing it?

Code:
any_province = { # Any Province
   limit = { 
      holder_scope = { # Whose Holder
         ai = yes  # Is An AI
         NOT = { # And DOES NOT have
            any_liege = { # Any Liege 
               ai = no # Who is not an AI
            }
         }
      }
   }
}
 

Whizzer

CKPlus Triumvirate
77 Badges
Jun 17, 2014
1.625
799
  • 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
Am I correct in assuming that the below would scope to any Province that a) the Player does not control, and b) is not controlled by any of the Player's vassals? If not, what would be the correct way of doing it?

Code:
any_province = { # Any Province
   limit = {
      holder_scope = { # Whose Holder
         ai = yes  # Is An AI
         NOT = { # And DOES NOT have
            any_liege = { # Any Liege
               ai = no # Who is not an AI
            }
         }
      }
   }
}

Looks correct to me.
 

jprik04

Private
62 Badges
Oct 14, 2017
22
0
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Battle for Bosporus
  • Stellaris: Federations
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Sunset Invasion
  • Stellaris: Lithoids
  • Europa Universalis IV
  • Stellaris: Ancient Relics
  • Prison Architect
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Europa Universalis IV: Res Publica
  • Stellaris: Nemesis
  • Victoria 2
  • Victoria 2: A House Divided
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
Hey everyone, I'm having an issue with adding rivers to my map. The start of the river becomes a straight line that extends to the very left of my map. I have no idea why this happens. I have included some screenshots showing the issue.
 

Attachments

  • Screenshot_1.png
    Screenshot_1.png
    6 KB · Views: 10
  • Screenshot_2.png
    Screenshot_2.png
    1,2 MB · Views: 8

Yonni

Sergeant
21 Badges
Sep 24, 2012
74
1
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Victoria 2
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
I have two questions that I’ve tried searching for but alas. My modding skills are pitiful.

Do I just have to edit the factors regarding sainthood to prevent characters from getting beatified regularlly? I would like for it to be an exceptionally rare event because baseline it is excessive and irritating imo. But i also don’t want to screw it up to where it never happens lol.

Similarly, is it even possible to simply alter base health lower for every character or would it require too much work?
 

junassa

General
54 Badges
May 10, 2017
2.043
1.202
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Crusader Kings III
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Battle for Bosporus
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Stellaris: Ancient Relics
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis 4: Emperor
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • 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: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
So my modded games crash to desktop now when I go to the inheritance tab and hover over "eldership" (it could just be the tab but I'm trying to change succession type to eldership, because I'm going from Muslim to African Pagan starting in 1337). I'm sure I can isolate whichever mod is doing it just by launching them one at a time but after that I have no clue what I'm looking for in terms of correcting the issue. I did make a mod change to succession to make it compatible with African Religions Overhaul but I had that mod disabled and I still had the same problem.
 

Kingsaver

Second Lieutenant
37 Badges
Dec 10, 2017
100
141
  • Hearts of Iron IV: Together for Victory
  • Arsenal of Democracy
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • 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: Jade Dragon
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Semper Fi
Use random_courtier instead of any_courtier to get only one target.
Add a only_rulers = yes pre-trigger to the decision if it's your own courtiers appointing people.
[QUOTEAssigning by command ignores the grant limit, so you'll have to check that it hasn't been exceeded yet.][/QUOTE]

I tried following your advice and did the following:

Code:
et_appoint_torturer = {
    
        
        only_rulers = yes
        filter = court
        
        from_potential = {
                                    
                        is_marriage_adult = yes
                        prisoner = no
                        NOT = {
                            trait = incapable
                        }
                        capital_scope = {
                                    OR = {
                                        has_building = et_torture_chamber
                                        has_building = et_torture_hut
                                    }   
                        }           
        }
        potential = {
                    is_marriage_adult = yes
                    prisoner = no
                    NOR = {
                        trait = incapable
                        trait = trained_warrior_slave
                        trait = trained_pleasure_slave
                        trait = broken_in
                        trait = slave
                    }
                                
        }
        
        allow = {
            always = yes
        }
        
            
        effect = {
            character_event = { id = ETT.700 }
                
        }
        ai_will_do = {
            factor = 1
            modifier = {
                    factor = 1.5
                    FROM = {
                        OR = {               
                            trait = martial_cleric
                            trait = theologian
                            trait = greedy
                            trait = arbitrary
                            trait = cynical
                        }
                    }
            }
            modifier = {
                    factor = 2
                    FROM = {
                        OR = {
                            trait = zealous
                            trait = rapist
                            trait = impaler
                            trait = cruel
                            trait = paranoid
                        }
                    }   
            }
            modifier = {
                    factor = 3
                        FROM = {
                            OR = {
                                trait = lunatic
                                trait = sociopath
                                trait = possessed
                            }
                        }
            }
            modifier = {
                    factor = 0.5
                        FROM = {
                            OR = {
                                trait = kind
                                trait = charitable
                            }
                        }
            }
            modifier = {
                    factor = 0
                        FROM = {
                            OR = {
                                trait = infirm
                            }
                        }
            }   
        }
    }

and

Code:
character_event = {
    id = ETT.700
    hide_window = yes   

    is_triggered_only = yes
    
    immediate = {
            if = {
                limit = {
                        NOT = {
                            any_courtier_or_vassal = {
                                                    has_minor_title = et_title_torturer
                                                    liege = { character = PREVPREV }
                            }
                        }   
                }                                                       
                random_courtier = {
                            limit = {
                                    is_marriage_adult = yes
                                    prisoner = no
                                    NOR = {
                                        trait = incapable
                                        trait = trained_warrior_slave
                                        trait = trained_pleasure_slave
                                        trait = broken_in
                                        trait = slave
                                    }
                            }                       
                            give_minor_title = et_title_torturer
                }
            }                               
    }           

}

But my courtiers and vassals keep appointing torturers in great numbers in my court.
They are rulers so the only_rulers doesn't stop them, but some of them are also playable so neither will only_playable. How can I limit the decision to only me in my own court without blocking the ai from also doing it outside my court?

I tried to set a limit in the event (do not appoint a torturer if one already exists ) but it does not work.
 

Whizzer

CKPlus Triumvirate
77 Badges
Jun 17, 2014
1.625
799
  • 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
I tried following your advice and did the following:

<snip>

But my courtiers and vassals keep appointing torturers in great numbers in my court.
They are rulers so the only_rulers doesn't stop them, but some of them are also playable so neither will only_playable. How can I limit the decision to only me in my own court without blocking the ai from also doing it outside my court?

I tried to set a limit in the event (do not appoint a torturer if one already exists ) but it does not work.

Try using 'home_court' instead of 'court'.

I'm not sure why you're firing an event when you can put all the logic inside the targeted decision instead.
 

LaTueur

Regent
9 Badges
Jul 29, 2014
101
94
  • Crusader Kings II
  • Europa Universalis IV
  • Crusader Kings II: Horse Lords
  • Hearts of Iron IV Sign-up
  • Age of Wonders III
  • Crusader Kings III
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
I have two questions that I’ve tried searching for but alas. My modding skills are pitiful.

Do I just have to edit the factors regarding sainthood to prevent characters from getting beatified regularlly? I would like for it to be an exceptionally rare event because baseline it is excessive and irritating imo. But i also don’t want to screw it up to where it never happens lol.

Similarly, is it even possible to simply alter base health lower for every character or would it require too much work?
For the first one, edit events/HF_sainthood_events.txt, search for the first random and change the chance to a lower value.
For the second, I think you can create a triggered_modifier. Leave potential and allow empty. Put health = -x and an icon in.

So my modded games crash to desktop now when I go to the inheritance tab and hover over "eldership" (it could just be the tab but I'm trying to change succession type to eldership, because I'm going from Muslim to African Pagan starting in 1337). I'm sure I can isolate whichever mod is doing it just by launching them one at a time but after that I have no clue what I'm looking for in terms of correcting the issue. I did make a mod change to succession to make it compatible with African Religions Overhaul but I had that mod disabled and I still had the same problem.
I would recommend trying with Validator, if you hadn't already.
 

TheDungen

Field Marshal
80 Badges
Jan 31, 2015
12.131
7.923
  • Crusader Kings II: Jade Dragon
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Conclave
  • Cities: Skylines
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Humble Paradox Bundle
  • Crusader Kings II: Horse Lords
  • Stellaris: Nemesis
  • War of the Roses
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis IV
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Age of Wonders
  • Age of Wonders II
  • Teleglitch: Die More Edition
  • Victoria 2
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Pre-order
  • Stellaris: Synthetic Dawn
Is there a simple way to mod the game to slow down tech growth across the board? For an example just multiply the cost of every tech with something?