entropy-zero/source-sdk-2013

[NPCs] Barnacle duplicates when killed by a supercharged stunstick

Opened this issue · 0 comments

Describe the bug

When using the alt-fire of the stunstick to kill a barnacle, the model of the barnacle gets duplicated, which looks irritating.
Barnacles don't have proper ragdolls, I assume that's the cause of the issue.

Steps to reproduce

Steps to reproduce the behavior:

  1. Place an npc_barnacle
  2. Select the stunstick
  3. Charge the stunstick fully and hit the barnacle
  4. See error

Expected behavior

I expected the barnacle to play the regular death animation before having a regular death. It does play the animation, but it also spawns another electrified version of itself.


Additional context

A demonstration of the issue can be found here: https://youtu.be/e8wVTpUY_Rk
Tested both with and without EZ1 mapbase.