• 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:
A fight with weapons is different than a ufc fight. One lucky stab to the torso can be fatal very quickly even if the wound is only 2 inches deep.

Spot on. Weapons massively ups the ante in any fight, especially if that weapon happens to be a metre of sharpened steel waived around frantically by someone not entirely sure what they are doing.

Also yeah please do artifacts and make them visible on the 3D models.
 
  • 5
  • 1Like
Reactions:
This is awesome but will we see the return of pagan blood games for religions with human sacrifices?? I would love to follow who dies to whom and who is strong enough to be victorious!
 
Will children rivals be able to have practice duels that can redirect or further their relationships (admiration, hatred, fear... crushing?)? I think that would be a nice add for child characters.
 
  • 4
Reactions:
You are very wrong here on the basic level. It is true that a mace/axe blow is more dangerous than a fist punch, but the first thought should be like this: can I actually punch him?

Imagine yourself in a boxing match against Mike Tyson in his prime. Can you really believe in a "lucky jab" against this fellow? He will dodge/block it without thinking, pure reflexes through hard training. The same thing applies in duel with weapons. 0 skill lad cannot win against 100 combat skill Chad-of-War, period. There will be no "lucky stab", never. Stories about David beating Goliath belong to Bible and Hollywood.

Of course if difference is big but not overwhelming, anything can happen, especially if the stronger guy is arrogant or goes drunken master style.
If you or I were seized by madness and went up against a top-level fighter (I once bumped into The Mauler at the pub, but opted for the autograph and photo rather than the fight :D ), we may actually get a lucky jab in before we hit the floor. The problem is that the jab won't do much harm to them. :)

On the other hand, a lucky stab can kill anyone, no matter their level of proficiency. The human body is simply too fragile to take a knife without any real damage, no matter how well-trained one is.




But should not we assume that 100 prowess character can go full "you suck and I'm the best" combo while actually DODGING his opponent's pitiful attempts to hit him? I mean, 0 prowess against 100 prowess should ALWAYS result either in zero guy being deleted or verbally humiliated.
I disagree with you for the reasons above, however, even if you were right I would still disagree. Sometimes realism has to yield in favor of playability, and I believe this would be one of those cases. "Challenge Rival to Fight" is a lot more interesting an option than "Defeat Rival in Fight." :)
 
  • 3Like
  • 2
  • 1Love
  • 1
Reactions:
The use of "[REDACTED]", and the context being about duels, makes me think... What could be in the works which would require specific dueling mechanics or changes? I think we might see nomads soon.
What is so duel specific about Nomads? Theories suggest Vikings. Holmgang was a duel to settle disputes. It's likely that together will all the hints on social media being almost solely focused on England and Scandinavia, this is yet another Viking hint.
 
Removed the secret tunnel between Cherchen and Gomoco, allowing armies to pass through the Kunlun Mountains.
Speaking of secret tunnels are you guys also going to remove some of the other ones? Like the one along the Don River, or the one on the North coast of Iceland.
tunnels.png
 
  • 5
  • 1
Reactions:
May I suggest something? Already displayed moves should be removed from the option pool (until the end of the duel) after they appear in the event. This will make the text feel less artificial and add an extra layer of strategy ass you can now try to guess what might show up or not in the next rounds. :)
 
  • 2
  • 1
Reactions:
Absolutely welcome this approach you guys have been taking with these systems! The utility and reusability is excellent!

I know you guys are working on more involved animation. I want you guys to know I am more than ready to shell out for quality animation packs. Quality animations for fights, battles, tournaments, feasts, celebrations, fairs, etc. I'm here for it.
 
:D Wroth is an archaic variant of wrath, and one I've always much preferred, I'm afraid. Good eye, though!
Wrath is a noun; anger. Wroth was an adjective; angry.

"Taste the wroth of Allah!" is thus "Taste the angry of Allah!" which sounds like I'm making fun of Muslims for not knowing how to speak our language properly.

I am wroth; feel my wrath.
 
So for mods that add magic, will they be able to add in an option to use a high tier spell during combat if they have a modifier? Or is it solely based on traits? Also, like someone else said would be sweet to have tribal leaders be challenged in combat by a pretender and use this system.
 
Oh yea I forgot to ask this, can we make duel illegal? I think that after some fun it would get old and I wouldn't want my heir to die cuz some random duel lol
 
Oh yea I forgot to ask this, can we make duel illegal? I think that after some fun it would get old and I wouldn't want my heir to die cuz some random duel lol
Considering duels were legal in most European countries until the 1800s, I think making them illegal is a bit unrealistic.
 
  • 2
Reactions:
What is so duel specific about Nomads? Theories suggest Vikings. Holmgang was a duel to settle disputes. It's likely that together will all the hints on social media being almost solely focused on England and Scandinavia, this is yet another Viking hint.

There are already vikings in the base game, a major DLC would have to include a new previously unplayable group or civilization, if we go by how it worked in CK2.
 
  • 6
Reactions:
I pledge my firstborn to whoever ends up turning the baffling yet endlessly entertaining story of the last officially recognized judicial duel fought in France into an event chain:

Two former best friends see their relationship deteriorate due to a knight's increasing jealousy of the other's comparatively greater success in life: several entreaties to their mutual liege lord and straight-up lawsuits to stop that slightly younger scion of what the chief-quarreler believes to be an inferior house from gaining clout, land and riches fall on deaf ears - their liege likes the upwardly-mobile squire better.

Nearly a decade after their initial falling-out (and after one halfhearted, third-party-brokered, public attempt to mend fences at some feast, that boiled down to the knight ordering his new, young wife to kiss the squire on the mouth to demonstrate to demostrate the rekindled affection between both houses), the whole thing comes to a head. One of two things has happened.

Either:
The perfidious knight (now nearly 50 years old and yet without an heir, as his first wife and child died long ago) convinces his newly pregnant young wife - with whom he had tried to have children for a few years now without prior success - to claim that the child she is carrying is the result of the rival raping her while her husband and her chaperones were away.

Or:
The maligned, upwardly-mobile squire finally "snapping" and orchestrating both the opportunity (the wife being left almost completely alone at the manor with for half a day) and committing the rape (the wife was ambivalent in her testimony whether this was straight up malicious rape or "a botched attempt at seduction" by the madly ardent squire that ended in rape) as the ultimate revenge against the man who had - out of pure jealousy- turned from friend to foe and been a thorn in the squire's side for many years now.


The authoroties were unable to determine the truth and decided to let God sort it out: trial by combat to the death, in front of the king of France and an arena full of spectators.

The squire struck the first, promising blow after a long series of bouts: a deep cut to the back of the leg saw the accusing knight increasingly unsteady on his feet and slowly bleeding out.But in an act born seemingly of sheer desperation, the knight managed to turn it around by rugby-tackling the squire onto his back, sitting on his chest and raining blows on his helmet for minutes until he managed to pop the visor and proceeded to kill the squire by ramming his dagger (both had lost their swords at this point) into the man's throat. Before he forve the dagger home, he called on the squire to unburden his sould before his imminent death by confessing the crime he was now going to die for. The squire's last words: "I swear by God and all the saints - I am innocent of the crime!"


The victory was very lucky not just for the knight but also his wife - had her husband not won, God himself would have cleared the alleged rapist of the charges laid against him and she - a perjurer - would have been burned at the stake for the crime of accusing the innocent man of rape.
 
  • 6Like
Reactions:
Perhaps I didn't read this carefully, but will winning/losing the duel give/cost the character Prestige? I also wonder whether the difference between both parties' prowess will impact that Prestige gain/cost? If this doesn't happen in this patch, I hope it will be considered for another patch/DLC.
 
  • 1Like
Reactions: