Skip to content

Commit

Permalink
Make the highlight popup temporarily more apparent
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyWing committed Dec 23, 2020
1 parent 6a14ffb commit a16833f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamemodes/amongus/gamemode/cl_hud.moon
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a16833f

Please sign in to comment.