From aa17733adf98dac709587e466e91a2f25d6b35f4 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 25 May 2015 00:23:19 +0300 Subject: [PATCH] Ancient question of nametag scaling solved. --- toontown/nametag/Nametag3d.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/toontown/nametag/Nametag3d.py b/toontown/nametag/Nametag3d.py index f0455447..95e81d1d 100755 --- a/toontown/nametag/Nametag3d.py +++ b/toontown/nametag/Nametag3d.py @@ -10,9 +10,10 @@ from toontown.toontowngui.Clickable3d import Clickable3d class Nametag3d(Nametag, Clickable3d): - SCALING_MIN_DISTANCE = 1 - SCALING_MAX_DISTANCE = 50 + MAX_SCALE = 2.5 SCALING_FACTOR = 0.065 + SCALING_MIN_DISTANCE = 1 + SCALING_MAX_DISTANCE = math.pow(MAX_SCALE / SCALING_FACTOR, 2) def __init__(self): Nametag.__init__(self)