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

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 concur. De jure setup stays the same throughout as far as I can tell. It can be altered by events though.

And what lines would one use to change a de jure capital for example? I am currently failing badly at writing a decision for Poland to change the de jure capital from Gniezno to Kraków when Christian (to prevent gavelkind laws from giving away historic capitals to lesser heirs) and I'm beginning to think adding a whole new kingdom for pagan Poles might be actually easier to pull off...
 

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
Well it is since what you're planning to do is actually impossible.

OK then ^.^" Thank you very kindly for your answer. I have absolutely no experience in modding CK2, but the game forcing me to give away the ancestral keep to a youngest son made me motivated enough to give it a try.
 

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
Is there a scope that points to the leader of a war a character is fighting in?
any_current_enemy or random_current_enemy. Note that that won't work for vassals of the war leader; in that case you might want to go (any_)liege = { any_current_enemy = { } }
 

Aardvark Bellay

Lord Wuffington of Grumpytown by the barks
21 Badges
Apr 5, 2001
15.446
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
Nope, Italy is never de jure part of HRE, only ever de facto, while the de jure Italian Empire was added either with the 1.10 patch or TOG expansion and is valid for the entire game's timeframe ;)

From patch log

- The kingdom of Italy is now a de jure part of the HRE in 1066
 

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
I'm having a problem with an event. I want it to trigger for a person who has a capital in a certain province, if there is a certain global flag and the province doesn't have a certain province modifier:

Code:
character_event = {
	id = 1000094011
	title = "EVTNAME1000094011"
	desc = "EVTDESC1000094011"
	picture = "GFX"
	
	capital_scope = { province_id = 646 }
	has_global_flag = g_flag_1
	capital_scope = {
			NOT = { has_province_modifier = p_modifier_1 }
			}

	is_triggered_only = yes

	option = {
		name = "EVTOPTA1000094011"
		prestige = 100
		set_global_flag = g_flag_2
		}
	}

There are two problems: It doesn't fire when it's supposed to, and when it does it gives no options, no buttons whatsoever. What mistakes did I make?
 

Lysistrata

Πρωθυπουργός της Αυτοκρατορίας Ρωμαίος
51 Badges
Feb 2, 2013
2.706
1.132
  • Victoria 2: A House Divided
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • 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
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings III
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: By Blood Alone
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
As a separate question, is it possible to allow religious heads to have a different religion prior to a specific event or decision? I'm trying to make Chalcedonian Christianity and incorporate both the Pope and the Ecumenical Patriarch.

Yes, do it by event or do a specific casus belli. Deactivate the ERE title and kill the character.
Seperate qeustion answer: Religious heads can be of any religion really, again do it by event to change their religion upon spawning or something

With regards to the former, it doesn't answer my question of where I'd do it or how I could make it happen if Mehmet II won the Siege of Constantinople.
 

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
How do you trigger an event where by if you marry into a specific house ???
in on_actions.txt there's one block for on_marriage. Add an event there and in the event body, in the trigger put that only is fired if the spouse is of a certain dynasty. Not sure about the code for a specific dynasty, but at least for religions it works, i.e. religion = muslim.
---------------------
---------------------

BTW guys, I'm trying to add an event modifier to concubines and spouses, that ends whenever the liege sets them aside/divorces them. I was trying it with on_actions.txt but I can only find on_marriage, on_forced_consort and make_consort_interaction_accept, which leaves me with no possibility of adding the modifier when the liege takes concubines from his own court. Also, I couldn't find the on_action for divorce or set aside.

Which leaves me with the only possibility of checking periodically for concubinage to add, remove this modifier. But I can't find a scope for this (at least in the wiki). Is there any? Like any_consort or something similar?

EDIT: auto-answer: there's any_consort.
 
Last edited:

Spartanlemur

The Bad Guy
111 Badges
Apr 20, 2012
2.988
5.581
  • Semper Fi
  • Hearts of Iron III
  • Heir to the Throne
  • King Arthur II
  • A Game of Dwarves
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Europa Universalis IV: Common Sense
  • Sengoku
  • Supreme Ruler: Cold War
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Humble Paradox Bundle
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Darkest Hour
  • 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: Charlemagne
  • Gettysburg
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Teleglitch: Die More Edition
  • Pride of Nations
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • War of the Roses
  • Victoria 2
  • Crusader Kings II: Horse Lords
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis III Complete
Can anyone help me with this:

I'm trying to create a new religion under the pagan category and have edited the religions.txt, landed_titles.txt, religious_icon_strip.dds and the religious_icon_strip_small.dds.

My biggest problem is that when I trial the religion by converting through the console, my holy sites don't show up under the religion tab, and upon reforming the game crashes. To give more detail, the holy sites in the religion tab are replaced by black fill, and the CoA's are that of Sweden (IIRC - blue background with three gold dashes in a triangle) .

A smaller issue is that the religious icon in my character tab is some blurred gold colour, rather than the symbol I meant for it to be. To add the extra icons I extended the length of the icon strips to a proportionally larger size and then added my own images, so that there are 39. I saved in the right file type (dds no mipmaps, no compression).
 

miguellima

Major
49 Badges
Feb 2, 2012
502
1
  • Cities in Motion
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • A Game of Dwarves
  • Stellaris - Path to Destruction bundle
  • Crusader Kings III
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Stellaris: Apocalypse
  • Cities: Skylines - Natural Disasters
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Magicka 2
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Cities in Motion 2
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Majesty 2 Collection
  • Cities: Skylines
  • Age of Wonders III
  • Stellaris
This is one of the conditions to the "Bring in some settlers" event in which a capital can change culture if the owner and his top liege have the same culture and the province doesn't border another with the owner's culture. I can understand most of the code of paradox's games but i'm having trouble understanding this bit.

OR = {
primary_title = {
conquest_culture = PREV
}
ROOT = {
county = {
conquest_culture = PREVPREV
}
}
ROOT = {
duchy = {
holder_scope = {
character = PREVPREVPREV
}
conquest_culture = PREVPREV
}
}
ROOT = {
kingdom = {
holder_scope = {
character = PREVPREVPREV
}
conquest_culture = PREVPREV
}
}
ROOT = {
empire = {
holder_scope = {
character = PREVPREVPREV
}
conquest_culture = PREVPREV
}
}
}