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

ArneHD

Captain
100 Badges
Sep 1, 2007
438
18
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Deus Vult
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Hearts of Iron Anthology
  • 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: Conquest of Paradise
  • Crusader Kings II: Legacy of Rome
  • East India Company
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: No Step Back
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
Hi, I've been trying to create a new title: "High king of the North" but I have run into some problems:

First what I have done:
Created a flag:
e_KingoftheNorth.tga in Crusader Kings II\gfx\flags

Added the title to landed_titles:

Code:
e_KingoftheNorth = {
	color = { 0 0 102 }
	
	capital = 269
	
	allow = {
		has_landed_title = k_norway
		has_landed_title = k_england
		has_landed_title = k_sweden
		has_landed_title = k_denmark
		has_landed_title = k_scotland
	}
}

And to localisation: text.csv

e_KingoftheNorth;the North;;;;;;;;;;;;;x
e_KingoftheNorth_adj;Northern;;;;;;;;;;;;;x

Now, I think I have done everything correctly, but I cannot find an event effect that would actually give the title to anybody. My previous attempts seem to have failed:

Code:
	become_high_king = {
		potential = {
			}
		allow = {
			has_landed_title = k_norway
			has_landed_title = k_england
			has_landed_title = k_sweden
			has_landed_title = k_denmark
			has_landed_title = k_scotland
		}
		effect = {
			activate_title = { title = e_KingoftheNorth status = yes }
			grant_title = e_KingoftheNorth
		}
		revoke_allowed = {
			always = no
		}
		ai_will_do = {
			factor = 0
		}
	}

Could anyone give me some pointers as to where I have gone wrong.
 

Korbah

Ratel
137 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
  • Hearts of Iron IV: No Step Back
You know theoretically the title under the new system would be creatable without the event if you hold the capital province and are the King of Norway, England, Sweden, Denmark and Scotland (all at once according to the allow requirements). Also, I'm not 100% sure but try using all small letters for the tags, that's how it used to be in CK1 and is how paradox has it all setup themselves so it's worth a shot. (Also that looks like a decision, not an event?)

effect = {
FROM = {
activate_title = { title = e_kingofthenorth status = yes }
grant_title = e_kingofthenorth
}
}

Maybe?
 
Last edited:

ArneHD

Captain
100 Badges
Sep 1, 2007
438
18
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Deus Vult
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Hearts of Iron Anthology
  • 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: Conquest of Paradise
  • Crusader Kings II: Legacy of Rome
  • East India Company
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: No Step Back
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
You know theoretically the title under the new system would be creatable without the event if you hold the capital province and are the King of Norway, England, Sweden, Denmark and Scotland (all at once according to the allow requirements). Also, I'm not 100% sure but try using all small letters for the tags, that's how it used to be in CK1 and is how paradox has it all setup themselves so it's worth a shot. (Also that looks like a decision, not an event?)

effect = {
FROM = {
activate_title = { title = e_kingofthenorth status = yes }
grant_title = e_kingofthenorth
}
}

Maybe?

Yes, my mistake, that is a decision and not an event. I'll try your small caps only suggestion and report back if it works or not.
 

Arko

Red zone
45 Badges
Jul 1, 2009
7.087
1.124
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings III
  • Deus Vult
  • Cities: Skylines
  • Magicka
with the new titular system, you don't need to create a decision. When you meet the conditions (plus owning the capital and 2 random duchy titles), you will be able to create it.
 

ArneHD

Captain
100 Badges
Sep 1, 2007
438
18
  • Crusader Kings II
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Deus Vult
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Hearts of Iron Anthology
  • 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: Conquest of Paradise
  • Crusader Kings II: Legacy of Rome
  • East India Company
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: No Step Back
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
I must have done something wrong because it is not showing up. I made a test edit by requiring you simply to have k_norway, capital 274 (Bergenshus, same as k_norway). I then started a new game as Norway and created two duchies. At this point I should have been able to create the title, but I could not. Perhaps "has_landed_title" is not an accepted command?
 

Arko

Red zone
45 Badges
Jul 1, 2009
7.087
1.124
  • Europa Universalis IV
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II
  • Crusader Kings III
  • Deus Vult
  • Cities: Skylines
  • Magicka
I must have done something wrong because it is not showing up. I made a test edit by requiring you simply to have k_norway, capital 274 (Bergenshus, same as k_norway). I then started a new game as Norway and created two duchies. At this point I should have been able to create the title, but I could not. Perhaps "has_landed_title" is not an accepted command?

this command works on regular title IF the titles are in the jure area. didn't test it since 1.05.