Tripwire Interactive Forums

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Category:
    Code
  • Reproducibility:
    Always
  • Summary:
    SWAT runs slower with Welder/Syringe
  • Description:
    When running as a SWAT Perk and using the equipment (welder or syringe). The movement speed is set back to 1.
    I assume the developers wanted to have SWAT run quicker with his on perk weapons equipped. excluding all the off-perk weapons.
    And since something like this didn't exist in all other perks, I assume this is an unwanted bug by the developers.

Target File:
KFPerk_SWAT
Line:
496

Code:
    if (MyKFWeapon != none && (Is9mm(MyKFWeapon) || IsDual9mm( MyKFWeapon ) || IsWeaponOnPerk(MyKFWeapon,, self.class)))
    {
        Speed += Speed * TacticalMovementModifier;
    }