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

Maleficus

Major
89 Badges
Dec 10, 2009
615
6
  • Sengoku
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Majesty 2
  • A Game of Dwarves
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • March of the Eagles
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Rajas of India
  • Cities in Motion
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • For The Glory
  • 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: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • War of the Roses
  • Empire of Sin
  • Europa Universalis III Complete
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
I've had just about enough of this utterly ridiculous faction system where people who like me +100 are still joining factions to depose me. Any way I can mod who will/won't join factions?
 

Bloodly

Captain
41 Badges
Jul 24, 2008
480
11
  • Stellaris: Distant Stars
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Galaxy Edition
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • 500k Club
  • Warlock: Master of the Arcane
  • Impire
  • 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
  • Imperator: Rome
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Majesty 2
  • Stellaris: Synthetic Dawn
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • Crusader Kings II: Reapers Due
  • Cities in Motion
You can choose who can loot and who can not in 00_religions.txt in the religion folder in the common folder. Add to the religion you want this line: "allow_looting = yes". You can also mod who can use river movement here.

Now, do you have to add this for ALL religions(I.E Heresies and such), or just the 'parents'(Catholic, Muslim, etc)? I'm trying to make it so EVERYONE can Raid.
 

Meneth

Crusader Kings 3 Programmer
153 Badges
Feb 9, 2011
10.056
5.378
www.paradoxwikis.com
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Hearts of Iron IV: Expansion Pass
  • Steel Division: Normand 44 Sign-up
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Magicka: Wizard Wars Founder Wizard
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: El Dorado
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH: Flashpoint
  • Crusader Kings II: Conclave
  • Surviving Mars
  • Cities: Skylines Industries
  • Stellaris: Galaxy Edition
  • BATTLETECH
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Stellaris: Humanoids Species Pack
  • Prison Architect
  • Crusader Kings II: The Old Gods
  • Cities: Skylines - Campus
  • Hearts of Iron IV: No Step Back
  • BATTLETECH - Digital Deluxe Edition
  • Crusader Kings Complete
  • Cities: Skylines - Parklife
  • Europa Universalis IV
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • 500k Club
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis III Complete
  • Cities: Skylines - Mass Transit
  • Europa Universalis III Complete
  • Cities: Skylines - Green Cities
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Rule Britannia
Now, do you have to add this for ALL religions(I.E Heresies and such), or just the 'parents'(Catholic, Muslim, etc)? I'm trying to make it so EVERYONE can Raid.
You'll probably have to do it for all of them; to my knowledge to religion features carry down to heresies.
 

Aardvark Bellay

Lord Wuffington of Grumpytown by the barks
21 Badges
Apr 5, 2001
15.447
2.861
  • Divine Wind
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Victoria: Revolutions
  • Heir to the Throne
  • Crusader Kings II
  • Europa Universalis III
  • Deus Vult
  • 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: Charlemagne
I've had just about enough of this utterly ridiculous faction system where people who like me +100 are still joining factions to depose me. Any way I can mod who will/won't join factions?

Don't know about the modding side, but joining while having a +100 relationship may happen as the faction leader has used his spymaster to make/convince this character to join.
You can use your spymaster as well to reverse this. Just sayin' in case you don't know.
 

Maleficus

Major
89 Badges
Dec 10, 2009
615
6
  • Sengoku
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Majesty 2
  • A Game of Dwarves
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • March of the Eagles
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Rajas of India
  • Cities in Motion
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • For The Glory
  • 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: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • War of the Roses
  • Empire of Sin
  • Europa Universalis III Complete
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
Don't know about the modding side, but joining while having a +100 relationship may happen as the faction leader has used his spymaster to make/convince this character to join.
You can use your spymaster as well to reverse this. Just sayin' in case you don't know.

You're right, I don't know. How is that done?

As far as I can tell, factions are ridiculously overpowered, and need a lot of balancing both in terms of who will join AND things to do to work against them....
 

Aardvark Bellay

Lord Wuffington of Grumpytown by the barks
21 Badges
Apr 5, 2001
15.447
2.861
  • Divine Wind
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Victoria: Revolutions
  • Heir to the Throne
  • Crusader Kings II
  • Europa Universalis III
  • Deus Vult
  • 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: Charlemagne
You're right, I don't know. How is that done?

As far as I can tell, factions are ridiculously overpowered, and need a lot of balancing both in terms of who will join AND things to do to work against them....

When you got a faction with several members, check who has the most military and use your spymaster (left option) to convince him to leave or murder him, assuming he has been 'convinced' by the faction leader.
If you got more questions gameplay related, please post them in the general forum or/and Quick Answers thread.
Sorry, i still don't know about the modding side. ;)
 

Math2

Major
22 Badges
Apr 2, 2012
556
0
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Rome Gold
  • Victoria: Revolutions
  • March of the Eagles
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: Pre-order
Stick something like this in can_use:
NOT = { has_character_modifier = holy_war_cooldown }

And make a segment like this:
on_add = {
ROOT = {
add_character_modifier = {
name = holy_war_cooldown
duration = 1825
}
}
}

Edit: That is, assuming you're talking about CBs.

I was, and thanks, but I got it just before I looked here :)

Thanks again
 

VoodooEconomist

General
107 Badges
Mar 20, 2009
2.050
2.781
  • Impire
  • Europa Universalis IV: Res Publica
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Victoria 2
  • 500k Club
  • Stellaris: Digital Anniversary Edition
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Way of Life
  • Magicka 2 - Signup Campaign
  • Magicka 2
  • Sengoku
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Victoria 3 Sign Up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Tyranny: Archon Edition
  • Divine Wind
  • BATTLETECH
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Mass Transit
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Stellaris: Apocalypse
  • Europa Universalis III Complete
  • Sword of the Stars
  • Europa Universalis IV
  • Tyranny: Archon Edition
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Tyranny: Gold Edition
  • Heir to the Throne
  • Europa Universalis III Complete
  • Tyranny - Bastards Wound
  • Europa Universalis III Complete
  • Victoria: Revolutions
I'm playing TOG with the High Chief of Greater Poland, formed Poland and now the gavelkind succession wants to give away my capital Gniezno to my youngest, since the de jure capital of Poland is Kraków, which I don't even control. Historically Gniezno was the capital until 1038, so this breaks immersion for me, and I've decided for the first time to mod a bit myself.

Now, I know how to change the capital to Gniezno for de jure Poland. I will probably manage to write a decision that allows me to change it to Kraków when Christian (basing on the LoR Constantinople->Rome decision should go fine, right?). But what should I do so that Kraków is the de jure capital for the 1066 start? Is it possible to integrate that, or should I simply keep a copy of the unmodded files and use them when I want a 1066 start?
 

Dhop84

Major
4 Badges
Dec 28, 2012
790
0
  • Crusader Kings II
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
the event that this local code goes with shows up as blank can anyone tell me why this would be by looking at this please

Code:
EVTDESCPinkernes.0;As the Pinkernes I shall serve drinks at the imperial table, guard against poison in my [Root.Liege.GetTitle]'s kylix and sometimes test the wine by tasting it to make sure no one has poisoned it. Too bad I do not like my liege and might accidentally serve bad wine;;;;;;;;;x;
EVTOPTAPinkernes.0;Poison the wine [Root.Liege.GetTitledFirstName] will drink;;;;;;;;;x;
EVTTOOLTIPPinkernes.1;The poison was discovered before any damage was done;;;;;;;;;x;
EVTOPTBPinkernes.0;I dare not risk my position at [Root.Liege.GetTitledFirstName]'s court;;;;;;;;;x;
EVTDESCPinkernes.1;My trustworthy Pinkernes [From.GetTitledFirstName] served the wine as always and even though it did taste a bit strange I did not reflect upon it until it was too late! The wine must have been poisoned, why else would I feel this way?;;;;;;;;;x;
EVTOPTAPinkernes.1;Imprison that [From.GetManWoman]! Obey my voice;;;;;;;;;x;
EVTTOOLTIPAPinkernes.2;Pinkernes [This.GetTitledFirstName] is imprisoned by the lunatic [Root.GetTitledFirstName];;;;;;;;;x;
EVTOPTBPinkernes.1;A night of stomach cramps convinced me of [From.GetTitledFirstName] guilt;;;;;;;;;x;
EVTTOOLTIPBPinkernes.2;The poison caused nothing more than stomach cramps, Pinkernes [This.GetTitledFirstName] is imprisoned;;;;;;;;;x;
EVTOPTCPinkernes.1;I am merciful when I imprison you, [From.GetTitledFirstName]! You should be dead;;;;;;;;;x;
EVTTOOLTIPCPinkernes.2;[Root.GetTitledFirstName]'s imprisons Pinkernes [This.GetTitledFirstName] but would rather see [This.GetHerHim] dead;;;;;;;;;x;
EVTOPTDPinkernes.1;For the Pinkernes it is death! I mean, kill [From.GetHerHim];;;;;;;;;x;
EVTOPTEPinkernes.1;For your treason you will die;;;;;;;;;x;
EVTOPTFPinkernes.1;I would kill you myself if I had the strength;;;;;;;;;x;
EVTDESCPinkernes.2;It seems my treason reached the wrong ears! The poison in the wine, why did I trust it to kill [From.GetTitledFirstName]? I should have done it with my own two hands;;;;;;;;;x;
EVTOPTAPinkernes.2;At least the bastard is sick as a dog;;;;;;;;;x;
EVTOPTBPinkernes.2;[From.GetTitledFirstName] did not even get sick;;;;;;;;;x;
EVTOPTCPinkernes.2;The poison made [From.GetHerHim] insane at least;;;;;;;;;x;
 

burny26

In bruges giving good tumbles
100 Badges
Sep 10, 2010
1.148
54
  • Sengoku
  • Pillars of Eternity
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • March of the Eagles
  • Mount & Blade: Warband
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Heir to the Throne
  • Ship Simulator Extremes
  • Sword of the Stars
  • Pride of Nations
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Cossacks
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Pre-order
  • Magicka 2 - Signup Campaign
  • Europa Universalis III
  • Arsenal of Democracy
  • 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
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Europa Universalis III Complete
  • Divine Wind
  • 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
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
In which csv file should i put descriptions?
Also ,the is_triggered_only code. How does an event know (with is_triggered_only) by which event it is supposed to be triggered?
Like here :
Code:
# Martial Eunuch
character_event = {
	id = LoR.801
	desc =*EVTDESCLoR.801
	picture = GFX_evt_emissary_byzantine
	
	hide_from = yes
	
	is_triggered_only = yes
	
	option = {
		name = EVTOPTALoR.801
		create_character = {
			random_traits = no
			dynasty = NONE
			female = no
			age = 20
			religion = ROOT
			culture = ROOT
			trait = eunuch
			trait = diligent
			trait = quick
			trait = brave
			trait = brilliant_strategist
			attributes = {
				martial = 10
			}
		}
		new_character = {
			give_minor_title = title_imperial_eunuch
		}
	}
}
It says is triggered_only ,but no clue to which event it triggers on ...
 

Kurospidey

Major
50 Badges
Mar 13, 2011
545
26
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Surviving Mars: Digital Deluxe Edition
  • Crusader Kings III
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Imperator: Rome
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Imperator: Rome Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Together for Victory
  • Surviving Mars
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • Europa Universalis IV
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • 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
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
@Dhop84 When you say going blank what do you mean? You don't see any text but you see the option button and can press it? Or you can't press anything and have to exit the game? If is the latter it's not a problem in the localization, it's a problem with your code.
 

Maestro Ugo

Charlie Brown's disciple
49 Badges
May 26, 2010
805
192
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • Sengoku
  • Semper Fi
  • Hearts of Iron III
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • 500k Club
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Imperator: Rome
  • Prison Architect
  • Stellaris: Federations
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • Victoria 2
  • Europa Universalis III Complete
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • 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
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
It says is triggered_only ,but no clue to which event it triggers on ...

To solve this, and problems like this download the nefty little open-source text editor notepad++ which has a hugely useful "search in multiple files" function. Just point it to a folder with events and it will search through all the files for the event id you input. Takes a few seconds and solves a lot of modding problems.
 

Randarkmaan

Sergeant
100 Badges
Jun 23, 2009
62
30
  • Stellaris: Synthetic Dawn
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Crusader Kings II: Jade Dragon
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Charlemagne
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - After Dark
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Stellaris: Galaxy Edition
  • For the Motherland
  • 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
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Hearts of Iron III
  • 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
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Stellaris: Necroids
  • Europa Universalis IV: El Dorado
I'm playing TOG with the High Chief of Greater Poland, formed Poland and now the gavelkind succession wants to give away my capital Gniezno to my youngest, since the de jure capital of Poland is Kraków, which I don't even control. Historically Gniezno was the capital until 1038, so this breaks immersion for me, and I've decided for the first time to mod a bit myself.

Now, I know how to change the capital to Gniezno for de jure Poland. I will probably manage to write a decision that allows me to change it to Kraków when Christian (basing on the LoR Constantinople->Rome decision should go fine, right?). But what should I do so that Kraków is the de jure capital for the 1066 start? Is it possible to integrate that, or should I simply keep a copy of the unmodded files and use them when I want a 1066 start?

You'll have to edit the file landed_titles in the folder of the same name in the common folder in your ck2 directory. Locate the entry for the kingdom of poland, which should be
Code:
k_poland = {
		color={ 150 23 23 }
		color2={ 200 0 0 }
		
		capital = 527 # Krakowskie
		
		culture = polish
		
		catholic = 100 # Crusade target weight
		slavic_pagan_reformed = 500 # Crusade target weight
		baltic_pagan_reformed = 100 # Crusade target weight

This is not the end of the k_poland string, what follows are its de jure duchies, but you don't need to bother with that. For your purposes all you need to do is change the line specifying the capital, replacing it with

Code:
capital = 429 # Gnieznienskie

The number specifies the province, nothing more is strictly necessary but sticking the name in there helps with navigating the file.

As for changing the capital upon converting to Christianity, you could write in a decision that becomes available upon converting to christianity, and your main title is k_poland which forces the capital of poland to change to Krakow.