From fb441c9c5cdbad3f73df3f916c53acea2046d45e Mon Sep 17 00:00:00 2001 From: RaysFire Date: Fri, 22 Nov 2013 02:53:03 -0600 Subject: Various bug fixes, early support for killstreams --- scripts/HudAnimations_tf.txt | 46 ++++++++++++++++++++++++++++++++++++++++++++ scripts/hudlayout.res | 13 +++++++++++++ 2 files changed, 59 insertions(+) (limited to 'scripts') diff --git a/scripts/HudAnimations_tf.txt b/scripts/HudAnimations_tf.txt index 7d154b4..7a1975f 100644 --- a/scripts/HudAnimations_tf.txt +++ b/scripts/HudAnimations_tf.txt @@ -823,4 +823,50 @@ event HudReadyPulseEnd StopEvent HudReadyPulseLoop 0.0 } +// Respec in Win +event RespecEarnedPulse +{ + Animate RespecTextLabelWin FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelWin FgColor "RedSolid" Linear 0.3 0.4 + + RunEvent RespecEarnedPulseLoop 0.5 +} + +event RespecEarnedPulseLoop +{ + RunEvent RespecEarnedPulse 0.0 +} + +event RespecEarnedPulseEnd +{ + Animate RespecTextLabelWin FgColor "TanLight" Linear 0.0 0.1 + + StopEvent RespecEarnedPulse 0.0 + StopEvent RespecEarnedPulseLoop 0.0 +} + +// Respec on Loss +event RespecEarnedPulseLoss +{ + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelLoss FgColor "RedSolid" Linear 0.3 0.4 + + RunEvent RespecEarnedPulseLoopLoss 0.5 +} + +event RespecEarnedPulseLoopLoss +{ + RunEvent RespecEarnedPulseLoss 0.0 +} + +event RespecEarnedPulseEndLoss +{ + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + Animate RespecTextLabelLoss FgColor "TanLight" Linear 0.0 0.1 + + StopEvent RespecEarnedPulseLoss 0.0 + StopEvent RespecEarnedPulseLoopLoss 0.0 +} + +// diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res index 4979156..055e1f7 100644 --- a/scripts/hudlayout.res +++ b/scripts/hudlayout.res @@ -2115,4 +2115,17 @@ "wide" "320" "tall" "150" } + + "CTFKillStreakNotice" + { + "fieldName" "CTFKillStreakNotice" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "visible" "1" + "enabled" "1" + "bgcolor_override" "0 0 0 0" + "PaintBackgroundType" "0" // rounded corners + } } -- cgit v1.2.3