From 3518bf7e4b133df314543ceb034a0bfe121f9aaa Mon Sep 17 00:00:00 2001 From: littlebabyman <3816236+littlebabyman@users.noreply.github.com> Date: Sat, 23 Nov 2024 13:58:08 +0200 Subject: [PATCH] wasbored --- lua/effects/arccw_tracer.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/effects/arccw_tracer.lua b/lua/effects/arccw_tracer.lua index 84ce4c77..71ddc25c 100644 --- a/lua/effects/arccw_tracer.lua +++ b/lua/effects/arccw_tracer.lua @@ -10,6 +10,7 @@ EFFECT.Speed = 15000 local head = Material("effects/whiteflare") local tracer = Material("arccw/tracer") local smoke = Material("trails/smoke") +local smoker, smoked = Color(155, 155, 155, 155), Color(155, 155, 155, 0) function EFFECT:Init(data) @@ -75,7 +76,7 @@ function EFFECT:Render() local size = math.Clamp(math.log(EyePos():DistToSqr(endpos) - math.pow(256, 2)), 0, math.huge) local col = self.Color --LerpColor(d, self.Color, Color(0, 0, 0, 0)) - local col2 = LerpColor(d2, Color(155, 155, 155, 155), Color(0, 0, 0, 0)) + local col2 = LerpColor(d2, smoker, smoked) local vel = self.Dir * self.Speed - LocalPlayer():GetVelocity() local dot = math.abs(EyeAngles():Forward():Dot(vel:GetNormalized()))