2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-12-04 18:31:46 +00:00

Fix clock showing wrong color (upstream)

This commit is contained in:
Jessie Hildebrandt 2023-01-15 02:49:18 -05:00
parent 2ebc6fc006
commit e2333d18d6
3 changed files with 82 additions and 62 deletions

View File

@ -1,5 +1,26 @@
"Resource/UI/HudObjectiveKothTimePanel.res" "Resource/UI/HudObjectiveKothTimePanel.res"
{ {
"BlueClock"
{
"ControlName" "ScalableImagePanel"
"fieldName" "BlueClock"
"xpos" "2"
"ypos" "2"
"zpos" "3"
"wide" "16"
"tall" "16"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/game/clock_blue_noshadow"
"scaleImage" "1"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
}
"BlueTimer" "BlueTimer"
{ {
"ControlName" "CTFHudTimeStatus" "ControlName" "CTFHudTimeStatus"
@ -30,6 +51,27 @@
} }
} }
"RedClock"
{
"ControlName" "ScalableImagePanel"
"fieldName" "RedClock"
"xpos" "2"
"ypos" "26"
"zpos" "3"
"wide" "16"
"tall" "16"
"visible" "1"
"enabled" "1"
"image" "replay/thumbnails/game/clock_red_noshadow"
"scaleImage" "1"
"src_corner_height" "0"
"src_corner_width" "0"
"draw_corner_width" "0"
"draw_corner_height" "0"
}
"RedTimer" "RedTimer"
{ {
"ControlName" "CTFHudTimeStatus" "ControlName" "CTFHudTimeStatus"

View File

@ -5,10 +5,10 @@
"ControlName" "CTFImagePanel" "ControlName" "CTFImagePanel"
"fieldName" "TimePanelBG" "fieldName" "TimePanelBG"
"xpos" "2" "xpos" "2"
"ypos" "3" "ypos" "2"
"zpos" "2" "zpos" "2"
"wide" "15" "wide" "16"
"tall" "15" "tall" "16"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
@ -37,13 +37,11 @@
"enabled" "1" "enabled" "1"
"labelText" "%servertimeleft%" "labelText" "%servertimeleft%"
"textAlignment" "center" "textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "0" "wrap" "0"
"font" "Size 10" "font" "Size 10"
"fgcolor" "White" "fgcolor" "White"
if_mvm "if_mvm"
{ {
"visible" "0" "visible" "0"
} }

View File

@ -76,42 +76,22 @@ event RDNegativeScorePulse
//==================================================================================================================== //====================================================================================================================
event HasNotificationsBlink
{
}
event HasNotificationsBlinkStop
{
}
//====================================================================================================================
event TeamStatus_PlayerDead
{
}
event TeamStatus_PlayerAlive
{
}
//====================================================================================================================
event CompetitiveGame_LowerChatWindow
{
}
event CompetitiveGame_RestoreChatWindow
{
}
event HudTournament_MoveChatWindow
{
}
//====================================================================================================================
event HudSnapShotReminderIn event HudSnapShotReminderIn
{ {
RunEvent HudHealthDyingPulseStop 10.0 RunEvent HudHealthDyingPulseStop 10.0
RunEvent HudHealthBonusPulseStop 10.0 RunEvent HudHealthBonusPulseStop 10.0
RunEvent HudLowAmmoPulseStop 10.0 RunEvent HudLowAmmoPulseStop 10.0
RunEvent HudMedicChargedStop 10.0 RunEvent HudMedicChargedStop 10.0
} }
//==================================================================================================================== //====================================================================================================================
event HasNotificationsBlink{}
event HasNotificationsBlinkStop{}
event TeamStatus_PlayerDead{}
event TeamStatus_PlayerAlive{}
event CompetitiveGame_LowerChatWindow{}
event CompetitiveGame_RestoreChatWindow{}
event HudTournament_MoveChatWindow{}
event OvertimeLabelPulseRed{}
event SuddenDeathLabelPulseRed{}