summaryrefslogtreecommitdiff
path: root/minmode/scripts
diff options
context:
space:
mode:
authorRaysFire <[email protected]>2013-11-22 02:53:03 -0600
committerRaysFire <[email protected]>2013-11-22 02:53:03 -0600
commitfb441c9c5cdbad3f73df3f916c53acea2046d45e (patch)
treec5068263245809fa792ad1dc81f1b3b62e724ecc /minmode/scripts
parent7a41d5dbc1e3995e08041c77028fcc951d48f76a (diff)
Various bug fixes, early support for killstreams
Diffstat (limited to 'minmode/scripts')
-rw-r--r--minmode/scripts/HudAnimations_tf.txt46
-rw-r--r--minmode/scripts/hudlayout.res13
2 files changed, 59 insertions, 0 deletions
diff --git a/minmode/scripts/HudAnimations_tf.txt b/minmode/scripts/HudAnimations_tf.txt
index 7d154b4..188f0a2 100644
--- a/minmode/scripts/HudAnimations_tf.txt
+++ b/minmode/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/minmode/scripts/hudlayout.res b/minmode/scripts/hudlayout.res
index ac481b0..662990b 100644
--- a/minmode/scripts/hudlayout.res
+++ b/minmode/scripts/hudlayout.res
@@ -2091,4 +2091,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
+ }
}