• 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:
Well if a) language is fluid, b) a prominent author has been consistently using it as a noun for decades along with several other noted instances of that kind of usage in this very thread, and c) everyone involved understands what it means from the jump, well, I'd say the fact that dictionaries don't list it that way is a product of inertia and their relative conservatism on the subject. It may be technically wrong but the majority of time people say wroth these days they mean wrath. Hence, wroth means wrath.


At least IMO! Feel free to feel differently.
 
  • 3Like
  • 2
Reactions:
I will always refuse if my ruler is good. If its trash, ok, injury-faster death.
 
  • 3
  • 1
Reactions:
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 HOLMGARDR. 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.

This depends on the type of duel being set up. HOLMGARDR use very specific requirements that I'm afraid I can't go into here, event duels currently tend to mostly use characters created within that event (though that's just what we've got implemented, not all that's possible), and duelling your rival through the Stalwart Leader perk's interaction requires a rival within diplomatic range who you are neither at war with nor have a ceasefire with. Neither of you can be imprisoned.
Ok I thought it makes more sense this way.
 
  • 2Like
Reactions:
Taking another mechanic that was in CKII in a very basic way and fleshing-out and expanding it here. Keep up the good work!
 
Well if a) language is fluid, b) a prominent author has been consistently using it as a noun for decades along with several other noted instances of that kind of usage in this very thread, and c) everyone involved understands what it means from the jump, well, I'd say the fact that dictionaries don't list it that way is a product of inertia and their relative conservatism on the subject. It may be technically wrong but the majority of time people say wroth these days they mean wrath. Hence, wroth means wrath.

Dictionaries are the last place you should look for evidence of the current usage of a word. By the time a dictionary has updated their definition of a word, your kids have likely changed how they use it again. :cool:

PS I'm with you what defines the meaning of a word: if the people you're communicating with understand what you mean, you're using the word correctly. My wife very much feels otherwise and would happily chime in on the side of the anti-wroth'ers. :p
 
  • 2
  • 2
Reactions:
Dictionaries are the last place you should look for evidence of the current usage of a word. By the time a dictionary has updated their definition of a word, your kids have likely changed how they use it again. :cool:

PS I'm with you what defines the meaning of a word: if the people you're communicating with understand what you mean, you're using the word correctly. My wife very much feels otherwise and would happily chime in on the side of the anti-wroth'ers. :p

While I agree with you assessment on dictionaries and modern meanings. I do want to point out that the use of wroth in this event seem to be to add a bit of medieval flavour to the game. If that is indeed the goal, it makes sense to use the medieval usage instead of the modern one (especially since the devs are going for a somewhat historically accurate representation of the middle ages). So I think the discussion on the modern usage of the word, while interesting, is immaterial to whether wroth should be used in this event.

edit: to be more clear: It should be wrath in the event as the medieval usage of these two words would be to use wrath when it's a noun.
 
Last edited:
  • 3
  • 1Like
Reactions:
Dictionaries are the last place you should look for evidence of the current usage of a word. By the time a dictionary has updated their definition of a word, your kids have likely changed how they use it again. :cool:
Yeah? Can you give a few examples of when this has happened, then? ;)

Honestly, if you are debating the meaning of words and you try to claim that dictionaries are not valid sources on the meaning of words, well, what can I say? You do you, I guess. :D




PS I'm with you what defines the meaning of a word: if the people you're communicating with understand what you mean, you're using the word correctly. My wife very much feels otherwise and would happily chime in on the side of the anti-wroth'ers. :p
Your wife is right. Comprehension is not the sole criteria for whether EDIT: people understand what you write you used the words correctly. That's nut the whey eat works. :)




While I agree with you assessment on dictionaries and modern meanings. I do want to point out that the use of wroth in this event seem to be to add a bit of medieval flavour to the game. If that is indeed the goal, it makes sense to use the medieval usage instead of the modern one (especially since the devs are going for a somewhat historically accurate representation of the middle ages). So I think the discussion on the modern usage of the word, while interesting, is immaterial to whether wroth should be used in this event.

edit: clarity
I think you're a bit confused here, pengoyo - there is no conflict between medieval and modern use. "wroth" was an adjective even in the middle ages, never a noun.

If anything using it as a noun is less medieval, because a small handful of moderns who are unaware of the meaning of the word incorrectly use it incorrectly as a noun, which AFAIK didn't happen in the middle ages. :)
 
Last edited:
  • 2
Reactions:
Your wife is right. Comprehension is not the sole criteria for whether people understand what you write. That's nut the whey eat works. :)
:)
Ah, but the meaning of a word hinges on the language used, and can you truly say even two people in the world speak the same language? Surely, when using "English", you sometimes use words that I don't, phrasings I wouldn't, perhaps breaking established rules in subtle ways I wouldn't - so are we not using two different yet mutually intelligible languages both labeled "English"? And so, the meaning of a specific word may very well differ between people who supposedly speak the same language and yet none of them are wrong - just less mutually intelligible between each other. Reject manufactured standards, embrace linguistic anarchy!

Yes, this is going dangerously off-topic.
 
  • 1
  • 1Haha
Reactions:
Ah, but the meaning of a word hinges on the language used, and can you truly say even two people in the world speak the same language? Surely, when using "English", you sometimes use words that I don't, phrasings I wouldn't, perhaps breaking established rules in subtle ways I wouldn't - so are we not using two different yet mutually intelligible languages both labeled "English"? And so, the meaning of a specific word may very well differ between people who supposedly speak the same language and yet none of them are wrong - just less mutually intelligible between each other. Reject manufactured standards, embrace linguistic anarchy!

Yes, this is going dangerously off-topic.
How philosophical!

No, we are speaking the same language. :)

(Yes, I get that you were joking, but I thought it best to post this because some people will believe anything these days. :D )
 
  • 1
Reactions:
Can we get an option for characters with the "Witch" trait to curse their opponent at the end of a duel, possibly inflicting stress or minor health penalty?
Ooh, I like that idea (the stress part, not so much the health part). Would make you feel immersed in a time when people thought that kind of stuff was real.
 
  • 4
Reactions:
I think you're a bit confused here, pengoyo - there is no conflict between medieval and modern use. "wroth" was an adjective even in the middle ages, never a noun.

If anything using it as a noun is less medieval, because a small handful of moderns who are unaware of the meaning of the word incorrectly use it incorrectly as a noun, which AFAIK didn't happen in the middle ages. :)
I think you misunderstood my point. My point is that they should use wroth only as an adjective because that what the medieval usage was. And so whatever the modern usage is, and whether that is different or not, it's immaterial.
 
Last edited:
  • 2Like
  • 1
Reactions:
Can we get an option for characters with the "Witch" trait to curse their opponent at the end of a duel, possibly inflicting stress or minor health penalty?
It shouldn't be limited to just the trait, if you have the secret you should be allowed to do it as well, with the possibility of your secret being revealed as a result.
 
  • 4
Reactions:
I think you misunderstood my point. My point is that they should use wroth only as an adjective because that what the medieval usage was. And so whatever the modern usage is, and whether that is different or not, it's immaterial.
I did indeed misunderstand you. Perhaps I'm the confused one. :)
 
Comprehension is not the sole criteria for whether people understand what you write.


According to the dictionary you deem sacred, comprehension literally means understanding. You have written "understanding is not the sole criteria for whether people understand".

If you understand what someone means, they've done their job. This sentence makes less sense than wroth used as a noun does.

While I agree with you assessment on dictionaries and modern meanings. I do want to point out that the use of wroth in this event seem to be to add a bit of medieval flavour to the game. If that is indeed the goal, it makes sense to use the medieval usage instead of the modern one (especially since the devs are going for a somewhat historically accurate representation of the middle ages). So I think the discussion on the modern usage of the word, while interesting, is immaterial to whether wroth should be used in this event.

edit: to be more clear: It should be wrath in the event as the medieval usage of these two words would be to use wrath when it's a noun.

Totally valid. I still think it would be fine if they left it as-is since it's not like the game tries super hard to use authentic medieval phrasing in most cases, and of course if they fixed it they'd be getting rid of that medieval flavor for the more common wrath. But it is what it is, either way literally 0 people will be confused.

Anyway, dueling sounds cool. Looking forward to that.
 
  • 1
Reactions:
Totally valid. I still think it would be fine if they left it as-is since it's not like the game tries super hard to use authentic medieval phrasing in most cases, and of course if they fixed it they'd be getting rid of that medieval flavor for the more common wrath. But it is what it is, either way literally 0 people will be confused.
I said that mainly because, as I understand it, the devs want to use it as a bit of authentic medieval flavour.

If the devs actually want to use it as a bit of artistic license, then they can.

I piped in because I thought the argument over modern usage of wroth, and if it's technically correct or not, seemed misplaced.
 
  • 1
  • 1Like
Reactions: