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

Orinsul

Absent Minded
115 Badges
Feb 7, 2008
8.938
2.451
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Cities: Skylines - Snowfall
  • 500k Club
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris: Distant Stars
  • Europa Universalis IV: Mare Nostrum
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Dharma
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: No Step Back
  • Surviving Mars
  • Europa Universalis IV: Res Publica
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
How do I make a decision which enables you to create the (titular and modded) kingdom of Aleppo? I think I know how to get most of the other modifiers but I don't know how to give yourself a title through events.

edit: and how do I check whether or not someone has a certain title?

title_name= {
gain_title = ROOT
}
I dont know how to check for it first though, i assume theres an exists = yes or something similar but i havent tried.
 

Jaol

Kapudan Pasha
56 Badges
Jan 24, 2011
3.755
313
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • For the Motherland
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars: First Colony Edition
  • Surviving Mars
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Victoria 2 Beta
  • Pride of Nations
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
"title = x" (b_whatever, etc) is the correct syntax. Just search for title in the events and you'll find some events that check if you own Jerusalem.
 

Jaol

Kapudan Pasha
56 Badges
Jan 24, 2011
3.755
313
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • For the Motherland
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars: First Colony Edition
  • Surviving Mars
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Victoria 2 Beta
  • Pride of Nations
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
Is there a command to change capital province? Or to set primary title?

I'm tired of seeing the capital of the Byzantine empire everywhere except Constantinople, so I want to edit all the claim title CBs so that if the title in question is the Byzantine Emperor, the attacker will get Constantinople and make it his/her capital. Basically, this, but with a valid command for setting the capital:
Code:
	on_success_title = {
		usurp_title_plus_barony_if_unlanded = ROOT
		if = { 
			limit = { title = e_byzantium }
			c_byzantion = {
				grant_title = ROOT
				# make_capital = ROOT ???  make_primary_title = ROOT ???
			}
		}
	}
 

Baneslave

Field Marshal
121 Badges
Apr 9, 2004
6.941
2.252
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
Otto Bismarck:

There is two random commands:

Code:
random = {
	chance = 50
	#effect A
}

Code:
random_list = {
	60 = {
		# effect B
	}
	40 = {
		# effect C
	}
}

These means that effect A has 50% chance of happening and either B or C is picked with 60% and 40% chances.
 

Baneslave

Field Marshal
121 Badges
Apr 9, 2004
6.941
2.252
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
What is the difference between any_courtier and random_courtier?

Well, in effect = {}, any_courtier happens to all courtiers that fit the requirements. If you don't put any limits to it, happens to all your courtiers. random_courtier happens only to one random courtier withing the limitations.
 

Orinsul

Absent Minded
115 Badges
Feb 7, 2008
8.938
2.451
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Cities: Skylines - Snowfall
  • 500k Club
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris: Distant Stars
  • Europa Universalis IV: Mare Nostrum
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Dharma
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: No Step Back
  • Surviving Mars
  • Europa Universalis IV: Res Publica
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
When adding a new religion, do you have to do anything other than add it to the religion file and give it some localisation?
Only its been crashing on clicking play and i vaguely sure its the new religion thats doing it from looking at the log.

Also, what do you put into a decision/event creating a new character to make them lowborn?
 

James009

First Lieutenant
85 Badges
Jan 21, 2012
244
57
  • Pillars of Eternity
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Nemesis
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Jade Dragon
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Federations
  • Crusader Kings III
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Cities: Skylines - After Dark
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • 500k Club
  • Prison Architect: Psych Ward
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
Is there any guides to modifying NPCs and savegames? I know there's that one video but it seems outdated and doesn't cover everything. What are attributes vs. traits, how does DNA work, what are properties, and which one of these determines a character's appearance?
 

Baneslave

Field Marshal
121 Badges
Apr 9, 2004
6.941
2.252
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
Is there any guides to modifying NPCs and savegames? I know there's that one video but it seems outdated and doesn't cover everything. What are attributes vs. traits, how does DNA work, what are properties, and which one of these determines a character's appearance?

Attributes are stuff like base martial value, stewardship etc.
Traits are... traits you see ingame, but only stored with their ID numbers. (Check setup.log in log folder, which is in same folder as savegame folder).
AFAIK, DNA only determines the appearance.
Not sure what you mean with properties.
 

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
Attributes are stuff like base martial value, stewardship etc.
Traits are... traits you see ingame, but only stored with their ID numbers. (Check setup.log in log folder, which is in same folder as savegame folder).
AFAIK, DNA only determines the appearance.
Not sure what you mean with properties.

He might mean how do you add props that show up on the character's portrait, like podcat demonstrates in DD#7: http://forum.paradoxplaza.com/forum...I-Dev-Diary-7-Character-Portraits-and-Modding. It's something I'm trying to figure out actually, say add some symbol to represent the minor titles that a character has or to show that a woman is pregnant.
 

James009

First Lieutenant
85 Badges
Jan 21, 2012
244
57
  • Pillars of Eternity
  • Stellaris
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Nemesis
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Jade Dragon
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Federations
  • Crusader Kings III
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Cities: Skylines - After Dark
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • 500k Club
  • Prison Architect: Psych Ward
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
portrait_properties.txt in interface folder.

(I sometimes wonder if people even search before asking...)
Thank you. Had no idea there was a portrait properties file... problem is, what does it all mean, how does DNA apply, and how does this all apply to characters? I do understand (not specifically) how you can create new clothes and looks from portraits file but I don't see how to apply it to a character.
 

Sproons

Corporal
5 Badges
May 9, 2001
27
0
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Semper Fi
  • 500k Club
Thank you. Had no idea there was a portrait properties file... problem is, what does it all mean, how does DNA apply, and how does this all apply to characters? I do understand (not specifically) how you can create new clothes and looks from portraits file but I don't see how to apply it to a character.

There's a thread describing everything quite well, with pictures, but I can't find it at the moment (can't search for "dna" because it's too short...). However, you edit dna in the text files in history\characters\. It looks something like this:

Code:
name="Victoria"
	dynasty=8000101
	dna="dmage0ecd0" 
	properties="0e00c"

There are a bunch of picture files in gfx/characters, one for the eyes, one for noses and so on; each file has a row of different body parts.
Each letter or digit of "dmage0ecd0" and "0e00c" in the text file is a "slot" in a file - I can't remember which order they go in now, but let's say the first letter of the dna string is the base face, the second are the eyes, the third is the nose... So to pick the first base face, the second pair of eyes and the third nose, the dna string should be "dna=abc(something)".
 

Solo?

Major
39 Badges
May 6, 2005
798
1
  • Crusader Kings II: Holy Knight (pre-order)
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Pride of Nations
  • Mount & Blade: Warband
  • Cities: Skylines - After Dark
  • Crusader Kings II: Reapers Due
  • Crusader Kings Complete
  • Age of Wonders III
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Europa Universalis IV
  • 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
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Wealth of Nations
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
Does anyone know where the mercenary events are located? Specifically the invasion events?
 

Jaol

Kapudan Pasha
56 Badges
Jan 24, 2011
3.755
313
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • For the Motherland
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars: First Colony Edition
  • Surviving Mars
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Victoria 2 Beta
  • Pride of Nations
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
can someone describe to me what hidden_tooltip is used for, thanks
If you don't want the effects to appear in the tooltip.

For example, let's say you have an event option that gives 100 gold, but has a 25% chance of making a character greedy, but you don't want the player to know exactly what the chance of getting the trait is. You can hide the chance of gaining the trait inside a hidden_tooltip.