From a16833f69648bab4ef1399f59568d1c5e2f8d6d5 Mon Sep 17 00:00:00 2001 From: NotMyWing Date: Thu, 24 Dec 2020 06:21:39 +1100 Subject: [PATCH] Make the highlight popup temporarily more apparent --- src/gamemodes/amongus/gamemode/cl_hud.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamemodes/amongus/gamemode/cl_hud.moon b/src/gamemodes/amongus/gamemode/cl_hud.moon index 2d06255..cf9014a 100644 --- a/src/gamemodes/amongus/gamemode/cl_hud.moon +++ b/src/gamemodes/amongus/gamemode/cl_hud.moon @@ -358,7 +358,7 @@ hook.Add "HUDPaintBackground", "NMW AU Hud", -> pos = highlight.entity\WorldSpaceCenter!\ToScreen! nearestPoint = highlight.entity\NearestPoint LocalPlayer!\EyePos! - value = (1 - math.max 0, math.min 1, (1/GAMEMODE.BaseUseRadius) * nearestPoint\Distance LocalPlayer!\EyePos!) + value = (1 - math.max 0, math.min 1, 0.6 * (1/GAMEMODE.BaseUseRadius) * nearestPoint\Distance LocalPlayer!\EyePos!) size = 0.125 * math.min ScrH!, ScrW! -- Since Garry's Mod doesn't allow scaling fonts on the go,