diff options
| author | ibruton <[email protected]> | 2016-04-29 19:00:10 -0500 |
|---|---|---|
| committer | ibruton <[email protected]> | 2016-04-29 19:00:10 -0500 |
| commit | b7c33780bdb692a625938274a4d7d63558e68b5f (patch) | |
| tree | 0f9fb15b8b50ab178ac16094f06a1d09e2f90296 /minmode/scripts | |
| parent | 61da51fda97b0d38dc61e94d364301eee45126c5 (diff) | |
Updated animations to fix matchmaking elements
Diffstat (limited to 'minmode/scripts')
| -rw-r--r-- | minmode/scripts/HudAnimations_tf.txt | 94 | ||||
| -rw-r--r-- | minmode/scripts/hudlayout.res | 14 |
2 files changed, 70 insertions, 38 deletions
diff --git a/minmode/scripts/HudAnimations_tf.txt b/minmode/scripts/HudAnimations_tf.txt index bcf085e..53cda7c 100644 --- a/minmode/scripts/HudAnimations_tf.txt +++ b/minmode/scripts/HudAnimations_tf.txt @@ -1484,6 +1484,23 @@ event HudTournament_MoveChatWindow } //-------------------------------------------------------------------------- +event HudTournament_MoveTimerDown +{ + Animate CountdownLabel ypos 150 Linear 0 0 + Animate CountdownLabelShadow ypos 150 Linear 0 0 + + SetVisible CountdownBG 0 5 + SetVisible CountdownLabel 1 0 + SetVisible CountdownLabelShadow 1 0 + + Animate CountdownLabel ypos c-3 Gain 0.75 0 0.4 + Animate CountdownLabelShadow ypos c0 Gain 0.75 0 0.4 + + SetVisible TournamentConditionLabel 0 2 + + SetVisible CountdownLabel 0 3 + SetVisible CountdownLabelShadow 0 3 +} event HudTournament_AnimateTeams_In { Animate RedTeamPanel xpos c150 Accel 0 0.25 @@ -1496,31 +1513,28 @@ event HudTournament_AnimateTeams_Out Animate BlueTeamPanel xpos -155 Accel 0 0.68 } -event HudTournament_DoorsClose +event HudMatchSummary_ShowMatchStartDoors { - StopEvent HudTournament_ResetTimer 0 - - SetVisible CountdownBG 0 5 + SetVisible MatchDoors 1 0 + SetVisible BlueTeamPanel 1 0 + SetVisible RedTeamPanel 1 0 SetVisible CountdownLabel 1 0 SetVisible CountdownLabelShadow 1 0 + Animate CountdownLabel ypos 150 Linear 0 0 + Animate CountdownLabelShadow ypos 150 Linear 0 0 - Animate CountdownLabel ypos c-5 Gain 0.75 0 0.4 - Animate CountdownLabelShadow ypos c-2 Gain 0.75 0 0.4 - - SetVisible MatchStartingBG 1 0 - SetVisible BlueTeamPanel 1 0 - SetVisible RedTeamPanel 1 0 + Animate CountdownLabel ypos c-3 Gain 0.75 0 0.4 + Animate CountdownLabelShadow ypos c-0 Gain 0.75 0 0.4 SetVisible HudTournamentBG 0 2 - SetVisible TournamentConditionLabel 0 2 - RunEventChild MatchStartingBG PlayDoorCloseAnim 0 + RunEventChild MatchDoors PlayDoorCloseAnim 0 RunEventChild FrontParticlePanel PlayDoorSlamParticles 0.45 - RunEventChild MatchStartingBG PlayDoorOpenAnim 7 + RunEventChild MatchDoors PlayDoorOpenAnim 7 RunEvent HudTournament_AnimateTeams_In 0.25 RunEvent HudTournament_AnimateTeams_Out 7.70 - SetVisible MatchStartingBG 0 9 + SetVisible MatchDoors 0 9 SetVisible CountdownLabel 0 9.9 SetVisible CountdownLabelShadow 0 9.9 @@ -1529,17 +1543,16 @@ event HudTournament_DoorsClose SetVisible CountdownBG 1 11 } -event HudTournament_DoorsCleanup +event HudMatchSummary_ShowCountdown { - 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 + SetVisible CountdownLabel 1 0 + SetVisible CountdownLabelShadow 1 0 + Animate CountdownLabel ypos 150 Linear 0 0 + Animate CountdownLabelShadow ypos 150 Linear 0 0 + Animate CountdownLabel ypos c-3 Gain 0.75 0 0.4 + Animate CountdownLabelShadow ypos c-0 Gain 0.75 0 0.4 + SetVisible CountdownLabel 0 9.9 + SetVisible CountdownLabelShadow 0 9.9 } event PlayDoorSlamParticles @@ -1622,14 +1635,45 @@ event HudTournament_PlaySignAnim event TeamStatus_PlayerDead { SetVisible DeathPanel 1 0 + SetVisible SkullPanel 1 0 + SetVisible respawntime 1 0 + Animate DeathPanel ypos 19 Accel 0 0.2 - Animate respawntime ypos 16 Accel 0 0.2 + Animate SkullPanel ypos 22 Accel 0 0.2 + Animate respawntime ypos 18 Accel 0 0.2 } event TeamStatus_PlayerAlive { Animate DeathPanel ypos 0 Accel 0 0.2 + Animate SkullPanel ypos 0 Accel 0 0.2 Animate respawntime ypos 0 Accel 0 0.2 + SetVisible DeathPanel 0 0.2 + SetVisible SkullPanel 0 0.2 + SetVisible respawntime 0 0.2 +} + +event HudMatchSummary_ShowMatchWinDoors +{ + SetVisible MatchDoors 1 0 + SetVisible FrontParticlePanel 1 0 + + RunEventChild MatchDoors PlayDoorCloseAnim 0 + RunEventChild FrontParticlePanel PlayDoorSlamParticles 0.45 + RunEventChild MatchDoors PlayDoorOpenAnim 4.5 + + SetVisible MatchDoors 0 7 + SetVisible FrontParticlePanel 0 7 +} + +event WinPanel_CompPos +{ + Animate WinPanel ypos 115 Linear 0 0 +} + +event WinPanel_NormalPos +{ + Animate WinPanel ypos 215 Linear 0 0 } // diff --git a/minmode/scripts/hudlayout.res b/minmode/scripts/hudlayout.res index 43df617..bed1cf0 100644 --- a/minmode/scripts/hudlayout.res +++ b/minmode/scripts/hudlayout.res @@ -1894,7 +1894,7 @@ "xpos" "c-150" "ypos" "0" "wide" "300" - "tall" "55" + "tall" "f0" } NotificationPanel @@ -2225,16 +2225,4 @@ "wide" "f0" "tall" "f0" } - - HudTeamStatus - { - "fieldName" "HudTeamStatus" - "visible" "1" - "enabled" "1" - "xpos" "0" - "ypos" "0" - "zpos" "2" - "wide" "f0" - "tall" "f0" - } } |
