custom/toonhud/resource/ui/spectator.res

359 lines
7.2 KiB
XML

"Resource/UI/Spectator.res"
{
"Spectator"
{
"ControlName" "Frame"
"fieldName" "Spectator"
"tall" "480"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
}
"specgui"
{
}
"topbar"
{
"ControlName" "Panel"
"fieldName" "TopBar"
"xpos" "0"
"ypos" "0"
"tall" "21"
"wide" "f0"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"Alpha" "0"
}
"G_Topbar"
{
"ControlName" "EditablePanel"
"fieldName" "G_Topbar"
"xpos" "0"
"ypos" "0"
"zpos" "-10"
"tall" "21"
"wide" "f0"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "1"
"Alpha" "255"
"bgcolor_override" "G_OpaquePanelBg"
}
"BottomBar"
{
"ControlName" "Frame"
"fieldName" "BottomBar"
"xpos" "0"
"ypos" "r"
"tall" "0"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"bgcolor" "G_TransparentMenuBG"
}
"bottombarblank"
{
"ControlName" "Panel"
"fieldName" "bottombarblank"
"xpos" "0"
"ypos" "r"
"tall" "0" // this needs to match the size of BottomBar
"wide" "f0"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"bgcolor_override" "G_TransparentMenuBG"
}
"ReinforcementsLabel"
{
"ControlName" "CExLabel"
"fieldName" "ReinforcementsLabel"
"xpos" "0"
"ypos" "50"
"wide" "f0"
"tall" "30"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#game_respawntime_in_secs"
"textAlignment" "center"
"textinsety" "2"
"font" "G_FontMedium_2"
"fgcolor_override" "G_White"
"paintbackground" "0"
"bgcolor_override" "0 0 0 0"
}
"BuyBackLabel"
{
"ControlName" "CExLabel"
"fieldName" "BuyBackLabel"
"xpos" "0"
"ypos" "0"
"wide" "400"
"tall" "f0"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"labelText" ""
"textAlignment" "center"
"font" "G_FontSmall"
"wrap" "1"
"centerwrap" "1"
}
"MapLabel"
{
"ControlName" "CExLabel"
"fieldName" "MapLabel"
"font" "G_FontSmall"
"textinsetx" "5"
"xpos" "r260"
"ypos" "0"
"wide" "240"
"tall" "21"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "" // map: cp_bridge
"textAlignment" "east"
"fgcolor_override" "G_White"
}
"ClassOrTeamLabel"
{
"ControlName" "CExLabel"
"fieldName" "ClassOrTeamLabel"
"xpos" "0"
"ypos" "0"
"wide" "170"
"tall" "21"
"zpos" "2"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#TF_Spectator_ChangeTeam"
"textAlignment" "center"
"font" "SpectatorKeyHints"
"fgcolor_override" "G_White"
}
"SwitchCamModeKeyLabel"
{
"ControlName" "CExLabel"
"fieldName" "SwitchCamModeKeyLabel"
"xpos" "5"
"ypos" "10"
"wide" "60"
"tall" "21"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"labelText" "#TF_Spectator_ChangeTeam"
"textAlignment" "east"
"font" "SpectatorKeyHints"
"fgcolor_override" "0 0 0 0"
"Alpha" "0"
}
"SwitchCamModeLabel"
{
"ControlName" "CExLabel"
"fieldName" "SwitchCamModeLabel"
"xpos" "80"
"ypos" "10"
"wide" "125"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
"labelText" "#TF_Spectator_SwitchCamMode"
"textAlignment" "west"
"font" "SpectatorKeyHints"
"fgcolor_override" "0 0 0 0"
"Alpha" "0"
}
"CycleTargetFwdKeyLabel"
{
"ControlName" "CExLabel"
"fieldName" "CycleTargetFwdKeyLabel"
"xpos" "5" [$WIN32]
"ypos" "20" [$WIN32]
"wide" "60" [$WIN32]
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
"labelText" "#TF_Spectator_ClassOrTeamKey"
"textAlignment" "east"
"font" "SpectatorKeyHints"
"fgcolor_override" "0 0 0 0"
"Alpha" "0"
}
"CycleTargetFwdLabel"
{
"ControlName" "CExLabel"
"fieldName" "CycleTargetFwdLabel"
"xpos" "80" [$WIN32]
"ypos" "20" [$WIN32]
"wide" "125" [$WIN32]
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
"labelText" "#TF_Spectator_CycleTargetFwd"
"textAlignment" "west"
"font" "SpectatorKeyHints"
"fgcolor_override" "0 0 0 0"
"Alpha" "0"
}
"CycleTargetRevKeyLabel"
{
"ControlName" "CExLabel"
"fieldName" "CycleTargetRevKeyLabel"
"xpos" "5" [$WIN32]
"ypos" "30" [$WIN32]
"wide" "60" [$WIN32]
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
"labelText" "#TF_Spectator_ClassOrTeamKey"
"textAlignment" "east"
"font" "SpectatorKeyHints"
"fgcolor_override" "0 0 0 0"
"Alpha" "0"
}
"CycleTargetRevLabel"
{
"ControlName" "CExLabel"
"fieldName" "CycleTargetRevLabel"
"xpos" "80" [$WIN32]
"ypos" "30" [$WIN32]
"wide" "125" [$WIN32]
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
"labelText" "#TF_Spectator_CycleTargetRev"
"textAlignment" "west"
"font" "SpectatorKeyHints"
"fgcolor_override" "0 0 0 0"
"Alpha" "0"
}
"TipLabel"
{
"ControlName" "CExLabel"
"fieldName" "TipLabel"
"xpos" "15"
"ypos" "r67"
"wide" "200"
"tall" "40"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "0"
"labelText" "%tip%"
"textAlignment" "center" [$WIN32]
"textAlignment" "north-west" [$X360]
"font" "SpectatorKeyHints"
"wrap" "1"
"paintbackground" "1"
"bgcolor_override" "0 0 0 200"
"Alpha" "0"
}
"itempanel"
{
"ControlName" "CItemModelPanel"
"fieldName" "itempanel"
"xpos" "r175"
"ypos" "200"
"zpos" "10"
"wide" "170"
"tall" "100"
"visible" "0"
"PaintBackgroundType" "0"
"paintborder" "1"
"border" "G_TargetBorder"
"paintbackground" "1"
"bgcolor_override" "G_PanelBg"
"model_ypos" "10"
"model_center_x" "1"
"model_wide" "90"
"model_tall" "60"
"text_xpos" "10"
"text_ypos" "10"
"text_wide" "150"
"text_center" "1"
"max_text_height" "100"
"padding_height" "10"
"resize_to_text" "1"
"text_forcesize" "2"
"itemmodelpanel"
{
"fieldName" "itemmodelpanel"
"use_item_rendertarget" "0"
"useparentbg" "1"
}
"ItemLabel"
{
"ControlName" "Label"
"fieldName" "ItemLabel"
"font" "DefaultSmall"
"xpos" "10"
"ypos" "3"
"zpos" "1"
"wide" "150"
"tall" "9"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#FreezePanel_Item"
"textAlignment" "Center"
"dulltext" "0"
"brighttext" "0"
}
}
"spectator_extras"
{
"ControlName" "EditablePanel"
"fieldName" "spectator_extras"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "480"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
}