mirror of
https://github.com/CFC-Servers/chucks_weaponry_2.0.git
synced 2025-03-04 03:13:12 -05:00
Crosshair and ricochet fix (#5)
* Add files via upload * Add files via upload
This commit is contained in:
parent
abe7583c77
commit
343d480057
@ -138,7 +138,7 @@ function SWEP:FireBullet(damage, cone, clumpSpread, bullets)
|
||||
bul.Src = trace.HitPos
|
||||
bul.Dir = Dir2
|
||||
bul.Spread = Vec0
|
||||
bul.Tracer = 3
|
||||
bul.Tracer = 0
|
||||
bul.Force = damage * 0.225
|
||||
bul.Damage = bul.Damage * 0.75
|
||||
|
||||
|
@ -373,6 +373,9 @@ local invalidPlayerBusyProneFunction = function(self)
|
||||
end
|
||||
|
||||
function SWEP:Initialize()
|
||||
self.DrawCrosshair = true
|
||||
self.AimSwayIntensity = 0
|
||||
self.ViewModelMovementScale = 0
|
||||
self:SetHoldType(self.NormalHoldType)
|
||||
self:setupBallisticsInformation()
|
||||
self:CalculateEffectiveRange()
|
||||
|
Loading…
Reference in New Issue
Block a user