CK3 Dev Diary 43 - A Ruler of Your Own

  • 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.
Showing developer posts only. Show all posts in this thread.

blackninja9939

Senior Programmer - Crusader Kings 3
Paradox Staff
98 Badges
Aug 28, 2013
2.414
8.534
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH: Heavy Metal
  • BATTLETECH: Season pass
  • Battle for Bosporus
  • Crusader Kings III: Royal Edition
  • Cities: Skylines - Snowfall
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines - Parklife
  • BATTLETECH - Digital Deluxe Edition
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Humanoids Species Pack
  • Empire of Sin
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Mass Transit
  • Age of Wonders III
  • Stellaris: Necroids
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders: Planetfall - Revelations
  • Cities: Skylines Deluxe Edition
  • Stellaris: Federations
  • BATTLETECH: Flashpoint
  • Europa Universalis IV
  • Europa Universalis 4: Emperor
  • Island Bound
  • Hearts of Iron IV: By Blood Alone
  • Crusader Kings III
  • Stellaris: Nemesis
  • Cities: Skylines Industries
  • Cities: Skylines - Campus
  • 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
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:
It looks like the ruler designer is just as 'capable' as many a character creator from RPG games. I trust that even the most cursed appearances will not just be possible to create, but be inheritable by offspring you manage to produce as the campaign begins? :D

Also thanks for the look at the development of the feature, which is a rare but enlightening perspective!
Absolutely, cursed appearances will pass on to your cursed children, hopefully you can find some less monstrous blood to help even out your offspring to looking somewhat normal.
This is really cool to see behind the scenes stuff!

Does that mean a later date of Coat of Arms designer is confirmed?
We don't have any concrete data or timeline for a Coat of Arms designer, but it is definitely something on our list of things we want
Good work. One question: Will we be able to choose a dead religion like Hellenism for our custom character?
Yes! You can pick any faith dead or alive!
 
  • 27Love
  • 24Like
  • 19
  • 2
Reactions:
Oh hell yeah! I was waiting for RD!

P.S. The button to go to the DD forum discussion from the DD news page still links to DD #38 (the one with the patch 1.1 changelog), it might be a nice idea to change this so that the button links to the most current DD instead.

Corrected! Good catch.
 
  • 12Like
  • 3
  • 1
Reactions:
Does this mean we can add the unicorn trait, known in-game as Pure-blooded? :)
Indeed! Not all traits are selectable, mainly ones which relate to specific in game content or faiths tenants. Pure-blooded is not one of those though so you can pick it!
Are there any limitations here, or can we go crazy, like creating a Dravidian Hellenist in Ireland? :)
No limits at all, you can make whatever wacky combo you want. Though keep in mind who your neighbours might be and how much they may dislike you ;)
How strict are these limitations vis-a-vis traits? I'm imagining it's things like no short Giants, no dark-skinned Albinos, and so on.
With how our portrait system works the traits that modify dna will override what you've selected to a degree, because the portrait is your actual inheritable DNA whereas traits modify on top of that and may be separately inherited.
For example you can choose to be dark-skinned in the portrait editor but if you then add Albino it will override to be pale visually, but your underlying genetics which will be passed onto your kids will have dark skin still. If your kids do not inherit your Albino trait then they will use that base DNA for their looks.
Same for things like giants etc.
That is awesome, thank you! :)
Glad you're excited for it!
 
  • 21
  • 14Like
  • 2
Reactions:
Question: Will the portrait editor in debug mode continue to be available? While this is all very user-friendly, as a modder the existing portrait editor obviously provides much more in-depth customization, and I'd hate to lose access to it just because this was released.
The debug portrait editor is of course still staying there.
 
  • 5Love
  • 5
  • 3
  • 2Like
Reactions:
It’s looking perfect, but no coat of arms customization is honestly a dealbreaker to me.
It is a free feature so not quite sure what deal you think this is a dealbreaker for...?

You're free to not use the Ruler Designer or update to the 1.2 version when it comes out if that is what you mean.

It's a simple conversation between a project manager and the team members responsible for the new feature.

PM: We want the ruler designer in patch 1.2, which needs to go out by the end of 2020. Ideally it should have a good portrait editor, a reasonably well balanced trait selector, and a good CoA editor.
Team: We can't guarantee getting a good portrait editor, a reasonably well balanced trait selector, and a good CoA editor done in time.
PM: What can you guarantee getting done in time?
Team: A good portrait editor, a reasonably well balanced trait selector, and a button to re-randomize your random CoA if you don't like it.
PM: Not ideal, but better than delaying the ruler designer to a later patch or delaying patch 1.2 into 2021. Make it so.
Pretty much 100% this
 
  • 17
  • 9Like
  • 6Love
  • 3
  • 2Haha
  • 2
Reactions: