Mods / xmelee

Category: #Crafting #Weapons
Author: xeth
Side: Both
Created: Jan 4th at 12:23 AM
Last modified: Jan 17th at 1:48 AM
Downloads: 4113
Follow Unfollow 16

Melee weapons and combat system inspired by mordhau.

v0.0.10 update - disabled some weapons with shields (longsword, zwei, halberd, pike)
spear can attack with shield, but not parry.

**Controls**:
- Left click: attack
- Right click: parry

**Mechanics**:  
Weapons can attack and parry, both use time windows.
Each time window has a wind up, attack window, and ease out:
```
   attack window
           |
      _____
     /     \
  __/       \___    -> time
      |     |
 wind up    total attack time
```
Weapons only do damage during `wind up < t < attack window`.
Attacks only hit targeted enemies you are looking at during swing
period. Parrying blocks any melee attack received during its window
(including from behind, there's no directional detection).
Successful parry stuns the attacker for a small period and prevents
them from attacking/parrying.

Certain weapons can/cannot attack or parry with a shield equipped 
in left hand (see table).

Default weapon stats (for steel), A = attack, P = parry:
| Weapon     | Range | Damage | Tier | A. Delay | A. Window | A. Time | A. Walkspeed | Shield? |
|:-----------|:-----:|:------:|:----:|:--------:|:---------:|:-------:|:------------:|:--------|
| Rapier     |  2.5  |   6    |  5   |   0.35   |   0.65    |  0.70   |    -0.20     | Yes     |
| Messer     |  2.5  |   6    |  5   |   0.40   |   0.60    |  0.70   |    -0.40     | Yes     |
| Mace       |  2.5  |   6    |  6   |   0.40   |   0.70    |  0.80   |    -0.40     | Yes     |
| Longsword  |  3.0  |   7    |  5   |   0.40   |   0.70    |  0.80   |    -0.60     | No      |
| Zweihander |  3.5  |   7    |  5   |   0.45   |   0.80    |  0.90   |    -0.70     | No      |
| Spear      |  4.0  |   6    |  5   |   0.45   |   0.90    |  1.00   |    -1.00     | Yes     |
| Halberd    |  4.5  |   7    |  5   |   0.45   |   0.90    |  1.00   |    -1.00     | No      |
| Pike       |  6.0  |   7    |  5   |   0.45   |   1.00    |  1.20   |    -1.00     | No      |

| Weapon     | P. Delay | P. Window | P. Time | P. Walkspeed | Stunned Time | Notes                 |
|:-----------|:--------:|:---------:|:-------:|:------------:|:------------:|:----------------------|
| Rapier     |   0.05   |   0.60    |  0.70   |    -0.20     |     1.0      |                       |
| Messer     |   0.05   |   0.60    |  0.70   |    -0.30     |     1.0      | Hit multiple targets  |
| Mace       |   0.05   |   0.60    |  0.70   |    -0.30     |     1.0      | Hit multiple targets  |
| Longsword  |   0.05   |   0.60    |  0.70   |    -0.40     |     1.1      | Hit multiple targets  |
| Zweihander |   0.08   |   0.60    |  0.80   |    -0.60     |     1.1      | Hit multiple targets  |
| Spear      |   0.05   |   0.60    |  0.70   |    -0.40     |     1.1      |                       |
| Halbard    |   0.05   |   0.60    |  0.70   |    -0.40     |     1.1      |                       |
| Pike       |    -     |     -     |    -    |      -       |     1.1      | No parry              |

Weapons only come in iron, meteoric iron, and steel variants.
Check crafting in-game for recipes.

Credits/Contributions
=====================================
- [Craluminum2413](https://gitlab.com/Craluminum2413): Russian + Ukrainian translation

 

Version For Game version Downloads Release date Changelog Download
v0.0.10 2508 Jan 17th at 1:48 AM Show xmelee_0.0.10.zip
v0.0.9 1235 Jan 11th at 2:07 AM Show xmelee_0.0.9.zip
v0.0.8 137 Jan 7th at 12:47 AM Show XMelee_0.0.8.zip
v0.0.7 126 Jan 4th at 3:36 AM Show XMelee_0.0.7.zip
v0.0.6 107 Jan 4th at 1:30 AM Show XMelee_0.0.6.zip

3 Comments (oldest first | newest first)

rhetorical, Jan 7th at 5:41 PM

I've been asking for a mod like this for forever! Do you have plans to add feinting, and adding different attacks for slashes and strikes? I understand the input could be difficult, but I think one way to allow for those types of inputs would be add a sheathed or unsheathed state for the weapon and consume scroll wheel inputs while it is unsheathed, preventing the user from changing slots without the number keys while it is unsheathed while not affecting the normal input while sheathed.

sneezerstein, Jan 6th at 9:28 AM

ded sbr

RayTC, Jan 5th at 7:03 PM

this is sick, reminds me of chivalry

delete edit