Thank you for your continued support all! I've been doing some experimenting on my own, and I'd like to show you all how things could be for modders if these hard coded checks were lifted. To do this I'll be using two tools mod makers currently can't use in their scripts: the console commandpregnancy, and Cheat Engine, for flipping exactly two bits in memory.
Today Duchess Matilda is getting married to a guy named Guy:
View attachment 621315
Matrilinealy of course, the Duchess is an important woman.
Currently, even if you manage to get two women in this screen (which in the base game you can't) the button to marry still won't let you click it.
But the moment the AI accepts, before the ceremony has even started, I can manually flip a single bit in memory to get:
View attachment 621318
A Duchess Guy! It turns out that the only real difference between a male and a female in CK3 is a single bit in memory (1 for female, and 0 for male). When that bit is flipped in memory, the character automatically updates in-game to show a new model, gendered titles, and pronouns. Modders just aren't allowed to touch that bit in memory. They even get a ceremony:
View attachment 621334
Now while this is well and good, Duchess Matilda still needs heirs. But while modders are not allowed to have the Duchess impregnate her wife, the independent console command for pregnancy just so happens to not have that limitation. So with a quick command ofpregnancy 18255 17897the Duchess gets her wish:
View attachment 621336
And this will work as expected throughout the pregnancy. Unfortunately the game has one more hard-coded block here. Right as the baby is born, it will refuse to assign a father to them if that character is female (real_fathercan be female though! How does that work?). So the Duchess is going to have to put on her best chevron mustache for when the stork comes (storks are notorious bigots):
View attachment 621344
And there we go:
View attachment 621346
And now removing her moustache, we can see that the child has both of the mothers as parents:
View attachment 621353
It even list's both as Mother in the tool-tip when you play as them. But what's this? The child isn't of Matilda's dynasty, but her wife's! That's because this marriage was matrilinial, and it was Guy who mothered the boy. It appears that normal and matrilineal marriages are already functional for same-sex parings. In matrilineal marriages the one who gives birth passes the dynasty, and in normal marriages the one who doesn't give birth does.
I hope this helps to illustrate just how practical adding in these modding features would be. Behind the blocking checks the functionality seems to already be there. It also illustrates that there doesn't seem to be a good reason forset_genderto have been removed as a modding tool. The effect is already there, just hidden from modders.
Remember that, post-release, CK2 had a lot of stuff that was originally hard-coded brought up to the soft layer. Usually based on user request, and feasibily.
(I was trying to find a list of all the stuff in CK2 that had this treatment, but can't seem to find one. If anyone else knows of it please post it).
We can see from the above demonstration by WaffleIroner that it's feasible in CK3. So if PDX's post-release support of CK3 is going to be anything like CK2, I think we can reasonably expect that this request will be met in the (hopefully) not-to-distant future.
- 8