Skip to content

Commit

Permalink
Fixed #63
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
CriticalFlaw committed Jun 30, 2022
1 parent 2416630 commit 345b784
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion resource/ui/hudmatchstatus.res
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@
{
"ControlName" "CExLabel"
"fieldName" "respawntime"
"font" "PlayerPanelPlayerName"
"font" "HudFontSmallBold"
"xpos" "cs-0.5"
"ypos" "0"
"zpos" "5"
Expand Down
31 changes: 31 additions & 0 deletions scripts/hudanimations_custom.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 345b784

Please sign in to comment.