Heavy Weapons Knockback Fix

If you liked this item, please rate it up on Steam Workshop page.

Author: Destrudo

Last revision: 30 May, 2025 at 09:10 UTC (2)

File size: 339.35 KB

On Steam Workshop

Description:
Overview

This mod fixes broken knockback animations when enemies are killed by certain line- or cone- targeted abilities, which are mostly tied to Heavy Weapons. Even though it’s a minor issue, once noticed, you’ll probably have a hard time to unsee it. Check Iridar’s video above to get the general idea.

The mod fixes four abilities for regular soldiers and SPARKs:
-Null Lance;
-Plasma Blaster;
-Shredder Gun;
-Shredstorm Cannon.

Why the mod?

When I was working on Psi Havoc I noticed that knockback animations from kills by Null Lance and some other abilities act a little strange. When the target is facing the attacker, it just goes down without ragdoll. Could be considered a normal behaviour, but It’s getting weirder, when you try to attack the enemy from another directions. In that case there’s a knockback, except that killed enemies fly…towards the attacker. The problem stems from the game using the same logic when calculating knockback for circle, line, and cone targeting methods. It works fine for the circle, but not for the other two. My mod utilizes a function found in Iridar’s SPARK Arsenal to fix knockback direction by replacing the abilities’ target location relative to the input context.

Credits

Iridar – for Iridar’s SPARK Arsenal.

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.