From 0b8967e3d8dffc8abc1682bb15ac52e3f54a43ea Mon Sep 17 00:00:00 2001 From: ibruton Date: Thu, 24 Mar 2016 19:23:05 -0500 Subject: Fixed round label at the beginning of a round not displaying --- minmode/resource/ui/hudmatchstatus.res | 4 ++-- minmode/scripts/HudAnimations_tf.txt | 23 +++++++++++++++++++---- resource/ui/hudmatchstatus.res | 4 ++-- scripts/HudAnimations_tf.txt | 23 +++++++++++++++++++---- 4 files changed, 42 insertions(+), 12 deletions(-) diff --git a/minmode/resource/ui/hudmatchstatus.res b/minmode/resource/ui/hudmatchstatus.res index fb020f9..38cff24 100644 --- a/minmode/resource/ui/hudmatchstatus.res +++ b/minmode/resource/ui/hudmatchstatus.res @@ -6,12 +6,12 @@ "fieldName" "RoundSignModel" "xpos" "0" "ypos" "0" - "zpos" "3" + "zpos" "10" "wide" "f0" "tall" "f0" "autoResize" "0" "pinCorner" "0" - "visible" "0" + "visible" "1" "enabled" "1" "fov" "70" "proportionaltoparent" "1" diff --git a/minmode/scripts/HudAnimations_tf.txt b/minmode/scripts/HudAnimations_tf.txt index 22ff047..bcf085e 100644 --- a/minmode/scripts/HudAnimations_tf.txt +++ b/minmode/scripts/HudAnimations_tf.txt @@ -1606,15 +1606,30 @@ event CompetitiveGame_ShowDisconnectButton Animate DisconnectButton ypos r50 Accel 0 0.4 } -event CompetitiveGame_ShowWinnersSign +event HudTournament_ShowRoundSign { - FireCommand 0.5 "animation intro" - FireCommand 12.3 "animation outro" + SetVisible RoundSignModel 1 0 + RunEventChild RoundSignModel HudTournament_PlaySignAnim 0 + SetVisible RoundSignModel 0 6 } -event HudTournament_ShowRoundSign +event HudTournament_PlaySignAnim { FireCommand 0 "animation intro" FireCommand 5 "animation outro" } + +event TeamStatus_PlayerDead +{ + SetVisible DeathPanel 1 0 + Animate DeathPanel ypos 19 Accel 0 0.2 + Animate respawntime ypos 16 Accel 0 0.2 +} + +event TeamStatus_PlayerAlive +{ + Animate DeathPanel ypos 0 Accel 0 0.2 + Animate respawntime ypos 0 Accel 0 0.2 + SetVisible DeathPanel 0 0.2 +} // diff --git a/resource/ui/hudmatchstatus.res b/resource/ui/hudmatchstatus.res index fb020f9..38cff24 100644 --- a/resource/ui/hudmatchstatus.res +++ b/resource/ui/hudmatchstatus.res @@ -6,12 +6,12 @@ "fieldName" "RoundSignModel" "xpos" "0" "ypos" "0" - "zpos" "3" + "zpos" "10" "wide" "f0" "tall" "f0" "autoResize" "0" "pinCorner" "0" - "visible" "0" + "visible" "1" "enabled" "1" "fov" "70" "proportionaltoparent" "1" diff --git a/scripts/HudAnimations_tf.txt b/scripts/HudAnimations_tf.txt index 22ff047..bcf085e 100644 --- a/scripts/HudAnimations_tf.txt +++ b/scripts/HudAnimations_tf.txt @@ -1606,15 +1606,30 @@ event CompetitiveGame_ShowDisconnectButton Animate DisconnectButton ypos r50 Accel 0 0.4 } -event CompetitiveGame_ShowWinnersSign +event HudTournament_ShowRoundSign { - FireCommand 0.5 "animation intro" - FireCommand 12.3 "animation outro" + SetVisible RoundSignModel 1 0 + RunEventChild RoundSignModel HudTournament_PlaySignAnim 0 + SetVisible RoundSignModel 0 6 } -event HudTournament_ShowRoundSign +event HudTournament_PlaySignAnim { FireCommand 0 "animation intro" FireCommand 5 "animation outro" } + +event TeamStatus_PlayerDead +{ + SetVisible DeathPanel 1 0 + Animate DeathPanel ypos 19 Accel 0 0.2 + Animate respawntime ypos 16 Accel 0 0.2 +} + +event TeamStatus_PlayerAlive +{ + Animate DeathPanel ypos 0 Accel 0 0.2 + Animate respawntime ypos 0 Accel 0 0.2 + SetVisible DeathPanel 0 0.2 +} // -- cgit v1.2.3