diff options
| author | ibruton <[email protected]> | 2016-03-24 19:23:05 -0500 |
|---|---|---|
| committer | ibruton <[email protected]> | 2016-03-24 19:23:05 -0500 |
| commit | 0b8967e3d8dffc8abc1682bb15ac52e3f54a43ea (patch) | |
| tree | ba9644dacd2a9f96a5d9867fe92ffcec5fd86b69 | |
| parent | fa19879dec86aa1aef09aaee93456606d25f7e2c (diff) | |
Fixed round label at the beginning of a round not displaying
| -rw-r--r-- | minmode/resource/ui/hudmatchstatus.res | 4 | ||||
| -rw-r--r-- | minmode/scripts/HudAnimations_tf.txt | 23 | ||||
| -rw-r--r-- | resource/ui/hudmatchstatus.res | 4 | ||||
| -rw-r--r-- | 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 +} // |
