2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-11-21 22:01:46 +00:00

Improve Payload UI (upstream)

This commit is contained in:
Jessie Hildebrandt 2023-01-15 02:46:08 -05:00
parent 5698a8abf5
commit 56c230b625
2 changed files with 166 additions and 165 deletions

View File

@ -1,123 +1,108 @@
"Resource/UI/ObjectiveStatusEscort.res" "Resource/UI/ObjectiveStatusEscort.res"
{ {
"ObjectiveStatusEscort" "ObjectiveStatusEscort"
{ {
"ControlName" "EditablePanel" "ControlName" "EditablePanel"
"fieldName" "ObjectiveStatusEscort" "fieldName" "ObjectiveStatusEscort"
"xpos" "cs-0.5" "xpos" "cs-0.5"
"ypos" "r15" "ypos" "rs1-5"
"zpos" "1" "zpos" "1"
"wide" "143" "wide" "155"
"tall" "8" "tall" "10"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"progress_xpos" "" "progress_xpos" ""
"progress_wide" "" "progress_wide" ""
} }
"TrackBG"
{
"ControlName" "EditablePanel"
"fieldName" "TrackBG"
"xpos" "13"
"ypos" "cs-0.5"
"zpos" "-1"
"wide" "140"
"tall" "8"
"visible" "1"
"enabled" "1"
"paintbackground" "1"
"paintbackgroundtype" "0"
"bgcolor_override" "TransparentLightBlack"
"proportionaltoparent" "1"
}
"ProgressBar" "ProgressBar"
{ {
"ControlName" "CTFHudEscortProgressBar" "ControlName" "CTFHudEscortProgressBar"
"fieldName" "ProgressBar" "fieldName" "ProgressBar"
"xpos" "2" "xpos" "13"
"ypos" "0" "ypos" "cs-0.5"
"zpos" "8" "zpos" "0"
"wide" "140" "wide" "140"
"tall" "8" "tall" "8"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"scaleImage" "1" "scaleImage" "1"
"proportionaltoparent" "1"
"if_multiple_trains"
{
"tall" "0"
}
}
"TrackBG"
{
"ControlName" "EditablePanel"
"fieldName" "TrackBG"
"xpos" "2"
"ypos" "0"
"zpos" "0"
"wide" "140"
"tall" "8"
"visible" "1"
"enabled" "1"
"bgcolor_override" "TransparentLightBlack"
"scaleImage" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
"LevelBar" "LevelBar"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
"fieldName" "LevelBar" "fieldName" "LevelBar"
"xpos" "2" "xpos" "13"
"ypos" "0" "ypos" "cs-0.5"
"zpos" "1" "zpos" "1"
"wide" "140" "wide" "140"
"tall" "8" "tall" "8"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"labelText" ""
"image" "" "image" ""
"fillcolor" "Blank"
"drawcolor" "Blank"
"scaleImage" "1" "scaleImage" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
"HomeCPIcon" "HomeCPIcon"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
"fieldName" "HomeCPIcon" "fieldName" "HomeCPIcon"
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "cs-0.5"
"zpos" "1" "zpos" "5"
"wide" "2" "wide" "3"
"tall" "8" "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"tabPosition" "0" "image" "../hud/cart_home_blue"
"labelText" "" "scaleImage" "1"
"scaleImage" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"if_team_red" "if_team_red"
{ {
"fillcolor" "Red" "image" "../hud/cart_home_red"
} }
"if_multiple_trains_red" "if_multiple_trains_red"
{ {
"fillcolor" "Red" "image" "../hud/cart_home_red"
} }
"if_multiple_trains_blue" "if_multiple_trains_blue"
{ {
"fillcolor" "Blue" "image" "../hud/cart_home_blue"
} }
} }
"SimpleControlPointTemplate" "SimpleControlPointTemplate"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
"fieldName" "SimpleControlPointTemplate" "fieldName" "SimpleControlPointTemplate"
"xpos" "0" "xpos" "13"
"ypos" "0" "ypos" "cs-0.5"
"zpos" "1" "zpos" "3"
"wide" "2" "wide" "3"
"tall" "8" "tall" "10"
"autoResize" "0"
"pinCorner" "0"
"visible" "0" "visible" "0"
"enabled" "1" "enabled" "1"
"tabPosition" "0"
"labelText" ""
"image" "" "image" ""
"scaleImage" "1" "scaleImage" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
@ -127,150 +112,166 @@
{ {
"ControlName" "EditablePanel" "ControlName" "EditablePanel"
"fieldName" "EscortItemPanel" "fieldName" "EscortItemPanel"
"xpos" "2" "xpos" "0"
"ypos" "0" "ypos" "0"
"zpos" "2" "zpos" "4"
"wide" "280" "wide" "310"
"tall" "8" "tall" "f0"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"EscortItemImageCustom" "FillBar"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
"fieldName" "EscortItemImageCustom" "fieldName" "FillBar"
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "cs-0.5"
"zpos" "23" "zpos" "0"
"wide" "140" "wide" "155"
"tall" "8" "tall" "8"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"tabPosition" "0"
"labelText" "" "labelText" ""
"fillcolor" "Blue" "fillcolor" "Blue"
"scaleImage" "1" "scaleImage" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"if_multiple_trains_red" "if_multiple_trains_red"
{ {
"fillcolor" "Red" "fillcolor" "Red"
} }
} }
"CapNumPlayers" "EscortItemImage"
{ {
"ControlName" "CExLabel" "ControlName" "ImagePanel"
"fieldName" "CapNumPlayers" "fieldName" "EscortItemImage"
"font" "Size 9" "xpos" "144"
"xpos" "125" "ypos" "cs-0.5"
"ypos" "0" "zpos" "1"
"zpos" "30" "wide" "11"
"wide" "20"
"tall" "8" "tall" "8"
"AllCaps" "0"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"labelText" "#ControlPointIconCappers"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "white"
"paintbackground" "0"
"proportionaltoparent" "1"
"use_proportional_insets" "1"
}
"RecedeTime"
{
"ControlName" "CExLabel"
"fieldName" "RecedeTime"
"font" "Size 9"
"xpos" "122"
"ypos" "0"
"zpos" "30"
"wide" "20"
"tall" "8"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"labelText" "%recede%" "proportionaltoparent" "1"
"image" "../hud/cart_neutral"
"scaleImage" "1"
"if_team_blue"
{
"image" "../hud/cart_blue"
}
"if_team_red"
{
"image" "../hud/cart_red"
}
}
"EscortItemImageBottom"
{
"ControlName" "ImagePanel"
"fieldName" "EscortItemImageBottom"
"xpos" "144"
"ypos" "cs-0.5"
"zpos" "1"
"wide" "11"
"tall" "8"
"visible" "0"
"enabled" "1"
"proportionaltoparent" "1"
"image" "../hud/cart_neutral"
"scaleImage" "1"
"if_team_blue"
{
"image" "../hud/cart_blue"
}
"if_team_red"
{
"image" "../hud/cart_red"
}
}
"CapNumPlayers"
{
"ControlName" "CExLabel"
"fieldName" "CapNumPlayers"
"xpos" "144"
"ypos" "cs-0.5"
"zpos" "2"
"wide" "11"
"tall" "8"
"visible" "0"
"enabled" "1"
"font" "Size 8"
"labelText" "#ControlPointIconCappers"
"textAlignment" "center" "textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"fgcolor" "white" "fgcolor" "white"
"paintbackground" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"use_proportional_insets" "1" "use_proportional_insets" "1"
"textinsetx" "0"
} }
"RecedeTime"
{
"ControlName" "CExLabel"
"fieldName" "RecedeTime"
"xpos" "144"
"ypos" "cs-0.5"
"zpos" "2"
"wide" "11"
"tall" "8"
"visible" "1"
"enabled" "1"
"font" "Size 8"
"labelText" "%recede%"
"textAlignment" "center"
"fgcolor" "White"
"proportionaltoparent" "1"
}
"Speed_Backwards" "Speed_Backwards"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
"fieldName" "Speed_Backwards" "fieldName" "Speed_Backwards"
"xpos" "134" "xpos" "146"
"ypos" "1" "ypos" "cs-0.5"
"zpos" "30" "zpos" "2"
"wide" "6" "wide" "6"
"tall" "6" "tall" "6"
"autoResize" "0"
"pinCorner" "0"
"visible" "0" "visible" "0"
"enabled" "1" "enabled" "1"
"tabPosition" "0" "proportionaltoparent" "1"
"labelText" "" "labelText" ""
"image" "replay\thumbnails\cart_icons\cart_arrow_left" "image" "replay\thumbnails\cart_icons\cart_arrow_left"
"scaleImage" "1" "scaleImage" "1"
} }
"Blocked" "Blocked"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
"fieldName" "Blocked" "fieldName" "Blocked"
"xpos" "132" "xpos" "146"
"ypos" "1" "ypos" "cs-0.5"
"zpos" "30" "zpos" "2"
"wide" "6" "wide" "7"
"tall" "6" "tall" "7"
"autoResize" "0"
"pinCorner" "0"
"visible" "0" "visible" "0"
"enabled" "1" "enabled" "1"
"tabPosition" "0" "proportionaltoparent" "1"
"labelText" ""
"image" "../hud/cart_blocked" "image" "../hud/cart_blocked"
"scaleImage" "1" "scaleImage" "1"
} }
"EscortItemImage"
{
"ControlName" "ImagePanel"
"fieldName" "EscortItemImage"
"xpos" "9999"
}
"EscortItemImageBottom"
{
"ControlName" "ImagePanel"
"fieldName" "EscortItemImageBottom"
"xpos" "9999"
}
"EscortItemImageAlert" "EscortItemImageAlert"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
"fieldName" "EscortItemImageAlert" "fieldName" "EscortItemImageAlert"
"xpos" "9999" "xpos" "9999"
} }
"CapPlayerImage" "CapPlayerImage"
{ {
"ControlName" "ImagePanel" "ControlName" "ImagePanel"
"fieldName" "CapPlayerImage" "fieldName" "CapPlayerImage"
"xpos" "9999" "xpos" "9999"
} }

View File

@ -1,17 +1,17 @@
"Resource/UI/ObjectiveStatusMultipleEscort.res" "Resource/UI/ObjectiveStatusMultipleEscort.res"
{ {
"ObjectiveStatusMultipleEscort" "ObjectiveStatusMultipleEscort"
{ {
"ControlName" "EditablePanel" "ControlName" "EditablePanel"
"fieldName" "ObjectiveStatusMultipleEscort" "fieldName" "ObjectiveStatusMultipleEscort"
"xpos" "cs-0.5" "xpos" "cs-0.5"
"ypos" "r30" "ypos" "r30"
"wide" "143" "wide" "155"
"tall" "21" "tall" "30"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
} }
"BlueEscortPanel" "BlueEscortPanel"
{ {
"ControlName" "CTFHudEscort" "ControlName" "CTFHudEscort"
@ -19,16 +19,16 @@
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "0"
"zpos" "1" "zpos" "1"
"wide" "143" "wide" "155"
"tall" "8" "tall" "10"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"progress_xpos" "" "progress_xpos" ""
"progress_wide" "" "progress_wide" ""
"if_blue_is_top" "if_blue_is_top"
{ {
"ypos" "12" "ypos" "14"
} }
} }
@ -39,16 +39,16 @@
"xpos" "0" "xpos" "0"
"ypos" "0" "ypos" "0"
"zpos" "1" "zpos" "1"
"wide" "143" "wide" "155"
"tall" "8" "tall" "10"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"progress_xpos" "" "progress_xpos" ""
"progress_wide" "" "progress_wide" ""
"if_red_is_top" "if_red_is_top"
{ {
"ypos" "12" "ypos" "14"
} }
} }
} }