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

CK3 Dev Diary 43 - A Ruler of Your Own

Hello everyone and welcome to the 43rd CK3 Dev Diary!

I’m Matthew, one of the Programmers on the CK3 team, and today I am going to talk to you about my little baby from over the past while: the much anticipated Ruler Designer!

As promised during our lead up to release, the Ruler Designer will be a free feature so everyone can dive into creating their own wonderful (or monstrous) custom character!

To create a custom character you must select the play/customize any ruler option in the frontend and then pick the realm you want to replace the ruler of.
1_RD_FrontendEnter.PNG

[picture of front end play or create ruler button]
2_rd_createinlobby-png.651290

[picture of customize ruler button location]

So without further ado, here is what you’ll be greeted with when you open up the Ruler Designer:
3_RD_MainView.PNG

[picture of the ruler designer when you open it]

I’ll go through it step by step as to how you can set up your custom ruler. The left hand side deals with your base choices: first of all on the top left side we’ve got being able to pick your sex and sexual orientation from the options that appear in game.
4_RD_TopLeft.PNG

[picture of top left base info section]

From there you can pick a culture and a faith, they default to those of the character you are replacing but you can open up a collapsible list of the culture groups and religions which contain their related cultures and faiths.
5_RD_FaithList.PNG

[picture of the faith selection list and tooltip]

In the lower left side you can enter your first name and dynasty name, or randomise it based on your culture or, if religious names exist, your faith. You can also randomise your dynasty and realm coat of arms.
6_RD_BottomLeft.PNG

[picture of lower left with entered text and randomised coat of arms]

To ensure we could release the ruler designer in a timely fashion and offer a deep visual cosmetic system for your characters we took the decision to not spend time on a custom coat of arms designer.
I know this will be a disappointment to some of you, it is to us as well, but we wanted to prioritise giving you all a functional and fun Ruler Designer for the core aspects first.
We currently support randomising the coat of arms instead, the randomisation rules obey our normal coat of arms generation rules so it will be filled with emblems and designs fitting of your faith, culture, and title.

For the CK3 Ruler Designer we decided to move away from the restrictions imposed by the CK2 design as we felt it highly limited your ability to make that custom character that you wanted and wanted a free and open approach. This was something the community also felt as various “Ruler Designer Unlocked” mods for CK2 were consistently popular downloads.
To that end, the points themselves are not a hard limit to your customization and you can exceed them as you wish, but doing so will disallow getting achievements if you would otherwise be able to. But as long as you stay under, and obey the other requirements to get achievements, then you can play with your custom character in achievement runs.
7_RD_TopRight_Breakdown.PNG

[picture of point and breakdown]

Next you can choose your age and character weight, these not only affect the visuals of your character but also have mechanical impacts on the traits you can choose and the health of your character.
8_RD_Old_Fat.PNG

[picture of age and weight slider effects]

Of course we then move onto the ever important traits selection. Clicking on one of the trait slots opens up a menu showing the various traits in that category such as education or personality traits. Every trait has an associated cost in points, though again there is no hard limit on what you can pick except for mechanical limitations like no childhood traits on adults or picking two traits that are opposites of each other.
9_RD_TraitList.PNG

[picture of trait picker with various traits selected]

You can also modify your character’s base stats if you want that little extra boost in intrigue without wanting to compromise the personality you have built for your character. Increasing your prowess will also increase your physical muscle mass so you can show off your gym gains.

And finally in the bottom right we have the family section which lets you decide whether your created character should start married or with some children. If you do then your children will look like you, and your spouse if they exist, just like they would in normal gameplay.
10_RD_BottomRight.PNG

[bottom section family picture]

Speaking of which, no custom character creator would be complete without the ability to customise the appearance of your new ruler!

When you click the change appearance button you are first presented with the ethnicity selection screen. Picking an ethnicity here will randomise within the predefined guidelines of that ethnicity, it doesn’t limit any further customization it just provides the basis.
11_RD_EthnicitySelect.PNG

[ethnicity select screen]

Customizing further gets you into the real meat of the portrait creation process, we’ve got over 90 individual genes spread over 7 anatomical groupings to customize your portrait. Ranging from height and skin colour, to your lip definition and profile, the nose tip detail, and the depth of the eye corner. So safe to say a lot of options to choose from when customizing your character!
12_RD_PortraitDetail.PNG

[detail customization screen body section]

13_RD_Detail_Face.PNG

[detail customization screen facial structure section]

The various sliders allow for customising the “strength” of the gene, which ranges from meaning size to intensity depending on the gene. Some of these options come with specific templates as well, they do a modification in a more binary sense such as changing from having a straight nose profile or a hawked one.
14_RD_Nose_Straight.PNG

15_RD_Nose_Hook.PNG

[straight nose vs hawk nose]

One can also pick from a variety of hair, and beard if male, stylings as well. You can of course also pick your hair colour. Though we do have a limited palette as I was sad to find I couldn’t make my self-insert character quite as ginger as I am in real life, though to be fair nothing is quite that orange.
16_RD_HairStyles.PNG

[hair styles]

I think the easiest way to demonstrate it however is a clip of me creating doing a few edits to a character to demonstrate some of the types of changes you can do, you can morph the face to look very different from your randomised baseline if you want to but for this video I kept it to just a few edits.
[video of editing a character portrait]

You can also copy and paste character DNA so you can share it with your friends and the community if you make a particularly awesome, or absolutely cursed, looking character. As a fun tidibt this works even if you change the sex of your character.
18_RD_CopyPasteDna.PNG

[copy and paste dna buttons]

And once you are finally done with making your new ruler you hit Finalize and away we go! Into the game with our new custom ruler!
19_RD_FinalizeCharacter.PNG

20_RD_CharacterInGame.PNG

[picture of in game ruler made in the designer]

All of this is usable in multiplayer as well of course, so you and your friends can create custom rulers in multiplayer games together.

As I said at the beginning of this dev diary, the Ruler Designer will be a free feature in the upcoming 1.2 patch. We are not ready to give an exact release date at this time but the aim is for it to be out before the end of the year.

I hope this has got you excited for creating your own ruler!

Making the Sausage Feature
I thought it would be fun to detail a little bit the process I went through of making a full feature from scratch, to show the various things that go into it from our perspective because making games is an otherwise weirdly secretive process these days compared to the creation of other media like movies, television, or music.

To start off a lot of estimations and scoping of the feature were done by the team, very important work but also not particularly interesting screenshot wise so I’m gonna skip over it and get to when I started doing the implementation. Needless to say all of the images are of older versions with my beautiful placeholder art, thankfully our artists came in and prettied it all up in the current version!

First of all I just wanted a window that showed you some character and when you clicked a button it made that character, to start with everything being random like traits, name and portrait was fine.
1_Making_RD.png

[image of the initial portrait and button]

Once I had that going I could then start exposing more things to the interface to be modified, I did the left side of the screen first as it makes up the section that doesn’t cost points to change like name and culture selection.
2_Making_RD.png

[image of wip left side of screen]

From there I set up the layout of the right side of the screen, though I left that to fill out later as part of another task as I wanted to spend time getting the portrait customization working.
3_Making_RD.png

[image of wip right side of screen]

Adding in all the portrait editing was where a good chunk of time was spent, compared to CK2 our portraits were a lot more complex so just having a few options per category would not work, instead we wanted full sliders for controlling the exact intensity of various genes. Some genes were also mirror of each other, like ear size positive and ear size negative, to make sure they were not two separate sliders or buttons I added in logic so combine them into one slider with the midpoint being zero for both and then scaling the intensity from there.
4_Making_RD.png

5_Making_RD.png

[image of initial portrait editing]

This portrait editing led to some bugs to fix such as some vaguely skeleton looking characters missing most of their face from being rendered.
6_Making_RD.png

[image of horror show clipping face]

After getting all the portrait options setup and working it was then onto the final stage of being able to customise your age and traits and family generation. Thankfully our code was already set up nicely so every character is generated through the same code path, so changing these base values was already unified so it was mostly a matter of tying the UI into doing this in a neat way.
7_Making_RD.png

[image of right side more finished]

Which led to some fun issues when I used the wrong UI box type and the traits section could grow to be huge if you added to many.
8_Making_RD.png

[image of traits growing instead of overlapping]

The points now actually mattering meant I needed to fix up our achievement settings to check for that and make sure our characters were known if they came from the ruler designer or not.

With our portraits editable and traits pickable it was then time to make sure that picking a trait which changes the portrait would also show up in game, I had to re-work how the traits were handled for this because the base portrait modifier system wants a character and in the ruler designer we don’t actually have a real character we just have a bunch of raw components needed to make one when we finalize.
Adding this in gave me some absolutely cursed portraits when stacking all the visual illness traits, do not open unless you are ok with some gross looking portraits:
9_Making_RD.png
[all sickness trait image]

Finally it was a matter of tidying up some things, fixing a few bugs and adding the last bits of polish to the UI feel. Art had been going through once I had got the core features done and were making the UI look good and remove all my placeholders. After all of that and some QA testing for me to fix those last bugs, so much fun with fixing multiplayer issues, we were all done!

I hope this unveiled a bit about how making a feature happens, it was very high level and I avoided the nitty gritty details of it, but I think it can still be illuminating to see the work and various stages of development that go into making a brand new feature!
 

Attachments

  • 2_RD_CreateInLobby.PNG
    2_RD_CreateInLobby.PNG
    673,9 KB · Views: 0
  • 18_RD_CopyPasteDna.PNG
    18_RD_CopyPasteDna.PNG
    67,1 KB · Views: 0
  • 199Like
  • 138Love
  • 13
  • 13
  • 4
  • 1Haha
Reactions:
OMG it is the SPOUSE CREATOR! YES, now I can finally make me and my girlfriend, watch them get kids and then decide if I should in real life or not...

xD
 
  • 2Haha
Reactions:
Doesn't seem like something worth complaining or talking about.
I wasn't complaining though, just pointing out.

But... shape? You wont see it through clothing really, sure there are nudists but few and far between.
Duh, developers of cyberpunk 2070 (first person shooter, i.e. you don't even see your character most of the time) boasted that they added genital customisation :D
And it's not just about breasts, i would like just as much ability to add 10 pack abs to male characters (you see, i am a bit of perfectionist...)
 
  • 1Haha
Reactions:
I'm concerned about balancing issues with wildly different religions and cultures being freely available. I'd be much happier if culgures outside your culture group and faiths outside of your religion had a points cost.

I'm very excited regardless of this minor issue. Congratulations on delivering this in short order, and as a free update! Thanks!
 
  • 2Like
Reactions:
Duh, developers of cyberpunk 2070 (first person shooter, i.e. you don't even see your character most of the time) boasted that they added genital customisation :D
And it's not just about breasts, i would like just as much ability to add 10 pack abs to male characters (you see, i am a bit of perfectionist...)
It is a good argument in favour of getting ruler designer without coat-of-arms designer now. Whatever features that vaporware of a game is alleged to have or not, is irrelevant as long as we cannot play it.
 
  • 2Like
Reactions:
Will the slider limits be allowed to use the existing morphs players mod into the genes_morph txt or will they utilize the game (ironman friendly) defaults? (Having the sliders be a % of whatever the morph range is, rather than a static number?).


I'm concerned about balancing issues with wildly different religions and cultures being freely available. I'd be much happier if culgures outside your culture group and faiths outside of your religion had a points cost.

I'm very excited regardless of this minor issue. Congratulations on delivering this in short order, and as a free update! Thanks!

I'm guessing they may make inactive religions or things such as you mention be a trigger that it won't be ironman enabled. But I suppose if one of the team could answer that it'd be appreciated by some? (Myself included given the impact on the game meta if it isn't).

One could have it be set so choosing a culture outside the culture group of that province disables ironman as does choosing a religion outside of the religion group too, (or better yet one that isn't considered at least heretical to the provincial capital's starting faith, syncretic/gnostic/tolerance bonuses don't count of course to avoid exploits there too with a syncretic faith with eastern ones dropping way into asia when that shouldn't be fine either).
 
Last edited:
I honestly wouldn't mind waiting longer for the Ruler designer if it meant we can customize our CoA. Rerolling over and over until we can get one that will be somewhat satisfactory seems like it will be annoying.
 
Personally I think a CoA customization feature is more important than character appearance customization (and would also almost certainly have been easier and quicker to implement). The individual character will generally be there no more than 50-75 years while the CoA is through the entire game...
 
  • 5
Reactions:
Personally I think a CoA customization feature is more important than character appearance customization (and would also almost certainly have been easier and quicker to implement). The individual character will generally be there no more than 50-75 years while the CoA is through the entire game...
Due to the CK3 genetics system your appearance will persist (partly) through the generations. The CoA can change completely for a new house, though. :)
 
  • 2
Reactions:
Due to the CK3 genetics system your appearance will persist (partly) through the generations. The CoA can change completely for a new house, though. :)

I understand that but how often do you change your own house? The only time it would really make sense is to form a junior house which isn't something you're likely to want to do unless you start as a branch of a multi-crown family which isn't something you can do as a custom character (unless things are different from CK II in that regard).
 
I understand that but how often do you change your own house?
when i screw up / get a disease outbreak and end up playing a cadet line because my senior line died out.
 
  • 1
Reactions:
Hello everyone and welcome to the 43rd CK3 Dev Diary!

I’m Matthew, one of the Programmers on the CK3 team, and today I am going to talk to you about my little baby from over the past while: the much anticipated Ruler Designer!

As promised during our lead up to release, the Ruler Designer will be a free feature so everyone can dive into creating their own wonderful (or monstrous) custom character!

To create a custom character you must select the play/customize any ruler option in the frontend and then pick the realm you want to replace the ruler of.
View attachment 651286
[picture of front end play or create ruler button]
2_rd_createinlobby-png.651290

[picture of customize ruler button location]

So without further ado, here is what you’ll be greeted with when you open up the Ruler Designer:
View attachment 651296
[picture of the ruler designer when you open it]

I’ll go through it step by step as to how you can set up your custom ruler. The left hand side deals with your base choices: first of all on the top left side we’ve got being able to pick your sex and sexual orientation from the options that appear in game.
View attachment 651297
[picture of top left base info section]

From there you can pick a culture and a faith, they default to those of the character you are replacing but you can open up a collapsible list of the culture groups and religions which contain their related cultures and faiths.
View attachment 651298
[picture of the faith selection list and tooltip]

In the lower left side you can enter your first name and dynasty name, or randomise it based on your culture or, if religious names exist, your faith. You can also randomise your dynasty and realm coat of arms.
View attachment 651299
[picture of lower left with entered text and randomised coat of arms]

To ensure we could release the ruler designer in a timely fashion and offer a deep visual cosmetic system for your characters we took the decision to not spend time on a custom coat of arms designer.
I know this will be a disappointment to some of you, it is to us as well, but we wanted to prioritise giving you all a functional and fun Ruler Designer for the core aspects first.
We currently support randomising the coat of arms instead, the randomisation rules obey our normal coat of arms generation rules so it will be filled with emblems and designs fitting of your faith, culture, and title.

For the CK3 Ruler Designer we decided to move away from the restrictions imposed by the CK2 design as we felt it highly limited your ability to make that custom character that you wanted and wanted a free and open approach. This was something the community also felt as various “Ruler Designer Unlocked” mods for CK2 were consistently popular downloads.
To that end, the points themselves are not a hard limit to your customization and you can exceed them as you wish, but doing so will disallow getting achievements if you would otherwise be able to. But as long as you stay under, and obey the other requirements to get achievements, then you can play with your custom character in achievement runs.
View attachment 651300
[picture of point and breakdown]

Next you can choose your age and character weight, these not only affect the visuals of your character but also have mechanical impacts on the traits you can choose and the health of your character.
View attachment 651301
[picture of age and weight slider effects]

Of course we then move onto the ever important traits selection. Clicking on one of the trait slots opens up a menu showing the various traits in that category such as education or personality traits. Every trait has an associated cost in points, though again there is no hard limit on what you can pick except for mechanical limitations like no childhood traits on adults or picking two traits that are opposites of each other.
View attachment 651302
[picture of trait picker with various traits selected]

You can also modify your character’s base stats if you want that little extra boost in intrigue without wanting to compromise the personality you have built for your character. Increasing your prowess will also increase your physical muscle mass so you can show off your gym gains.

And finally in the bottom right we have the family section which lets you decide whether your created character should start married or with some children. If you do then your children will look like you, and your spouse if they exist, just like they would in normal gameplay.
View attachment 651303
[bottom section family picture]

Speaking of which, no custom character creator would be complete without the ability to customise the appearance of your new ruler!

When you click the change appearance button you are first presented with the ethnicity selection screen. Picking an ethnicity here will randomise within the predefined guidelines of that ethnicity, it doesn’t limit any further customization it just provides the basis.
View attachment 651304
[ethnicity select screen]

Customizing further gets you into the real meat of the portrait creation process, we’ve got over 90 individual genes spread over 7 anatomical groupings to customize your portrait. Ranging from height and skin colour, to your lip definition and profile, the nose tip detail, and the depth of the eye corner. So safe to say a lot of options to choose from when customizing your character!
View attachment 651305
[detail customization screen body section]

View attachment 651306
[detail customization screen facial structure section]

The various sliders allow for customising the “strength” of the gene, which ranges from meaning size to intensity depending on the gene. Some of these options come with specific templates as well, they do a modification in a more binary sense such as changing from having a straight nose profile or a hawked one.
View attachment 651307
View attachment 651308
[straight nose vs hawk nose]

One can also pick from a variety of hair, and beard if male, stylings as well. You can of course also pick your hair colour. Though we do have a limited palette as I was sad to find I couldn’t make my self-insert character quite as ginger as I am in real life, though to be fair nothing is quite that orange.
View attachment 651310
[hair styles]

I think the easiest way to demonstrate it however is a clip of me creating doing a few edits to a character to demonstrate some of the types of changes you can do, you can morph the face to look very different from your randomised baseline if you want to but for this video I kept it to just a few edits.
[video of editing a character portrait]

You can also copy and paste character DNA so you can share it with your friends and the community if you make a particularly awesome, or absolutely cursed, looking character. As a fun tidibt this works even if you change the sex of your character.
View attachment 651313
[copy and paste dna buttons]

And once you are finally done with making your new ruler you hit Finalize and away we go! Into the game with our new custom ruler!
View attachment 651314
View attachment 651315
[picture of in game ruler made in the designer]

All of this is usable in multiplayer as well of course, so you and your friends can create custom rulers in multiplayer games together.

As I said at the beginning of this dev diary, the Ruler Designer will be a free feature in the upcoming 1.2 patch. We are not ready to give an exact release date at this time but the aim is for it to be out before the end of the year.

I hope this has got you excited for creating your own ruler!

Making the Sausage Feature
I thought it would be fun to detail a little bit the process I went through of making a full feature from scratch, to show the various things that go into it from our perspective because making games is an otherwise weirdly secretive process these days compared to the creation of other media like movies, television, or music.

To start off a lot of estimations and scoping of the feature were done by the team, very important work but also not particularly interesting screenshot wise so I’m gonna skip over it and get to when I started doing the implementation. Needless to say all of the images are of older versions with my beautiful placeholder art, thankfully our artists came in and prettied it all up in the current version!

First of all I just wanted a window that showed you some character and when you clicked a button it made that character, to start with everything being random like traits, name and portrait was fine.
View attachment 651316
[image of the initial portrait and button]

Once I had that going I could then start exposing more things to the interface to be modified, I did the left side of the screen first as it makes up the section that doesn’t cost points to change like name and culture selection.
View attachment 651317
[image of wip left side of screen]

From there I set up the layout of the right side of the screen, though I left that to fill out later as part of another task as I wanted to spend time getting the portrait customization working.
View attachment 651318
[image of wip right side of screen]

Adding in all the portrait editing was where a good chunk of time was spent, compared to CK2 our portraits were a lot more complex so just having a few options per category would not work, instead we wanted full sliders for controlling the exact intensity of various genes. Some genes were also mirror of each other, like ear size positive and ear size negative, to make sure they were not two separate sliders or buttons I added in logic so combine them into one slider with the midpoint being zero for both and then scaling the intensity from there.
View attachment 651319
View attachment 651320
[image of initial portrait editing]

This portrait editing led to some bugs to fix such as some vaguely skeleton looking characters missing most of their face from being rendered.
View attachment 651321
[image of horror show clipping face]

After getting all the portrait options setup and working it was then onto the final stage of being able to customise your age and traits and family generation. Thankfully our code was already set up nicely so every character is generated through the same code path, so changing these base values was already unified so it was mostly a matter of tying the UI into doing this in a neat way.
View attachment 651322
[image of right side more finished]

Which led to some fun issues when I used the wrong UI box type and the traits section could grow to be huge if you added to many.
View attachment 651323
[image of traits growing instead of overlapping]

The points now actually mattering meant I needed to fix up our achievement settings to check for that and make sure our characters were known if they came from the ruler designer or not.

With our portraits editable and traits pickable it was then time to make sure that picking a trait which changes the portrait would also show up in game, I had to re-work how the traits were handled for this because the base portrait modifier system wants a character and in the ruler designer we don’t actually have a real character we just have a bunch of raw components needed to make one when we finalize.
Adding this in gave me some absolutely cursed portraits when stacking all the visual illness traits, do not open unless you are ok with some gross looking portraits:
[all sickness trait image]

Finally it was a matter of tidying up some things, fixing a few bugs and adding the last bits of polish to the UI feel. Art had been going through once I had got the core features done and were making the UI look good and remove all my placeholders. After all of that and some QA testing for me to fix those last bugs, so much fun with fixing multiplayer issues, we were all done!

I hope this unveiled a bit about how making a feature happens, it was very high level and I avoided the nitty gritty details of it, but I think it can still be illuminating to see the work and various stages of development that go into making a brand new feature!

sub blackninja9939 i really love the fact that so many people are creating awesome characters and sharing their DNA online.
is there any way of integrating these DNA into the game so there will be more diversity in game? it still happens that some characters look identical even though they are two totally different people.
haveing a couple of new DNAs would spice that up.

just food for thought.
thank you for your work