summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--minmode/scripts/HudAnimations_tf.txt45
-rw-r--r--minmode/scripts/hudlayout.res12
-rw-r--r--scripts/HudAnimations_tf.txt45
-rw-r--r--scripts/hudlayout.res11
4 files changed, 103 insertions, 10 deletions
diff --git a/minmode/scripts/HudAnimations_tf.txt b/minmode/scripts/HudAnimations_tf.txt
index 784c119..b2086a6 100644
--- a/minmode/scripts/HudAnimations_tf.txt
+++ b/minmode/scripts/HudAnimations_tf.txt
@@ -1427,6 +1427,7 @@ event QuestItem_Highlight_Off_Halloween
Animate GlowImage Alpha 0 Bias 0.8 0 0.2
}
+
//--------------------------------------------------------------------------
event CompetitiveGame_LowerChatWindow
{
@@ -1441,7 +1442,7 @@ event CompetitiveGame_RestoreChatWindow
event HudTournament_MoveChatWindow
{
RunEvent CompetitiveGame_LowerChatWindow 0
- RunEvent CompetitiveGame_RestoreChatWindow 8
+ RunEvent CompetitiveGame_RestoreChatWindow 10
}
//--------------------------------------------------------------------------
@@ -1481,16 +1482,28 @@ event HudTournament_DoorsClose
RunEvent HudTournament_AnimateTeams_In 0.25
RunEvent HudTournament_AnimateTeams_Out 7.70
+ SetVisible MatchStartingBG 0 9
SetVisible CountdownLabel 0 9.9
SetVisible CountdownLabelShadow 0 9.9
- SetVisible MatchStartingBG 0 10
- SetVisible BlueTeamPanel 0 10
- SetVisible RedTeamPanel 0 10
+ RunEvent HudTournament_DoorsCleanup 10
SetVisible CountdownBG 1 11
}
+event HudTournament_DoorsCleanup
+{
+ SetVisible CountdownLabel 0 0
+ SetVisible CountdownLabelShadow 0 0
+
+ SetVisible MatchStartingBG 0 0
+ SetVisible BlueTeamPanel 0 0
+ SetVisible RedTeamPanel 0 0
+
+ Animate RedTeamPanel xpos r-5 Accel 0 0
+ Animate BlueTeamPanel xpos -155 Accel 0 0
+}
+
event PlayDoorSlamParticles
{
FireCommand 0 "start0"
@@ -1536,12 +1549,34 @@ event HudTournament_HideTimer
event Hud_StatsAndMedals_Show
{
SetVisible DrawingPanel 0 0
- SetVisible WinPanelLogo 0 0
SetVisible StatsBgPanel 1 0
SetVisible StatsLabelPanel 1 0
Animate StatsLabelPanel ypos 75 Accel 0 0.1
Animate BlueMedals ypos 75 Accel 0 0.1
Animate RedMedals ypos 75 Accel 0 0.1
+ Animate BlueTeamLabel ypos 107 Accel 0 0.1
+ Animate RedTeamLabel ypos 107 Accel 0 0.1
}
+event CompetitiveGame_HideDisconnectButton
+{
+ Animate DisconnectButton ypos r-100 Accel 0 0
+}
+
+event CompetitiveGame_ShowDisconnectButton
+{
+ Animate DisconnectButton ypos r50 Accel 0 0.4
+}
+
+event CompetitiveGame_ShowWinnersSign
+{
+ FireCommand 0.5 "animation intro"
+ FireCommand 12.3 "animation outro"
+}
+
+event HudTournament_ShowRoundSign
+{
+ FireCommand 0 "animation intro"
+ FireCommand 5 "animation outro"
+}
//
diff --git a/minmode/scripts/hudlayout.res b/minmode/scripts/hudlayout.res
index ade30c2..55c6e15 100644
--- a/minmode/scripts/hudlayout.res
+++ b/minmode/scripts/hudlayout.res
@@ -2213,4 +2213,16 @@
"wide" "f0"
"tall" "f0"
}
+
+ HudCompetitive
+ {
+ "fieldName" "HudCompetitive"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "2"
+ "wide" "f0"
+ "tall" "f0"
+ }
}
diff --git a/scripts/HudAnimations_tf.txt b/scripts/HudAnimations_tf.txt
index 784c119..b2086a6 100644
--- a/scripts/HudAnimations_tf.txt
+++ b/scripts/HudAnimations_tf.txt
@@ -1427,6 +1427,7 @@ event QuestItem_Highlight_Off_Halloween
Animate GlowImage Alpha 0 Bias 0.8 0 0.2
}
+
//--------------------------------------------------------------------------
event CompetitiveGame_LowerChatWindow
{
@@ -1441,7 +1442,7 @@ event CompetitiveGame_RestoreChatWindow
event HudTournament_MoveChatWindow
{
RunEvent CompetitiveGame_LowerChatWindow 0
- RunEvent CompetitiveGame_RestoreChatWindow 8
+ RunEvent CompetitiveGame_RestoreChatWindow 10
}
//--------------------------------------------------------------------------
@@ -1481,16 +1482,28 @@ event HudTournament_DoorsClose
RunEvent HudTournament_AnimateTeams_In 0.25
RunEvent HudTournament_AnimateTeams_Out 7.70
+ SetVisible MatchStartingBG 0 9
SetVisible CountdownLabel 0 9.9
SetVisible CountdownLabelShadow 0 9.9
- SetVisible MatchStartingBG 0 10
- SetVisible BlueTeamPanel 0 10
- SetVisible RedTeamPanel 0 10
+ RunEvent HudTournament_DoorsCleanup 10
SetVisible CountdownBG 1 11
}
+event HudTournament_DoorsCleanup
+{
+ SetVisible CountdownLabel 0 0
+ SetVisible CountdownLabelShadow 0 0
+
+ SetVisible MatchStartingBG 0 0
+ SetVisible BlueTeamPanel 0 0
+ SetVisible RedTeamPanel 0 0
+
+ Animate RedTeamPanel xpos r-5 Accel 0 0
+ Animate BlueTeamPanel xpos -155 Accel 0 0
+}
+
event PlayDoorSlamParticles
{
FireCommand 0 "start0"
@@ -1536,12 +1549,34 @@ event HudTournament_HideTimer
event Hud_StatsAndMedals_Show
{
SetVisible DrawingPanel 0 0
- SetVisible WinPanelLogo 0 0
SetVisible StatsBgPanel 1 0
SetVisible StatsLabelPanel 1 0
Animate StatsLabelPanel ypos 75 Accel 0 0.1
Animate BlueMedals ypos 75 Accel 0 0.1
Animate RedMedals ypos 75 Accel 0 0.1
+ Animate BlueTeamLabel ypos 107 Accel 0 0.1
+ Animate RedTeamLabel ypos 107 Accel 0 0.1
}
+event CompetitiveGame_HideDisconnectButton
+{
+ Animate DisconnectButton ypos r-100 Accel 0 0
+}
+
+event CompetitiveGame_ShowDisconnectButton
+{
+ Animate DisconnectButton ypos r50 Accel 0 0.4
+}
+
+event CompetitiveGame_ShowWinnersSign
+{
+ FireCommand 0.5 "animation intro"
+ FireCommand 12.3 "animation outro"
+}
+
+event HudTournament_ShowRoundSign
+{
+ FireCommand 0 "animation intro"
+ FireCommand 5 "animation outro"
+}
//
diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res
index 5453f57..3d0a6ef 100644
--- a/scripts/hudlayout.res
+++ b/scripts/hudlayout.res
@@ -2224,4 +2224,15 @@
"tall" "f0"
}
+ HudCompetitive
+ {
+ "fieldName" "HudCompetitive"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "2"
+ "wide" "f0"
+ "tall" "f0"
+ }
}