# Mordhau

**URL:** <https://forums.unrealengine.com/t/mordhau/50400>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [December 19, 2015, 2:06am UTC](https://forums.unrealengine.com/t/mordhau/50400 "2015-12-19T02:06:06Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mar0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mar0x](https://forums.unrealengine.com/u/mar0x)\
**Post date:** [December 19, 2015, 2:06am UTC](https://forums.unrealengine.com/t/mordhau/50400/1 "2015-12-19T02:06:06Z")

</div>

![mordhau.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/4/b/4b65b0ed79e3c9c12b68a8925ea4b9a5fbca6775.png)&stc=1

**[Website](http://mordhau.net) | [IndieDB](http://www.indiedb.com/games/mordhau) | [Twitter](https://twitter.com/mordhaugame) | [Youtube](https://www.youtube.com/channel/UCeAnD6rMvvNDvo7uG9FT-mQ) | [Facebook](https://www.facebook.com/mordhaugame/)**

_Mordhau_ is a multiplayer first person slasher being developed by a small independent team. Design your own weapons and armor, then battle it out with other players in various modes. It features a deep and fluid combat system that allows those that master it to turn into an unstoppable force on the battlefield. The game is still under heavy development and our goal is to release it as a commercial title on Steam. There is no set release date as of right now.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/3/6b3a3752b6502e065c139cb489a98ff78c88ec4f.jpeg "MORDHAU Devblog - #2 Melee Combat") ](https://www.youtube.com/watch?v=p-B4AwgArwA)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/a/c1a01062cc68ed0ffdcbb0fcee0aed859ae51a42.jpeg "MORDHAU Devblog - #1 Basics") ](https://www.youtube.com/watch?v=0EVwamZgzeM)

And a [screenshot album](http://imgur.com/a/LVBT1) from several months ago!

More recent screenshots from a greener map:

> **[Mordhau: Medieval first-person fighting game](https://mordhau.com)**
>
> Mordhau is a multiplayer medieval melee game with a strong emphasis on skill-based combat.

> **[Mordhau: Medieval first-person fighting game](https://mordhau.com)**
>
> Mordhau is a multiplayer medieval melee game with a strong emphasis on skill-based combat.

---

<div class="post-metadata">

**Author:** ![Luftbauch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luftbauch](https://forums.unrealengine.com/u/Luftbauch)\
**Post date:** [December 19, 2015, 10:19am UTC](https://forums.unrealengine.com/t/mordhau/50400/2 "2015-12-19T10:19:09Z")

</div>

Very cool 🙂  
Combat system and artwork animation \<— me like!  
Most games of that sort die because of hacks or lag, how do you solve that?

---

<div class="post-metadata">

**Author:** ![mar0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mar0x](https://forums.unrealengine.com/u/mar0x)\
**Post date:** [December 19, 2015, 12:27pm UTC](https://forums.unrealengine.com/t/mordhau/50400/3 "2015-12-19T12:27:23Z")

</div>

> [@Luftbauch;440224](#):
>
> Very cool 🙂  
> Combat system and artwork animation \<— me like!  
> Most games of that sort die because of hacks or lag, how do you solve that?

Glad you like it! The game runs on an authoritative server, so hacks are not that big of an issue, as the server alone decides everything. Lag is managed through a mixture of things. The most important part is getting the hit detection down frame-perfect, you may not notice 16ms of difference when playing offline, but everything adds up over the network. Ultimately there will always be lag, and it comes down to how you want to display things on the clients, whether to show everything slightly in the past, or to extrapolate into the future. We tend to mix both approaches, but it largely depends on your game’s mechanics: identify where the effects of lag are the least harmful and shift it there. Ultimately, it’s a bag of tricks and smoke and mirrors.

---

<div class="post-metadata">

**Author:** ![RynerAJ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RynerAJ](https://forums.unrealengine.com/u/RynerAJ)\
**Post date:** [January 4, 2016, 12:30pm UTC](https://forums.unrealengine.com/t/mordhau/50400/5 "2016-01-04T12:30:10Z")

</div>

Too many head decapitation lol… Liking it thou! Keep it up 🙂

---

<div class="post-metadata">

**Author:** ![C-Arch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@C-Arch](https://forums.unrealengine.com/u/C-Arch)\
**Post date:** [January 8, 2016, 9:28am UTC](https://forums.unrealengine.com/t/mordhau/50400/6 "2016-01-08T09:28:13Z")

</div>

Looks really fun. Wanna see some arms being chopped off please

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_32549598](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_32549598](https://forums.unrealengine.com/u/anonymous_user_32549598)\
**Post date:** [January 8, 2016, 10:00am UTC](https://forums.unrealengine.com/t/mordhau/50400/7 "2016-01-08T10:00:46Z")

</div>

This is looking top-notch. I’ll be keeping an eye on it =)

> [@Crocopede;449976](#):
>
> Looks really fun. Wanna see some arms being chopped off please

There’s some arms being chopped off in the video, I believe.

---

<div class="post-metadata">

**Author:** ![Luftbauch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luftbauch](https://forums.unrealengine.com/u/Luftbauch)\
**Post date:** [January 9, 2016, 1:59pm UTC](https://forums.unrealengine.com/t/mordhau/50400/8 "2016-01-09T13:59:35Z")

</div>

Have you a pricerange set, for your nice product?

---

<div class="post-metadata">

**Author:** ![mar0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mar0x](https://forums.unrealengine.com/u/mar0x)\
**Post date:** [January 10, 2016, 12:42pm UTC](https://forums.unrealengine.com/t/mordhau/50400/9 "2016-01-10T12:42:25Z")

</div>

> [@RynerAJ;447372](#):
>
> Too many head decapitation lol… Liking it thou! Keep it up 🙂

It’s been adjusted to require a bit more precision to do since then, as it was getting silly 🙂

> [@Luftbauch;450691](#):
>
> Have you a pricerange set, for your nice product?

We haven’t settled on anything yet, but currently we’re looking at the $15-25 price range.

---

<div class="post-metadata">

**Author:** ![mar0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mar0x](https://forums.unrealengine.com/u/mar0x)\
**Post date:** [February 19, 2016, 7:03pm UTC](https://forums.unrealengine.com/t/mordhau/50400/10 "2016-02-19T19:03:21Z")

</div>

Introducing the ballista & a brief look at Highlands

Hey everyone, we have some new content to show off!

Vehicles!  
Technically these aren’t vehicles, but the concept is similar to those you might find in some shooters. They are objects you can interact with by taking control over them. A stationary machine gun has no place in Mordhau, but a ballista does. Similarly, while a humvee is unlikely to make an appearance in the middle ages, players might push catapults, thus “driving” them. Unlike a modern shooter, there are challenges we face in making these vehicles look believable: the act of driving is more of a symbiotic relationship between the character and the vehicle. For a humvee, all you need is to stick the hands onto the wheel and you’re mostly good to go, but a catapult does not drive itself, and a ballista does not rotate on its own.

Programmers do not always have art assets at their disposal. Here is how we initially prototyped the ballista:

[![]( " - YouTube") ](https://www.youtube.com/watch?v=8hlFVXPxvl4)

Once one of our 3d artists, in this case it was _Max_, took over the task of making an actual ballista, things started to look much better.

[http://mordhau.com/media/spirit/images/3/9d837f6e63a8702a29e3863c6163a416.jpeg](http://mordhau.com/media/spirit/images/3/9d837f6e63a8702a29e3863c6163a416.jpeg)

[http://mordhau.com/media/spirit/images/3/6eea9a2eccde66c9c641a82a237e58b7.jpeg](http://mordhau.com/media/spirit/images/3/6eea9a2eccde66c9c641a82a237e58b7.jpeg)

[http://mordhau.com/media/spirit/images/3/b6463af00c38757532c11ae7ea14727c.jpeg](http://mordhau.com/media/spirit/images/3/b6463af00c38757532c11ae7ea14727c.jpeg)

And finally, it all comes together in this short clip:

[![]( " - YouTube") ](https://www.youtube.com/watch?v=Vl61JFTTvl0)

Notice how we maintain the first person view at all times. Keeping the player immersed in first person is a big deal for us! On top of that, the aiming of the ballista is done using the actual ballista bolt, so a first person view is a practical necessity. While there is a crosshair shown, this is more of an oversight on our part (whoops!), as it doesn’t help you aim in this case. The change in camera shown in the clip is done manually to show how things look to other players. When the ballista turns, the player steps with it, crouches when it is aimed high, and this is exactly what we mean by symbiotic relationship – the character and the vehicle work together.

[HR][/HR]

Maps & animations  
A quick look at one of our maps: Highlands. This is a relatively simple, smaller map intended for smaller skirmishes and duels, inspired by the Scottish Highlands. Here’s a clip of the map featuring a brief exchange between two characters, one wielding the impressive zweihander, our biggest two handed sword, while the other is armed with a poleaxe.

[![]( " - YouTube") ](https://www.youtube.com/watch?v=NfmExGWniLY)

One of our animators, _crush_, has been hard at work replacing and adding new upper body movement animations. Here’s the one for polearms, with the player dressed in a full plate suit with a tabard. These hills are a good test for our foot placement code, too!

[![]( " - YouTube") ](https://www.youtube.com/watch?v=0V1fnNkFwJ4)

---

<div class="post-metadata">

**Author:** ![Slamyr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slamyr](https://forums.unrealengine.com/u/Slamyr)\
**Post date:** [March 1, 2016, 1:19am UTC](https://forums.unrealengine.com/t/mordhau/50400/11 "2016-03-01T01:19:09Z")

</div>

Wow this looks awesome ! I suppose you guys made a line trace system for the melee. But how did you achieve making the block/parade system?

---

<div class="post-metadata">

**Author:** ![mar0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mar0x](https://forums.unrealengine.com/u/mar0x)\
**Post date:** [March 1, 2016, 2:12am UTC](https://forums.unrealengine.com/t/mordhau/50400/12 "2016-03-01T02:12:44Z")

</div>

> [@Slamyr;484210](#):
>
> Wow this looks awesome ! I suppose you guys made a line trace system for the melee. But how did you achieve making the block/parade system?

Thanks! Parrying occurs once the weapon strikes a player that’s in a parry state, and is aiming at one of the weapon’s traces, with some angle tolerance.

---

<div class="post-metadata">

**Author:** ![Slamyr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slamyr](https://forums.unrealengine.com/u/Slamyr)\
**Post date:** [March 1, 2016, 2:00pm UTC](https://forums.unrealengine.com/t/mordhau/50400/13 "2016-03-01T14:00:34Z")

</div>

oh ok interesting.Must have led to a pretty complicated system then.

---

<div class="post-metadata">

**Author:** ![mar0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mar0x](https://forums.unrealengine.com/u/mar0x)\
**Post date:** [March 1, 2016, 5:27pm UTC](https://forums.unrealengine.com/t/mordhau/50400/14 "2016-03-01T17:27:58Z")

</div>

> [@Slamyr;484528](#):
>
> oh ok interesting.Must have led to a pretty complicated system then.

There’s a way to get a fairly simple system that works reasonably well: attach a collider like a small box in front of the player, roughly where his crosshair would be. If the weapon tracer hits this, have it be a parry. We opted to go away from this method because we wanted more control over the parrying process, but it’s a good start and might be fine depending on your requirements.

---

<div class="post-metadata">

**Author:** ![anon54496231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon54496231](https://forums.unrealengine.com/u/anon54496231)\
**Post date:** [March 1, 2016, 5:40pm UTC](https://forums.unrealengine.com/t/mordhau/50400/15 "2016-03-01T17:40:45Z")

</div>

looks great really nice looking characters, most of them ended up with no heads but you expect that when swords hit necks…looking forward to seeing more

---

<div class="post-metadata">

**Author:** ![c.longmire42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@c.longmire42](https://forums.unrealengine.com/u/c.longmire42)\
**Post date:** [March 1, 2016, 6:12pm UTC](https://forums.unrealengine.com/t/mordhau/50400/16 "2016-03-01T18:12:01Z")

</div>

In the third person video it seems that the characters feet is using IK on uneven terrain…Is this the case? Do you also use additive animation to modify the locomotion cycle when navigating slopes?

---

<div class="post-metadata">

**Author:** ![mar0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mar0x](https://forums.unrealengine.com/u/mar0x)\
**Post date:** [March 2, 2016, 4:23am UTC](https://forums.unrealengine.com/t/mordhau/50400/17 "2016-03-02T04:23:49Z")

</div>

> [@WarpSpasm;484678](#):
>
> looks great really nice looking characters, most of them ended up with no heads but you expect that when swords hit necks…looking forward to seeing more

Thanks! Some bots were harmed in the making of that video 🙂

> [@KingTumTum101;484691](#):
>
> In the third person video it seems that the characters feet is using IK on uneven terrain…Is this the case? Do you also use additive animation to modify the locomotion cycle when navigating slopes?

We use foot IK to modify the walk cycle so that it matches the ground level at each foot, but we don’t modify it further with additive animations.

---

<div class="post-metadata">

**Author:** ![c.longmire42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@c.longmire42](https://forums.unrealengine.com/u/c.longmire42)\
**Post date:** [March 2, 2016, 4:19pm UTC](https://forums.unrealengine.com/t/mordhau/50400/18 "2016-03-02T16:19:12Z")

</div>

> [@mar0x;485067](#):
>
> Thanks! Some bots were harmed in the making of that video 🙂
> 
> We use foot IK to modify the walk cycle so that it matches the ground level at each foot, but we don’t modify it further with additive animations.

Nice. There are many people unsuccessfully trying Foot IK but it seems you guys have gotten it down. May I ask how complex your system is and did you use the IK nodes that UE4 has built into the editor?

---

<div class="post-metadata">

**Author:** ![mar0x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mar0x](https://forums.unrealengine.com/u/mar0x)\
**Post date:** [March 2, 2016, 5:36pm UTC](https://forums.unrealengine.com/t/mordhau/50400/19 "2016-03-02T17:36:57Z")

</div>

> [@KingTumTum101;485461](#):
>
> Nice. There are many people unsuccessfully trying Foot IK but it seems you guys have gotten it down. May I ask how complex your system is and did you use the IK nodes that UE4 has built into the editor?

The system is fairly simple in concept, and we use the IK nodes readily available in UE4. The most common mistake when doing foot IK is to think you should trace to the ground, then plant the foot where the trace hit occurred. This will work when standing still, but the walk is going to get messed up hard whenever the character moves, if it works at all. Instead, it’s more helpful to think of it this way: what if there were a height value that would allow me to offset the character’s feet upwards from the ground by a fixed amount? So let’s say I want to offset the character’s feet by 25 cm upwards, because this is an offset from the ground itself, my walk cycle should remain a walk cycle, it’ll just be a bit higher above ground overall and won’t spaz out all over the place. Once you have this functionality working, you just need to use it on each foot independently, by first tracing to the ground (I do it from leg in the direction towards foot), checking how high or low this is relative to your default height, and applying the offset.

To make things look good, it’s advisable to find the lowest ground between the two feet, then take that offset and apply it to the root of the character (so he dips a bit) and take this into account when computing the IK offset above.

Of course, lerp all the things to make the transitions smooth.

---

<div class="post-metadata">

**Author:** ![c.longmire42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@c.longmire42](https://forums.unrealengine.com/u/c.longmire42)\
**Post date:** [March 2, 2016, 6:10pm UTC](https://forums.unrealengine.com/t/mordhau/50400/20 "2016-03-02T18:10:53Z")

</div>

> [@mar0x;485509](#):
>
> The system is fairly simple in concept, and we use the IK nodes readily available in UE4. The most common mistake when doing foot IK is to think you should trace to the ground, then plant the foot where the trace hit occurred. This will work when standing still, but the walk is going to get messed up hard whenever the character moves, if it works at all. Instead, it’s more helpful to think of it this way: what if there were a height value that would allow me to offset the character’s feet upwards from the ground by a fixed amount? So let’s say I want to offset the character’s feet by 25 cm upwards, because this is an offset from the ground itself, my walk cycle should remain a walk cycle, it’ll just be a bit higher above ground overall and won’t spaz out all over the place. Once you have this functionality working, you just need to use it on each foot independently, by first tracing to the ground (I do it from leg in the direction towards foot), checking how high or low this is relative to your default height, and applying the offset.
> 
> To make things look good, it’s advisable to find the lowest ground between the two feet, then take that offset and apply it to the root of the character (so he dips a bit) and take this into account when computing the IK offset above.
> 
> Of course, lerp all the things to make the transitions smooth.

That makes total sense (I believe the Halo games started using this approach starting with Halo Reach, as each entire locomotion cycle aligns with the terrain). Ill have to attempt to implement this into my locomotion and animation system. I will say that I am fairly surprised that you are striving to achieve this level of animation quality for a first person game, but I’m very pleased! Its things like these that can add a lot to a game.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_05f7e749](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_05f7e749](https://forums.unrealengine.com/u/anonymous_user_05f7e749)\
**Post date:** [March 29, 2016, 4:31pm UTC](https://forums.unrealengine.com/t/mordhau/50400/21 "2016-03-29T16:31:00Z")

</div>

theres more!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/3/6b3a3752b6502e065c139cb489a98ff78c88ec4f.jpeg "MORDHAU Devblog - #2 Melee Combat") ](https://www.youtube.com/watch?v=p-B4AwgArwA)

[Next page](https://forums.unrealengine.com/t/mordhau/50400.md?page=2)
