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

N0body

First Lieutenant
83 Badges
Dec 21, 2012
254
125
  • Crusader Kings II
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Cities: Skylines - After Dark
  • Steel Division: Normandy 44
  • Cities: Skylines - Natural Disasters
  • Battle for Bosporus
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • 500k Club
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris: Apocalypse
  • 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
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Parklife
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV
  • Stellaris: Distant Stars
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Lithoids
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
Anyone know why custom governments only come up as Anarchy? This issue persists even when the government in question is a simple copy-pasta of a Vanilla Government. Custom frames, icon, colour and name all work however.
 

blackninja9939

Experienced Programmer - Crusader Kings 3
Paradox Staff
78 Badges
Aug 28, 2013
2.401
7.847
  • Crusader Kings III
  • Stellaris: Federations
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Crusader Kings II
  • Crusader Kings II: Holy Fury
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Stellaris Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Lithoids
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Crusader Kings II: Conclave
  • Crusader Kings II: The Republic
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Stellaris
  • Mount & Blade: Warband
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Sunset Invasion
Anyone know why custom governments only come up as Anarchy? This issue persists even when the government in question is a simple copy-pasta of a Vanilla Government. Custom frames, icon, colour and name all work however.
Have you modified the government flavour file to take into account any changes you have made to religions, laws, succession etc?
 

DigitalHarp

Comrade
52 Badges
Dec 27, 2012
28
0
  • 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: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Cities: Skylines Deluxe Edition
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Stellaris: Digital Anniversary Edition
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Prison Architect
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Crusader Kings III
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - After Dark
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Way of Life
  • Semper Fi
  • Cities in Motion 2
  • Crusader Kings II: Sunset Invasion
  • Darkest Hour
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III Collection
  • Knights of Honor
  • Sengoku
  • Stellaris
  • Cities: Skylines
  • Europa Universalis IV: Pre-order
Code:
                b_belgrade = {
                    serbian = "Belgrad"
                    croatian = "Belgrad"
                    bulgarian = "Belgrad"
                    greek = "Singidounon"
                    coat_of_arms=
                    {
                        data=
                        {
                        0 10 0 13 0 0 0
                        }
                        religion="catholic"
                    }

For the coat of arms for a barony, is there anything I can set the religion field to that will use that coa regardless of the religion of the holding? I don't entirely understand this part of the code, as if this were a dynastic coa I don't think a religious conversion from catholic to orthadox or vise versa, i don't think it would affect the coa of the dynasty?
 

N0body

First Lieutenant
83 Badges
Dec 21, 2012
254
125
  • Crusader Kings II
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Cities: Skylines - After Dark
  • Steel Division: Normandy 44
  • Cities: Skylines - Natural Disasters
  • Battle for Bosporus
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • 500k Club
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris: Apocalypse
  • 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
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Parklife
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV
  • Stellaris: Distant Stars
  • Teleglitch: Die More Edition
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Death or Dishonor
  • BATTLETECH
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Lithoids
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
Have you modified the government flavour file to take into account any changes you have made to religions, laws, succession etc?

Whoops, that'll be what is missing. Government modding wiki did not mention it, so I completely missed it - thanks!
 

neutrondecay

Colonel
23 Badges
Oct 1, 2015
1.107
917
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Holy Fury Pre-order
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
So a recent change has caused a realm's custom coat of arms to be replaced by a generic one. We're not sure which change, though, so we don't have an immediate way of telling which realm is missing a tga file in gfx/flags. Is there a quick and easy way to debug this fault? The Validator seems not to cover it.

Thanks,

nd
 

tsf4

General
56 Badges
May 31, 2012
2.322
722
30
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • 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
  • Divine Wind
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • 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
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome
  • Age of Wonders: Planetfall
  • PDXCon 2017 Awards Winner
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • 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
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
So a mod I am working on with another person just will not start, no matter how we edit the map resolution or tweak different things. Can someone help us and see what to do? We know that different resolution and size maps work, because somehow the Avatar/AGOT/other map mods manage to work fine.

Here is the link: https://www.dropbox.com/s/1kjltuuq8hu7il5/PernMod.7z?dl=0
 

nesHan

Private
23 Badges
Sep 9, 2016
16
0
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings III
  • Crusader Kings II: Jade Dragon
  • 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
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Victoria: Revolutions
  • Crusader Kings II
  • King Arthur II
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • 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
  • Crusader Kings II: Sons of Abraham
On the wiki it says that an event can have at most four options. Is this the maximum to be displayed or the maximum number of options in the code? IAlso is there any way to work around this if you want more possible choices on an event (not necessarily all showing up at the same time)?
 

Silversweeeper

Ichi no Hito
58 Badges
Aug 24, 2012
3.936
2.839
  • Stellaris - Path to Destruction bundle
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Distant Stars
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Europa Universalis IV
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Charlemagne
  • Stellaris Sign-up
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III Complete
  • Magicka
On the wiki it says that an event can have at most four options. Is this the maximum to be displayed or the maximum number of options in the code? IAlso is there any way to work around this if you want more possible choices on an event (not necessarily all showing up at the same time)?

It is the maximum number of options that can be displayed so that the player can see and pick them (the AI could theoretically "see" a thousand options at the same time and pick between them). The best workaround is to use character flags triggering the options for the player and an option named "More options" (or whatever) which uses repeat_event and sets/removes the necessary flags to show new options. This event option should ideally not be available for the AI, as it is better to have the AI "see" all options at once and pick an optio instead of risking it potentially getting stuck in a loop trying to look at he new optins.
 

Thezezeal

Captain
3 Badges
Dec 28, 2014
375
3
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
Is there a way to remove a C_Title from existence during game?

I have a special County Title used to give a character a special flag (primary = yes); but when the Character loses all their Titles, an even kills them, and runs "destroy_landed_title", followed by "active = no", but for some reason the Title is still existing and active, and gets randomly given to a Courtless, Liegeless character.
 

blackninja9939

Experienced Programmer - Crusader Kings 3
Paradox Staff
78 Badges
Aug 28, 2013
2.401
7.847
  • Crusader Kings III
  • Stellaris: Federations
  • Battle for Bosporus
  • Stellaris: Nemesis
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV
  • Crusader Kings III: Royal Edition
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Crusader Kings II
  • Crusader Kings II: Holy Fury
  • Imperator: Rome - Magna Graecia
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Monks and Mystics
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rule Britannia
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Stellaris Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Stellaris: Lithoids
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Crusader Kings II: Conclave
  • Crusader Kings II: The Republic
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Stellaris
  • Mount & Blade: Warband
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Sunset Invasion
Is there a way to remove a C_Title from existence during game?

I have a special County Title used to give a character a special flag (primary = yes); but when the Character loses all their Titles, an even kills them, and runs "destroy_landed_title", followed by "active = no", but for some reason the Title is still existing and active, and gets randomly given to a Courtless, Liegeless character.
You cannot destroy a county title or deactivate it, make your special into a duke tier one. Or if you don't actually need them to have the title to be playable give them a special character title instead which will overwrite their name regardless of if they have land or not and can be cleared easily.
 

DigitalHarp

Comrade
52 Badges
Dec 27, 2012
28
0
  • 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: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Cities: Skylines Deluxe Edition
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Stellaris: Digital Anniversary Edition
  • Cities: Skylines - Snowfall
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Prison Architect
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Crusader Kings III
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - After Dark
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Way of Life
  • Semper Fi
  • Cities in Motion 2
  • Crusader Kings II: Sunset Invasion
  • Darkest Hour
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III Collection
  • Knights of Honor
  • Sengoku
  • Stellaris
  • Cities: Skylines
  • Europa Universalis IV: Pre-order
On the wiki it says that an event can have at most four options. Is this the maximum to be displayed or the maximum number of options in the code? IAlso is there any way to work around this if you want more possible choices on an event (not necessarily all showing up at the same time)?

One option would be to have each each choice branch to another set of choices. For example given A,B,C,D, selecting A leads to options A1,A2,A3 ... of course you then have to think about how to separate the options in a way that makes sense.
 

nesHan

Private
23 Badges
Sep 9, 2016
16
0
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Crusader Kings III
  • Crusader Kings II: Jade Dragon
  • 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
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Victoria: Revolutions
  • Crusader Kings II
  • King Arthur II
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • 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
  • Crusader Kings II: Sons of Abraham
It is the maximum number of options that can be displayed so that the player can see and pick them (the AI could theoretically "see" a thousand options at the same time and pick between them). The best workaround is to use character flags triggering the options for the player and an option named "More options" (or whatever) which uses repeat_event and sets/removes the necessary flags to show new options. This event option should ideally not be available for the AI, as it is better to have the AI "see" all options at once and pick an optio instead of risking it potentially getting stuck in a loop trying to look at he new optins.
Thank You! One more question, how do you determine randomly which effect to apply when choosing an option in an event (from a list of alternatives, with different probabilities for the different alternatives)? Like vanilla does in the guardian event where you can teach the ward a lesson for climbing the tower.
 

Silversweeeper

Ichi no Hito
58 Badges
Aug 24, 2012
3.936
2.839
  • Stellaris - Path to Destruction bundle
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Distant Stars
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Holy Fury
  • Stellaris: Megacorp
  • Europa Universalis IV
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Charlemagne
  • Stellaris Sign-up
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Res Publica
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III Complete
  • Magicka
Thank You! One more question, how do you determine randomly which effect to apply when choosing an option in an event (from a list of alternatives, with different probabilities for the different alternatives)? Like vanilla does in the guardian event where you can teach the ward a lesson for climbing the tower.

Do something like this

Code:
random_list = {
   10 = {
       modifier = {
           factor = 0
           # Conditions
       }
       # Do something
   }
   10 = {
       # Do something else
   }
   10 = {
       # Can be left blank to have a "nothing happens" option
   }
}
 

Ben84

Captain
55 Badges
Jun 11, 2015
442
63
  • 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
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • PDXCon 2019 "Baron"
  • Crusader Kings III: Royal Edition
I've got my own music mod working, but...
haven't music when I start the game,now. The main theme music has gone.

I looked into Stellaris and EUIV music and their songs and assets files, but they implement them in a bit different way.
I tried it with a maintheme.txt and also a maintheme entry in the songs.txt, but without success.
Any idea how I can set up a maintheme music with my mod again?
 

neutrondecay

Colonel
23 Badges
Oct 1, 2015
1.107
917
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Holy Fury Pre-order
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Cities: Skylines - After Dark
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • Europa Universalis IV
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
So a recent change has caused a realm's custom coat of arms to be replaced by a generic one. We're not sure which change, though, so we don't have an immediate way of telling which realm is missing a tga file in gfx/flags. Is there a quick and easy way to debug this fault? The Validator seems not to cover it.

So I fixed this - the errant realm had a religion for which has_coa_on_barony_only had mistakenly been set wrong.

Next up - I'm trying to assign a character a secret religion in the history files. I'm using a line that says secret_religion = <name here> as suggested in the recent change log (and as found on a couple of well-hidden characters in vanilla, which I checked, and which work) - but nothing is happening.

What else needs to be done to make a character's secret religion show up?

Thanks,

nd
 

Thezezeal

Captain
3 Badges
Dec 28, 2014
375
3
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
Is there a way to condition for "any" character flag, even if I do not know which flag I am looking for? I'm trying to make my event ignore any character who starts the game with a Character Flag, since they're most likely "Special" in some way.