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

TomosCaerllion

Gladio vici, gladio teneo, gladio tenebo.
82 Badges
May 12, 2013
657
244
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Stellaris: Digital Anniversary Edition
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Imperator: Rome Sign Up
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • The Showdown Effect
  • War of the Roses
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Victoria 3 Sign Up
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Conclave
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
I can't find an answer for this searching (which is a surprise), but if I wanted to mod it myself so that unreformed pagans can adopt feudalism or become a republic, what would I need to do? My tiny brain has grasped that this is probably the relevant bit:

adopt_feudalism = {
is_high_prio = yes
potential = {
is_tribal = yes
independent = yes
}
allow = {
capital_scope = {
is_tribal = yes
has_building = tb_hillfort_4
}
primary_title = { has_law = tribal_organization_4 }
custom_tooltip = {
text = TT_NOT_UNREFORMED_PAGAN
hidden_tooltip = {
OR = {
NOT = { religion_group = pagan_group }
is_reformed_religion = yes
}
}
}
}
effect = {
custom_tooltip = {
text = adopt_feudalism_tooltip_1
hidden_tooltip = {
capital_scope = {
convert_to_castle = yes
refill_holding_levy = yes

Is it literally just a case of deleting the

"OR = {
NOT = { religion_group = pagan_group }
is_reformed_religion = yes"

Or will this cause unforeseen damage, or not be enough?
 

DerOstkonig

Eastern King
86 Badges
Feb 26, 2013
1.174
110
  • Victoria 2: A House Divided
  • Heir to the Throne
  • Majesty 2
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Supreme Ruler 2020
  • Supreme Ruler: Cold War
  • March of the Eagles
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Darkest Hour
  • 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: Sword of Islam
  • Commander: Conquest of the Americas
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Divine Wind
  • For the Motherland
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis 4: Emperor
  • Mount & Blade: Warband
  • Europa Universalis III: Collection
  • Cities: Skylines
  • Europa Universalis IV
I was experiencing a CTD in one of the save files of my mod, and I was thinking it may have been due to some modded crusade weights.

Is there any issue with crusade weights above 4 digits? My crusade weight for Jerusalem was 10K.

I brought down the crusade weight to 5K and started a new game and I'm having no CTD's, though I continue to have CTD's on that previous save file.

Does anyone think I nailed the problem, or should I be looking elsewhere?

Playing on patch 2.0.4, thanks for any info.
 

Vizier One

bad at CK2
21 Badges
Feb 22, 2014
193
22
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • 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
  • Cities in Motion 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Prison Architect
Is there any way to do this:

Code:
e_roman_empire = { copy_title_laws = e_hre copy_title_history = e_hre }
activate_title = { title = e_hre status = no }

but for any title instead of e_hre?

It would probably be doable by checking for an emperor-tier title in the decision and changing the event so that it copies the de jure area of the primary, destroys it, and then fires a follow-up event that makes e_roman_empire the new primary if you are holding multiple empires.

I've figured it out myself (I had made a typo somewhere), thanks for your help though
 

MrParadux

Lt. General
86 Badges
Feb 17, 2007
1.313
955
  • Europa Universalis IV: Cossacks
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Magicka 2 - Signup Campaign
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Victoria: Revolutions
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Victoria 3 Sign Up
  • Divine Wind
  • 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
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Cities in Motion
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
I want to put a trigger into an event which checks how many dynasty members of the character are still alive. It doesn't seem to work, though.

Code:
		NOT = {
			any_dynasty_member = {
				is_alive = yes
				count = 3
			}
		}

I know there is num_of_dynasty_members, but this includes dead members, too and I don't want that.

Edit: Nevermind, it does seem to work, but it gets displayed in a weird way in the console. The clause I posted also is only positive at three or less and not at less than three, like I thought.
 
Last edited:

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
The tree map's height / width are 1/8 of the other files' length. So adhering to at least multiples of 8 is necessary. Other people might even advise you to use multiples of 128, 256 or 512.

I made a quick script to move all of the Warhammer mod's map up 256 pixels. I can make you a vanilla positions.txt that is moved up an arbitrary number of pixels if you are going through with this.
For what it's worth, the current map sizes are 3072x2048 for most, while trees.bmp is 382x293. If it were 1/8 of the other maps, it would be 384x256. It isn't even close to the same aspect ratio, as most are 1.5 while trees.bmp is 1.30375…!
 

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
Is there any way to do this:

Code:
e_roman_empire = { copy_title_laws = e_hre copy_title_history = e_hre }
activate_title = { title = e_hre status = no }

but for any title instead of e_hre?



I've figured it out myself (I had made a typo somewhere), thanks for your help though
You'd need to scope to the title you want to do it to, then replace e_hre with PREV or some such, as appropriate.
 

ThePatriot1776

Colonel
53 Badges
Sep 13, 2012
1.116
326
  • Surviving Mars
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Res Publica
  • Cities in Motion
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Dharma
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Call to arms event
  • Crusader Kings III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • 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: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • 500k Club
  • Crusader Kings II: Holy Fury
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Crusader Kings II: Jade Dragon
  • Age of Wonders III
  • 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
  • War of the Roses
I fixed the CTD. Upon loading I get four event windows that pop up immediately that have no titles. The events for sexual sins are firing except for Father-Daughter and Mother-Son which I presume that it's because Azrael doesn't meet the requirements for it to fire.