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

Lord Finnish

A man of science and culture.
73 Badges
Sep 4, 2006
12.332
1.960
  • Europa Universalis IV: Third Rome
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Horse Lords
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Europa Universalis IV: Golden Century
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Europa Universalis III: Chronicles
  • Hearts of Iron IV: La Resistance
  • Europa Universalis IV
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Cossacks
  • Victoria 2
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Pre-order
  • For The Glory
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Holy Fury Pre-order
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Wealth of Nations
  • Arsenal of Democracy
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
Code:
	allow = {
		OR = {
			AND = {
				NOT = { holder_scope = { religion_group = pagan } }
				is_female = no
			}
			AND = {
				holder_scope = { religion_group = pagan 
						martial = 15
						OR = { has_trait = brilliant_strategist
							has_trait = skilled_tactician
						 }
						}
				is_female = yes
			}
		}
		age = 16
		prisoner = no
		NOT = { trait = incapable }
	}

Does this work so that pagan women with either of the two aforementioned traits and martial at least 15 will be eligible for marshalship?

I know this is a really simple thing but I haven't modded for months so I forget basic things like this.
 

talias

Captain
54 Badges
Feb 7, 2011
389
19
  • Crusader Kings II
  • Europa Universalis IV
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Crusader Kings III: Royal Edition
Code:
	allow = {
		OR = {
			AND = {
				NOT = { holder_scope = { religion_group = pagan } }
				is_female = no
			}
			AND = {
				holder_scope = { religion_group = pagan 
						martial = 15
						OR = { has_trait = brilliant_strategist
							has_trait = skilled_tactician
						 }
						}
				is_female = yes
			}
		}
		age = 16
		prisoner = no
		NOT = { trait = incapable }
	}

Does this work so that pagan women with either of the two aforementioned traits and martial at least 15 will be eligible for marshalship?

I know this is a really simple thing but I haven't modded for months so I forget basic things like this.

Won't the first AND exclude pagan males?
 

talias

Captain
54 Badges
Feb 7, 2011
389
19
  • Crusader Kings II
  • Europa Universalis IV
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Crusader Kings III: Royal Edition
Hi all! with creating traits what do you have to do so people randomly get the the trait you have created ?
It depends on the trait. Most likely random characters will get the trait. Lifestyle and health traits would need some events. Illnesses and diseases would need editing diseases.txt. For child personality traits there is need for some events, but I'm not sure about that. Leadership traits also would require some events.

Maligx said:
Can menu's have more than 4 options? I am trying to mod a menu to allow 5 different options but the 5th option does not appear on the menu.
No.
 

Lupoli

Private
6 Badges
Jun 15, 2012
11
0
  • Crusader Kings II
  • Europa Universalis IV
  • Hearts of Iron III
  • Leviathan: Warships
  • Mount & Blade: Warband
  • Hearts of Iron IV Sign-up
Any tut's on how to change the calendar system, I want to implement the AH calendar when playing as muslims? could just mean changing what the game displays as 869 as 0 and jan-dec in a different language. Aesthetics, anyone?
 

jursamaj

General
125 Badges
Aug 20, 2012
2.360
216
  • Victoria 2: Heart of Darkness
  • Hearts of Iron III
  • Heir to the Throne
  • Knights of Pen and Paper +1 Edition
  • Cities in Motion
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Victoria 2: A House Divided
  • Leviathan: Warships
  • Rome: Vae Victis
  • Stellaris
  • Europa Universalis IV: Pre-order
  • Magicka 2 - Signup Campaign
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Call to arms event
  • 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
  • Europa Universalis III
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis III: Chronicles
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Conclave
  • Europa Universalis III Complete
  • Europa Universalis IV: Common Sense
  • Europa Universalis III Complete
  • Pillars of Eternity
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: No Step Back
Anyone have a clue as to whether it's possible to spawn a unit that doesn't automatically make your ruler the leader of the regiment? Ideally, it'd show up as just a completely leaderless regiment.
In the 867 start, Ivar the Boneless starts with some units. In history/characters/norse.txt, it has 3 spawn_unit commands & a raise_levies command for him. Obviously, he doesn't start out in command of all 4 units. :)

In fact, he starts in command of one of the 3 spawned units, not the levy. Here's the order of the commands:

raise_levies

spawn_unit command with owner=ROOT & leader=ROOT.

create_character command, with dynasty=random

new_character={spawn_unit={...}}, with owner=PREV but no leader specified

create_character command, with dynasty=826

new_character={spawn_unit={...}}, with owner=PREV but no leader specified

In the stack at York, the order of Ivar's units:
the levy
the unit Ivar commands
the unit Styrkar commands
the unit Mats commands (he has dynasty 826)

Make of that what you will...
 

Damocles

Field Marshal
55 Badges
Mar 22, 2001
6.905
218
Visit site
  • Crusader Kings II: Charlemagne
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Europa Universalis: Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Shadowrun: Hong Kong
  • Crusader Kings II: Holy Fury
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Stellaris
  • 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 III: Collection
  • 500k Club
  • Victoria 2
In the 867 start, Ivar the Boneless starts with some units. In history/characters/norse.txt, it has 3 spawn_unit commands & a raise_levies command for him. Obviously, he doesn't start out in command of all 4 units. :)

In fact, he starts in command of one of the 3 spawned units, not the levy. Here's the order of the commands:

raise_levies

spawn_unit command with owner=ROOT & leader=ROOT.

create_character command, with dynasty=random

new_character={spawn_unit={...}}, with owner=PREV but no leader specified

create_character command, with dynasty=826

new_character={spawn_unit={...}}, with owner=PREV but no leader specified

In the stack at York, the order of Ivar's units:
the levy
the unit Ivar commands
the unit Styrkar commands
the unit Mats commands (he has dynasty 826)

Make of that what you will...

Yep. The way it works for example, he starts in a raise_levies, then gets yoinked out of that and put in the new unit, then yoinked out of that one and put in the next, etc etc.

So if you spawn multiple units, and no new courtiers, you'll end up with some empty ones.

But if your leader is already in a unit, and you want him to stay in that unit, there doesn't seem to be a way to spawn a new unit, without also making a new courtier to take it.

Which is kinda throwing a wrench in a hard to explain event series I'm working on. That's why I hope I'm wrong, and someone knows how to spawn a unit that doesn't take your leader.
 

Damocles

Field Marshal
55 Badges
Mar 22, 2001
6.905
218
Visit site
  • Crusader Kings II: Charlemagne
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV
  • Europa Universalis IV: Mare Nostrum
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Europa Universalis: Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Shadowrun: Hong Kong
  • Crusader Kings II: Holy Fury
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Stellaris
  • 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 III: Collection
  • 500k Club
  • Victoria 2
There's a generic event that converts the top liege of an independent realm to the local culture. You could reduce the MTTH and mess around with the modifiers to get what you want.
If you want to reduce the amount of people turned Mongol you could modify the education events that change culture/religion. Replacing the education event that turns people to the tutor's culture with an event that turns the kid to the culture of the region he is staying in (or the court) would be pretty sweet, actually.

That would be sweet, and more akin to CK1.
 

Dhop84

Major
4 Badges
Dec 28, 2012
790
0
  • Crusader Kings II
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
It depends on the trait. Most likely random characters will get the trait. Lifestyle and health traits would need some events. Illnesses and diseases would need editing diseases.txt. For child personality traits there is need for some events, but I'm not sure about that. Leadership traits also would require some events.
ok thanks the trait is like a warrior trait
 

Darkgamma

Ma Xamewš Xewaham Kered Fer
30 Badges
Apr 6, 2010
5.972
151
  • Crusader Kings II: Sunset Invasion
  • Sengoku
  • Europa Universalis IV
  • 500k Club
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
Anyone know how to remove the crossable straits between two provinces?
Open Map>Adjacencies.csv, you'll find what you need there
 

mrdlsable

Corporal
8 Badges
Aug 7, 2012
35
0
  • Crusader Kings II
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • Warlock: Master of the Arcane
  • 500k Club
Hi all! with creating traits what do you have to do so people randomly get the the trait you have created ?

If you flag it as a personality then it will be randomly assigned to generated characters, though for non-generated characters to pick it up (characters that are born in-game) you have to make an event.

EDIT: I have a question myself. If you have a desicion and want it to fire an event for you heir, how would you go about that, because I don't have a clue...
 
Last edited:

Darkgamma

Ma Xamewš Xewaham Kered Fer
30 Badges
Apr 6, 2010
5.972
151
  • Crusader Kings II: Sunset Invasion
  • Sengoku
  • Europa Universalis IV
  • 500k Club
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
EDIT: I have a question myself. If you have a desicion and want it to fire an event for you heir, how would you go about that, because I don't have a clue...
any_child = { limit = { is_primary_heir = yes } character_event = { id = 1337 days = 5 } }
That's specifically for your children. You can switch the top scope around for different effects
 

Crushric

This Isn't Even My Final Form!
77 Badges
Jul 6, 2011
478
109
  • Rome Gold
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Magicka
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Hearts of Iron II: Armageddon
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Conquest of Paradise
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Cossacks
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
Howdy, y'all!
A question, if it do ya: How do I add more holding to a province that can be built? I'm trying to make Marienburg, the heart of my empire, have 3 more holdings for a total of seven, because heart of my über empire.