2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-12-04 02:21:45 +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"
{
"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"
{
"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"
{
"ControlName" "CTFHudTimeStatus"

View File

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

View File

@ -76,36 +76,6 @@ event RDNegativeScorePulse
//====================================================================================================================
event HasNotificationsBlink
{
}
event HasNotificationsBlinkStop
{
}
//====================================================================================================================
event TeamStatus_PlayerDead
{
}
event TeamStatus_PlayerAlive
{
}
//====================================================================================================================
event CompetitiveGame_LowerChatWindow
{
}
event CompetitiveGame_RestoreChatWindow
{
}
event HudTournament_MoveChatWindow
{
}
//====================================================================================================================
event HudSnapShotReminderIn
{
RunEvent HudHealthDyingPulseStop 10.0
@ -115,3 +85,13 @@ event HudSnapShotReminderIn
}
//====================================================================================================================
event HasNotificationsBlink{}
event HasNotificationsBlinkStop{}
event TeamStatus_PlayerDead{}
event TeamStatus_PlayerAlive{}
event CompetitiveGame_LowerChatWindow{}
event CompetitiveGame_RestoreChatWindow{}
event HudTournament_MoveChatWindow{}
event OvertimeLabelPulseRed{}
event SuddenDeathLabelPulseRed{}