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

CK2 Dev Diary #47: For the Faith!

Greetings!

Today I’d like to talk about the revamp of Secret Religious Cults that we’ve been working on for the past few weeks. At the launch of Monks and Mystics the system was entirely trait-based, i.e. if you were a Catholic in secrecy you would have a ‘Secretly Catholic’ trait. This system was clunky and hard to work with, so we decided to instead go for a code solution where both the ‘traits’ and the Cults themselves are automatically generated. Yes - this means that all religions (as long as they are present in the game at any start date) now have an associated Secret Religious Cult!

We also changed how the Secret Religion itself is displayed, instead of being a trait it is now displayed next to the characters real religion - as can be seen here:
SecretCult.png



You can also search for characters that are of the same secret religion as you using the new filter ‘Has Secret Religion’ in the Character Finder. If you do, their secret religion is displayed next to their age:
SecretReligionSearch.png



Another thing that we improved is the participation of your fellow members when you’re part of a Secret Religious Cult. They will now much more actively seek out to induce sympathy, induct and recruit other characters to the cult - for better or worse. To balance this increase in recruitment we’ve made it much harder to induct characters who are Zealous or of King/Empire tier. Also, your top priority should be to induct the Court Chaplain of the top liege, lest this will happen to you...
SecretCultBurned.png



To provide ample opportunity for you to convert in secret we’ve added a whole bunch of new decisions to take, as well as a couple of new options in existing events. You can, for example, choose to convert in secret to the religion of a spouse, concubine or friend. You can also choose to secretly convert to the religion of one of your demesne provinces, or if you happen to own a Holy Site (of an existing, living, religion), secretly convert that way as well.
Secret Conversion.png

Secret Conversion Event.png


Not relating to Secret Religious Cults, but rather secrecy in general - if you as a Devil Worshiper isn’t careful enough, it’s possible for you to get attacked by Demon Hunters! This should motivate any dark cultists to stay in the shadows and not reveal themselves by blatantly using their power. As implied it’ll also be possible, if you aren’t careful, to reveal yourself as a Devil Worshiper by using your powers too often (especially if you are independent, as there’s no Court Chaplain that can hunt you down normally!). Note that there are many different Demon hunters that can track you down, and you might even have repeated run-ins with some of them...
the Slayer.png



Now I’ll hand over the keyboard to Magne “Meneth” Skjæran for a moment to talk about how moddable this new Secret Religious Cult system is:

We’ve designed this new secret religion system from the ground up to be highly moddable. One of our main goals was to reduce the amount of work involved in creating new societies, benefiting both our content designers, and modders in general.

To achieve this, the system is built around a rudimentary dynamic society system. This system is currently only available for religions. What this system allows is defining one or more society templates, which can then be instantiated by religions. This allows separate localisation for each religion’s cult, members, currency, etc., but means that the core of the society only has to be defined once.

We’ve also made a number of other script changes to make secret religions and cults easy to reference. For example, societies can now have a religion associated, and can be used in most places where you can reference a religion. They can now also be saved as event targets, as can religions and cultures. Secret religious societies in particular are especially easy to scope to; the identifier “secret_religious_cult” will now grab the secret religious cult of a character’s secret religion (or if you’re in a religion scope, it’s secret religious cult), and can generally be used anywhere that’d take a society or religion.

There’s also a number of new triggers and effects associated with secret religions, meaning you can now easily tell what someone’s “true religion” is for example, defined simply as their secret religion if they have one, and otherwise their public religion.

To sum it all up, here’s the relevant modding changelog items:

- FROM in on_character_convert_religion and on_character_convert_culture is no longer a temp character, but instead the culture/religion itself. This only provides access to comparing to the culture/religion (or group). It should also still work to set cultures/religions and such. Please report any issues encountered with it. This change also means that it should now be possible to reference the previous characters outside "immediate" and similar without the game crashing

- same_society_as trigger will no longer be true when both characters are not part of a society.

- Added society icon backgrounds (society_symbol_bg_stone.dds and society_symbol_bg_wood.dds) to gfx/inventory/societies to make it easier for modders to make their own societies that follow the style of the vanilla societies

- Added a better secret religion system, now based around a code attribute rather than traits. Characters can have up to one secret religion. If the character ends up as their secret religion, their secret religion is cleared. This can be set and accessed via script:

- Added triggers "secret_religion", "true_religion", "secret_religion_group", and "true_religion_group". True religion being defined as your secret religion if you have one, otherwise your public religion

- The religion triggers (religion, secret_religion, true_religion, and the group versions) can now optionally take a "target_type" determining which religion of the target they check against. E.G., religion = { target = ROOT target_type = secret } will check if the scoped character's public religion is the same as ROOT's private religion. The valid types are "public", "secret", and "true". The default is to use the same as the type being checked; religion default to public, secret_religion to secret, true_religion to true. A religion (group) name as the right-hand-side works for all the triggers

- Effect set_secret_religion takes a religion or a scope. It optionally takes a target type (true/secret/public), but defaults to secret

- Added trigger has_secret_religion which takes "yes" or "no"

- Added set_secret_religion and clear_secret_religion effects

- The "religion" and "set_secret_religion" effects optionally take a religion type (true/secret/public) to determine which to use when a scope is referenced. "religion" defaults to public, while "set_secret_religion" defaults to "secret"

- Added "secret_religion" console command that sets a character's secret religion. Defaults to the player's character

- Who can see a character's secret religion is defined in 00_religions.txt

- Added a can_see_secret_religion trigger. Takes a scope, and checks if the character scope you're currently in can see the target character's secret religion

- Societies can now have an associated religion, which is accessible from script in the same way as character or province religion, including on the right-hand-side of triggers and effects. This is scripted with for example "associated_religion = catholic". It has no effect beyond being accessible via script

- Added a convert_to_secret_religion effect. Takes "yes" or a character scope. Sets your public religion to your secret religion, or the target character's secret religion if a scope is used

- Added a on_character_convert_secret_religion on_action

- Added SecretReligion and TrueReligion localisation promotions so that [This.SecretReligion.GetName] and similar work

- Added a dynamic secret religious society system that significantly reduces the work involved in making a religious cult society

- All religions except those specifically excluded get a secret religious society generated. The attributes of this society is defined by a template in 00_societies.txt

- Most the sections in society definitions now provide the society itself as a scope (FROM)

- Societies can now have an associated religion (defined with associated_religion = religiontag). This means that scopes can now be used where religons could be used, such as the right-hand-side of the "religion" trigger or effect. It also means that the "religion" trigger and similar can be used within a society scope

- Added a secret_religious_cult scope, which will scope to the cult associated with the character's secret religion. Also works in religion and province scopes. This can also be used on the right-hand-side of effects and triggers

- is_rank_full can now take a society scope rather than just a society name

- Added a "secret_religion" history effect

- Added on_society_created and on_society_destroyed on_actions

- Fixed scoping to saved society and artifact event targets not working

- Added religion_scope, secret_religion_scope, true_religion_scope, and culture_scope as scopes. These scope to the religion/culture of the character/province/society (only religion for societies) currently scoped to. Can be saved as event targets

- Added a save_conversion folder in "common" which handles convering obsolete objects in saves. Currently handles religions and societies

- Added a clear_flags_with_prefix effect. Works in character, province, title, and artifact scopes

- Fixed the society rank tooltip not having FROM defined. FROM is now the society grand master, as with other society tooltips
 
Last edited:
I am confused. Is there a reason to practice a religion in secrecy?
One of my favorite pasttimes is picking vassal starts where I'm an infidel to my liege, and most of the realm as well, and then do silly stuff like converting my liege and becoming BFFs, converting the whole realm except the liege and taking over or being that one damn heathen everybody hates but can't do anything about because I'm powerful enough to beat them back.
False religions, and the special actions secret cults have, just open so many possibilities in that regard. I haven't had time to play around with them much yet, but what I've seen is really cool.
 
@Meneth Is there any way to induct open practitioners of your secret religion into your secret cult now, or at least a way to remove the "infidel" modifier with them after you falsely profess faith? One of the major complaints I had about the system was to do with this. The first thing I tried in 2.7 was to start as the Bavandids in 769 and falsely profess faith in Muhammad, but that actually severely weakened me because all my vassals hated my guts since they thought I was now an infidel and there was no way for me to induct them into my cult without converting them to Sunni first, which is ridiculous. I would understand a limitation on this outside the realm of your top liege, but within the same realm it should be possible, both for my own vassals and any other vassals at any point in the hierarchy so long as we share the same top liege because they'd be "converting" to the same open religion.
 
@Meneth Is there any way to induct open practitioners of your secret religion into your secret cult now, or at least a way to remove the "infidel" modifier with them after you falsely profess faith? One of the major complaints I had about the system was to do with this. The first thing I tried in 2.7 was to start as the Bavandids in 769 and falsely profess faith in Muhammad, but that actually severely weakened me because all my vassals hated my guts since they thought I was now an infidel and there was no way for me to induct them into my cult without converting them to Sunni first, which is ridiculous. I would understand a limitation on this outside the realm of your top liege, but within the same realm it should be possible, both for my own vassals and any other vassals at any point in the hierarchy so long as we share the same top liege because they'd be "converting" to the same open religion.
Not my area; you'd need to ask a content designer.
 
Like I have said before the norse should get a Seid society, who practice that kind of "magic", it was highly disliked in norse society but not illegal. Maybe a more respected Skaldic or Runic brethren too.

Seconded. As I said in a post on a subject similar to that, men practicing seid were considered "ergi" (unmanly, womanish) and to imply that another Norseman practiced seidr was considered a great insult and even grounds for holmgang. However, I can see women practicing seidr as seidrkona particularly since Freyja was considered the goddess of magic and being a Vanir, she supposedly taught Odin the secret of seid. Men could practice it as well...just not as openly as women. :p Cause if they're ever found out, they could be condemned by your local thing as a "nithing"

So I'd like to see a Norse secret society practicing seid with Freyja as patron.
 
It's because satanist is not a religion, so even if you are a top liege you will still be your real religion and thus not be more susceptible to crusades/holy wars and so on, but since you are the top liege there will be very few people who can go after you you need some sort of predator. And the holy inqusition deal isn't real either (atleast not in this era, so fiction like fiction atleast no one believes that buffy was a real person, a staggering amount of people believe the inqusition and the witch hunters were a much bigger thing than they were (and also a lot earlier).


You're your public religion for all intents and purposes. A secret religion is just something that means you can convert to your secret religion pretty much at any time, but on the other hand you risk getting exposed by someone else.


I know! Isn't it awesome!
Though like I said ealier the reference could have been a bit more buffyspeak.


That is the price you pay for being a moderate. You protect them from being revoked and they hate you for it. History is full of people who have gotten vilified by the very people they have sought to protect.
Oh and meanwhile the caliph will be asking why you haven't revoked the heathens yet. Who said that keeping to the old faith was supposed to be easy?


Yeah I would just like to point out how well similar thinking worked out for Angel and Spike. If you get your hands on a slayer you kill her and hope the next one is born far far away.
Jokes aside I'm guessing the slayer will be immune to that sort of thing.
Remember when Angelus was going to turn Faith but she had dosed herself with a mystic psychotropic drug so drinking her blood would put him into an introspective dream state? Angelus at least thought it was possible to turn a slayer.
 
Sorry for my ignorance/reading comprehension if this was already discussed, but if someone's practicing a secret religion, will a liege be able to view this? (i.e. I'm the King and I'm Tengri, Duke Dude of Dudovich says he's also Tengri but is secretly Jewish, say. WIll I be able to know that he is Jewish?)
 
This change gives secret religious cults to all religions except Hellenic and generic Pagan.

No new societies in 2.7.1 beyond that though, yes.
It's cool to hear that secret religious cults are getting an overhaul. But on the other hand, I am disappointed that Islam isn't getting any Sufi orders, which I was really hoping for.
 
Sorry for my ignorance/reading comprehension if this was already discussed, but if someone's practicing a secret religion, will a liege be able to view this? (i.e. I'm the King and I'm Tengri, Duke Dude of Dudovich says he's also Tengri but is secretly Jewish, say. WIll I be able to know that he is Jewish?)
My understanding is that it shows their secret religion If you share that religion. The religion you are a true believer of. You all know the secret handshake and thus know who not to persecute.
 
Looking good so far... Although i am not thrilled with how secret Religions are displayed...because for Role playing Reasons it breaks immersion that you can see what they are secretly practicing. But maybe I am in the minority when it comes to feeling that.. Otherwise i am liking everything else.. Keep up the great work Paradox !
You can only see that if you're a secret member too, I believe.
 
I'm wondering if we can get a Demon Slayer secret society and be on the other end of that.
 
B. We did not have Satan-worshipping, people-sacrificing, child-consuming heretics capable of literally growing back their lost limbs in the ck2 era either.
Well, at least not in my history books.
Not this argument again there is a vast difference between purely fantastical elements and misrepresenting real things. Especially when it conforms with common historical misconceptions.
Demon hunters... Ah man! I wonder if Medieval Mulder and Scully can catch on to you?
Ha but then wouldn't your demons have to turn out to be aliens? Or are there demons in x-files too?
Damn I double taked when it said owned a Holy site... No Hellenic revival then. :(
No, if people had not been so incredibly entitled it would still be in the game you know. Now I think you can forget about them bringing it back.
Is there a particular reason why the Hellenic religion has no secret society ? In Ancient Greece several mysteries dating from the mycenian age thrived up to the Christian Age. The most famous were the Eleusinian mysteries linked with Demeter and Persephone, the Dyonisos mysteries or the Orphic mysteries. All having secret initiations and hierarchies. Some of them were using drugs to induce an altered state of conscience.
Because the last time they allowed people access to it they got 100 pages of discussions endlessly calling for it to be improved. So they removed it and it's not coming back.
I wonder if the Demon Hunters will include a (reference to a) certain blindfolded gentleman that's a fan of preparation (or, well, your lack of it) or a woman running around with a pair of crossbows and various traps...
Illidan I persume? But who's the other one?
So I can possibly take the Demon Hunter as a concubine is what I'm hearing...
Yeah taking the slayer into your bed has always worked out so well for everyone.

Since the text of the event says a sinister young woman, it seems more like Faith to me.
Might be, hence why she has no sense of humor.
Just be fashionable in your garb when she does.
Oh yeah or she'll mock you to death.
So I'd like to see a Norse secret society practicing seid with Freyja as patron.
I disagree with breaking religion up like that, norse paganism didn't work like that. People did not have personal patrons in norse society.
if you are a master seductor will you be able to seduce the demon hunters to leave you alone?
Yeah because that always works so well, you can try but odds are you'll end up beating a demon to death with your bare hand only to get your soul back, which basically drives you insane, and she still wont take you back.
Remember when Angelus was going to turn Faith but she had dosed herself with a mystic psychotropic drug so drinking her blood would put him into an introspective dream state? Angelus at least thought it was possible to turn a slayer.
No I don't that must have happened in Angel then? I never saw that show, I kind of hated Angel as a character.
I wonder who's going to make the "Watchers Council" secret society mod.
"The slayer slays and the watcher..."
"Watches?"
 
Last edited:
Can you make it so once you become the leader of a society that you can invite/restrict invites to a certain kind of people so that it seems like you actually are the head aof a cult as being leader isnt very rewarding i feel as having rank 4 is just the same as head leader.Iwould love to restrict my society being from my own kingdom unless i invite new recruits from a soon to be annexed kingdom :) also i want a purge society ranks option for certain societies like purge all men/women options lol a crazy amazon luciferian order sounds funny lol.