summaryrefslogtreecommitdiff
path: root/resource/ui/medigunpanel.res
diff options
context:
space:
mode:
authorCriticalFlaw <[email protected]>2020-12-29 13:18:40 -0500
committerCriticalFlaw <[email protected]>2020-12-29 13:18:40 -0500
commitea282b4939ae1c8f5b69a89acf4db91d14491e62 (patch)
treef18f10570754661429c44b9af532a033906a7abb /resource/ui/medigunpanel.res
parent46d248b5167f9c8794c3125146952fef08f86bcd (diff)
CastingEssentials Support
- Added support for CastingEssentials features like team scores, medigun info, player status effects and loadout icons. - Updated the match HUD and the look of the player list. - Fixed the in-game chat moving when changing classes.
Diffstat (limited to 'resource/ui/medigunpanel.res')
-rw-r--r--resource/ui/medigunpanel.res330
1 files changed, 330 insertions, 0 deletions
diff --git a/resource/ui/medigunpanel.res b/resource/ui/medigunpanel.res
new file mode 100644
index 0000000..d54b8ef
--- /dev/null
+++ b/resource/ui/medigunpanel.res
@@ -0,0 +1,330 @@
+"Resource/UI/MedigunPanel.res"
+{
+ "MedigunPanel"
+ {
+ "ControlName" "Frame"
+ "fieldName" "MedigunPanel"
+ "wide" "160"
+ "tall" "17"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+
+ "player-dead" {
+ //"visible" "0"
+ }
+ }
+
+ "PanelCover"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "PanelCover"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "1"
+ "wide" "f0"
+ "tall" "f0"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "fillcolor" "TransparentBlack"
+
+ "player-dead" {
+ //"visible" "0"
+ }
+ "team-red" {
+ "xpos" "0"
+ }
+ }
+
+ "MedigunPanelBackground"
+ {
+ "ControlName" "ScalableImagePanel"
+ "fieldName" "MedigunPanelBackground"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "1"
+ "wide" "f0"
+ "tall" "20"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "0"
+ "enabled" "0"
+ "proportionaltoparent" "1"
+ "image" "../HUD/color_panel_brown"
+
+ "scaleImage" "1"
+ "src_corner_height" "22" // pixels inside the image
+ "src_corner_width" "22"
+ "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional
+ "draw_corner_height" "0"
+
+ "player-alive"
+ {
+ "team-red" {
+ "image" "../HUD/color_panel_red"
+ }
+ "team-blu" {
+ "image" "../HUD/color_panel_blu"
+ }
+ }
+ }
+
+ "MedigunPanelChargeTypeIcon"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "MedigunPanelChargeTypeIcon"
+ "xpos" "29"
+ "ypos" "2"
+ "zpos" "2"
+ "wide" "14"
+ "tall" "14"
+ "visible" "1"
+ "enabled" "1"
+ "scaleImage" "1"
+ "image" "replay/thumbnails/uber"
+
+ "team-red" {
+ "drawcolor" "188 66 66 255"
+ }
+ "team-blu" {
+ "drawcolor" "79 117 144 255"
+ }
+
+ "player-alive"
+ {
+ "medigun-kritzkrieg" {
+ "image" "replay/thumbnails/kritz"
+ }
+
+ "medigun-quickfix" {
+ "image" "replay/thumbnails/quickfix"
+ }
+
+ "medigun-vaccinator" {
+ "ypos" "0"
+ "wide" "17"
+ "tall" "17"
+ "drawcolor_override" ""
+
+ "team-red"
+ {
+ "resist-bullet" {
+ "image" "../HUD/defense_buff_bullet_red"
+ }
+ "resist-explosive" {
+ "image" "../HUD/defense_buff_explosion_red"
+ }
+ "resist-fire" {
+ "image" "../HUD/defense_buff_fire_red"
+ }
+ }
+
+ "team-blu"
+ {
+ "resist-bullet" {
+ "image" "../HUD/defense_buff_bullet_blue"
+ }
+ "resist-explosive" {
+ "image" "../HUD/defense_buff_explosion_blue"
+ }
+ "resist-fire" {
+ "image" "../HUD/defense_buff_fire_blue"
+ }
+ }
+ }
+ }
+
+ "player-dead"
+ {
+ "wide" "16"
+ "drawcolor_override" "130 130 130 225"
+ "image" "replay/thumbnails/deadshield"
+ }
+ }
+
+ "MedigunPanelChargeLabel"
+ {
+ "ControlName" "VariableLabel"
+ "fieldName" "MedigunPanelChargeLabel"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "2"
+ "wide" "24"
+ "tall" "18"
+ "autoResize" "1"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "%charge%"
+ "tabPosition" "0"
+ "textAlignment" "center"
+ "dulltext" "0"
+ "brighttext" "0"
+ "font" "Cerbetica16"
+ "fgcolor" "TanLight"
+
+ "medigun-vaccinator" {
+ "labelText" "%charges%"
+ }
+
+ "player-dead" {
+ "visible" "0"
+ }
+ }
+ "MedigunPanelChargeLabelShadow"
+ {
+ "ControlName" "VariableLabel"
+ "fieldName" "MedigunPanelChargeLabelShadow"
+ "xpos" "-1"
+ "ypos" "-2"
+ "zpos" "2"
+ "wide" "24"
+ "tall" "18"
+ "autoResize" "1"
+ "visible" "1"
+ "enabled" "1"
+ "labelText" "%charge%"
+ "tabPosition" "0"
+ "textAlignment" "center"
+ "dulltext" "0"
+ "brighttext" "0"
+ "font" "Cerbetica16"
+ "fgcolor_override" "TransparentBlack"
+
+ "pin_to_sibling" "MedigunPanelChargeLabel"
+ "pin_corner_to_sibling" "PIN_TOPLEFT"
+ "pin_to_sibling_corner" "PIN_TOPLEFT"
+
+ "player-dead" {
+ "visible" "0"
+ }
+ }
+
+ "MedigunPanelChargeMeter"
+ {
+ "ControlName" "ImageProgressBar"
+ "fieldName" "MedigunPanelChargeMeter"
+ "font" "Default"
+ "xpos" "49"
+ "ypos" "0"
+ "zpos" "2"
+ "wide" "112"
+ "tall" "18"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "textAlignment" "Left"
+ "dulltext" "0"
+ "brighttext" "0"
+ "bgcolor_override" "38 55 63 255"
+ "fgcolor_override" "57 92 120 255"
+ "direction" "east"
+ "variable" "charge"
+
+ "medigun-vaccinator" {
+ "visible" "0"
+ }
+
+ "player-dead" {
+ "visible" "0"
+ }
+ "team-red" {
+ "bgcolor_override" "89 24 23 255"
+ "fgcolor_override" "157 49 47 255"
+ }
+ }
+
+ "MedigunPanelNameLabel"
+ {
+ "ControlName" "VariableLabel"
+ "fieldName" "MedigunPanelNameLabel"
+ "xpos" "50"
+ "ypos" "0"
+ "zpos" "3"
+ "wide" "80"
+ "tall" "18"
+ "autoResize" "1"
+ "labelText" "#TF_Weapon_Medigun"
+ "visible" "1"
+ "enabled" "1"
+ "tabPosition" "0"
+ "textAlignment" "west"
+ "dulltext" "0"
+ "brighttext" "0"
+ "textinsetx" "6"
+ "font" "HudFontSmall"
+ "fgcolor_override" "TanLight"
+ "proportionaltoparent" "1"
+
+ "medigun-medigun" {
+ "labelText" "#TF_Weapon_Medigun"
+ }
+
+ "medigun-kritzkrieg" {
+ "labelText" "#TF_Unique_Achievement_Medigun1"
+ }
+
+ "medigun-quickfix" {
+ "labelText" "#TF_Unique_MediGun_QuickFix"
+ }
+
+ "medigun-vaccinator" {
+ "labelText" "#TF_Weapon_Medigun_Resist"
+ }
+
+ "player-dead" {
+ "visible" "0"
+ }
+ }
+
+ "MedigunPanelNameLabelShadow"
+ {
+ "ControlName" "VariableLabel"
+ "fieldName" "MedigunPanelNameLabelShadow"
+ "xpos" "-1"
+ "ypos" "-1"
+ "zpos" "3"
+ "wide" "80"
+ "tall" "18"
+ "autoResize" "1"
+ "labelText" "#TF_Weapon_Medigun"
+ "visible" "0"
+ "enabled" "0"
+ "tabPosition" "0"
+ "textAlignment" "west"
+ "dulltext" "0"
+ "brighttext" "0"
+ "textinsetx" "6"
+ "font" "HudFontSmall"
+ "fgcolor_override" "TransparentBlack"
+ "proportionaltoparent" "1"
+
+ "pin_to_sibling" "MedigunPanelNameLabel"
+ "pin_corner_to_sibling" "PIN_TOPLEFT"
+ "pin_to_sibling_corner" "PIN_TOPLEFT"
+
+ "medigun-medigun" {
+ "labelText" "TF_Weapon_Medigun"
+ }
+
+ "medigun-kritzkrieg" {
+ "labelText" "#TF_Unique_Achievement_Medigun1"
+ }
+
+ "medigun-quickfix" {
+ "labelText" "#TF_Unique_MediGun_QuickFix"
+ }
+
+ "medigun-vaccinator" {
+ "labelText" "#TF_Weapon_Medigun_Resist"
+ }
+
+ "player-dead" {
+ "visible" "0"
+ }
+ }
+} \ No newline at end of file