Skip to content

Commit

Permalink
Updated loading screen
Browse files Browse the repository at this point in the history
- The stats shown on the loading screen now match the Stats screen.
- Slightly lowered the background so Medic's head doesn't clip the dashboard.
- Corrected #61
  • Loading branch information
CriticalFlaw committed Jun 30, 2022
1 parent 9f54df1 commit 2416630
Show file tree
Hide file tree
Showing 2 changed files with 224 additions and 1 deletion.
223 changes: 223 additions & 0 deletions resource/ui/statsummary.res
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
#base "statsummary_embedded.res"

"Resource/UI/statsummary.res"
{
"TFStatsSummary"
{
"visible" "1"
}

"MainBackground"
{
"ypos" "20"
"visible" "1"
}

"MapInfo"
{
"ControlName" "EditablePanel"
"fieldName" "MapInfo"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"visible" "0"
"enabled" "1"
"bgcolor_override" "46 43 42 255"

"Background"
{
"ControlName" "ImagePanel"
"fieldName" "Background"
"xpos" "0"
"ypos" "0"
"wide" "640"
"tall" "480"
"visible" "1"
"enabled" "1"
"image" "stamp_background_map"
"scaleImage" "1"
}

"MapImage"
{
"ControlName" "ImagePanel"
"fieldName" "MapImage"
"xpos" "30"
"ypos" "45"
"zpos" "2"
"wide" "300"
"tall" "300"
"visible" "1"
"enabled" "1"
"image" ""
"scaleImage" "1"
}

"ContributedLabel"
{
"ControlName" "EditablePanel"
"fieldName" "ContributedLabel"
"xpos" "30"
"ypos" "345"
"zpos" "40"
"wide" "300"
"tall" "100"
"visible" "0"
"enabled" "1"

"BG"
{
"ControlName" "EditablePanel"
"fieldName" "BG"
"xpos" "0"
"ypos" "0"
"wide" "300"
"tall" "55"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"border" "TFThinLineBorder"
}

"ActualLabel"
{
"ControlName" "CExLabel"
"fieldName" "ActualLabel"
"font" "HudFontSmallBold"
"labelText" "#TF_Contributed"
"textAlignment" "center"
"xpos" "10"
"ypos" "0"
"zpos" "40"
"wide" "280"
"tall" "55"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"centerwrap" "1"
"wrap" "1"
}
}

"InfoBG"
{
"ControlName" "EditablePanel"
"fieldName" "InfoBG"
"xpos" "c+10"
"ypos" "120"
"wide" "285"
"tall" "280"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"border" "TFThinLineBorder"
}

"Title"
{
"ControlName" "CExLabel"
"fieldName" "Title"
"font" "HudFontSmallBold"
"labelText" "%title%"
"textAlignment" "north"
"xpos" "c20"
"ypos" "135"
"zpos" "2"
"wide" "275"
"tall" "30"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fgcolor_override" "255 181 50 255"
}

"MapAuthors"
{
"ControlName" "CExLabel"
"fieldName" "MapAuthors"
"font" "HudFontSmallBold"
"labelText" "%authors%"
"textAlignment" "north"
"xpos" "c20"
"ypos" "155"
"zpos" "2"
"wide" "275"
"tall" "275"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"wrap" "0"
}

"MapLeaderboardTitle"
{
"ControlName" "CExLabel"
"fieldName" "MapLeaderboardTitle"
"font" "HudFontSmallBold"
"labelText" "%map_leaderboard_title%"
"textAlignment" "north"
"xpos" "c20"
"ypos" "230"
"zpos" "2"
"wide" "275"
"tall" "30"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"fgcolor_override" "137 191 60 255"
}
}

"OnYourWayLabel"
{
"font" "HudFontSmallBold"
"xpos" "c+10"
"ypos" "30"
"zpos" "40"
"wide" "285"
"visible" "1"
"fgcolor_override" "173 168 148 255"
}

"MapLabel"
{
"xpos" "c-25"
"ypos" "55"
"visible" "1"
}

"MapType"
{
"font" "HudFontSmallBold"
"xpos" "c-25"
"ypos" "80"
"visible" "1"
}

"StatData"
{
"ypos" "0"
}

"TipImage"
{
"ypos" "412"
}

"TipText"
{
"ypos" "405"
}

"CloseButton" [$WIN32]
{
"enabled" "1"
}
}
2 changes: 1 addition & 1 deletion resource/ui/statsummary_embedded.res
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
{
"ControlName" "EditablePanel"
"fieldName" "StatData"
"xpos" "0"
"xpos" "-1"
"ypos" "-130"
"zpos" "1"
"wide" "f0"
Expand Down

0 comments on commit 2416630

Please sign in to comment.