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

Crusader Kings 3 Dev Diary #51 - It’s Time to Duel

Crusader Kings 3 Dev Diary #51 - It’s Time to Duel​

Welcome comrades! Today, we’ll be talking about our final major free patch feature: single combat.

duelling01.png


Duels in CK2 have been a much-beloved feature for years, and whilst we’ve certainly got duelling content in CK3, we wanted the option to invoke something a bit more elaborate when circumstances called for it.

Following up on and improving such a feature was always going to be a tough ask, but we’re pretty happy with what we’ve got.

Plus, QA dared me, so here we are.

Ethos​

When designing the new single combat system, we had a few key points in mind to guide our implementation.

1. Duels should be dangerous​

The outcome of an in-depth duel should never be a completely forgone conclusion: a desperate rookie can still surprise a veteran master, or get lucky/play smart. If the fight would be ended before it’s even begun, it should use a simpler effect or auto-win option.

2. Duels should be reusable​

Duels should be easy to add anywhere in script, and their results should be as agnostic as possible. A detailed duelling system should be able to account for everything from strict honour duels to battlefield bouts to a knife fight in the tavern.

3. Duels should be variable​

Duels should vary in content and strategy depending on the characters involved and the location and circumstances around them. No two fights should ever be totally identical.

4. Duels should be character-driven​

Character traits, relationships, and other qualities should all have an impact on duels, not just prowess.

5. Duels should allow for both experience and intuition​

Although understanding the mechanics of the system should be rewarding and allow competent play, a newbie just guessing should still have a fair chance of success.

6. Duels should allow for both roleplay and rollplay​

It should be viable to both always play to win, and to play according to what makes sense for your character, without either totally kneecapping you. This should carry over to the AI, who should be somewhat readable based on skills and character traits.

duelling02.png


Mechanics​

All single combats take place between exactly two characters, and are fought to a predetermined end (be that a slight cut, an increase in the wounded trait, or a fatal blow), at the end of which the loser may be wounded or killed as appropriate.

Combat is divided up into distinct rounds, with first the defender, then the attacker selecting an option, before we work out whether one or the other has done enough to win or lose. All combats last between two and four of these rounds, ending automatically after the fourth (though this is a scripted value and easily changed if you prefer the possibility for prolonged, dramatic fights).

Options available are stylised as distinct combat moves, like headbutting your opponent, rushing into an all-out attack, playing defensively, and so on. At the start of your turn in each round, you randomly draw three such options from a pool of available choices, with the relative usefulness & drawbacks of each move related to your prowess skill.

duelling03.png


The higher your prowess, the more likely you are to draw good moves, the worse your prowess, the more likely you are to draw bad ones. It’s a little more complicated than that in practice, but that’s how it feels player-side.

Instead of one of your regular combat moves, you may also draw a special move. Rather than being based on just your prowess skill, these take into account traits, location, special relationships between you and your opponent, all manner of things. They range from giving a demoralising speech to your opponent to using your skill as a raider to make an example of them as you fight.

As a rule of thumb, special moves tend to either offer a better pay-off than standard combat moves, or else give secondary effects outside the duel (e.g., dread gain or stress loss) At present, we have 18 standard combat moves and 22 special moves.

The primary method of winning a bout is to gain enough Likelihood of Success. This is a sort of tug-of-war between you and your foe, representing who is currently winning the duel, with almost all moves adding to the score. The first character to get their score a certain threshold above the other’s wins.

duelling04-png.690286


However, most combat moves also give you some Risk of Injury, representing how overextended you are and how easy it is for you to make a mistake and hurt yourself or else be dramatically foiled. As this goes up, it makes it more likely that you’ll simply lose when a round ends if you haven’t managed to explicitly win.

The basic rubric for fighting is thus trying to maximise your Likelihood of Success without extending your Risk of Injury enough that you lose before you can beat your opponent.

In the penultimate round of a fight (by default, though this can again be changed easily by tweaking one number), it becomes much easier both to win and to injure yourself, and certain special moves can also adjust these thresholds.

If, after the final round of the fight, there’s still no winner, then the highest prowess skill wins.

The AI selects combat moves and strategy based roughly off of personality, meaning that not only can it change as they gain prowess-related traits, but different characters will often fight differently even if they share identical prowess.

Finally, we have the duel edge system. As you duel, certain moves by you or your opponent may accrue duel edge bonuses and maluses for one or both of you, helping or hurting your prowess skill for the duration of the bout. This helps to keep things risky, and means that just because you entered a fight knowing who had the best prowess, it won’t necessarily stay that way for the whole combat.

duelling05.png


Duelling in Context​

Since one of our prime goals with the new duelling system has been to make it useable in as many circumstances as possible, setting one up is nice and easy. We have a single effect that configures the circumstances of the bout, and every use of the effect requires two small follow-up events. One tells the duel what happens if it invalidates for some reason (usually we just send out toasts informing the affected parties), the other processes the after-effects of the duel itself, be they losing a bet or gaining a friend.

duelling06.png


And… that’s it. It can be dropped into any effect block, any interaction, decision, or event, with whatever net results or criteria you like. Complex fight sequences with no muss, no fuss.

There are several ways we use this system in-game at the moment, with the most noticeable being an interaction to duel your rivals now unlocked by the Chivalry lifestyle tree’s Stalwart Leader perk (pictured a ways above). We also use it in several paid events in 1.3, and, of course, the all-new [REDACTED] interaction.

duelling07.png


Over time, we hope to improve the combat system with general QoL tweaks, dedicated UI, and, last but not least, more combat moves. We also intend to pepper it throughout future content, as well as rework certain elements of old content on an on-going basis to use these more elaborate duels as appropriate.

Stick ‘em with the Pointy End​

Let’s have a bash at using the single combat system in anger, shall we?

Here’s me, as High Chieftain Waththab, fighting my son and rival, Musa, in a non-lethal bout.

duelling08.png


Skills-wise, my son out-matches me quite drastically. I’ve got a fairly low prowess rating, whilst he’s at the upper end of average.

duelling09.png

duelling10.png


This means that he’ll be rolling average to excellent moves, and I’ll likely be rolling terrible to average moves. Both of us lack most traits that would grant special combat moves, and we have no extraneous circumstances that would give us any either (though we’ve got some special dialogue in places due to be related).

That said, there’s still a strategy here. I can see that my son is deceitful and craven, so overall, he’s likely to pick combat moves that are cautious or cunning. This means he’ll probably play it safe on trying to win via Likelihood of Success, and instead wait for me to injure myself with my blunders. If I can overwhelm Likelihood of Success before my Injury Risk gets too high, then I might be able to beat his superior skill.

I have three combat moves available to me:
duelling11.png

duelling12.png

duelling13.png


Welp, we’re going all-in, so Unstable Foundations does nothing for me and Onslaught is basically playing it safe. Enthusiastic Onslaught it is!

duelling14.png


Alright! That went… so-so. I launched an attack, he launched an attack, and the text at the bottom covers our relative Injury Risk and the current status of Likelihood of Success respectively. In short, I’m very close to injuring myself, but we’re actually neck-and-neck on Likelihood of Success.

That should have gone better, but:
duelling15.png

It looks like my son is playing it a little less overly-safe than I thought. Rather than purely waiting for me to hurt myself, he’s putting up just enough of a fight to make it difficult to steal a win. His deceit is winning out over his cowardice, it seems.

Our new hand of combat moves has a new combat move available:
duelling16.png

Damn, this actually would have been really useful last round, when we could have headbutted him to reduce both of our prowess a fair bit. We’re already stuck rolling poor moves, so it would only make us marginally worse, but as he’s got access to the higher move sets, reducing his prowess for the duration of the bout could have really helped us.

Looks like we’re in a bit of a tricky situation where I might get embarrassingly defeated by the AI >.<. We’re committed now, though, so let’s just hope he slips up and launch into another Enthusiastic Onslaught!

duelling17.png


duelling18.png


Haha! The Devil take you, coward!

Ok, so we got lucky there, as Musa played it safe rather than pressing his advantage and we managed not to injure ourselves, but it’s now round #3 and this single combat will almost certainly end here. Either my injury risk catches up with me or I manage to push through that last little bit of threshold to win.

Let’s take a look at the new moves we’ve rolled.

duelling19.png


duelling20.png


Wow, ok, not much competition here, is there? Pure aggression has brought us this far, let’s keep the medieval-equivalent of the pain-train a’goin’! Put the boot in!

duelling21.png


Phew! Ok, not gonna lie, that was a little more tense than I’d have like it to be for the demo fight. Not as embarrassing as when I got a prowess 100 character killed by a prowess 0 character during testing, but still.

Needless to say, this is just one fight, one way of playing, and adapting your strategy and preferred moves based on the personality, skill, and experience of your opponent are all necessary to reliably win repeatedly.

If we played this fight again as Musa, we’d probably want to take a similar strategy to how he fought in the early rounds, letting our inferior opponent open up his guard whilst putting up enough of a fight that he couldn’t easily score a victory.

Two very skilled characters fighting each other becomes a mind-game of who can work out the best route to victory first, an incredibly inferior character verses a drastically skilled opponent turns into lots of desperate gambits to even the prowess ratings or exploit their personality, two very aggressive characters becomes a pure slug-fest that often comes down to sudden death, and so on.

Our hope is that, though all fights are relatively short and the mechanics aren’t too intricate, each and every fight has the potential to be memorable if you want it to be.

So Many Ways to Say “You Lose”​

You know what’s fun? Fight loc. Let’s look at some single combat results. Vanity-me, to me!

duelling22.png


duelling23.png


duelling24.png


duelling25.png


duelling26.png


duelling27.png


Fun-fact: putting the location trigger on crocodilians turning up in fatal [REDACTED] duels was stuck on my to-do list until quite late in development. This means that, for the vast majority of time spent internally playtesting, crocodiles would tend to turn up in any fight that wasn’t explicitly indoors. Taiga, steppe, European farmland, Tibetan mountain, the middle of the Sahara. None were safe from the surprise crocodile.

Accusations that this was left intentionally because certain elements of the dev team found the confusion entertaining are salacious and unfounded.

Anyhoo, that’s almost all for this dev diary folks! Let’s round things out with some more patch note excerpts.

###################
# Free Features
###################
  • Enhanced the hair & beard inheritance gene system. Instead of inheriting specific haircuts from your parents, you now inherit a ‘hair type’ gene such as ‘straight’, ‘wavy’, ‘curly’ or ‘afro’. The actual haircut a character uses is now based upon their culture. This means that rulers won’t use inappropriate hairstyles/beards just because one of their grandparents happened to be of another culture!
    • NOTE: Existing characters from save games made before 1.3 might get a new haircut or become bald, and old ruler designer DNA data will not have hair/beard.
    • This system does not affect the Barbershop or Ruler Designer, where you’re still able to choose whatever hair you want.
  • Added the ‘Chin Goatee’ beard variant
  • Added new Special Buildings in [REDACTED] and [REDACTED], including the [REDACTED], [REDACTED], [REDACTED], and more!
... and many more [will be posted in future DDs]

###################
# Balance
###################
  • As the Patron of a holy order, you can now hire it even if it is already hired by someone else (except another player). You pay the full piety cost to the person who has already hired it, rather than the usual hiring it for free
  • Reduced acceptance bonus on Offer Vassalization from 'wide difference in rank' and 'rightful liege'
  • Reduced fascination gain from learning from +2 to +1
  • Blocked joining a tyranny war if you can't join a faction against your liege
  • It is now possible to recruit children from prison as long as they're not heir to one of their liege's titles
  • Reduced inherent health penalty on flagellant from -0.5 to -0.15
  • Reduced chance of characters randomly contracting lover's pox & great pox
  • Improved the candidate selection for republican mayors: they can be of the province culture as well as their liege’s culture, will prefer to be succeeded by members of their court, and women can be selected when it makes sense
  • Being more than 5000 men above the supply limit now causes you to lose supply faster, will scale from 5/month at 5k to 10/month at 10k
  • Buildings in holdings in the domain limit grace period are now disabled entirely
  • Creating a Head of Faith title now requires 1 more holy site (2 for Spiritual, 3 for Temporal). Creating a Spiritual HoF title now costs 300g rather than 50 to 300g based on your income
  • Imprisoning and Executing characters of no particular status (i.e. lowborns) now yield much less tyranny
  • Non-republican Barons now get married and produce a family more consistently
  • The Pope is now more willing to lift excommunications, but doing so costs the excommunicated a Level of Fame
  • When a Claimant Faction succeeds in their goal, they will free their Claimant from prison if they were a prisoner of the old title holder
... and many more [will be posted in future DDs]


###################
# Bugfixes
###################
  • Children should no longer incorrectly become Lowborn if at least one of their (known) parents carry a Dynasty
  • The Pope will no longer grant himself Rome every year, and gain Piety for it
  • Fixed several instances of wounds being applied using the wrong effect, causing them to never heal
  • Fixed Great Holy Wars invalidating rather than changing target if someone for instance takes the target's primary title
  • Fixed prestige and piety gains in extremely large battles (hundreds of thousands of troops on both sides) sometimes having an overflow issue causing them to go negative
  • Fixed the Controlled Territory Defender Advantage modifier only working for provinces you personally control, and not those of your vassals
  • Fixed the Diplomatic Range modifier not having any effects. Now range between two characters is based on the highest Diplomatic Range modifier of the two
  • Fixed the loss of your pet spoon removing your pet stone instead
  • Characters under 18 will now hold council props
  • Fixed an issue where vassals created additional holdings throughout a liege's realm when becoming feudal or clan. They should now only create holdings within their own sub-realm.
  • Hostile schemes are now invalidated when the target isn't within the owner's diplomatic range
  • It is now much harder to imprison a claimant that has the support of a faction that has pressed demands
  • It's now easier to imprison your own young children if they're unfortunate enough to be in your court
  • Removed the secret tunnel between Cherchen and Gomoco, allowing armies to pass through the Kunlun Mountains.
  • You can now send your kid off to university properly and easier
  • The AI can now occasionally attempt to escape from prison
  • Subjugation wars now return their prestige cost when invalidating
  • Tribals can now adjust tribe-valid succession laws (i.e., gender, mostly) at limited tribal authority instead of needing to reform to feudal
  • Fathers of secret bastards can now realize that they are the real father even when the mother is married
  • Characters can now rip their shirts off without exposing their crotch
  • Ended the Crocapocalypse
... and many more [will be posted in future DDs]

If all this isn't enough or you would like more, make sure you tune in for our Paradox Insider this Saturday, March 13th at 11:00am PT (8:00pm/20:00 CET) where we will be chatting and discussing things.
 

Attachments

  • duelling04.png
    duelling04.png
    139,7 KB · Views: 0
  • duelling11.png
    duelling11.png
    351,1 KB · Views: 0
  • 141Like
  • 76Love
  • 11
  • 7
  • 2
  • 1Haha
Reactions:
Ah, I'm afraid not. Perfectly feasible, but it's a design decision not to trigger lots of events over the screen when the player is trying to control their army.
Makes sense, I suppose this explains why players as commanders don't fight in their armies - but do battlefield duels (presumably some simplified AI-to-AI system) trigger in a similar way for knights (so if one modded players to be usable as knights then they'd get battlefield duel events) or do battles still use the existing system to decide who's wounded/maimed/killed?

Also, I hope this means we're getting tournaments back sometime (they don't have to be bugged to never end and eventually maim your entire court like CK2's were, but they don't not have to be...)
 
  • 7
  • 1Like
Reactions:
Man this is all very juicy (especially the new special buildings!). I really hope this patch comes with a buttload of achievements tho and difficult ones as well. Even mother of us all was not that difficult tbh.

As an avid achievement hunter, I still enjoy the game a lot after finishing all of them but it is just not the same :rolleyes:.

Also, will there be a little more flavor to being a witch and the covens? Like making it a little easier to become one but having more consequences if founded out. I try recruiting known witches to my court basically my every game but I don't think it affect the chances of being a witch myself.
 
  • 1Like
Reactions:
Ah, sadly not for this release. That was definitely our intent, but we had some minor technical issues behind the scenes, so it's been delayed. :) We will almost certainly get to this in future.

So does that mean tribal challenges will be restricted to adults? Or do you have some special "single combat" message for when you're fighting a baby ("You stomp on the High Chief, killing him in a single blow. Great job. Bet you feel like a real big warrior.")?
 
  • 12Haha
  • 1Like
Reactions:
Ah, I'm afraid not. Perfectly feasible, but it's a design decision not to trigger lots of events over the screen when the player is trying to control their army.

Sir I would like to remind you about that one time in CK2 when I ripped my enemies' heads off to appease to my almighty god Perun.

But yeah didn't we have that and also the beserker chain? This fight can happen at the initial phase of the battle if you would like the Roman of the Three Kingdoms style or during the main phase if you choose to lead in front (for morale bonus?) or something, this way you can choose to trigger them or not. Potentially a great way to reenact the movie 300 :p
 
  • 3Like
Reactions:
Blind characters (along with pregnant characters, though that's more a matter of taste) are hard-blocked from duelling
You are doing it all wrong! Both should be allowed to be challenged to a duel but should (secretly and deviously) be given insane combat moves meant to humiliate anyone dastardly enough to even try it. They could be backed up by crocodiles :D
 
  • 8Haha
  • 2Like
Reactions:
I'm a bit confused, I can't see anything in the screenshot that indicates that this move would result in a mutual reduction of prowess. Is that something that hasn't been added to the tooltips yet?

Also, I don't really get exactly what the "Has Happened" portion is referring to. Is it describing what the option that the opponent picked in the prior round did? Does it only show if the player is picking their option for the round second, showing what the opponent is doing this round? Or is it a sort of summary of the opponent's current overall status/position in the duel?
Ah, minor bug in this screenshot, I'm afraid. It should mention it.

:) It's referring to the move your opponent picked in the prior round.
It says "It becomes harder to Injure myself", under Musa's portion of the tooltip. Is this a pronoun localization error, and it is talking about Musa being less likely to injure himself, or is it referring to a change in the player's Risk of Injury, but under Musa's portion of the tooltip for some reason. This ties in with my issue with the lack of clarity of the "Has Happened" section, as after a bit of thought, the only way I can see this being here is because it is meant to represent the player having reduced Risk of Injury because of what the enemy did. If this is the case, that line should probably be changed to something along the lines of "His actions make it harder for me to injure myself", ensuring that the line's focus is on the character who's block this is. As is, it is rather confusing, as normally having a character's name be at the start of a list of modifiers (or whatever) like Musa's name is in the screenshot means that they are all being applied to that character, so having something being applied to a different character in that block is not what the game teaches one to expect, resulting in confusion.
Of the three bullet points in that "What happened", two refer to Musa as "his" and one refer to him as "myself". It's a little confusing. It's like some are speaking in the first person (as Musa) and some are speaking in the third person.
These are very helpful notes, we'll try to clarify the UX/loc in future!
Makes sense, I suppose this explains why players as commanders don't fight in their armies - but do battlefield duels (presumably some simplified AI-to-AI system) trigger in a similar way for knights (so if one modded players to be usable as knights then they'd get battlefield duel events) or do battles still use the existing system to decide who's wounded/maimed/killed?

Also, I hope this means we're getting tournaments back sometime (they don't have to be bugged to never end and eventually maim your entire court like CK2's were, but they don't not have to be...)
Battlefield duels use the existing battle events system. Generally, single combat is used when we want to explore one fight in a lot of detail, whereas we have things like prowess challenges for doing one fight in little detail, and battle events for lots of small life-or-death fights in quick succession.

I can't comment on tournaments, but we did hold an internal tournament with vanity characters using this system, so it's perfectly possible. I believe one of the artists won, mostly by brutally chopping people to shreds with her axe. I uhhh, I was murdered in the first round.
Also, will there be a little more flavor to being a witch and the covens? Like making it a little easier to become one but having more consequences if founded out. I try recruiting known witches to my court basically my every game but I don't think it affect the chances of being a witch myself.
No witch content this time, I'm afraid, but perhaps in future.
So does that mean tribal challenges will be restricted to adults? Or do you have some special "single combat" message for when you're fighting a baby ("You stomp on the High Chief, killing him in a single blow. Great job. Bet you feel like a real big warrior.")?
At present, tribal challenges will continue to work as they have so far, which means infants and the infirm get a stand-in. :) Assuming we do get to rework it, that would likely continue to be the case (you'd just fight their champion through the new system instead of the old).
 
  • 21
  • 3Like
Reactions:
What are the time limits on general duels? What about the Challenge Your Rival to a Duel interaction?
Four rounds, then sudden death. :) The interaction itself has a cooldown of five years generally, ten years against a specific person at time of speaking.
Will there be options at duel ends to kill vs capture your opponent on the battlefield?
We don't currently have any duel types that result in capture, though it's eminently scriptable and certainly something I could see us doing in future. We do have fatal single combats, though the only vanilla instance of them at the moment occurs in [REDACTED]. That said, they're still part of the free feature, and thus available for modding and future content, they just aren't used in the base title at the moment.
 
  • 19
Reactions:
Looks very fun :)
There's a typo in one of the images: you wrote "Taste the wroth of Allah," when it should have been "Taste the wrath of Allah."
 
  • 3
  • 2
Reactions:
These redactions are killing me Caesar has started a fabricate hook plot
 
  • 4Haha
Reactions:
Looks very fun :)
There's a typo in one of the images: you wrote "Taste the wroth of Allah," when it should have been "Taste the wrath of Allah."
:D Wroth is an archaic variant of wrath, and one I've always much preferred, I'm afraid. Good eye, though!
 
  • 18
  • 5
  • 3
  • 1Like
Reactions:
I'd like to add my voice to the people asking to see friendly practice duels.
 
  • 4Like
  • 2
Reactions:
  • As the Patron of a holy order, you can now hire it even if it is already hired by someone else (except another player). You pay the full piety cost to the person who has already hired it, rather than the usual hiring it for free

I hope there will be a delay in order for the order's soldiers to return home, and not immediately teleport under the player's command .
 
  • 3
  • 1
Reactions:
Oh by the way, what's the justification for nerfing the creation of religious head? I feel like they're rather silent anyways and spending a great amount of money to recreate them didn't help me with anything, they're kinda just there. On the occasional time that I would like to try play a tall religious realm I already struggle to obtain that one holy site :(

Also, will there be more advantages you can get for being a very pious realm? Currently the bonuses only work toward other religions but didn't help with people from your religion. Can you buff theocratic playstyle?
 
  • 2Like
  • 2
Reactions:
:) It's referring to the move your opponent picked in the prior round.
Perhaps that could be another spot the UX could be clarified? That is, instead of saying "Has happened", that line could say something like "In the prior round of combat", or "Moments ago". Basically, something to make it clear that it is only referring to the prior round and not the entire duel before now. "Has happened" covers a pretty broad range, after all. (It would also be nice if the name of the move that the opponent used last round was mentioned inside this block. This could be phrased in a way to clear up the confusion I had with "Has happened". For example: "Last round, Musa used Headbutt, causing the following effects:"

Also, in the screenshots showing the very first round of combat, there is already a "Has happened" section. If that section is meant to describe the move the opponent used in the prior round, is it a bug that this block is showing up in the tooltips for the first round?
 
  • 6
  • 3
  • 1Like
Reactions:
Do you offer the possibility of a non-fatal duel resulting in death on a rare basis due to incompetence of the fighter(s)? After all, if you have one or both people with very low prowess, that wild swing that was expected to just injure someone might end up taking off their head, right? :) It should obviously be a rare occurrence, but it would give a player a reason not to just constantly pick fights with low prowess characters because of the potential risk of death. The risk should be related specifically to having a character with low prowess who could then accidentally kill their opponent. A medium to high prowess character should never accidentally kill anyone in a non-fatal duel. You can add in a certain negative outcome for the person who accidentally killed someone in a non-fatal duel, whether that be a low of a level of fame or something else that might make sense.
 
  • 2
Reactions: