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

omega20056

Basileus Basileon
94 Badges
Dec 27, 2012
4.463
2.009
  • Crusader Kings III: Royal Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Battle for Bosporus
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris: Nemesis
  • March of the Eagles
  • Europa Universalis IV
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Green Cities
  • Stellaris: Federations
  • Europa Universalis IV: Res Publica
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Mare Nostrum
  • Imperator: Rome Deluxe Edition
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Third Rome
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: El Dorado
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Legacy of Rome
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mandate of Heaven
  • 500k Club
  • Stellaris: Ancient Relics
  • Victoria 2
  • Imperator: Rome
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Synthetic Dawn
  • Stellaris: Lithoids
I've added my new provinces to the province set up file, but I'm still getting a CTD when loading a character. I assume the file has to exactly match my changes, meaning I'll need to see what files I changed the number of settlements for?
 

IrishLord1943

Fuil Fionn Mac Cumhaill
17 Badges
Sep 21, 2012
67
36
  • Darkest Hour
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: Pre-order
I'm very new to modding and i'm currently attempting to add more restrictions to certain cb's. Can anyone tell me how to add piety or prestige requirements?
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
Don't think so; it's hard-coded, iirc. You could remove the localisation for the ruler titles and have them as allocated epithets (via event/check), presumably.

Does anyone know which part of the file I'd need to change in order to have a certain hairstyle used with a king-tier crown? I can't for the life of me remember how to do that.
interface/portrait_properties.txt
I'm very new to modding and i'm currently attempting to add more restrictions to certain cb's. Can anyone tell me how to add piety or prestige requirements?
Edit the can_use section of the relevant CBs in common/cb_types/
 

Provenance

Captain
53 Badges
Dec 20, 2012
331
1.106
  • Stellaris: Humanoids Species Pack
  • Stellaris: Necroids
Is it possible to mod the way a character is diplayed in game?

e.g.: William I "The Conquerer" de Normandie, King of England
instead of
King William I "The Conqueror" of England

or: Robert de Normandie, Duke of Normandy (no numbers)
istead of
Duke Robert I of Normandy

It's very possible to mod them, but the localisation keys are limited. I don't think there's a way to add your Dynasty name (you can make nicknames that show your Dynasty name though), Also, I haven't found a way to mod courtier names or names in tooltips. And I don't think Regnal numbers can be disabled.
The loc stuff:

NAME_W_NICK
TITLED_NAME_W_NICK
TITLED_NAME

Again, this covers only how the names of landed rulers are displayed on character screens, and how the text localises them.

You can mod these a fair bit. You can remove quotation marks from around nicknames for rulers (handy if you want Dynasty names as nicknames). You can display names in the order of "Robert, Duke of Normandy" by adding a comma after $NAME$ and moving $TITLE$ after $NAME$. You can also remove $TITLE$ and $HOLDING$ without any problems.
 
Last edited:

jursamaj

General
125 Badges
Aug 20, 2012
2.360
216
  • Victoria 2: Heart of Darkness
  • Hearts of Iron III
  • Heir to the Throne
  • Knights of Pen and Paper +1 Edition
  • Cities in Motion
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Victoria 2: A House Divided
  • Leviathan: Warships
  • Rome: Vae Victis
  • Stellaris
  • Europa Universalis IV: Pre-order
  • Magicka 2 - Signup Campaign
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis III
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis III: Chronicles
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Conclave
  • Europa Universalis III Complete
  • Europa Universalis IV: Common Sense
  • Europa Universalis III Complete
  • Pillars of Eternity
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: No Step Back
It's in the 02_traits file, and an event that creates a horse that's "race" is horse is in ZE_lunatic in the events folder.

Oh, duh!

I keep a separate search archive, with all the DLC zips exploded into the main directories. I use this when searching for stuff in the files. I need to update it with the newest files. :oops:
 

Voltspark

Captain
17 Badges
Aug 2, 2013
348
260
  • Crusader Kings II
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Crusader Kings III
  • Stellaris: Ancient Relics
  • Prison Architect
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Cities: Skylines
It's very possible to mod them, but the localisation keys are limited. I don't think there's a way to add your Dynasty name (you can make nicknames that show your Dynasty name though), Also, I haven't found a way to mod courtier names or names in tooltips. And I don't think Regnal numbers can be disabled.
The loc stuff:

NAME_W_NICK
TITLED_NAME_W_NICK
TITLED_NAME

Again, this covers only how the names of landed rulers are displayed on character screens.

You can mod these a fair bit. You can remove quotation marks from around nicknames for rulers (handy if you want Dynasty names as nicknames). You can display names in the order of "Robert, Duke of Normandy" by adding a comma after $NAME$ and moving $TITLE$ after $NAME$. You can also remove $TITLE$ and $HOLDING$ without any problems.
You could just make a duplicate of all of the nicknames that contains the dynasty name as well.
 

Fabl3d

Second Lieutenant
47 Badges
Jun 26, 2012
100
11
  • Crusader Kings II
  • Cities in Motion
  • Magicka
  • Leviathan: Warships
  • Heir to the Throne
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Dungeonland
  • 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
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sword of Islam
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Nemesis
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • 500k Club
  • War of the Roses
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Hearts of Iron IV: Expansion Pass
Im curious to know if its possible to mod the outline of the empire tier titles. For example how the HRE has the two headed eagle outline or the nomads have the two horses. Is it possible to change those into something else? Also how you would go about doing that?
 

Keizer Harm

Swamp German
40 Badges
Jan 28, 2013
2.737
4.097
  • Crusader Kings III: Royal Edition
  • Crusader Kings II: Sunset Invasion
  • Victoria 2
Im curious to know if its possible to mod the outline of the empire tier titles. For example how the HRE has the two headed eagle outline or the nomads have the two horses. Is it possible to change those into something else? Also how you would go about doing that?
It's in gfx/models/shields. There's some image files there, of which I am not sure how they are read, but I'm sure you could figure out with some trial and error.
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
Im curious to know if its possible to mod the outline of the empire tier titles. For example how the HRE has the two headed eagle outline or the nomads have the two horses. Is it possible to change those into something else? Also how you would go about doing that?

It's in gfx/models/shields. There's some image files there, of which I am not sure how they are read, but I'm sure you could figure out with some trial and error.

The .xac model files in that folder are completely unmoddable (without a ca. $13000 program which the vendor won't sell to private individuals), the .dds files are compressed image files used as skins. You can, however, use the Jorodox (I think that's the name) tool to import/export between Blender (I think) and Paradox .mesh model files. No, I won't look up the link for you, that's what the User Mod sticky is for.
 

Slayen

Lt. General
87 Badges
Dec 16, 2014
1.664
2.011
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Tyranny - Bastards Wound
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Mount & Blade: With Fire and Sword
  • Victoria 3 Sign Up
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Tyranny - Tales from the Tiers
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Humanoids Species Pack
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis IV
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars: First Colony Edition
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Teleglitch: Die More Edition
  • Victoria 2
  • Age of Wonders III
  • Imperator: Rome - Magna Graecia
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Quick question.

I've got a mod that moves fladers from k_frisia to k_france, and does so by modifying the landed_titles.txt

I'm wondering if I might be better served (and make it easier to update the mod in the face of any changes to said landed_titles.txt file) to instead use the title history files to make k_france it's dejure liege at some semi-arbitrary date.
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
Prior to 2.5, that probably wouldn't have been a viable solution as changes to de jure structure weren't properly being preserved on loading a save. Now it might be.
 

Slayen

Lt. General
87 Badges
Dec 16, 2014
1.664
2.011
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Tyranny - Bastards Wound
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Mount & Blade: With Fire and Sword
  • Victoria 3 Sign Up
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Tyranny - Tales from the Tiers
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Humanoids Species Pack
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Europa Universalis IV
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars: First Colony Edition
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Teleglitch: Die More Edition
  • Victoria 2
  • Age of Wonders III
  • Imperator: Rome - Magna Graecia
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Prior to 2.5, that probably wouldn't have been a viable solution as changes to de jure structure weren't properly being preserved on loading a save. Now it might be.
And to test this I would need to start the game with the mods., save, exit and then reload it, yes?
 

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines

Runite

Colonel
9 Badges
May 6, 2012
1.024
670
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Hearts of Iron IV Sign-up
Is it possible to mod lovers/friends/rivals and replace it with something else?

Instead of lovers, it can be someone in your court with a certain trait.

Guessing you can't, there seems to be hard coded scopes and conditions.
 
Last edited:

richvh

Preserver of the Light
63 Badges
Dec 1, 2001
14.691
1.999
Visit site
  • Stellaris: Leviathans Story Pack
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Knights of Pen and Paper 2
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Crusader Kings II: Jade Dragon
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2 Collection
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines

Runite

Colonel
9 Badges
May 6, 2012
1.024
670
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Hearts of Iron IV Sign-up
You can add a temporary character flag, then limit = { not has that flag } for the next two courtiers

oh and I wouldn't do any_courtier , I think you want random_courtier

Afterwards do a random_courtier scope that has that flag and remove the flag

do you have an example of this? i keep getting the same courtiers or none at all, lol
 

*Aqua*

First Lieutenant
55 Badges
Jun 20, 2015
272
252
  • Semper Fi
  • Crusader Kings II: Reapers Due
  • Cities: Skylines - Natural Disasters
  • Stellaris
  • Cities: Skylines - After Dark
  • Stellaris - Path to Destruction bundle
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Europa Universalis IV: Res Publica
  • Magicka
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Cities in Motion 2
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Green Cities
  • Cities: Skylines Industries
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Parklife
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Parklife Pre-Order
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Cities: Skylines
  • Victoria 2
  • Europa Universalis IV
Based on the Abdictation mod I created my own Abdicate Throne mod. I basically rewrote most of the code. You should get a descision in the intrigue tab but unfortunately I can't get it to show up.
The events I wrote and the localisation form them are working (tested in console) but the descision can't be found. The game logs say that my events can't be called because I set them all "is_triggered_only = yes".

The mod folder is as following:
...\Paradox Interactive\Crusader Kings II\mod\Abdicate_Throne
Sub folders are:
descisions -> abdicate_throne_descisions.txt
events -> abdicate_throne_events.txt
localisation -> 00_abdicate_throne_localisation.csv

This is the script of the descision. It's unfinished but it should show up. I commented from_potential and potential in and out. I added and removed the conditions in them but no success.
Code:
decisions = {

    abdicate_throne = {
        # Conditions on the decision taker for the decision to appear
        #from_potential = {
        #    ai = no
        #    is_ruler = yes
        #    is_feudal = yes
        #}
       
        #Conditions on the character for the decision to appear
        potential = {
            NOT = {
                has_character_flag = wants_to_abdicate
                has_character_flag = has_abdicated_throne
            }
        }        
       
        #Conditions for the decision to be enabled
        allow = {
            war = no
            prisoner = no           
           
            OR = {
                AND = {
                    primary_title = { tier = EMPEROR }
                    NOT = {
                        any_demesne_title = {
                            empire = {
                                has_law = succ_gavelkind
                            }
                        }
                    }
                }
                AND = {
                    primary_title = { tier = KING }
                    NOT = {
                        any_demesne_title = {
                            kingdom = {
                                has_law = succ_gavelkind
                            }
                        }
                    }
                }
                AND = {
                    primary_title = {
                        NOT = { has_law = succ_gavelkind }
                    }
                }
            }
           
            NOT = { trait = lunatic }
            NOT = { trait = possessed }
            NOT = { trait = imbecile }
            NOT = { trait = cruel }
            NOT = { trait = paranoid }
            NOT = {
                AND = {
                    trait = envious
                    trait = greedy
                }
            }
           
            OR = {
                AND = {
                    age = 30
                    OR = {
                        trait = content
                        trait = humble
                    }
                    OR = {
                        trait = shy
                        trait = craven
                    }
                }
                AND = {
                    age = 40
                    OR = {
                        trait = depressed
                        trait = stressed
                    }                           
                }
                age = 50
            }
           
            current_heir = {
                is_adult = yes
                dynasty = ROOT
                NOR = {
                    has_character_flag = has_abdicated_throne
                    has_character_flag = refused_abdication
                }
            }
           
            prestige = 750
        }
       
        #Commands executed when taking the decision
        effect = {
            set_character_flag = wants_to_abdicate
            current_heir = {
                character_event = {
                    id = ABDICATETHRONE.01
                    days = 3
                    random = 3
                    tooltip = "ABT.000.Tooltip"
                }
            }
        }
       
        #Factors for an AI character to take the decision (1 = 100% chance)
        ai_will_do = {
            factor = 0 # Prevent AI from doing (can cause major crashes)
        }       
    }
}
I don't know what's wrong.