Heavy Weapons Knockback Fix
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.
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.
Iridar – for Iridar’s SPARK Arsenal.
Revisions:
Old revisions of this mod are available below. Click the link to download.
