Ancient question of nametag scaling solved.

This commit is contained in:
John 2015-05-25 00:23:19 +03:00 committed by Loudrob
parent 556040b210
commit aa17733adf

View file

@ -10,9 +10,10 @@ from toontown.toontowngui.Clickable3d import Clickable3d
class Nametag3d(Nametag, Clickable3d): class Nametag3d(Nametag, Clickable3d):
SCALING_MIN_DISTANCE = 1 MAX_SCALE = 2.5
SCALING_MAX_DISTANCE = 50
SCALING_FACTOR = 0.065 SCALING_FACTOR = 0.065
SCALING_MIN_DISTANCE = 1
SCALING_MAX_DISTANCE = math.pow(MAX_SCALE / SCALING_FACTOR, 2)
def __init__(self): def __init__(self):
Nametag.__init__(self) Nametag.__init__(self)