1
0
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:
GenericRicochetPlayer 2023-11-15 08:45:47 -05:00 committed by GitHub
parent abe7583c77
commit 343d480057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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()