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

AureliusBob

Guest
after trying to add a new character to anhalt I keep getting a "NO_TEXT_FOR_KEYPLAYER" at the game start screen. Ive checked history/titles and history/characters and they both match, common/dynasty is good as well....I cant figure it out
 

BattosaiSlayer

First Lieutenant
103 Badges
Aug 1, 2009
289
0
  • Europa Universalis IV: Third Rome
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Sword of Islam
  • Hearts of Iron II: Armageddon
  • 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
  • Heir to the Throne
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis III Complete
  • Stellaris: Galaxy Edition
  • Europa Universalis III Complete
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
I would like to change the invasion CB that the Pope grants you. Normally it costs 500 piety and the Kingdom your invading must be bigger then you currently are. I want to change it so that you can invade any size Kingdom. Can anyone point me to the file where I can mod this?

cb_types in the /common folder
 

CJL78

Duca di Firenze
27 Badges
Oct 15, 2009
1.327
8
  • Crusader Kings II
  • Europa Universalis III Complete
  • Heir to the Throne
  • March of the Eagles
  • Rome Gold
  • Victoria 2: A House Divided
  • Imperator: Rome - Magna Graecia
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Rise of Prussia
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
location_ruler_title. anybody know what it is or what it does? searched the forums and the web and found nothing. I turned it on for my new title, Count Palatine, and it does nothing afaik. It's turned on for the Pope, so I hoped it would do this:

noofthepapacy.jpg


How do you get rid of "of [title]"? And what does location_ruler_title do?

Code:
		d_palatinate = {
			color={ 100 99 100 }
			color2={ 255 255 255 }
			
			title = "COUNT_PALATINE" #Count Palatine of the Rhine
			short_name = yes #The Palatinate
			location_ruler_title = yes #?

Code:
	k_papal_state = {
		color={ 255 249 198 }
		color2={ 220 220 0 }
		
		capital = 333 # Rome
	
		title = "POPE" #Pope
		foa = "POPE_FOA" #Your Holiness
		short_name = yes #The Papacy
		location_ruler_title = yes #?
 
Last edited:

Bishop Arundel

Stuck in the Middle with you
14 Badges
Feb 16, 2012
313
6
  • Crusader Kings II
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
How do I mod in (or indeed out) crusades or jihads into my save game file. Can I also choose which kingdom is the target of the crusade or jihad?
 

trias10

First Lieutenant
28 Badges
Mar 15, 2012
235
24
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Reapers Due
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Steel Division: Normand 44 - Second Wave
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II
  • Magicka
  • The Kings Crusade
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings III
  • Steel Division: Normandy 44 -  Back to Hell
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings III: Royal Edition
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • 500k Club
  • Cities: Skylines
In cb_types.txt, what do the following values mean and how do they influence gameplay?

Code:
attacker_ai_victory_worth = {
		factor = 200
	}
	
	attacker_ai_defeat_worth = {
		factor = 100
	}

	defender_ai_victory_worth = {
		factor = -1 # always accept
	}
	
	defender_ai_defeat_worth = {
		factor = 100
	}
 

apg

Field Marshal
67 Badges
May 28, 2011
2.679
269
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Rome Gold
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • 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: Sword of Islam
  • Darkest Hour
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings Complete
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV Sign-up
  • Imperator: Rome
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Pride of Nations
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Rule Britannia
  • 500k Club
  • Victoria 2
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
maybe a silly question:

what are the specifics of is_ruler = yes/no

does it mean you have to have a king level title? or is it simply that you are a ruler of any province?
 

RedRooster81

Modding Paladin
34 Badges
Feb 16, 2010
5.673
29
  • Crusader Kings II
  • Rome Gold
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Cities in Motion
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Golden Century
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • 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
  • Crusader Kings II: Charlemagne
maybe a silly question:

what are the specifics of is_ruler = yes/no

does it mean you have to have a king level title? or is it simply that you are a ruler of any province?

Any title. Not sure if it excludes barons though. But I assume it is any title. So put it first to cut out any unnecessary computer processing time.
 

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
Any title. Not sure if it excludes barons though. But I assume it is any title. So put it first to cut out any unnecessary computer processing time.
Any title including baronies, yes.
If you want to exclude baronies, theocracies, and burghers, there's is_playable AFAIK.
 

Slaxl

Colonel
82 Badges
Aug 20, 2009
856
12
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Supreme Ruler: Cold War
  • Sword of the Stars
  • Sengoku
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Deus Vult
  • Europa Universalis III Complete
  • Cities in Motion 2
  • Crusader Kings II: Conclave
  • 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
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • 500k Club
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Cities: Skylines
  • Victoria: Revolutions
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Supreme Ruler 2020
  • Crusader Kings II: The Old Gods
  • Victoria 2
  • Crusader Kings II: Legacy of Rome
I've added a few provinces, but some of them come out as called c_province, with b_baronyname and one d_duchyname instead of their titles, but I can't for the life of me see where to write it in. Anyone know? Many thanks.
 

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
I've added a few provinces, but some of them come out as called c_province, with b_baronyname and one d_duchyname instead of their titles, but I can't for the life of me see where to write it in. Anyone know? Many thanks.
The localisation files. Relevant wiki page.
 

liamgamer55

Colonel
14 Badges
Oct 16, 2011
1.051
2
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III: Chronicles
  • Europa Universalis IV
  • Hearts of Iron III Collection
  • Magicka
  • Majesty 2
  • March of the Eagles
  • Rome Gold
  • Sword of the Stars
  • Victoria 2: A House Divided
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: Pre-order
How come... when I cut and copy the kingdom of pommerania below the HRE so that it's not part of it the flags all become random for the HRE and other empires... wheras when I put in above the HRE in landed_titles there's no issue?
Same things applies to the duchy of holstein?
 
Last edited:

CJL78

Duca di Firenze
27 Badges
Oct 15, 2009
1.327
8
  • Crusader Kings II
  • Europa Universalis III Complete
  • Heir to the Throne
  • March of the Eagles
  • Rome Gold
  • Victoria 2: A House Divided
  • Imperator: Rome - Magna Graecia
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Rise of Prussia
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
I've got them in there, prov930-934, correctly named, with the relevant reordering of the other sea provinces, and start of sea provinces. Although the Adriatic has stopped being accessible, but one problem at a time...

You've defined the name of the province, but you need to define the titles as well

Code:
d_lombardia;Milan;Milan;Milan;;Milan;;;;;;;;;x
d_lombardia_adj;Milanese;Milanese;Milanese;;Milanese;;;;;;;;;x
c_lombardia;Milan;Milan;Milan;;Milan;;;;;;;;;x
c_lombardia_adj;Milanese;Milanese;Milanese;;Milanese;;;;;;;;;x
PROV235;Milano;Milano;Milano;;Milano;;;;;;;;;x

Basically whenever you see anything "xxxx" that shouldn't be there, that means you need to define "xxxx" in localisation
 

Slaxl

Colonel
82 Badges
Aug 20, 2009
856
12
  • Crusader Kings II
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Supreme Ruler: Cold War
  • Sword of the Stars
  • Sengoku
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Deus Vult
  • Europa Universalis III Complete
  • Cities in Motion 2
  • Crusader Kings II: Conclave
  • 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
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • 500k Club
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Cities: Skylines
  • Victoria: Revolutions
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Supreme Ruler 2020
  • Crusader Kings II: The Old Gods
  • Victoria 2
  • Crusader Kings II: Legacy of Rome
You've defined the name of the province, but you need to define the titles as well

Code:
d_lombardia;Milan;Milan;Milan;;Milan;;;;;;;;;x
d_lombardia_adj;Milanese;Milanese;Milanese;;Milanese;;;;;;;;;x
c_lombardia;Milan;Milan;Milan;;Milan;;;;;;;;;x
c_lombardia_adj;Milanese;Milanese;Milanese;;Milanese;;;;;;;;;x
PROV235;Milano;Milano;Milano;;Milano;;;;;;;;;x

Basically whenever you see anything "xxxx" that shouldn't be there, that means you need to define "xxxx" in localisation

Ah, excellent, many thanks.
 

CJL78

Duca di Firenze
27 Badges
Oct 15, 2009
1.327
8
  • Crusader Kings II
  • Europa Universalis III Complete
  • Heir to the Throne
  • March of the Eagles
  • Rome Gold
  • Victoria 2: A House Divided
  • Imperator: Rome - Magna Graecia
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Rise of Prussia
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
How come... when I cut and copy the kingdom of pommerania below the HRE so that it's not part of it the flags all become random for the HRE and other empires... wheras when I put in above the HRE in landed_titles there's no issue?
Same things applies to the duchy of holstein?

Whenever you change landed_titles or add new flags or do anything with graphics, delete your gfx cache (My Documents/Paradox Interactive/Crusader Kings II/[modname]/gfx; these folders are where the game automatically dumps stuff so it doesn't have to load them everytime). The game will reload all the graphics correctly when you next start the game.
 

PyroAce2

First Lieutenant
77 Badges
Oct 2, 2007
280
5
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Rome Gold
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Magicka 2 - Signup Campaign
  • Magicka 2
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • East India Company Collection
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Magicka
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Art of War
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Victoria 2
  • Crusader Kings II: Conclave
  • Crusader Kings II: Way of Life
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV
  • Warlock: Master of the Arcane
I am having trouble getting a pair of events to fire that give opinion modifiers. They are firing, but not for the right characters. As an fyi, these are meant to go along with Mr. C's Glorious Knights and Night Terrors mod.

The first event is for a non-vampire liege (ie, a ruler w/o any of the mod's vampire traits) who has a character in his court (courtier or landed vassal) that is a vampire. The ruler should get an opinion modifer toward the vampire courtier (but not the other way around). The vampire then gets an event notifying it that his ruler is suspicious. This is not what is happening. Instead, the vampire gets an event that the ruler is suspicious, but the event shows one of the vampire's own courtiers, and the vampire gets a negative opinion toward his own non-vampire courtier.

Code:
character_event = { #A subject is a vampire!
	id = 1000093092
	desc = "EVTDESC1000093092"
	picture = "GFX_evt_throne_room"
	
	ruler_only = yes
	
	trigger = {
		any_courtier = {
			OR = {
				trait = haineuxout
				trait = tarsasout
				trait = tannenout
				trait = puternicout	
			}
			NOT = {
				has_opinion_modifier = { who = ROOT modifier = opinion_vampire_in_court }
			}
		}
		NOT = {
			OR = {
				religion = morthal
				trait = tarsasout
				trait = tarsascon
				trait = tannenout
				trait = tannencon
				trait = haineuxout
				trait = haineuxcon
				trait = puternicout
				has_character_flag = f_groomed_vamp_t
				has_character_flag = f_groomed_vamp_v
				has_character_flag = f_groomed_vamp_h
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA1000093092" #Watch him!
		random_courtier = {
			limit = {
				OR = {
					trait = haineuxout
					trait = tarsasout
					trait = tannenout
					trait = puternicout		
				}
				NOT = {
					has_opinion_modifier = { who = ROOT modifier = opinion_vampire_in_court }
				}
			}
			opinion = {
				modifier = opinion_vampire_in_court
				who = ROOT
				years = 100
			}
			character_event = { id = 1000093093 days = 1 }
		}
	}
}

character_event = {
	id = 1000093093
	desc = "EVTDESC1000093093"

	is_triggered_only = yes
	
	show_from_from = yes
	
	option = {
		name = "EVTOPTA1000093093" #I am being watched!
	}
}

The second event is one that should fire when a vampire ruler notices that someone in his court is resisting his rule (has a character flag "vampire_resister"). The event should give the vampire ruler an opinion modifier toward the resisting courtier. This is not occuring - I am getting the event but nothing seems to happen.

Code:
character_event = { #A subject resists me!
	id = 1000093096
	desc = "EVTDESC1000093096"
	picture = "GFX_evt_throne_room"
	
	trigger = {
		OR = {
			trait = tarsasout
			trait = tarsascon
			trait = tannenout
			trait = tannencon
			trait = haineuxout
			trait = haineuxcon
			trait = puternicout
		}
		any_courtier = {
			has_character_flag = vampire_resister
			NOT = {
				has_opinion_modifier = { who = ROOT modifier = opinion_vampire_resister }
			}
		}
	}
	
	mean_time_to_happen = {
		days = 1
	}
	
	option = {
		name = "EVTOPTA1000093096" #Watch him!
		random_courter = {
			limit = {
				has_character_flag = vampire_resister
				NOT = {
					has_opinion_modifier = { who = ROOT modifier = opinion_vampire_resister }
				}
			}
			opinion = {
				modifier = opinion_vampire_resister
				who = ROOT
				years = 100
			}
		}
	}
}

Can anybody help me sort this out?
 

unmerged(499270)

Corporal
4 Badges
May 30, 2012
40
0
  • Crusader Kings II
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
I want to be able to enter my vassal's wars so that I can effect the outcomes via force and not by imprisonment. Is this possible to change or is it hardcoded?

Maybe I should just create a CB that is elligable to use on anyone?
 
Last edited:

RedRooster81

Modding Paladin
34 Badges
Feb 16, 2010
5.673
29
  • Crusader Kings II
  • Rome Gold
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Cities in Motion
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Golden Century
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • 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
  • Crusader Kings II: Charlemagne
Working on more health traits. Is there a health trait modifier to keep a man out of combat? In CK1, a 'severely wounded' character stayed at home, but in CK2 they seem to go off to war hemorrhaging or not.
 

Korbah

Ratel
136 Badges
Mar 3, 2011
4.758
1.272
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Natural Disasters
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
Working on more health traits. Is there a health trait modifier to keep a man out of combat? In CK1, a 'severely wounded' character stayed at home, but in CK2 they seem to go off to war hemorrhaging or not.

*edit* incapacitating = yes

I think that also gives them a regent though.