The accuracy based on movement mainly effects swift shotguns, as swift was never supposed to be on shotguns to begin with.
(220 is base movement speed)
I will update it with the code above to be a bit more gradual. from 210 to 260 speed. Normal player speed is 220.
I have updated the servers with the new code. It should make the transition a little better.
(220 is base movement speed)
Code:
local sp = self.Owner:GetVelocity():Length();
if (sp > 210)
then
if (!self.baseCone)
then
self.baseCone = self.Primary.Cone;// = 0.0898
end
local per = math.Clamp(1 / (260 - 210) * (sp - 210), 0, 1.5);
self.Primary.Cone = self.baseCone + (self.baseCone) * per;
else
if (self.baseCone)
then
self.Primary.Cone = self.baseCone;
end
end
I will update it with the code above to be a bit more gradual. from 210 to 260 speed. Normal player speed is 220.
I have updated the servers with the new code. It should make the transition a little better.