From e75e5ced10f3db76d86c7db71cd4d247e4e683a4 Mon Sep 17 00:00:00 2001 From: ibruton Date: Fri, 11 Mar 2016 04:05:19 -0600 Subject: Added in support for beginning of round animations in competitive matches --- minmode/scripts/HudAnimations_tf.txt | 45 ++++++++++++++++++++++++++++++++---- minmode/scripts/hudlayout.res | 12 ++++++++++ 2 files changed, 52 insertions(+), 5 deletions(-) (limited to 'minmode') 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" + } } -- cgit v1.2.3