From 345b78439d73faed6a7ec19f271b530e88fb900c Mon Sep 17 00:00:00 2001 From: CriticalFlaw Date: Wed, 29 Jun 2022 23:38:33 -0400 Subject: [PATCH] Fixed #63 - Lowered the "Save this moment" and "Create a replay" notifications so to not overlap with the match HUD. - Updated the respawn counter for player panels on the match HUD. --- resource/ui/hudmatchstatus.res | 2 +- scripts/hudanimations_custom.txt | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/resource/ui/hudmatchstatus.res b/resource/ui/hudmatchstatus.res index c0645918..105e6c33 100644 --- a/resource/ui/hudmatchstatus.res +++ b/resource/ui/hudmatchstatus.res @@ -529,7 +529,7 @@ { "ControlName" "CExLabel" "fieldName" "respawntime" - "font" "PlayerPanelPlayerName" + "font" "HudFontSmallBold" "xpos" "cs-0.5" "ypos" "0" "zpos" "5" diff --git a/scripts/hudanimations_custom.txt b/scripts/hudanimations_custom.txt index ca22e98f..3966b172 100644 --- a/scripts/hudanimations_custom.txt +++ b/scripts/hudanimations_custom.txt @@ -62,4 +62,35 @@ event HudHealthDyingPulseStop StopEvent HudHealthDyingPulseLoop 0.0 Animate PlayerStatusHealthValue FgColor "TanLight" Accel 0.0 0.0 +} +//================================================================================== + + +event HudSnapShotReminderIn +{ + Animate ScreenshotPanel Position "c-83 -50" Linear 0.0 0.001 + Animate ScreenshotPanel Position "c-83 25" Spline 0.001 0.2 +} + +event HudReplayReminderIn // Places the replay reminder in the same place as the snapshot reminder +{ + Animate ReplayReminder Position "c-83 -50" Linear 0.0 0.001 + Animate ReplayReminder Position "c-83 25" Spline 0.001 0.2 +} + +event HudReplayReminderIn2 // Puts the panel below the snapshot panel +{ + Animate ReplayReminder Position "c-83 -50" Linear 0.0 0.001 + Animate ReplayReminder Position "c-83 65" Spline 0.001 0.2 +} +//================================================================================== + +event TeamStatus_PlayerDead +{ + SetVisible respawntime 1 0 +} + +event TeamStatus_PlayerAlive +{ + SetVisible respawntime 0 0.2 } \ No newline at end of file