From 556040b2102022b264b7ab833c6703f3f3fccc58 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 24 May 2015 23:38:18 +0300 Subject: [PATCH] Nametags --- toontown/chat/ChatBalloon.py | 12 ++++++------ toontown/nametag/Nametag.py | 2 +- toontown/nametag/NametagGroup.py | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/toontown/chat/ChatBalloon.py b/toontown/chat/ChatBalloon.py index b65dbe60..34f733fc 100755 --- a/toontown/chat/ChatBalloon.py +++ b/toontown/chat/ChatBalloon.py @@ -2,20 +2,20 @@ from pandac.PandaModules import * class ChatBalloon(NodePath): - TEXT_X_OFFSET = -0.05 + TEXT_X_OFFSET = -0.04 TEXT_Y_OFFSET = -0.05 # Proportion of the Z offset based on the default line height, and the new # line height: TEXT_Z_OFFSET = -(4.0/33.0) - TEXT_MIN_WIDTH = 1.75 - TEXT_MIN_HEIGHT = 1 - TEXT_GLYPH_SCALE = 1.05 + TEXT_MIN_WIDTH = 1.55 + TEXT_MIN_HEIGHT = 1.1 + TEXT_GLYPH_SCALE = 0.95 TEXT_GLYPH_SHIFT = -0.05 - BALLOON_X_PADDING = 0.65 - BALLOON_Z_PADDING = 0.65 + BALLOON_X_PADDING = 0.525 + BALLOON_Z_PADDING = 0.5 BUTTON_SCALE = 6 BUTTON_SHIFT = (0, 0, 0.6) diff --git a/toontown/nametag/Nametag.py b/toontown/nametag/Nametag.py index af76c471..56cbb072 100755 --- a/toontown/nametag/Nametag.py +++ b/toontown/nametag/Nametag.py @@ -6,7 +6,7 @@ from toontown.nametag import NametagGlobals class Nametag: - TEXT_WORD_WRAP = 8 + TEXT_WORD_WRAP = 7 TEXT_Y_OFFSET = -0.05 CHAT_TEXT_WORD_WRAP = 12 diff --git a/toontown/nametag/NametagGroup.py b/toontown/nametag/NametagGroup.py index 2a71e8ac..5deecc4d 100755 --- a/toontown/nametag/NametagGroup.py +++ b/toontown/nametag/NametagGroup.py @@ -35,8 +35,8 @@ class NametagGroup: self.chatColor = NametagGlobals.ChatColors[NametagGlobals.CCNormal] self.speedChatColor = VBase4(1, 1, 1, 1) - self.wordWrap = 8 - self.chatWordWrap = 12 + self.wordWrap = 7 + self.chatWordWrap = 10 self.text = ''