2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-11-22 06:11:47 +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

@ -5,49 +5,44 @@
"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" ""
} }
"ProgressBar"
{
"ControlName" "CTFHudEscortProgressBar"
"fieldName" "ProgressBar"
"xpos" "2"
"ypos" "0"
"zpos" "8"
"wide" "140"
"tall" "8"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"proportionaltoparent" "1"
"if_multiple_trains"
{
"tall" "0"
}
}
"TrackBG" "TrackBG"
{ {
"ControlName" "EditablePanel" "ControlName" "EditablePanel"
"fieldName" "TrackBG" "fieldName" "TrackBG"
"xpos" "2" "xpos" "13"
"ypos" "0" "ypos" "cs-0.5"
"zpos" "-1"
"wide" "140"
"tall" "8"
"visible" "1"
"enabled" "1"
"paintbackground" "1"
"paintbackgroundtype" "0"
"bgcolor_override" "TransparentLightBlack"
"proportionaltoparent" "1"
}
"ProgressBar"
{
"ControlName" "CTFHudEscortProgressBar"
"fieldName" "ProgressBar"
"xpos" "13"
"ypos" "cs-0.5"
"zpos" "0" "zpos" "0"
"wide" "140" "wide" "140"
"tall" "8" "tall" "8"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"bgcolor_override" "TransparentLightBlack"
"scaleImage" "1" "scaleImage" "1"
"proportionaltoparent" "1" "proportionaltoparent" "1"
} }
@ -56,17 +51,14 @@
{ {
"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"
} }
@ -76,30 +68,27 @@
"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"
} }
} }
@ -107,17 +96,13 @@
{ {
"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,29 +112,26 @@
{ {
"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"
@ -157,32 +139,75 @@
"if_multiple_trains_red" "if_multiple_trains_red"
{ {
"fillcolor" "Red" "fillcolor" "Red"
} }
} }
"EscortItemImage"
{
"ControlName" "ImagePanel"
"fieldName" "EscortItemImage"
"xpos" "144"
"ypos" "cs-0.5"
"zpos" "1"
"wide" "11"
"tall" "8"
"visible" "1"
"enabled" "1"
"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" "CapNumPlayers"
{ {
"ControlName" "CExLabel" "ControlName" "CExLabel"
"fieldName" "CapNumPlayers" "fieldName" "CapNumPlayers"
"font" "Size 9" "xpos" "144"
"xpos" "125" "ypos" "cs-0.5"
"ypos" "0" "zpos" "2"
"zpos" "30" "wide" "11"
"wide" "20"
"tall" "8" "tall" "8"
"AllCaps" "0"
"autoResize" "0"
"pinCorner" "0"
"visible" "0" "visible" "0"
"enabled" "1" "enabled" "1"
"font" "Size 8"
"labelText" "#ControlPointIconCappers" "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"
} }
@ -191,41 +216,32 @@
{ {
"ControlName" "CExLabel" "ControlName" "CExLabel"
"fieldName" "RecedeTime" "fieldName" "RecedeTime"
"font" "Size 9" "xpos" "144"
"xpos" "122" "ypos" "cs-0.5"
"ypos" "0" "zpos" "2"
"zpos" "30" "wide" "11"
"wide" "20"
"tall" "8" "tall" "8"
"autoResize" "0"
"pinCorner" "0"
"visible" "1" "visible" "1"
"enabled" "1" "enabled" "1"
"font" "Size 8"
"labelText" "%recede%" "labelText" "%recede%"
"textAlignment" "center" "textAlignment" "center"
"dulltext" "0" "fgcolor" "White"
"brighttext" "0"
"fgcolor" "white"
"paintbackground" "0"
"proportionaltoparent" "1" "proportionaltoparent" "1"
"use_proportional_insets" "1"
"textinsetx" "0"
} }
"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"
@ -235,33 +251,18 @@
{ {
"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"

View File

@ -6,8 +6,8 @@
"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"
} }
@ -19,8 +19,8 @@
"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" ""
@ -28,7 +28,7 @@
"if_blue_is_top" "if_blue_is_top"
{ {
"ypos" "12" "ypos" "14"
} }
} }
@ -39,8 +39,8 @@
"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" ""
@ -48,7 +48,7 @@
"if_red_is_top" "if_red_is_top"
{ {
"ypos" "12" "ypos" "14"
} }
} }
} }