Hi there Guest,  
Sign in here: Login through Steam



  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Make shotguns not useless.

#2
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)
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.
Find
Reply



Messages In This Thread
Make shotguns not useless. - Mr.Tarra - 04-24-2016, 01:48 AM
RE: Make shotguns not useless. - Brassx - 04-24-2016, 01:56 AM
RE: Make shotguns not useless. - Terran - 04-24-2016, 02:23 AM
RE: Make shotguns not useless. - Excel - 04-24-2016, 02:39 AM
RE: Make shotguns not useless. - Rotshout - 04-24-2016, 03:02 AM
RE: Make shotguns not useless. - Kuro - 04-24-2016, 03:37 AM
RE: Make shotguns not useless. - Dreaddork - 04-24-2016, 03:40 AM
RE: Make shotguns not useless. - Mr.Tarra - 04-24-2016, 09:30 AM
RE: Make shotguns not useless. - Excel - 04-25-2016, 04:25 AM
RE: Make shotguns not useless. - zin1000 - 05-02-2016, 12:46 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)