{"id":12652,"date":"2018-02-12T09:02:00","date_gmt":"2018-02-12T09:02:00","guid":{"rendered":"http:\/\/www.gamasutra.com\/view\/news\/314527"},"modified":"2018-02-12T09:02:00","modified_gmt":"2018-02-12T09:02:00","slug":"designing-drama-into-the-turn-based-combat-of-divinity-original-sin-2","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2018\/02\/12\/designing-drama-into-the-turn-based-combat-of-divinity-original-sin-2\/","title":{"rendered":"Designing drama into the turn-based combat of Divinity: Original Sin 2"},"content":{"rendered":"<p>There\u2019s a special kind of anarchy in the fights you experience in <a href=\"https:\/\/divinity.game\/\"><em>Divinity: Original Sin II<\/em><\/a>.<\/p>\n<p>This computer RPG, released last year by Larian\u00a0Studios,\u00a0encapsulates the freeform promise of the genre, allowing you to tackle its quests and face its world\u2019s threats in wildly varying ways. Nowhere is that principle better expressed than when you\u2019re in combat. In any fight, half the battlefield can end up on fire and the other drenched in acid. The air might be thick with electrified clouds, and summoned characters and resurrected corpses wander free.\u00a0<\/p>\n<p>Victory often feels as if it\u2019s plucked from the jaws of death \u2013 or from chaos \u2013 and yet <em>DOS2<\/em>\u2019s combat design is founded on establishing predictability for players, so they can make and execute plans, tight pacing, and also a sense of a story within the battle. As systems designer Nick Pechenin says, \u201cFights are basically performances, and you want some kind of plot in them.\u201d<\/p>\n<h2><strong>The trouble with armor<\/strong><\/h2>\n<p><em>DOS2<\/em>\u2019s combat design is a close evolution from 2014\u2019s <em>Divinity: Original Sin<\/em>, but\u00a0Larian Studios knew the original had some issues. The team liked the depth of its combat, but felt that it tipped the balance too far towards chaos. The problem was with its armor system.<\/p>\n<blockquote>\n<h6><span>&#8220;We see the best tactics when the player realizes a fight that\u2019s going OK goes for the worst.&#8221;<\/span><\/h6>\n<\/blockquote>\n<p>Armor had the chance of blocking status effects, meaning that if you planned to knock a bunch of enemies out with a stun attack, you didn\u2019t know for sure it\u2019d work in every case. \u201cThe good part about this was that every encounter felt different, so when you started a fight it felt fresh. Things went wrong and right in very different ways,\u201d says Pechenin. \u201cBut at the same time it really prevented long-term planning, because you didn\u2019t know how many people you\u2019d stun, so you couldn\u2019t predict what you\u2019d do next turn, and because of this you just wouldn\u2019t think about the next turn.\u201d<\/p>\n<p>So one of the big changes to <em>DOS2<\/em>\u2019s combat design was to its armor system. Rather than absorbing a proportion of incoming damage, armor completely negates it. There are two armor types: physical and magic, which negates any magical attack, including negative status effects. But as these values take damage they\u2019re whittled down, and once gone, the character is left open to losing HP and vulnerable to status effects.<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.sickgamedev.win\/wp-content\/uploads\/2018\/02\/designing-drama-into-the-turn-based-combat-of-divinity-original-sin-2.jpg\" \/><\/p>\n<p>So far, so deterministic, but Larian wanted attacks to retain a\u00a0\u2018spicy\u2019 feeling. The solution was a small variability in incoming damage which may entirely knock armor out, or it may not. \u201cSo there\u2019s still some RNG there and you don\u2019t know exactly how things will turn out, but you have a high chance that things will go as you want them to,\u201d says Pechenin. \u201cBut at other times the game will throw a curve ball at you and make you scramble to find a new plan.\u201d<\/p>\n<h2><strong>Pacing a battle<\/strong><\/h2>\n<p>The next challenge was to set the pacing of battles. Larian wanted each to last an ideal number of turns. They wanted the time it took to destroy the armor on an enemy to feel good, as well as the number of turns that it\u2019d take to stun an enemy, to destroy the armor on a player character, or to kill them.\u00a0<\/p>\n<p>It was not easy, since <em>DOS2<\/em> features so many variables. Larian\u2019s combat designers never know how many characters the player will be fielding in an encounter, since one or more of them can be off exploring an entirely different part of the map.<\/p>\n<p>The characters who <em>are<\/em> in the fight will be equipped with very different armor and weapons, which might be very powerful because they\u2019ve explored every inch of the maps, or they might be very weak because they\u2019ve only played through the main campaign. They may be high level for the area, or low. Players might have unlocked many different spells and abilities, or very few. They may not know how to use them well, and they may simply forget to use them. They may have large stocks of consumables such as grenades and potions, or they might be hoarding them. In short, the dynamic range of the potential power a player fields in any given encounter is very wide.\u00a0<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.sickgamedev.win\/wp-content\/uploads\/2018\/02\/designing-drama-into-the-turn-based-combat-of-divinity-original-sin-2-1.jpg\" \/><\/p>\n<p>Larian\u2019s approach to balancing enemies\u2019 armor and HP values was to create a curve to the way HP increases as characters level up, and then to use that a baseline value from which enemies\u2019 stats would be calculated.<\/p>\n<p>\u201cGetting that curve nailed down was quite a challenge, just because of how much extra content we have,\u201d says Pechenin. Some players might have discovered an amazing sword that allows them to one-shot enemies, which effectively reduced the challenge to nothing.<\/p>\n<h2><strong>Embracing OP design<\/strong><\/h2>\n<p>But rather than balance out these extremes, Larian embraced them. \u201cOur usual philosophy is for player to be as OP as they want to be,\u201d says Pechenin. But to mitigate the effects of a player finding an amazing sword, they also steepened the HP curve so that in a few hours that sword will be next to useless, returning the character to the baseline \u2013 unless they\u2019ve found an excellent replacement.<\/p>\n<blockquote>\n<h6><span>&#8220;For AI it always makes sense to pile on one person and just murder them completely, but for the player it really just sucks, because the damage isn\u2019t spread over their characters. They want to feel threat piling up, not having their characters one-shotted without being able to respond.&#8221;<\/span><\/h6>\n<\/blockquote>\n<p>In truth, he admits they went a little far with the steepness, because players complained about their super weapons getting superseded too soon, and so they patched in a slightly gentler curve. \u201cThis is completely valid, but in general the curve allowed us to give something very impactful to the player but still present them challenges even after 50-60 hours of playtime.\u201d<\/p>\n<p>And beyond just placing powerful swords around the maps, Larian is also comfortable with players exploiting its complex systems. If a player figures out a way of teleporting lava into a fight and <a href=\"https:\/\/youtu.be\/-_rARLjPMqI\">drops it on a troll\u2019s head<\/a>,\u00a0that\u2019s a good thing, providing a good player story and fulfilling a lot of the reasons why many people play CRPGs. But as a player, you should have to work for it, whether creatively or effortfully. \u201cAnd once you\u2019ve used an exploit like this, it shouldn\u2019t be universal, it shouldn\u2019t carry you to the end of the game,\u201d says Pechenin. \u201cThat would be no fun, and kind of boring.\u201d<\/p>\n<p>One of the ways Larian discourages exploits \u2013 and players favoring certain tactics too much \u2013 is in <em>DOS2<\/em>\u2019s combat design. In Act III of the game, many of the encounters are specifically set up to flummox certain powerful tactics. So, for example, in one fight the player faces enemies with the Fortify ability, which prevents them from being teleported by the player. If they\u2019ve been playing so far by teleporting enemies into killzones, they\u2019ll need to scramble to come up with a new approach.<\/p>\n<h2><strong>Making turn-based fights feel desperate<\/strong><\/h2>\n<p>Still, whether you have a good strategy or not, <em>DOS2<\/em>\u2019s battles have the knack of making you feel you\u2019re hanging on by your fingernails. \u201cWe see the best tactics when the player realizes a fight that\u2019s going OK goes for the worst,\u201d Pechenin says. If you see a chunk wiped off your mage\u2019s physical armor it can often seem if it\u2019s about to become dangerously vulnerable, even if across the party you have suite of fantastic powers that will see you victorious.\u00a0<\/p>\n<p><img decoding=\"async\" alt=\"\" src=\"https:\/\/www.sickgamedev.win\/wp-content\/uploads\/2018\/02\/designing-drama-into-the-turn-based-combat-of-divinity-original-sin-2-2.jpg\" \/><\/p>\n<p>One of the ways the game conjures this feeling is by managing armor and HP values in relation to the number of hits Larian wants it to take for them to be eliminated. So, if they want a player\u2019s character to ideally be killed in five hits, they have enemies\u2019 damage output kill them in 4.5 hits. The character still dies in five hits, but their HP bar will look more depleted and have just a sliver left before they receive the final blow.<\/p>\n<p>\u201cJust seeing this bar being very short will feel a lot more threatening,\u201d says Pechenin. \u201cYou don\u2019t know where it\u2019s going to go, and you\u2019ll be pushed to focus on this guy.\u201d\u00a0<\/p>\n<p>Moreover, Larian\u2019s careful to ensure <em>DOS2<\/em>\u2019s AI picks its targets in the right way. They don\u2019t want them to be merciless, always focusing on the weakest player character. \u201cOf course for AI it always makes sense to pile on one person and just murder them completely, but for the player it really just sucks, because the damage isn\u2019t spread over their characters,\u201d says Pechenin. \u201cThey want to feel threat piling up, not having their characters one-shotted without being able to respond.\u201d Larian knows that a good fight is not about fighting in the most brutally efficient way but the most dramatic, with pacing that allows players to face threat and then have have a chance to react to it, before the AI mounts the threat.<\/p>\n<h2><strong>The trouble with armor (redux)<\/strong><\/h2>\n<p>Balancing <em>DOS2<\/em> was a major challenge, one which has continued after its release\u00a0in September of last year. The process has led to various surprising observations about the way players approach kitting out their party. Pechenin says that, overwhelmingly and regardless of skill, players buy skillbooks over any other item from shops. Then they\u2019ll invest in upgrading their weapons. But even good players tend to skip buying armor.<\/p>\n<p>That\u2019s particularly true when they\u2019ve experienced a period of being overpowered, and it\u2019s only countered when they\u2019ve felt threatened across several successive battles, after which they tend to blame the game for having a difficulty spike. But it was their gear that was the issue.<\/p>\n<p>Armor continues to pose problems in combat itself. To put it simply, players hate to hit armor. Pechenin says that if, for example, you have two enemies next to each other, one with 100 HP and the other with 50 HP and 50 armor, the player will almost always go for the unarmored enemy first. \u201cJust for the pure psychological joy of digging into HP,\u201d says Pechenin.<\/p>\n<p>But it\u2019s the wrong choice: since armor blocks such status effects as stuns, it\u2019s more tactically sound to clear it before hitting HP. \u201dIt\u2019s kind of counterintuitive; as a systems designer you don\u2019t always think about this stuff.\u201d<\/p>\n<p>To help counter this, Larian tried to make hits look good to the eye. \u201cIt\u2019s not a trivial matter, because when you hit something you want their bar to go down in a very visible manner, a good chunk of it gone,&#8221; Pechenin concludes.\u00a0<\/p>\n<p>&#8220;This kind of pacing is separate from challenge; it\u2019s hard to nail down, especially in a game where you can have four party members with wildly varying power levels. At the end I think we got something close to feeling good.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There\u2019s a special kind of anarchy in the fights you experience in Divinity: Original Sin II. This computer RPG, released last year by Larian\u00a0Studios,\u00a0encapsulates the freeform promise of the genre, allowing you to tackle its quests and face its world\u2019s threats in wildly varying ways. Nowhere is that principle better expressed than when you\u2019re in [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":12653,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-12652","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/12652","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=12652"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/12652\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media\/12653"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=12652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=12652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=12652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}