diff --git a/materials/vgui/chalkboard_scroll_box.vtf b/materials/vgui/chalkboard_scroll_box.vtf deleted file mode 100644 index 37779ba..0000000 Binary files a/materials/vgui/chalkboard_scroll_box.vtf and /dev/null differ diff --git a/materials/vgui/chalkboard_scroll_down.vtf b/materials/vgui/chalkboard_scroll_down.vtf deleted file mode 100644 index 675cad3..0000000 Binary files a/materials/vgui/chalkboard_scroll_down.vtf and /dev/null differ diff --git a/materials/vgui/chalkboard_scroll_line.vtf b/materials/vgui/chalkboard_scroll_line.vtf deleted file mode 100644 index 2af43b7..0000000 Binary files a/materials/vgui/chalkboard_scroll_line.vtf and /dev/null differ diff --git a/materials/vgui/chalkboard_scroll_up.vtf b/materials/vgui/chalkboard_scroll_up.vtf deleted file mode 100644 index 7e4d176..0000000 Binary files a/materials/vgui/chalkboard_scroll_up.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/alert.vmt b/materials/vgui/replay/thumbnails/buttons/alert.vmt deleted file mode 100644 index ddabcb7..0000000 --- a/materials/vgui/replay/thumbnails/buttons/alert.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\alert" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/alert.vtf b/materials/vgui/replay/thumbnails/buttons/alert.vtf deleted file mode 100644 index 84fcee8..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/alert.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/chat.vmt b/materials/vgui/replay/thumbnails/buttons/chat.vmt deleted file mode 100644 index 3f8366a..0000000 --- a/materials/vgui/replay/thumbnails/buttons/chat.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\chat" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/chat.vtf b/materials/vgui/replay/thumbnails/buttons/chat.vtf deleted file mode 100644 index 181186f..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/chat.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/check.vmt b/materials/vgui/replay/thumbnails/buttons/check.vmt deleted file mode 100644 index f3c7ed4..0000000 --- a/materials/vgui/replay/thumbnails/buttons/check.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\check" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/check.vtf b/materials/vgui/replay/thumbnails/buttons/check.vtf deleted file mode 100644 index cbec98f..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/check.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/heart.vmt b/materials/vgui/replay/thumbnails/buttons/heart.vmt deleted file mode 100644 index 71b47a4..0000000 --- a/materials/vgui/replay/thumbnails/buttons/heart.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\heart" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/heart.vtf b/materials/vgui/replay/thumbnails/buttons/heart.vtf deleted file mode 100644 index fff300c..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/heart.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/motd.vmt b/materials/vgui/replay/thumbnails/buttons/motd.vmt deleted file mode 100644 index beaa05a..0000000 --- a/materials/vgui/replay/thumbnails/buttons/motd.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\motd" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/motd.vtf b/materials/vgui/replay/thumbnails/buttons/motd.vtf deleted file mode 100644 index f68e205..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/motd.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/pda.vmt b/materials/vgui/replay/thumbnails/buttons/pda.vmt deleted file mode 100644 index e456448..0000000 --- a/materials/vgui/replay/thumbnails/buttons/pda.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\pda" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/pda.vtf b/materials/vgui/replay/thumbnails/buttons/pda.vtf deleted file mode 100644 index 4c5e108..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/pda.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/shutdown.vmt b/materials/vgui/replay/thumbnails/buttons/shutdown.vmt deleted file mode 100644 index 4c02baa..0000000 --- a/materials/vgui/replay/thumbnails/buttons/shutdown.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\shutdown" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/shutdown.vtf b/materials/vgui/replay/thumbnails/buttons/shutdown.vtf deleted file mode 100644 index 08e70e6..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/shutdown.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/twitch.vmt b/materials/vgui/replay/thumbnails/buttons/twitch.vmt deleted file mode 100644 index 55641d4..0000000 --- a/materials/vgui/replay/thumbnails/buttons/twitch.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\twitch" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/twitch.vtf b/materials/vgui/replay/thumbnails/buttons/twitch.vtf deleted file mode 100644 index 99e0dee..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/twitch.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/buttons/x.vmt b/materials/vgui/replay/thumbnails/buttons/x.vmt deleted file mode 100644 index 5840c99..0000000 --- a/materials/vgui/replay/thumbnails/buttons/x.vmt +++ /dev/null @@ -1,8 +0,0 @@ -"UnlitGeneric" -{ - "$baseTexture" "vgui\replay\thumbnails\buttons\x" - "$vertexcolor" "1" - "$no_fullbright" "1" - "$ignorez" "1" - "$translucent" "1" -} \ No newline at end of file diff --git a/materials/vgui/replay/thumbnails/buttons/x.vtf b/materials/vgui/replay/thumbnails/buttons/x.vtf deleted file mode 100644 index 22a8c98..0000000 Binary files a/materials/vgui/replay/thumbnails/buttons/x.vtf and /dev/null differ diff --git a/materials/vgui/replay/thumbnails/icons/glyph_hudmode_centered.vmt b/materials/vgui/replay/thumbnails/icons/glyph_hudmode_centered.vmt new file mode 100644 index 0000000..06ece58 --- /dev/null +++ b/materials/vgui/replay/thumbnails/icons/glyph_hudmode_centered.vmt @@ -0,0 +1,9 @@ +"UnlitGeneric" +{ + "$basetexture" "vgui\replay\thumbnails\glyphs\glyph_hudmode_centered" + "$translucent" 1 + "$alpha" 1 + "$vertexalpha" 1 + "$ignorez" 1 + "$vertexcolor" 1 +} diff --git a/materials/vgui/replay/thumbnails/icons/glyph_hudmode_centered.vtf b/materials/vgui/replay/thumbnails/icons/glyph_hudmode_centered.vtf new file mode 100644 index 0000000..7663d20 Binary files /dev/null and b/materials/vgui/replay/thumbnails/icons/glyph_hudmode_centered.vtf differ diff --git a/materials/vgui/replay/thumbnails/icons/glyph_hudmode_default.vmt b/materials/vgui/replay/thumbnails/icons/glyph_hudmode_default.vmt new file mode 100644 index 0000000..a3cfa03 --- /dev/null +++ b/materials/vgui/replay/thumbnails/icons/glyph_hudmode_default.vmt @@ -0,0 +1,9 @@ +"UnlitGeneric" +{ + "$basetexture" "vgui\replay\thumbnails\icons\glyph_hudmode_default" + "$translucent" 1 + "$alpha" 1 + "$vertexalpha" 1 + "$ignorez" 1 + "$vertexcolor" 1 +} diff --git a/materials/vgui/replay/thumbnails/icons/glyph_hudmode_default.vtf b/materials/vgui/replay/thumbnails/icons/glyph_hudmode_default.vtf new file mode 100644 index 0000000..9f406ba Binary files /dev/null and b/materials/vgui/replay/thumbnails/icons/glyph_hudmode_default.vtf differ diff --git a/materials/vgui/replay/thumbnails/icons/glyph_reload.vmt b/materials/vgui/replay/thumbnails/icons/glyph_reload.vmt new file mode 100644 index 0000000..18054ce --- /dev/null +++ b/materials/vgui/replay/thumbnails/icons/glyph_reload.vmt @@ -0,0 +1,9 @@ +"UnlitGeneric" +{ + "$basetexture" "vgui\replay\thumbnails\icons\glyph_reload" + "$translucent" 1 + "$alpha" 1 + "$vertexalpha" 1 + "$ignorez" 1 + "$vertexcolor" 1 +} diff --git a/materials/vgui/replay/thumbnails/icons/glyph_reload.vtf b/materials/vgui/replay/thumbnails/icons/glyph_reload.vtf new file mode 100644 index 0000000..76c6197 Binary files /dev/null and b/materials/vgui/replay/thumbnails/icons/glyph_reload.vtf differ diff --git a/resource/fonts/TF2Crosshairs.png b/resource/fonts/TF2Crosshairs.png new file mode 100644 index 0000000..643ae9f Binary files /dev/null and b/resource/fonts/TF2Crosshairs.png differ diff --git a/resource/gamemenu.res b/resource/gamemenu.res new file mode 100644 index 0000000..5749430 --- /dev/null +++ b/resource/gamemenu.res @@ -0,0 +1,60 @@ +"GameMenu" [$WIN32] +{ + "VRModeButton" + { + "label" "#MMenu_VRMode_Activate" + "command" "engine vr_toggle" + "subimage" "glyph_vr" + "OnlyWhenVREnabled" "1" // fix pls + } + // im a hud theif + "MinmodeButton" + { + "label" "Toggle Minmode" + "command" "engine toggle cl_hud_minmode" + "subimage" "../vgui/replay/thumbnails/icons/glyph_hudmode_default" + "tooltip" "Toggle Minmode" + } + "SteamWorkshopButton" + { + "label" "#MMenu_SteamWorkshop" + "command" "engine OpenSteamWorkshopDialog" + "subimage" "glyph_steamworkshop" + "tooltip" "#MMenu_SteamWorkshop" + } + + // These buttons are only shown while in-game + // and also are positioned by the .res file + "CallVoteButton" + { + "label" "" + "command" "callvote" + "OnlyInGame" "1" + "subimage" "icon_checkbox" + "tooltip" "#MMenu_CallVote" + } + "MutePlayersButton" + { + "label" "" + "command" "OpenMutePlayerDialog" + "OnlyInGame" "1" + "subimage" "glyph_muted" + "tooltip" "#MMenu_MutePlayers" + } + "RequestCoachButton" + { + "label" "" + "command" "engine cl_coach_find_coach" + "OnlyInGame" "1" + "subimage" "icon_whistle" + "tooltip" "#MMenu_RequestCoach" + } + "ReportPlayerButton" + { + "label" "" + "command" "OpenReportPlayerDialog" + "OnlyInGame" "1" + "subimage" "glyph_alert" + "tooltip" "#MMenu_ReportPlayer" + } +} diff --git a/resource/scheme/clientscheme_borders.res b/resource/scheme/clientscheme_borders.res index 5384eb2..885d97f 100644 --- a/resource/scheme/clientscheme_borders.res +++ b/resource/scheme/clientscheme_borders.res @@ -273,7 +273,36 @@ Scheme } } } - + + ReloadHudBorder + { + "inset" "0 0 1 1" + "backgroundtype" "2" + Left + { + "1" + { + "color" "TanDarker" + "offset" "0 1" + } + } + + } + + ReloadHudBorder2 + { + "inset" "0 0 1 1" + "backgroundtype" "2" + Right + { + "1" + { + "color" "TanDarker" + "offset" "0 1" + } + } + + } // =========================================== // default edited border diff --git a/resource/scheme/clientscheme_colors.res b/resource/scheme/clientscheme_colors.res index d5e07fc..b636c57 100644 --- a/resource/scheme/clientscheme_colors.res +++ b/resource/scheme/clientscheme_colors.res @@ -22,8 +22,8 @@ Scheme "low" "200 45 45 255" // low ammo/hp "lowdark" "175 45 45 255" // low ammo/hp "overheal" "75 175 255 255" // overhealed - "ubercharge1" "60 160 255 255" // overhealed - "ubercharge2" "95 205 255 2555" // overhealed + "ubercharge1" "192 28 0 255" // uber 1 + "ubercharge2" "255 28 0 255" // uber 2 (fades into annd back to 1) "meter1" "255 192 0 255" "meter2" "255 128 0 255" "meter3" "255 64 0 255" diff --git a/resource/sourcescheme.res b/resource/sourcescheme.res deleted file mode 100644 index d6fc3ee..0000000 --- a/resource/sourcescheme.res +++ /dev/null @@ -1,440 +0,0 @@ -#base "SourceSchemeBase.res" - -Scheme -{ - //////////////////////// COLORS /////////////////////////// - // color details - // this is a list of all the colors used by the scheme - Colors - { - //--------------------------------------------- - // HUD COLORS - //--------------------------------------------- - - "HudBlack" "20 20 20 255" - - "colorred" "184 56 59 255" - "colorblu" "88 133 162 255" - "colordarkred" "128 48 32 255" - "colordarkblu" "40 57 77 255" // 37 109 141 255 - - "colorlightgreen" "92 122 90 255" - "colordarkgreen" "38 53 36 255" - - "coloryellow" "218 165 32 255" - - "colorwhite" "242 242 242 255" - "colordullwhite" "200 200 200 255" - - "colorgray" "50 50 50 255" - "colordarkgray" "40 40 40 255" - "colordarkergray" "20 20 20 255" - - "colorblack" "20 20 20 255" - - // ---------------------------------- - - "TFDarkBrown" "60 56 53 255" - "TFDarkBrownTransparent" "60 56 53 190" - "TFTanBright" "236 227 203 150" - "TFTanLight" "201 188 162 150" - "TFTanMedium" "131 121 104 150" - - "TFTanLightBright" "229 223 211 90" - "TFTanLightDark" "96 90 78 90" - - "TFOrangeBright" "156 82 33 255" - - "TFTextBright" "251 236 203 150" - "TFTextLight" "201 188 162 255" - "TFTextMedium" "131 121 104 255" - "TFTextMediumDark" "104 96 83 255" - "TFTextBlack" "42 39 37 255" - "TFTextDull" "131 121 104 255" - - "TFMediumBrown" "69 64 58 255" - - "QuickListBGDeselected" "0 0 0 0" - "QuickListBGSelected" "169 123 53 255" - - "Blank" "0 0 0 0" - - // background colors - "ControlBG" "76 88 68 255" // background color of controls - "ControlDarkBG" "90 106 80 255" // darker background color; used for background of scrollbars - "WindowBG" "62 70 55 255" // background color of text edit panes (chat, text entries, etc.) - "SelectionBG" "90 84 75 255" // background color of any selected text or menu item - "SelectionBG2" "69 64 57 255" // selection background in window w/o focus - "ListBG" "39 36 34 255" // background of server browser, buddy list, etc. - } - BaseSettings - { - // scheme-specific colors - Border.Bright "Blank" // the lit side of a control - Border.Dark "Blank" // the dark/unlit side of a control - Border.Selection "Blank" // the additional border color for displaying the default/selected button - - Button.TextColor "colorwhite" - Button.BgColor "colorblack" - Button.ArmedTextColor "colorwhite" - Button.ArmedBgColor "coloryellow" - Button.DepressedTextColor "colorwhite" - Button.DepressedBgColor "coloryellow" - Button.FocusBorderColor "Blank" - - CheckButton.TextColor "colordullwhite" - CheckButton.SelectedTextColor "colorwhite" - CheckButton.BgColor "colorblack" - CheckButton.HighlightFgColor "coloryellow" - CheckButton.ArmedBgColor "Blank" - CheckButton.DepressedBgColor "Blank" - CheckButton.Border1 "Border.Dark" // the left checkbutton border - CheckButton.Border2 "Border.Bright" // the right checkbutton border - CheckButton.Check "colorwhite" // color of the check itself - CheckButton.DisabledBgColor "Blank" - - ToggleButton.SelectedTextColor "colorwhite" - - ComboBoxButton.ArrowColor "colordullwhite" - ComboBoxButton.ArmedArrowColor "colorwhite" - ComboBoxButton.BgColor "Blank" - ComboBoxButton.DisabledBgColor "Blank" - - RadioButton.TextColor "colordullwhite" - RadioButton.SelectedTextColor "colorwhite" - RadioButton.ArmedTextColor "TFTextMedium" - - Frame.BgColor "colordarkgray" - Frame.OutOfFocusBgColor "27 27 27 100" - FrameGrip.Color1 "TFTanMedium" - FrameGrip.Color2 "colorwhite" - FrameTitleButton.FgColor "colorwhite" - FrameTitleBar.Font "UiBold" - FrameTitleBar.TextColor "colorwhite" - FrameTitleBar.DisabledTextColor "colordullwhite" - - Label.TextDullColor "colordullwhite" - Label.TextColor "colorwhite" - Label.TextBrightColor "colorwhite" - Label.SelectedTextColor "colorwhite" - Label.BgColor "Blank" - Label.DisabledFgColor1 "colordullwhite" - Label.DisabledFgColor2 "Blank" - - ListPanel.TextColor "colorwhite" - ListPanel.BgColor "HudBlack" - ListPanel.SelectedBgColor "colorwhite" - ListPanel.SelectedOutOfFocusBgColor "colordullwhite" - - MainMenu.TextColor "colordullwhite" - MainMenu.ArmedTextColor "colorwhite" - MainMenu.Inset "32" - - Menu.TextInset "6" - Menu.FgColor "colorwhite" - Menu.BgColor "HudBlack" - Menu.ArmedFgColor "colorblack" - Menu.ArmedBgColor "colorwhite" - Menu.DividerColor "Border.Dark" - - ScrollBarButton.FgColor "colorwhite" - ScrollBarButton.BgColor "colorblack" - ScrollBarButton.ArmedFgColor "colorblack" - ScrollBarButton.ArmedBgColor "colorwhite" - ScrollBarButton.DepressedFgColor "colorblack" - ScrollBarButton.DepressedBgColor "colorwhite" - - ScrollBarSlider.BgColor "colorblack" // this isn't really used - ScrollBarSlider.FgColor "colorwhite" // handle with which the slider is grabbed - - Slider.NobColor "TFTanLight" - Slider.TextColor "colorwhite" - Slider.TrackColor "HudBlack" - Slider.DisabledTextColor1 "TFTextMediumDark" - Slider.DisabledTextColor2 "Blank" - - TextEntry.TextColor "colorwhite" - TextEntry.DisabledTextColor "colordullwhite" - TextEntry.SelectedBgColor "colorwhite" - - // Borrowed from CS:S SourceScheme - Frame.TitleTextInsetX 14 - Frame.ClientInsetY 9 - Frame.ClientInsetX 8 - Frame.FocusTransitionEffectTime "0.25" - Frame.TransitionEffectTime "0.25" - Frame.AutoSnapRange "0" - FrameTitleButton.BgColor "Blank" - FrameTitleButton.DisabledFgColor "255 255 255 192" - FrameTitleButton.DisabledBgColor "Blank" - FrameSystemButton.FgColor "Blank" - FrameSystemButton.BgColor "Blank" - FrameSystemButton.Icon "" - FrameSystemButton.DisabledIcon "" - FrameTitleBar.BgColor "Blank" - FrameTitleBar.DisabledBgColor "Blank" - - GraphPanel.FgColor "colorwhite" - GraphPanel.BgColor "HudBlack" - - ListPanel.TextBgColor "Blank" - ListPanel.SelectedTextColor "colorblack" - ListPanel.EmptyListInfoTextColor "colordullwhite" - - Menu.TextColor "colorwhite" - Menu.ArmedTextColor "colorblack" - - Panel.FgColor "colordullwhite" - Panel.BgColor "Blank" - - ProgressBar.FgColor "colorwhite" - ProgressBar.BgColor "HudBlack" - - PropertySheet.TextColor "colordullwhite" - PropertySheet.SelectedTextColor "colorwhite" - PropertySheet.TransitionEffectTime "0.25" - - RichText.TextColor "colordullwhite" - RichText.BgColor "HudBlack" - RichText.SelectedTextColor "colorblack" - RichText.SelectedBgColor "colorwhite" - - ScrollBar.Wide 18 - - SectionedListPanel.HeaderTextColor "colorwhite" - SectionedListPanel.HeaderBgColor "Blank" - SectionedListPanel.DividerColor "colorblack" - SectionedListPanel.TextColor "DullWhite" - SectionedListPanel.BrightTextColor "colorwhite" - SectionedListPanel.BgColor "HudBlack" - SectionedListPanel.SelectedTextColor "colorblack" - SectionedListPanel.SelectedBgColor "colorwhite" - SectionedListPanel.OutOfFocusSelectedTextColor "colorblack" - SectionedListPanel.OutOfFocusSelectedBgColor "100 100 100 128" - - TextEntry.BgColor "HudBlack" - TextEntry.CursorColor "colordullwhite" - TextEntry.DisabledBgColor "Blank" - TextEntry.SelectedTextColor "colorblack" - TextEntry.OutOfFocusSelectedBgColor "100 100 100 128" - TextEntry.FocusEdgeColor "0 0 0 196" - - ToggleButton.SelectedTextColor "colorwhite" - - Tooltip.TextColor "colorblack" - Tooltip.BgColor "colorwhite" - - TreeView.BgColor "HudBlack" - - WizardSubPanel.BgColor "Blank" - - MainMenu.DepressedTextColor "150 150 150 128" - MainMenu.MenuItemHeight "25" - MainMenu.Backdrop "0 0 0 200" - - Console.TextColor "100 255 100 255" - Console.DevTextColor "colorwhite" - - NewGame.TextColor "colorwhite" - NewGame.FillColor "0 0 0 255" - NewGame.SelectionColor "colorwhite" - NewGame.DisabledColor "128 128 128 196" - } - Fonts - { - "MainMenuFont" - { - "1" [$WIN32] - { - "name" "TF2 Build" - "tall" "18" - "weight" "500" - "additive" "0" - "antialias" "1" - } - } - "MenuLarge" - { - "1" [$X360] - { - "tall_hidef" "24" - } - } - - "ServerBrowserTitle" - { - "1" - { - "name" "TF2 Build" - "tall" "35" - "tall_lodef" "40" - "weight" "500" - "additive" "0" - "antialias" "1" - } - } - - "Default" [$OSX] - { - "1" - { - "name" "Verdana" - "tall" "14" - "weight" "500" - } - } - - "ServerBrowserSmall" - { - "1" - { - "name" "Tahoma" - "tall" "16" - "weight" "0" - "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A - "yres" "480 599" - } - "2" - { - "name" "Tahoma" - "tall" "16" - "weight" "0" - "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A - "yres" "600 767" - } - "3" - { - "name" "Tahoma" - "tall" "16" - "weight" "0" - "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A - "yres" "768 1023" - "antialias" "1" - } - "4" - { - "name" "Tahoma" - "tall" "19" - "weight" "0" - "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A - "yres" "1024 1199" - "antialias" "1" - } - "5" - { - "name" "Tahoma" - "tall" "19" - "weight" "0" - "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A - "yres" "1200 6000" - "antialias" "1" - } - } - - - AchievementItemTitle [$WIN32] - { - "1" - { - "name" "Arial" [!$OSX] - "name" "Verdana Bold" [$OSX] - "weight" "1500" - "tall" "16" [!$OSX] - "tall" "18" [$OSX] - "antialias" "1" - } - } - - AchievementItemTitleLarge [$WIN32] - { - "1" - { - "name" "Arial" [!$OSX] - "name" "Verdana Bold" [$OSX] - "weight" "1500" - "tall" "18" [!$OSX] - "tall" "19" [$OSX] - "antialias" "1" - } - } - - AchievementItemDescription [$WIN32] - { - "1" - { - "name" "Arial" [!$OSX] - "name" "Verdana" [$OSX] - "weight" "1000" - "tall" "14" [!$OSX] - "tall" "12" [$OSX] - "antialias" "1" [!$OSX] - } - } - - } - - CustomFontFiles - { - "6" - { - "font" "resource/TF2Build.ttf" - "name" "TF2 Build" - "turkish" - { - "range" "0x0000 0x015F" - } - "swedish" - { - "range" "0x0000 0x00F6" - } - "spanish" - { - "range" "0x0000 0x00FC" - } - "romanian" - { - "range" "0x0000 0x021B" - } - "polish" - { - "range" "0x0000 0x017C" - } - "norwegian" - { - "range" "0x0000 0x00F8" - } - "danish" - { - "range" "0x0000 0x00F8" - } - "hungarian" - { - "range" "0x0000 0x0171" - } - "german" - { - "range" "0x0000 0x00FC" - } - "french" - { - "range" "0x0000 0x0178" - } - "finnish" - { - "range" "0x0000 0x017E" - } - "czech" - { - "range" "0x0000 0x017E" - } - "bulgarian" - { - "range" "0x0000 0x0451" - } - "russian" - { - "range" "0x0000 0x0451" - } - } - } -} diff --git a/resource/ui/desktop.ini b/resource/ui/desktop.ini deleted file mode 100644 index db2292b..0000000 --- a/resource/ui/desktop.ini +++ /dev/null @@ -1,7 +0,0 @@ -[LocalizedFileNames] -hud_obj_tele_exit.res=@hud_obj_tele_exit.res,0 -hud_obj_dispenser.res=@hud_obj_dispenser.res,0 -hud_obj_sapper.res=@hud_obj_sapper.res,0 -hud_obj_sentrygun.res=@hud_obj_sentrygun.res,0 -hud_obj_sentrygun_disp.res=@hud_obj_sentrygun_disp.res,0 -hud_obj_tele_entrance.res=@hud_obj_tele_entrance.res,0 diff --git a/resource/ui/freezepanel_basic.res b/resource/ui/freezepanel_basic.res index 87693e6..7856676 100644 --- a/resource/ui/freezepanel_basic.res +++ b/resource/ui/freezepanel_basic.res @@ -1,4 +1,4 @@ -"Resource/UI/FreezePanel_Basic.res" +"Resource/UI/FreezePanel_Basic.res" // eve hud freezepanel because i liked it more than the one i made { "FreezePanel" { @@ -23,8 +23,8 @@ "model_ypos" "10" "model_center_x" "1" - "model_wide" "90" - "model_tall" "60" + "model_wide" "65" + "model_tall" "40" "text_xpos" "10" "text_ypos" "10" @@ -47,166 +47,252 @@ { "ControlName" "Label" "fieldName" "ItemLabel" - "font" "DefaultSmall" - "xpos" "10" - "ypos" "3" - "zpos" "1" - "wide" "270" - "tall" "9" + "font" "ScoreboardSmall" + "xpos" "5" + "ypos" "2" + "zpos" "10" + "wide" "240" + "tall" "10" "autoResize" "0" "pinCorner" "0" "visible" "1" "enabled" "1" "labelText" "#FreezePanel_Item" - "textAlignment" "Left" + "textAlignment" "west" "dulltext" "0" "brighttext" "0" } } - "FreezePanelBase" [$WIN32] + "FreezePanelBase" { "ControlName" "EditablePanel" "fieldName" "FreezePanelBase" - "xpos" "r270" - "ypos" "93" - "wide" "267" - "tall" "200" + "xpos" "c-330" + "ypos" "r161" //"r130" + //"xpos_minmode" "r458" + //"ypos_minmode" "r97" + "zpos" "1" + "wide" "458" //"268" + "tall" "97" "visible" "1" - + "FreezePanelBG" { "ControlName" "CTFImagePanel" - "fieldName" "FreezePanelBG" - "xpos" "8" - "ypos" "160" - "zpos" "0" - "wide" "256" - "tall" "33" - "visible" "1" - "enabled" "1" - "image" "../hud/color_panel_blu" + "fieldName" "FreezePanelBG" + "xpos" "208" + "ypos" "62" + "zpos" "-4" + "wide" "245" + "tall" "30" + "visible" "1" + "enabled" "1" + "image" "../hud/color_panel_blu" "scaleImage" "1" - "src_corner_height" "25" // pixels inside the image - "src_corner_width" "25" - - "draw_corner_width" "0" // screen size of the corners ( and sides ), proportional - "draw_corner_height" "0" + "src_corner_height" "23" + "src_corner_width" "23" + + "draw_corner_width" "0" + "draw_corner_height" "0" } - + + "FreezePanelHealth" + { + "ControlName" "CTFFreezePanelHealth" + "fieldName" "FreezePanelHealth" + "xpos" "200" + "ypos" "58" + "zpos" "4" + "wide" "80" + "tall" "35" + "visible" "1" + "enabled" "1" + "HealthBonusPosAdj" "9" + "HealthDeathWarning" "0.49" + "TFFont" "HudFontSmall" + "HealthDeathWarningColor" "HUDDeathWarning" + "TextColor" "HudOffWhite" + } "FreezeLabel" { "ControlName" "Label" - "fieldName" "FreezeLabel" - "font" "HudFont14" - "xpos" "9999" - "ypos" "162" - "zpos" "1" - "wide" "252" - "tall" "12" + "fieldName" "FreezeLabel" + "font" "ScoreboardSmall" + "xpos" "264" + "ypos" "64" + "zpos" "1" + "wide" "157" + "tall" "12" "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "labelText" "#FreezePanel_Killer" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#FreezePanel_Killer" "textAlignment" "North-West" - "dulltext" "0" + "dulltext" "0" "brighttext" "0" } + "FreezeLabel2" + { + "ControlName" "Label" + "fieldName" "FreezeLabel2" + "font" "ScoreboardSmallBold" + "xpos" "264" + "ypos" "64" + "zpos" "1" + "wide" "187" + "tall" "12" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "labelText" "#FreezePanel_Killer" + "textAlignment" "North-West" + "dulltext" "0" + "brighttext" "0" + } - "FreezePanelHealth" [$WIN32] - { - "ControlName" "CTFFreezePanelHealth" - "fieldName" "FreezePanelHealth" - "xpos" "8" - "ypos" "160" - "zpos" "1" - "wide" "31" - "tall" "31" - "visible" "1" - "enabled" "1" - "HealthBonusPosAdj" "9" - "HealthDeathWarning" "0.49" - "TFFont" "HudFontSmall" - "HealthDeathWarningColor" "HUDDeathWarning" - "TextColor" "HudOffWhite" - } - "FreezeLabelKiller" { - "ControlName" "Label" - "fieldName" "FreezeLabelKiller" - "font" "HudFont14" - "xpos" "66" - "ypos" "173" - "zpos" "5" - "wide" "252" - "tall" "18" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "labelText" "%killername%" + "ControlName" "Label" + "fieldName" "FreezeLabelKiller" + "font" "HudFontSmall" + "xpos" "261" + "ypos" "73" + "zpos" "1" + "wide" "195" + "tall" "18" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "labelText" "%killername%" "textAlignment" "Left" + } + "FreezeLabelKiller2" + { + "ControlName" "CExLabel" + "fieldName" "FreezeLabelKiller2" + "font" "HudFontSmallestbold" + "xpos" "264" + "ypos" "73" + "zpos" "1" + "wide" "190" //"195" + "tall" "18" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "%killername%" + "textAlignment" "Left" + "fgcolor" "white" + } + "AvatarBG" + { + "ControlName" "ImagePanel" + "fieldName" "AvatarBG" + "xpos" "232" + "ypos" "62" + "zpos" "-3" + "wide" "25" + "tall" "30" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "fillcolor" "0 0 0 75" + "PaintBackgroundType" "0" } - "AvatarImage" { "ControlName" "CAvatarImagePanel" - "fieldName" "AvatarImage" - "xpos" "55" - "ypos" "174" - "zpos" "0" - "wide" "14" - "tall" "14" + "fieldName" "AvatarImage" + "xpos" "242" + "ypos" "68" + "zpos" "0" + "wide" "18" + "tall" "18" + "visible" "1" + "enabled" "1" + "image" "" + "scaleImage" "1" + } + "AvatarImage2" + { + "ControlName" "EditablePanel" + "fieldName" "AvatarImage2" + "xpos" "242" + "ypos" "68" + "zpos" "-2" + "wide" "18" + "tall" "18" + "visible" "1" + "enabled" "1" + //"scaleImage" "1" + //"PaintBackgroundType" "2" + "bgcolor_override" "46 43 42 255" + } + "AvatarQuestionMark" + { + "ControlName" "CExLabel" + "fieldName" "AvatarQuestionMark" + "font" "hudfont12" + "labelText" "?" + "textAlignment" "west" + "xpos" "248" + "ypos" "69" + "zpos" "-1" + "wide" "18" + "tall" "18" + "autoResize" "0" + "pinCorner" "0" "visible" "1" "enabled" "1" - "image" "" - "scaleImage" "1" - "color_outline" "52 48 45 255" - } + "fgcolor" "colorwhite" + } "NemesisSubPanel" { "ControlName" "EditablePanel" - "fieldName" "NemesisSubPanel" - "xpos" "9999" // FIXME - "ypos" "130" - "zpos" "4" - "wide" "306" - "tall" "38" - "visible" "1" + "fieldName" "NemesisSubPanel" + "xpos" "-55" // FIXME // NO! You Fix me! // whats going on here fellas + "ypos" "58" + "zpos" "4" + "wide" "306" + "tall" "38" + "visible" "1" "NemesisPanelBG" { "ControlName" "ScalableImagePanel" - "fieldName" "NemesisPanelBG" - "xpos" "95" - "ypos" "4" - "zpos" "5" - "wide" "161" - "tall" "30" - "visible" "1" - "enabled" "1" - "image" "../hud/color_panel_brown" + "fieldName" "NemesisPanelBG" + "xpos" "95" + "ypos" "6" + "zpos" "5" + "wide" "161" + "tall" "26" + "visible" "1" + "enabled" "1" + "image" "../hud/color_panel_brown" "scaleImage" "1" - "src_corner_height" "23" // pixels inside the image + "src_corner_height" "23" "src_corner_width" "23" - - "draw_corner_width" "6" // screen size of the corners ( and sides ), proportional - "draw_corner_height" "6" + + "draw_corner_width" "0" + "draw_corner_height" "0" } "NemesisIcon" { "ControlName" "ImagePanel" "fieldName" "NemesisIcon" - "xpos" "95" - "ypos" "-1" + "xpos" "96" + "ypos" "2" "zpos" "6" - "wide" "36" - "tall" "36" + "wide" "32" + "tall" "32" "visible" "1" "enabled" "1" "image" "../hud/leaderboard_nemesis_freezecam" @@ -215,23 +301,25 @@ "NemesisLabel" { "ControlName" "Label" - "fieldName" "NemesisLabel" - "font" "HudFontMediumSmall" - "xpos" "134" - "ypos" "10" - "zpos" "6" - "wide" "112" - "tall" "18" + "fieldName" "NemesisLabel" + "font" "HudFontMediumSmallbold" + //"font_minmode" "HudFontMediumSmall" + "xpos" "134" + "ypos" "10" + "zpos" "6" + "wide" "112" + "tall" "18" "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "labelText" "%nemesisname%" + "pinCorner" "0" + "visible" "1" + //"visible_minmode" "0" + "enabled" "1" + "labelText" "%nemesisname%" "textAlignment" "west" } "NemesisLabel2" { - "ControlName" "Label" + "ControlName" "Label" "fieldName" "NemesisLabel2" "font" "DefaultSmall" "xpos" "134" @@ -239,73 +327,83 @@ "zpos" "6" "wide" "112" "tall" "18" - "autoResize" "0" + "autoResize" "0" "pinCorner" "0" "visible" "0" + //"visible_minmode" "0" "enabled" "1" "labelText" "%nemesisadvice%" - "textAlignment" "west" + "textAlignment" "west" } } } - + "ScreenshotPanel" { "ControlName" "EditablePanel" "fieldName" "ScreenshotPanel" - "xpos" "c-83" - "ypos" "50" + "xpos" "5" + "ypos" "-13" "zpos" "2" "wide" "166" "tall" "40" + //"tall_minmode" "0" "visible" "0" - + "alpha" "0" + "ScreenshotPanelBG" { - "ControlName" "ImagePanel" - "fieldName" "ScreenshotPanelBG" - "xpos" "0" - "ypos" "8" - "zpos" "0" - "wide" "166" - "tall" "38" - "visible" "1" - "enabled" "1" - "image" "../hud/freezecam_black_bg" - "scaleImage" "1" + "ControlName" "ScalableImagePanel" + "fieldName" "ScreenshotPanelBG" + "xpos" "0" + "ypos" "18" + "zpos" "0" + "wide" "160" + "tall" "21" + "visible" "1" + "enabled" "1" + "image" "../hud/color_panel_brown" + "scaleImage" "1" + + "src_corner_height" "23" + "src_corner_width" "23" + + "draw_corner_width" "0" + "draw_corner_height" "0" } "ScreenshotIcon" { "ControlName" "ImagePanel" - "fieldName" "ScreenshotIcon" - "xpos" "3" - "ypos" "0" - "zpos" "1" - "wide" "36" - "tall" "36" - "visible" "1" - "enabled" "1" - "image" "../hud/ico_camera" - "scaleImage" "1" + "fieldName" "ScreenshotIcon" + "xpos" "5" + "ypos" "20" + "zpos" "1" + "wide" "16" + "tall" "16" + "visible" "1" + "enabled" "1" + "image" "../hud/ico_camera" + "scaleImage" "1" } "ScreenshotLabel" { - "ControlName" "Label" - "fieldName" "ScreenshotLabel" - "font" "SpectatorKeyHints" - "xpos" "40" - "ypos" "25" - "zpos" "2" - "wide" "133" - "tall" "12" + "ControlName" "CExLabel" + "fieldName" "ScreenshotLabel" + "font" "HudFontMediumSmallestbold" + "xpos" "25" + "ypos" "22" + "zpos" "2" + "wide" "133" + "tall" "12" "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "labelText" "%text%" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "%text%" "textAlignment" "west" - "dulltext" "0" + "dulltext" "0" "brighttext" "0" + "fgcolor" "white" } } -} +} \ No newline at end of file diff --git a/resource/ui/freezepanelkillerhealth.res b/resource/ui/freezepanelkillerhealth.res index 53f30be..bbb52c1 100644 --- a/resource/ui/freezepanelkillerhealth.res +++ b/resource/ui/freezepanelkillerhealth.res @@ -1,27 +1,27 @@ -"Resource/UI/FreezePanelKillerHealth.res" +"Resource/UI/SpectatorGUIHealth.res" { "PlayerStatusHealthImage" { "ControlName" "ImagePanel" "fieldName" "PlayerStatusHealthImage" - "xpos" "9999" + "xpos" "10" "ypos" "6" "zpos" "4" - "wide" "f0" - "tall" "f0" + "wide" "26" + "tall" "26" "visible" "1" "enabled" "1" "scaleImage" "1" - } + } "PlayerStatusHealthImageBG" { "ControlName" "ImagePanel" "fieldName" "PlayerStatusHealthImageBG" - "xpos" "9999" - "ypos" "4" - "zpos" "3" - "wide" "f0" - "tall" "f0" + "xpos" "9" + "ypos" "5" + "zpos" "4" + "wide" "28" + "tall" "28" "visible" "1" "enabled" "1" "image" "../hud/health_bg" @@ -31,43 +31,25 @@ { "ControlName" "ImagePanel" "fieldName" "BuildingStatusHealthImageBG" - "xpos" "9999" - "ypos" "2" - "zpos" "2" - "wide" "f0" - "tall" "f0" - "visible" "0" + "xpos" "8" + "ypos" "5" + "zpos" "4" + "wide" "27" + "tall" "27" + "visible" "1" "enabled" "1" "image" "../hud/health_equip_bg" "scaleImage" "1" } - "TargetHealthBG" - { - "ControlName" "CExImageButton" - "fieldName" "TargetHealthBG" - "xpos" "-5" - "ypos" "9" - "zpos" "1" - "wide" "70" - "tall" "15" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "defaultbgcolor_override" "colortransparentgray" - "PaintBackgroundType" "0" - "textinsety" "99" - "border" "noborder" - } "PlayerStatusHealthBonusImage" { "ControlName" "ImagePanel" "fieldName" "PlayerStatusHealthBonusImage" - "xpos" "99999" - "ypos" "4" - "zpos" "3" - "wide" "24" - "tall" "24" + "xpos" "9" + "ypos" "5" + "zpos" "4" + "wide" "28" + "tall" "28" "visible" "0" "enabled" "1" "image" "../hud/health_over_bg" @@ -78,7 +60,7 @@ "ControlName" "CExLabel" "fieldName" "PlayerStatusHealthValue" "xpos" "-29" - "ypos" "-9" + "ypos" "-11" "zpos" "5" "wide" "89" "tall" "50" @@ -93,8 +75,8 @@ { "ControlName" "CExLabel" "fieldName" "SpecGuiHP" - "xpos" "-29" - "ypos" "-9" + "xpos" "-22" + "ypos" "-6" "zpos" "5" "wide" "89" "tall" "50" diff --git a/resource/ui/hudammoweapons.res b/resource/ui/hudammoweapons.res index f634397..6145910 100644 --- a/resource/ui/hudammoweapons.res +++ b/resource/ui/hudammoweapons.res @@ -42,14 +42,14 @@ "fieldName" "AmmoInClip" "font" "hudfont48" "fgcolor" "colorwhite" - "xpos" "80" + "xpos" "50" "ypos" "27" "zpos" "5" "wide" "100" // breaks when f0 "tall" "70" "visible" "0" "enabled" "1" - "textAlignment" "west" + "textAlignment" "center" "labelText" "%Ammo%" } @@ -66,7 +66,7 @@ "tall" "70" "visible" "0" "enabled" "1" - "textAlignment" "west" + "textAlignment" "center" "labelText" "%Ammo%" "pin_to_sibling" "AmmoInClip" @@ -77,14 +77,14 @@ "fieldName" "AmmoInReserve" "font" "hudfont24" "fgcolor" "colorwhite" - "xpos" "120" + "xpos" "135" "ypos" "42" "zpos" "7" "wide" "f0" "tall" "27" "visible" "0" "enabled" "1" - "textAlignment" "south-west" + "textAlignment" "west" "labelText" "%AmmoInReserve%" } "AmmoInReserveShadow" @@ -100,7 +100,7 @@ "tall" "27" "visible" "0" "enabled" "1" - "textAlignment" "south-west" + "textAlignment" "west" "labelText" "%AmmoInReserve%" "pin_to_sibling" "AmmoInReserve" } @@ -110,14 +110,14 @@ "fieldName" "AmmoNoClip" "font" "hudfont48" "fgcolor" "colorwhite" - "xpos" "-65" - "ypos" "0" + "xpos" "-20" + "ypos" "1" "zpos" "5" "wide" "100" "tall" "70" "visible" "0" "enabled" "1" - "textAlignment" "south-west" + "textAlignment" "center" "labelText" "%Ammo%" "pin_to_sibling" "AmmoInClip" @@ -135,7 +135,7 @@ "tall" "70" "visible" "0" "enabled" "1" - "textAlignment" "south-west" + "textAlignment" "center" "labelText" "%Ammo%" "pin_to_sibling" "AmmoNoClip" diff --git a/resource/ui/hudmatchstatus.res b/resource/ui/hudmatchstatus.res index b396382..21949f3 100644 --- a/resource/ui/hudmatchstatus.res +++ b/resource/ui/hudmatchstatus.res @@ -59,10 +59,10 @@ } "CountdownLabel" - { + { "ControlName" "CExLabel" "fieldName" "CountdownLabel" - "font" "hudfont24" + "font" "HudFontGiant" "xpos" "cs-0.5" "ypos" "cs-0.1" "wide" "40" @@ -75,17 +75,23 @@ "wrap" "0" "labelText" "%countdown%" "textAlignment" "center" - "fgcolor" "colorwhite" "proportionaltoparent" "1" + "fgcolor" "colorwhite" + + if_readymode + { + "xpos" "300" + "ypos" "130" + } } "CountdownLabelShadow" - { + { "ControlName" "CExLabel" "fieldName" "CountdownLabelShadow" - "font" "hudfont24" + "font" "HudFontGiant" "xpos" "cs-0.48" - "ypos" "cs-0.48" + "ypos" "cs-0.08" "wide" "40" "tall" "40" "zpos" "4" @@ -98,7 +104,14 @@ "textAlignment" "center" "fgcolor" "colorblack" "proportionaltoparent" "1" - } + + + if_readymode + { + "xpos" "300" + "ypos" "130" + } + } "FrontParticlePanel" { @@ -186,53 +199,42 @@ { "fieldName" "RoundCounter" "xpos" "9999" - "ypos" "9999" - "zpos" "1" - "wide" "300" - "tall" "100" - "visible" "0" + "ypos" "-2" + "zpos" "1" + "wide" "0" //"300" + "tall" "0" + "visible" "1" "enabled" "1" - } + + } + "BGFrame" { - "ControlName" "ImagePanel" + "ControlName" "EditablePanel" "fieldName" "BGFrame" - "xpos" "cs-0.5" - "ypos" "-5" + "xpos" "cs-0.4999" + "ypos" "2" "zpos" "0" - "wide" "365" - "tall" "26" + "wide" "320" + "tall" "25" "visible" "0" - "fillcolor" "blank" - if_match + "proportionaltoaparent" "1" + "border" "TFFatLineBorder" + + if_mvm { - "visible" "1" + "visible" "0" + "wide" "0" + "tall" "0" } - } - - "Graycenter" - { - "ControlName" "EditablePanel" - "fieldName" "Graycenter" - "xpos" "cs-0.5" - "ypos" "-5" - "zpos" "0" - "wide" "65" - "tall" "26" - "visible" "0" - "bgcolor_override" "transparentblack" - + if_match { "visible" "1" } - - if_mvm - { - "visible" "0" - } } + "RankUpLabel" { "ControlName" "CExLabel" @@ -284,44 +286,45 @@ "ControlName" "EditablePanel" "fieldName" "ObjectiveStatusTimePanel" "xpos" "c-55" - "ypos" "-5" [$WIN32] + "ypos" "0" "zpos" "2" "wide" "110" "tall" "150" "visible" "0" "enabled" "1" - "delta_item_x" "22" [$WIN32] - "delta_item_x" "115" [$X360] + "delta_item_x" "22" "delta_item_start_y" "50" "delta_item_end_y" "70" "PositiveColor" "0 255 0 255" "NegativeColor" "255 0 0 255" "delta_lifetime" "1.5" - "delta_item_font" "hudfont14" + "delta_item_font" "hudfont12" if_match { - "xpos" "cs-0.5" + "xpos" "c-55" "wide" "130" + "ypos" "-2" + "ypos_minmode" "-4" "delta_item_x" "35" "delta_item_start_y" "12" "delta_item_end_y" "50" "PositiveColor" "0 255 0 255" "NegativeColor" "255 0 0 255" "delta_lifetime" "1.5" - "delta_item_font" "hudfont14" + "delta_item_font" "hudfont12" } "TimePanelValue" { "ControlName" "CExLabel" "fieldName" "TimePanelValue" - "font" "hudfont14" + "font" "hudfont18" "fgcolor" "colorwhite" - "xpos" "23" - "ypos" "11" + "xpos" "21" + "ypos" "2" "zpos" "3" - "wide" "45" + "wide" "68" "tall" "31" "visible" "1" "enabled" "1" @@ -330,12 +333,7 @@ if_match { - "proportionaltoparent" "1" - "xpos" "cs-0.5" - "ypos" "10" - "tall" "11" - "font" "hudfont14" } } } @@ -344,7 +342,7 @@ "ControlName" "CTFTeamStatus" "fieldName" "TeamStatus" "xpos" "0" - "ypos" "0" + "ypos" "5" "zpos" "2" "wide" "f0" "tall" "75" @@ -352,18 +350,18 @@ "enabled" "1" - "max_size" "25" + "max_size" "19" "6v6_gap" "4" "12v12_gap" "1" "team1_grow_dir" "west" - "team1_base_x" "c-33" - "team1_max_expand" "150" + "team1_base_x" "c-25" + "team1_max_expand" "133" "team2_grow_dir" "east" - "team2_base_x" "c33" - "team2_max_expand" "150" + "team2_base_x" "c26" + "team2_max_expand" "133" "playerpanels_kv" { @@ -374,13 +372,18 @@ "color_portrait_bg_red" "colorred" "color_portrait_bg_blue" "colorblu" + "color_portrait_bg_red_dead" "colordarkred" "color_portrait_bg_blue_dead" "colordarkblu" + "color_bar_health_high" "84 191 58 255" - "color_bar_health_med" "255 255 0 255" + + "color_bar_health_med" "191 183 58 255" + "color_bar_health_low" "191 58 58 255" + "percentage_health_med" "0.6" - "color_bar_health_low" "255 0 0 255" "percentage_health_low" "0.3" + "color_portrait_blend_dead_red" "255 255 255 255" "color_portrait_blend_dead_blue" "255 255 255 255" @@ -389,8 +392,8 @@ "ControlName" "CExLabel" "fieldName" "playername" "font" "DefaultVerySmall" - "xpos" "9999" - "ypos" "9999" + "xpos" "5" + "ypos" "24" "zpos" "5" "wide" "50" "tall" "8" @@ -398,6 +401,7 @@ "pinCorner" "0" "visible" "0" } + "classimage" { "ControlName" "CTFClassImage" @@ -405,8 +409,8 @@ "xpos" "cs-0.5" "ypos" "0" "zpos" "3" - "wide" "21" - "tall" "21" + "wide" "19" + "tall" "19" "visible" "1" "enabled" "1" "image" "../hud/class_scoutred" @@ -420,8 +424,8 @@ "xpos" "0" "ypos" "0" "zpos" "2" - "wide" "25" - "tall" "21" + "wide" "f0" + "tall" "19" "visible" "1" "enabled" "1" "PaintBackgroundType" "0" @@ -433,10 +437,10 @@ "fieldName" "healthbar" "font" "Default" "xpos" "0" - "ypos" "20" + "ypos" "19" "zpos" "5" "wide" "f0" - "tall" "3" + "tall" "2" "autoResize" "0" "pinCorner" "0" "visible" "1" @@ -453,10 +457,10 @@ "fieldName" "overhealbar" "font" "Default" "xpos" "0" - "ypos" "20" + "ypos" "19" "zpos" "6" "wide" "f0" - "tall" "3" + "tall" "2" "autoResize" "0" "pinCorner" "0" "visible" "1" @@ -464,8 +468,8 @@ "textAlignment" "Left" "dulltext" "0" "brighttext" "0" - "bgcolor_override" "blank" - "fgcolor_override" "255 255 255 255" + "bgcolor_override" "0 0 0 0" + "fgcolor_override" "255 255 255 160" "proportionaltoparent" "1" } "HealthIcon" @@ -483,7 +487,7 @@ "HealthDeathWarning" "0.49" "TFFont" "HudFontSmallest" "HealthDeathWarningColor" "HUDDeathWarning" - "TextColor" "242 242 242 255" + "TextColor" "HudOffWhite" } "ReadyBG" { @@ -524,7 +528,7 @@ { "ControlName" "CExLabel" "fieldName" "respawntime" - "font" "hudfont14" + "font" "hudfont8" "xpos" "cs-0.5" "ypos" "0" "zpos" "5" @@ -541,7 +545,7 @@ { "ControlName" "CExLabel" "fieldName" "chargeamount" - "font" "hudfont14" + "font" "hudfont12" "xpos" "25" "ypos" "17" "zpos" "6" diff --git a/resource/ui/hudmediccharge.res b/resource/ui/hudmediccharge.res index 5052c80..d8dda4c 100644 --- a/resource/ui/hudmediccharge.res +++ b/resource/ui/hudmediccharge.res @@ -234,7 +234,7 @@ "ControlName" "ContinuousProgressBar" "fieldName" "ChargeMeter3" "font" "Default" - "xpos" "-30" + "xpos" "-31" "ypos" "0" "zpos" "2" "wide" "30" @@ -287,7 +287,7 @@ "scaleImage" "1" } - "ResistIconAnchor" + "ResistIconAnchor" // fix me pls :( { "ControlName" "EditablePanel" "fieldName" "ResistIconAnchor" diff --git a/resource/ui/hudobjectivekothtimepanel.res b/resource/ui/hudobjectivekothtimepanel.res new file mode 100644 index 0000000..bc14b7d --- /dev/null +++ b/resource/ui/hudobjectivekothtimepanel.res @@ -0,0 +1,115 @@ +"Resource/UI/HudObjectiveKothTimePanel.res" +{ + "BlueTimer" + { + "ControlName" "CTFHudTimeStatus" + "fieldName" "BlueTimer" + "xpos" "-1" + "ypos" "7" + "zpos" "2" + "wide" "100" + "tall" "150" + "visible" "1" + "enabled" "1" + "delta_item_x" "22" + "delta_item_start_y" "50" + "delta_item_end_y" "70" + "PositiveColor" "0 255 0 255" + "NegativeColor" "255 0 0 255" + "delta_lifetime" "1.5" + "delta_item_font" "HudFontMedium" + + if_match + { + "ypos" "1" + } + + "TimePanelValue" + { + "ControlName" "CExLabel" + "fieldName" "TimePanelValue" + "font" "HudFontMediumSmallBold" + "fgcolor" "White" + "xpos" "32" + "ypos" "4" + "zpos" "3" + "wide" "45" + "tall" "32" + "visible" "1" + "enabled" "1" + "textAlignment" "center" + "labelText" "0:00" + + if_match + { + "ypos" "4" + } + } + } + "RedTimer" + { + "ControlName" "CTFHudTimeStatus" + "fieldName" "RedTimer" + "xpos" "91" + "ypos" "7" + "zpos" "2" + "wide" "100" + "tall" "150" + "visible" "1" + "enabled" "1" + "delta_item_x" "22" + "delta_item_start_y" "50" + "delta_item_end_y" "70" + "PositiveColor" "0 255 0 255" + "NegativeColor" "255 0 0 255" + "delta_lifetime" "1.5" + "delta_item_font" "HudFontMedium" + + if_match + { + "ypos" "1" + } + + "TimePanelValue" + { + "ControlName" "CExLabel" + "fieldName" "TimePanelValue" + "font" "HudFontMediumSmallBold" + "fgcolor" "White" + "xpos" "32" + "ypos" "4" + "zpos" "3" + "wide" "45" + "tall" "32" + "visible" "1" + "enabled" "1" + "textAlignment" "center" + "labelText" "0:00" + + if_match + { + "ypos" "4" + } + } + } + + "ActiveTimerBG" + { + "ControlName" "ImagePanel" + "fieldName" "ActiveTimerBG" + "xpos" "40" + "ypos" "11" + "zpos" "3" + "wide" "56" + "tall" "30" + "visible" "1" + "enabled" "1" + "image" "../hud/objectives_timepanel_active_bg" + "scaleImage" "1" + + if_match + { + "tall" "0" + } + } +} diff --git a/resource/ui/hudobjectivestatus.res b/resource/ui/hudobjectivestatus.res new file mode 100644 index 0000000..b22e1f0 --- /dev/null +++ b/resource/ui/hudobjectivestatus.res @@ -0,0 +1,4 @@ +"Resource/UI/HudObjectiveStatus.res" +{ + +} diff --git a/resource/ui/hudobjectivetimepanel.res b/resource/ui/hudobjectivetimepanel.res index 56b57a0..942ddf3 100644 --- a/resource/ui/hudobjectivetimepanel.res +++ b/resource/ui/hudobjectivetimepanel.res @@ -1,348 +1,270 @@ "Resource/UI/HudObjectiveTimePanel.res" -{ +{ "TimePanelBG" { "ControlName" "ScalableImagePanel" - "fieldName" "TimePanelBG" - "xpos" "16" - "xpos_hidef" "108" - "xpos_lodef" "108" - "ypos" "9" - "zpos" "2" - "wide" "78" - "wide_lodef" "90" - "tall" "33" - "tall_lodef" "38" - "visible" "1" - "enabled" "1" - "image" "../hud/objectives_timepanel_blue_bg" - "scaleImage" "1" - + "fieldName" "TimePanelBG" + "xpos" "30" + "ypos" "4" + "zpos" "2" + "wide" "50" + "tall" "24" + "visible" "1" + "enabled" "1" + "image" "../hud/objectives_timepanel_blue_bg" + "scaleImage" "1" + "src_corner_height" "40" + "src_corner_width" "40" + "draw_corner_width" "0" + "draw_corner_height" "0" + if_match { - "visible" "0" + //"xpos" "40" } + } + "InfoPanelBG" + { + "ControlName" "ImagePanel" + "fieldName" "InfoPanelBG" + "xpos" "30" + "ypos" "11" + "zpos" "3" + "wide" "50" + "tall" "3" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "fillcolor" "0 0 0 225" } "TimePanelProgressBar" { "ControlName" "CTFProgressBar" - "fieldName" "TimePanelProgressBar" - "xpos" "67" - "xpos_hidef" "159" - "xpos_lodef" "165" - "ypos" "16" - "ypos_hidef" "15" - "ypos_lodef" "16" - "zpos" "4" - "wide" "20" - "wide_lodef" "25" - "tall" "20" - "tall_lodef" "25" - "visible" "1" - "enabled" "1" + "fieldName" "TimePanelProgressBar" + "xpos" "67" + "ypos" "16" + "zpos" "4" + "wide" "20" + "tall" "20" + "visible" "0" + "enabled" "0" "scaleImage" "1" - "image" "../hud/objectives_timepanel_progressbar" + "image" "../hud/objectives_timepanel_progressbar" "color_active" "TimerProgress.Active" "color_inactive" "TimerProgress.InActive" "color_warning" "TimerProgress.Warning" "percent_warning" "0.75" - - if_match - { - "visible" "0" - } } "WaitingForPlayersLabel" { "ControlName" "CExLabel" - "fieldName" "WaitingForPlayersLabel" - "xpos" "16" - "ypos" "34" - "zpos" "5" - "wide" "78" - "tall" "19" - "visible" "0" - "enabled" "1" - "labelText" "#game_WaitingForPlayers" + "fieldName" "WaitingForPlayersLabel" + "xpos" "5" + "ypos" "27" + "zpos" "5" + "wide" "100" + "tall" "19" + "visible" "0" + "enabled" "1" + "labelText" "#game_WaitingForPlayers" "textAlignment" "center" - "dulltext" "0" + "dulltext" "0" "brighttext" "0" - "wrap" "0" - "font" "hudfont12" - + "wrap" "0" + "font" "HudFontSmallest" + if_match { - "proportionaltoparent" "1" - "xpos" "0" - "ypos" "21" - "wide" "p1" - "font" "hudfont12" + //"proportionaltoparent" "1" + //"xpos" "0" + //"ypos" "21" + //"ypos_minmode" "21" + //"wide" "130" + //"font" "HudFontSmallestBold" } } "WaitingForPlayersBG" { "ControlName" "CTFImagePanel" - "fieldName" "WaitingForPlayersBG" - "xpos" "16" [$WIN32] - "xpos" "11" [$X360] - "ypos" "31" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen - "zpos" "1" - "wide" "78" - "tall" "20" - "visible" "0" - "enabled" "1" - "image" "../hud/objectives_timepanel_suddendeath" + "fieldName" "WaitingForPlayersBG" + "xpos" "9999" + "ypos" "9999" + "zpos" "1" + "wide" "0" + "tall" "0" + "visible" "0" + "enabled" "0" + "image" "../hud/objectives_timepanel_suddendeath" "scaleImage" "1" - - if_match - { - "wide" "0" - } } "OvertimeLabel" { "ControlName" "CExLabel" - "fieldName" "OvertimeLabel" - "xpos" "16" - "xpos_hidef" "0" - "xpos_lodef" "0" - "ypos" "33" - "ypos_hidef" "41" - "ypos_lodef" "41" - "zpos" "5" - "wide" "78" - "wide_hidef" "300" - "wide_lodef" "300" - "tall" "19" - "tall_hidef" "19" - "tall_lodef" "22" - "visible" "0" - "enabled" "1" - "labelText" "#game_Overtime" + "fieldName" "OvertimeLabel" + "xpos" "6" + "ypos" "29" + "zpos" "5" + "wide" "100" + "tall" "19" + "visible" "0" + "enabled" "1" + "labelText" "#game_Overtime" "textAlignment" "center" - "dulltext" "0" + "dulltext" "0" "brighttext" "0" - "wrap" "0" - "font" "hudfont12" - "font_hidef" "HudFontSmall" - "font_lodef" "HudFontSmall" - + "wrap" "0" + "font" "HudFontSmallestBold" + if_match { - "proportionaltoparent" "1" - "xpos" "0" - "ypos" "21" - "wide" "p1" - "font" "hudfont12" - "font_hidef" "HudFontSmallestBold" - "font_lodef" "HudFontSmallestBold" + //"proportionaltoparent" "1" + //"xpos" "0" + //"ypos" "21" + //"ypos_minmode" "21" + //"wide" "130" + //"font" "HudFontSmallestBold" } } "OvertimeBG" { "ControlName" "CTFImagePanel" - "fieldName" "OvertimeBG" - "xpos" "16" [$WIN32] - "xpos" "11" [$X360] - "ypos" "31" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen - "zpos" "1" - "wide" "78" - "tall" "20" - "visible" "0" - "enabled" "1" - "image" "../hud/objectives_timepanel_suddendeath" + "fieldName" "OvertimeBG" + "xpos" "9999" + "ypos" "9999" + "zpos" "1" + "wide" "0" + "tall" "0" + "visible" "0" + "enabled" "0" + "image" "../hud/objectives_timepanel_suddendeath" "scaleImage" "1" - - if_match - { - "wide" "0" - } } "SuddenDeathLabel" { "ControlName" "CExLabel" - "fieldName" "SuddenDeathLabel" - "xpos" "16" - "xpos_hidef" "0" - "xpos_lodef" "0" - "ypos" "33" - "ypos_hidef" "41" - "ypos_lodef" "41" - "zpos" "5" - "wide" "78" - "wide_hidef" "300" - "wide_lodef" "300" - "tall" "19" - "tall_hidef" "19" - "tall_lodef" "22" - "visible" "0" - "enabled" "1" - "labelText" "#game_SuddenDeath" + "fieldName" "SuddenDeathLabel" + "xpos" "5" + "ypos" "36" + "zpos" "5" + "wide" "100" + "tall" "19" + "visible" "0" + "enabled" "1" + "labelText" "#game_SuddenDeath" "textAlignment" "center" - "dulltext" "0" + "dulltext" "0" "brighttext" "0" - "wrap" "0" - "font" "hudfont12" - "font_hidef" "HudFontSmall" - "font_lodef" "HudFontSmall" - + "wrap" "0" + "font" "HudFontSmallest" + if_match { - "proportionaltoparent" "1" - "xpos" "0" - "ypos" "21" - "wide" "p1" - "font" "hudfont12" - "font_hidef" "HudFontSmallestBold" - "font_lodef" "HudFontSmallestBold" + //"proportionaltoparent" "1" + //"xpos" "0" + //"ypos" "21" + //"ypos_minmode" "21" + //"wide" "130" + //"font" "HudFontSmallestBold" } } "SuddenDeathBG" { "ControlName" "CTFImagePanel" - "fieldName" "SuddenDeathBG" - "xpos" "16" [$WIN32] - "xpos" "11" [$X360] - "ypos" "31" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen - "zpos" "1" - "wide" "78" - "tall" "20" - "visible" "0" - "enabled" "1" - "image" "../hud/objectives_timepanel_suddendeath" + "fieldName" "SuddenDeathBG" + "xpos" "9999" + "ypos" "9999" + "zpos" "1" + "wide" "0" + "tall" "0" + "visible" "0" + "enabled" "0" + "image" "../hud/objectives_timepanel_suddendeath" "scaleImage" "1" - - if_match - { - "wide" "0" - } } "SetupLabel" { - "ControlName" "CExLabel" - "fieldName" "SetupLabel" - "xpos" "16" - "xpos_hidef" "0" - "xpos_lodef" "0" - "ypos" "33" - "ypos_hidef" "41" - "ypos_lodef" "41" - "zpos" "5" - "wide" "78" - "wide_hidef" "300" - "wide_lodef" "300" - "tall" "19" - "tall_hidef" "19" - "tall_lodef" "22" - "visible" "0" - "enabled" "1" - "labelText" "#game_Setup" + "ControlName" "CExLabel" + "fieldName" "SetupLabel" + "xpos" "5" + "ypos" "27" + "zpos" "5" + "wide" "100" + "tall" "19" + "visible" "0" + "enabled" "1" + "labelText" "#game_Setup" "textAlignment" "center" - "dulltext" "0" + "dulltext" "0" "brighttext" "0" - "wrap" "0" - "font" "hudfont12" - "font_hidef" "HudFontSmall" - "font_lodef" "HudFontSmall" - + "wrap" "0" + "font" "HudFontSmallestBold" + if_match { - "proportionaltoparent" "1" - "xpos" "0" - "ypos" "21" - "wide" "p1" - "font" "hudfont12" - "font_hidef" "HudFontSmallestBold" - "font_lodef" "HudFontSmallestBold" + //"proportionaltoparent" "1" + //"xpos" "0" + //"ypos" "21" + //"ypos_minmode" "21" + //"wide" "130" + //"font" "HudFontSmallestBold" } } "SetupBG" { "ControlName" "CTFImagePanel" - "fieldName" "SetupBG" - "xpos" "16" [$WIN32] - "xpos" "11" [$X360] - "ypos" "31" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen - "zpos" "1" - "wide" "78" - "tall" "20" - "visible" "0" - "enabled" "1" - "image" "../hud/objectives_timepanel_suddendeath" + "fieldName" "SetupBG" + "xpos" "9999" + "ypos" "9999" + "zpos" "1" + "wide" "0" + "tall" "0" + "visible" "0" + "enabled" "0" + "image" "../hud/objectives_timepanel_suddendeath" "scaleImage" "1" - - if_match - { - "wide" "0" - } } "ServerTimeLimitLabel" { "ControlName" "CExLabel" "fieldName" "ServerTimeLimitLabel" - "xpos" "16" - "xpos_hidef" "0" - "xpos_lodef" "0" - "ypos" "33" - "ypos_hidef" "41" - "ypos_lodef" "41" + "xpos" "5" + "ypos" "36" "zpos" "5" - "wide" "78" - "wide_hidef" "300" - "wide_lodef" "300" + "wide" "100" "tall" "19" - "tall_hidef" "19" - "tall_lodef" "22" "visible" "0" "enabled" "1" "labelText" "%servertimeleft%" - "textAlignment" "center" + "textAlignment" "center" "dulltext" "0" - "brighttext" "0" + "brighttext" "0" "wrap" "0" - "font" "hudfont12" - "font_hidef" "HudFontSmall" - "font_lodef" "HudFontSmall" - + "font" "HudFontSmallestBold" + if_match { - "proportionaltoparent" "1" - "xpos" "0" - "ypos" "21" - "wide" "p1" - "font" "hudfont12" - "font_hidef" "HudFontSmallestBold" - "font_lodef" "HudFontSmallestBold" + //"proportionaltoparent" "1" + //"xpos" "0" + //"ypos" "21" + //"ypos_minmode" "21" + //"wide" "130" + //"font" "HudFontSmallestBold" } } "ServerTimeLimitLabelBG" { - "ControlName" "CTFImagePanel" + "ControlName" "CTFImagePanel" "fieldName" "ServerTimeLimitLabelBG" - "xpos" "16" [$WIN32] - "xpos" "11" [$X360] - "ypos" "31" - "ypos_hidef" "-100" //off-screen - "ypos_lodef" "-100" //off-screen + "xpos" "9999" + "ypos" "9999" "zpos" "1" "wide" "78" "tall" "20" + "tall_minmode" "0" "visible" "0" "enabled" "1" "image" "../hud/objectives_timepanel_suddendeath" - "scaleImage" "1" - - if_match - { - "wide" "0" - } + "scaleImage" "1" } } diff --git a/resource/ui/hudplayerclass.res b/resource/ui/hudplayerclass.res index 4867698..962f627 100644 --- a/resource/ui/hudplayerclass.res +++ b/resource/ui/hudplayerclass.res @@ -49,11 +49,11 @@ { "ControlName" "CTFImagePanel" "fieldName" "PlayerStatusSpyOutlineImage" - "xpos" "3" [$WIN32] - "ypos" "r67" [$WIN32] + "xpos" "75" [$WIN32] + "ypos" "r40" [$WIN32] "zpos" "7" - "wide" "55" - "tall" "55" + "wide" "85" + "tall" "85" "visible" "0" "enabled" "1" "image" "../hud/class_spy_outline" diff --git a/resource/ui/hudplayerhealth.res b/resource/ui/hudplayerhealth.res index 15b4a46..a8dff3a 100644 --- a/resource/ui/hudplayerhealth.res +++ b/resource/ui/hudplayerhealth.res @@ -21,11 +21,11 @@ { "ControlName" "ImagePanel" "fieldName" "PlayerStatusHealthImage" - "xpos" "70" + "xpos" "50" "ypos" "35" // does not move "zpos" "4" - "wide" "51" - "tall" "51" + "wide" "52" + "tall" "52" "visible" "0" "enabled" "1" "scaleImage" "1" @@ -107,21 +107,6 @@ "font" "DefaultSmall" "fgcolor" "TanDark" } - "PlayerStatusBleedImage" - { - "ControlName" "ImagePanel" - "fieldName" "PlayerStatusBleedImage" - "xpos" "85" - "ypos" "0" - "zpos" "7" - "wide" "32" - "tall" "32" - "visible" "1" - "enabled" "1" - "scaleImage" "1" - "image" "../vgui/bleed_drop" - "fgcolor" "TanDark" - } "PlayerStatusHookBleedImage" { "ControlName" "ImagePanel" diff --git a/resource/ui/hudrocketpack.res b/resource/ui/hudrocketpack.res index 731fc35..cb1b5ce 100644 --- a/resource/ui/hudrocketpack.res +++ b/resource/ui/hudrocketpack.res @@ -1,4 +1,4 @@ -"Resource/UI/HudRocketPack.res" +"Resource/UI/HudRocketPack.res" // this doesnt use #base { HudItemEffectMeter { @@ -78,10 +78,10 @@ "fieldName" "ItemEffectMeter" "font" "Default" "xpos" "0" - "ypos" "23" + "ypos" "22" "zpos" "2" "wide" "60" - "tall" "6" + "tall" "7" "autoResize" "0" "pinCorner" "0" "visible" "1" @@ -98,10 +98,10 @@ "fieldName" "ItemEffectMeter2" "font" "Default" "xpos" "60" - "ypos" "23" + "ypos" "22" "zpos" "2" "wide" "60" - "tall" "6" + "tall" "7" "autoResize" "0" "pinCorner" "0" "visible" "1" @@ -116,10 +116,10 @@ "controlName" "EditablePanel" "fieldName" "line_50" "xpos" "59" - "ypos" "23" + "ypos" "22" "zpos" "8" "wide" "1" - "tall" "6" + "tall" "7" "visible" "1" "enabled" "1" "bgcolor_override" "colortransparentgray" diff --git a/resource/ui/mainmenuoverride.res b/resource/ui/mainmenuoverride.res index d606059..8d7bb84 100644 --- a/resource/ui/mainmenuoverride.res +++ b/resource/ui/mainmenuoverride.res @@ -504,8 +504,8 @@ { "ControlName" "EditablePanel" "fieldName" "Notifications_ShowButtonPanel" - "xpos" "c148" - "ypos" "28" + "xpos" "0" + "ypos" "-30" "zpos" "10" "wide" "32" "tall" "32" @@ -519,6 +519,7 @@ "navLeft" "QuickplayButton" "navRight" "Notifications_Panel" "navToRelay" "Notifications_ShowButtonPanel_SB" + "pin_to_sibling" "MOTD_ShowButtonPanel" "SubImage" { @@ -608,7 +609,7 @@ "ControlName" "EditablePanel" "fieldName" "WatchStreamButton" "xpos" "cs-3.35" - "ypos" "cs-4.8" + "ypos" "cs-4.975" "zpos" "1" "wide" "32" "tall" "32" @@ -681,7 +682,7 @@ "ControlName" "EditablePanel" "fieldName" "QuestLogButton" "xpos" "0" - "ypos" "-27" + "ypos" "-30" "zpos" "1" "wide" "32" "tall" "32" @@ -755,7 +756,7 @@ "ControlName" "EditablePanel" "fieldName" "MOTD_ShowButtonPanel" "xpos" "0" - "ypos" "-27" + "ypos" "-30" "zpos" "1" "wide" "32" "tall" "32" @@ -1405,7 +1406,7 @@ "visible" "0" } - "FriendsContainer" + "FriendsContainer" // i need more friends to fix this (pls add me) { "ControlName" "EditablePanel" "fieldname" "FriendsContainer" @@ -1900,8 +1901,8 @@ { "ControlName" "EditablePanel" "fieldname" "ReportPlayerButton" - "xpos" "c-47" - "ypos" "437" + "xpos" "-110" + "ypos" "0" "zpos" "11" "wide" "30" "tall" "25" @@ -1911,7 +1912,7 @@ "navRight" "CallVoteButton" "navDown" "QuickplayChangeButton" "navToRelay" "SubButton" - + "pin_to_sibling" "ReloadHudButton" "SubButton" { "ControlName" "CExImageButton" @@ -1969,13 +1970,15 @@ { "ControlName" "EditablePanel" "fieldname" "CallVoteButton" - "xpos" "c-24" - "ypos" "437" + "xpos" "-25" + "ypos" "0" "zpos" "12" "wide" "25" "tall" "25" "visible" "1" + "pin_to_sibling" "ReportPlayerButton" + "navLeft" "ReportPlayerButton" "navDown" "QuickplayChangeButton" "navRight" "MutePlayersButton" @@ -2036,12 +2039,14 @@ { "ControlName" "EditablePanel" "fieldname" "MutePlayersButton" - "xpos" "c-1" - "ypos" "437" + "xpos" "-23" + "ypos" "0" "zpos" "12" "wide" "25" "tall" "25" "visible" "1" + + "pin_to_sibling" "CallVoteButton" "navLeft" "CallVoteButton" "navDown" "QuickplayChangeButton" @@ -2104,12 +2109,14 @@ { "ControlName" "EditablePanel" "fieldname" "RequestCoachButton" - "xpos" "c22" - "ypos" "437" - "zpos" "12" + "xpos" "-23" + "ypos" "0" + "zpos" "11" "wide" "25" "tall" "25" "visible" "1" + + "pin_to_sibling" "MutePlayersButton" "navLeft" "MutePlayersButton" "navRight" "Notifications_ShowButtonPanel" @@ -2322,7 +2329,8 @@ { "ControlName" "CExImageButton" "fieldName" "SettingsButton" - "xpos" "c-208+273" + "xpos" "c-309" + "xpos" "c-309" "ypos" "437" "zpos" "1" "wide" "30" @@ -2370,8 +2378,8 @@ { "ControlName" "CExImageButton" "fieldName" "TF2SettingsButton" - "xpos" "c-183+273" - "ypos" "437" + "xpos" "-25" + "ypos" "0" "zpos" "2" "wide" "26" "tall" "25" @@ -2396,7 +2404,10 @@ "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" + "pin_to_sibling" "SettingsButton" + "image_drawcolor" "235 226 202 255" + "SubImage" { "ControlName" "ImagePanel" @@ -2418,8 +2429,8 @@ { "ControlName" "CExImageButton" "fieldName" "NewUserForumsButton" - "xpos" "c-158+273" - "ypos" "437" + "xpos" "-25" + "ypos" "0" "zpos" "2" "wide" "30" "tall" "25" @@ -2445,7 +2456,10 @@ "PaintBackgroundType" "0" "border_default" "MainMenuSubButtonBorder" + "pin_to_sibling" "TF2SettingsButton" + "image_drawcolor" "235 226 202 255" + "SubImage" { "ControlName" "ImagePanel" @@ -2466,8 +2480,8 @@ { "ControlName" "CExImageButton" "fieldName" "AchievementsButton" - "xpos" "c-133+273" - "ypos" "437" + "xpos" "-25" + "ypos" "0" "zpos" "3" "wide" "30" "tall" "25" @@ -2492,7 +2506,10 @@ "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" + "pin_to_sibling" "NewUserForumsButton" + "image_drawcolor" "235 226 202 255" + "SubImage" { "ControlName" "ImagePanel" @@ -2513,8 +2530,8 @@ { "ControlName" "CExImageButton" "fieldName" "CommentaryButton" - "xpos" "c-108+273" - "ypos" "437" + "xpos" "-25" + "ypos" "0" "zpos" "4" "wide" "30" "tall" "25" @@ -2539,7 +2556,10 @@ "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" + "pin_to_sibling" "AchievementsButton" + "image_drawcolor" "235 226 202 255" + "SubImage" { "ControlName" "ImagePanel" @@ -2560,8 +2580,8 @@ { "ControlName" "CExImageButton" "fieldName" "CoachPlayersButton" - "xpos" "c-83+273" - "ypos" "437" + "xpos" "-25" + "ypos" "0" "zpos" "5" "wide" "25" "tall" "25" @@ -2586,7 +2606,10 @@ "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" + "pin_to_sibling" "CommentaryButton" + "image_drawcolor" "235 226 202 255" + "SubImage" { "ControlName" "ImagePanel" @@ -2603,14 +2626,85 @@ } } - "WorkshopButton" + "SteamWorkshopButton" + { + "ControlName" "EditablePanel" + "fieldname" "SteamWorkshopButton" + "xpos" "-160" + "ypos" "-7" + "zpos" "14" + "wide" "20" + "tall" "20" + "visible" "1" + "enabled" "1" + + "navUp" "ServerBrowserButton" + "navDown" "ReplayBrowserButton" + "navLeft" "GeneralStoreButton" + "navRight" "Notifications_ShowButtonPanel" + "navToRelay" "SubButton" + + "pin_to_sibling" "GeneralStoreButton" + + "SubButton" + { + "ControlName" "CExImageButton" + "fieldName" "SubButton" + "xpos" "0" + "ypos" "0" + "wide" "20" + "tall" "20" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "textinsetx" "100" + "use_proportional_insets" "1" + "font" "HudFontSmallBold" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "default" "1" + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + + "border_default" "MainMenuMiniButtonDefault" + "border_armed" "MainMenuMiniButtonArmed" + "paintbackground" "0" + + "defaultFgColor_override" "46 43 42 255" + "armedFgColor_override" "46 43 42 255" + "depressedFgColor_override" "46 43 42 255" + + "image_drawcolor" "235 226 202 255" + "image_armedcolor" "235 226 202 255" + + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "4" + "ypos" "4" + "zpos" "1" + "wide" "12" + "tall" "12" + "visible" "1" + "enabled" "1" + "image" "glyph_steamworkshop" + "scaleImage" "1" + } + } + } + + "ReplayButton" { "ControlName" "CExImageButton" - "fieldName" "WorkshopButton" - "xpos" "c-63+273" - "ypos" "437" - "zpos" "4" - "wide" "30" + "fieldName" "ReplayButton" + "xpos" "-24" + "ypos" "0" + "zpos" "5" + "wide" "25" "tall" "25" "autoResize" "0" "pinCorner" "3" @@ -2623,7 +2717,7 @@ "dulltext" "0" "brighttext" "0" "default" "1" - "Command" "engine OpenSteamWorkshopDialog" + "Command" "engine replay_reloadbrowser" "navUp" "VRModeButton" "navLeft" "AchievementsButton" @@ -2633,31 +2727,34 @@ "sound_released" "UI/buttonclickrelease.wav" "border_default" "MainMenuSubButtonBorder" + "pin_to_sibling" "CoachPlayersButton" + "image_drawcolor" "235 226 202 255" + "SubImage" { "ControlName" "ImagePanel" "fieldName" "SubImage" - "xpos" "9" - "ypos" "6" + "xpos" "5" + "ypos" "5" "zpos" "1" "wide" "15" "tall" "15" "visible" "1" "enabled" "1" - "image" "glyph_steamworkshop" + "image" "glyph_tv" "scaleImage" "1" } - } - - "ReplayButton" + } + + "ReportBugButton" { "ControlName" "CExImageButton" - "fieldName" "ReplayButton" - "xpos" "c-34+273" - "ypos" "437" - "zpos" "5" - "wide" "25" + "fieldName" "ReportBugButton" + "xpos" "-20" + "ypos" "0" + "zpos" "4" + "wide" "30" "tall" "25" "autoResize" "0" "pinCorner" "3" @@ -2670,79 +2767,143 @@ "dulltext" "0" "brighttext" "0" "default" "1" - "Command" "engine replay_reloadbrowser" + "Command" "engine bug" "navUp" "VRModeButton" - "navLeft" "AchievementsButton" - "navRight" "CoachPlayersButton" + "navLeft" "CoachPlayersButton" + "navRight" "MinmodeButton" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" - "border_default" "MainMenuSubButtonBorder" + + "pin_to_sibling" "ReplayButton" "image_drawcolor" "235 226 202 255" "SubImage" { "ControlName" "ImagePanel" "fieldName" "SubImage" - "xpos" "5" + "xpos" "10" "ypos" "5" "zpos" "1" "wide" "15" "tall" "15" "visible" "1" "enabled" "1" - "image" "glyph_tv" + "image" "glyph_bug" "scaleImage" "1" } + } + + "MinmodeButton" + { + "ControlName" "EditablePanel" + "fieldname" "MinmodeButton" + "xpos" "-35" + "ypos" "0" + "zpos" "4" + "wide" "25" + "tall" "25" + "visible" "1" + "enabled" "1" + + "navUp" "VRModeButton" + "navLeft" "ReportBugButton" + "navRight" "ReloadHudButton" + + "pin_to_sibling" "ReportBugButton" + "image_drawcolor" "235 226 202 255" + + "SubButton" + { + "ControlName" "CExImageButton" + "fieldName" "SubButton" + "xpos" "0" + "ypos" "0" + "wide" "26" + "tall" "25" + "autoResize" "0" + "pinCorner" "3" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "textinsetx" "100" + "use_proportional_insets" "1" + "font" "HudFontSmallBold" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "default" "1" + + "sound_depressed" "UI/buttonclick.wav" + "sound_released" "UI/buttonclickrelease.wav" + "image_drawcolor" "235 226 202 255" + + "SubImage" + { + "ControlName" "ImagePanel" + "fieldName" "SubImage" + "xpos" "4" + "ypos" "5" + "zpos" "1" + "wide" "15" + "tall" "15" + "visible" "1" + "enabled" "1" + "image" "../vgui/replay/thumbnails/icons/glyph_hudmode_default" + "scaleImage" "1" + } + } } - "ReportBugButton" + "ReloadHudButton" { "ControlName" "CExImageButton" - "fieldName" "ReportBugButton" - "xpos" "c-14+273" - "ypos" "437" - "zpos" "4" - "wide" "30" + "fieldName" "ReloadHudButton" + "xpos" "-23" + "ypos" "0" + "zpos" "5" + "wide" "105" "tall" "25" "autoResize" "0" "pinCorner" "3" "visible" "1" "enabled" "1" "tabPosition" "0" - "labelText" "" - "font" "HudFontSmallBold" - "textAlignment" "center" + "labelText" "Reload Hud" + "font" "hudfont14" + "textAlignment" "east" "dulltext" "0" "brighttext" "0" "default" "1" - "Command" "engine bug" + "Command" "engine hud_reloadscheme" "navUp" "VRModeButton" - "navLeft" "CoachPlayersButton" + "navLeft" "ReportBugButton" "navRight" "SettingsButton" "sound_depressed" "UI/buttonclick.wav" "sound_released" "UI/buttonclickrelease.wav" + "border_default" "ReloadHudBorder" + + "pin_to_sibling" "MinmodeButton" "image_drawcolor" "235 226 202 255" "SubImage" { "ControlName" "ImagePanel" "fieldName" "SubImage" - "xpos" "10" + "xpos" "4" "ypos" "5" "zpos" "1" "wide" "15" "tall" "15" "visible" "1" "enabled" "1" - "image" "glyph_bug" + "image" "../vgui/replay/thumbnails/icons/glyph_reload" "scaleImage" "1" } - } - + } "BackToReplaysButton" { diff --git a/resource/ui/meter/headcount.res b/resource/ui/meter/headcount.res index f2722ea..fc6094f 100644 --- a/resource/ui/meter/headcount.res +++ b/resource/ui/meter/headcount.res @@ -6,9 +6,11 @@ "visible" "1" "enabled" "1" "xpos" "c-150" [$WIN32] - "ypos" "c120" [$WIN32] + "ypos" "c45" [$WIN32] "wide" "150" "tall" "50" + + "ypos_minmode" "c120" [$WIN32] } "ItemEffectMeterBG" diff --git a/resource/ui/meter/itemmeter.res b/resource/ui/meter/itemmeter.res index 50f6d0d..0414062 100644 --- a/resource/ui/meter/itemmeter.res +++ b/resource/ui/meter/itemmeter.res @@ -46,10 +46,10 @@ "fieldName" "ItemEffectMeter" "font" "Default" "xpos" "0" - "ypos" "23" + "ypos" "22" "zpos" "2" "wide" "120" - "tall" "6" + "tall" "7" "autoResize" "0" "pinCorner" "0" "visible" "1" diff --git a/resource/ui/meter/itemmeter4.res b/resource/ui/meter/itemmeter4.res index 0d1032b..9370477 100644 --- a/resource/ui/meter/itemmeter4.res +++ b/resource/ui/meter/itemmeter4.res @@ -1,4 +1,4 @@ -"Resource/UI/HudItemEffectMeter_Raygun.res" +"Resource/UI/HudItemEffectMeter_Raygun.res" // item meter but divied up like the bison { HudItemEffectMeter { @@ -46,10 +46,10 @@ "fieldName" "ItemEffectMeter" "font" "Default" "xpos" "0" - "ypos" "23" + "ypos" "22" "zpos" "2" "wide" "120" - "tall" "6" + "tall" "7" "autoResize" "0" "pinCorner" "0" "visible" "1" @@ -64,10 +64,10 @@ "controlName" "EditablePanel" "fieldName" "line_25" "xpos" "30" - "ypos" "23" + "ypos" "22" "zpos" "6" "wide" "1" - "tall" "6" + "tall" "7" "visible" "1" "enabled" "1" "bgcolor_override" "colortransparentgray" @@ -77,10 +77,10 @@ "controlName" "EditablePanel" "fieldName" "line_50" "xpos" "60" - "ypos" "23" + "ypos" "22" "zpos" "5" "wide" "1" - "tall" "6" + "tall" "7" "visible" "1" "enabled" "1" "bgcolor_override" "colortransparentgray" @@ -90,10 +90,10 @@ "controlName" "EditablePanel" "fieldName" "line_75" "xpos" "90" - "ypos" "23" + "ypos" "22" "zpos" "4" "wide" "1" - "tall" "6" + "tall" "7" "visible" "1" "enabled" "1" "bgcolor_override" "colortransparentgray" diff --git a/resource/ui/meter/itemmetercolor.res b/resource/ui/meter/itemmetercolor.res index 1a8d03b..64b9730 100644 --- a/resource/ui/meter/itemmetercolor.res +++ b/resource/ui/meter/itemmetercolor.res @@ -46,10 +46,10 @@ "fieldName" "ItemEffectMeter" "font" "Default" "xpos" "0" - "ypos" "23" + "ypos" "22" "zpos" "2" "wide" "120" - "tall" "6" + "tall" "7" "autoResize" "0" "pinCorner" "0" "visible" "1" diff --git a/resource/ui/meter/readme.txt b/resource/ui/meter/readme.txt new file mode 100644 index 0000000..a7643d1 --- /dev/null +++ b/resource/ui/meter/readme.txt @@ -0,0 +1,3 @@ +uhh i have no idea what i did here (i made the target ids 11 months before i got back to tf2) + +i assume it uses #base to speed up the development but dont take my word \ No newline at end of file diff --git a/resource/ui/spectatorguihealth.res b/resource/ui/spectatorguihealth.res index 5b0aa48..679b2cc 100644 --- a/resource/ui/spectatorguihealth.res +++ b/resource/ui/spectatorguihealth.res @@ -4,24 +4,24 @@ { "ControlName" "ImagePanel" "fieldName" "PlayerStatusHealthImage" - "xpos" "9999" + "xpos" "10" "ypos" "6" "zpos" "4" - "wide" "f0" - "tall" "f0" + "wide" "26" + "tall" "26" "visible" "1" "enabled" "1" "scaleImage" "1" - } + } "PlayerStatusHealthImageBG" { "ControlName" "ImagePanel" "fieldName" "PlayerStatusHealthImageBG" - "xpos" "9999" - "ypos" "4" - "zpos" "3" - "wide" "f0" - "tall" "f0" + "xpos" "9" + "ypos" "5" + "zpos" "4" + "wide" "28" + "tall" "28" "visible" "1" "enabled" "1" "image" "../hud/health_bg" @@ -31,43 +31,25 @@ { "ControlName" "ImagePanel" "fieldName" "BuildingStatusHealthImageBG" - "xpos" "9999" - "ypos" "2" - "zpos" "2" - "wide" "f0" - "tall" "f0" - "visible" "0" + "xpos" "8" + "ypos" "5" + "zpos" "4" + "wide" "27" + "tall" "27" + "visible" "1" "enabled" "1" "image" "../hud/health_equip_bg" "scaleImage" "1" - } - "TargetHealthBG" - { - "ControlName" "CExImageButton" - "fieldName" "TargetHealthBG" - "xpos" "-5" - "ypos" "9" - "zpos" "1" - "wide" "70" - "tall" "15" - "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "defaultbgcolor_override" "colortransparentgray" - "PaintBackgroundType" "0" - "textinsety" "99" - "border" "noborder" } "PlayerStatusHealthBonusImage" { "ControlName" "ImagePanel" "fieldName" "PlayerStatusHealthBonusImage" - "xpos" "99999" - "ypos" "4" - "zpos" "3" - "wide" "24" - "tall" "24" + "xpos" "9" + "ypos" "5" + "zpos" "4" + "wide" "28" + "tall" "28" "visible" "0" "enabled" "1" "image" "../hud/health_over_bg" @@ -78,7 +60,7 @@ "ControlName" "CExLabel" "fieldName" "PlayerStatusHealthValue" "xpos" "-29" - "ypos" "-9" + "ypos" "-11" "zpos" "5" "wide" "89" "tall" "50" @@ -93,8 +75,8 @@ { "ControlName" "CExLabel" "fieldName" "SpecGuiHP" - "xpos" "-29" - "ypos" "-9" + "xpos" "-22" + "ypos" "-6" "zpos" "5" "wide" "89" "tall" "50" diff --git a/resource/ui/spectatortournament.res b/resource/ui/spectatortournament.res new file mode 100644 index 0000000..9708e91 --- /dev/null +++ b/resource/ui/spectatortournament.res @@ -0,0 +1,533 @@ +"Resource/UI/SpectatorTournament.res" +{ + "specgui" + { + "ControlName" "Frame" + "fieldName" "specgui" + "wide" "f0" + "tall" "1000" + "autoResize" "0" + "pinCorner" "0" + "enabled" "1" + //"zpos" "1000" + + "team1_player_base_offset_x" "290" //"-75" + "team1_player_base_y" "110" //"0" + "team1_player_delta_x" "0" //"-50" + "team1_player_delta_y" "32" //"0" + + "team2_player_base_offset_x" "-380" //"75" + "team2_player_base_y" "110" //"0" + "team2_player_delta_x" "0" //"50" + "team2_player_delta_y" "32" //"0" + + if_mvm + { + //"xpos" "c-250" + //"ypos" "6" + //"wide" "500" + //"tall" "180" + + "team1_player_base_y" "3" + "team1_player_delta_x" "91" + "team1_player_delta_y" "0" + } + + "playerpanels_kv" + { + "visible" "0" + "wide" "90" //"50" + "tall" "30" //"33" + "zpos" "100" + + "color_ready" "0 255 0 220" + "color_notready" "0 0 0 220" + + if_mvm + { + //"wide" "55" + //"tall" "35" + } + + "background" + { + "ControlName" "EditablePanel" + "fieldName" "background" + "xpos" "22" + "ypos" "0" + "zpos" "2" + "wide" "f0" + "tall" "f0" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + + "SubImage" + { + "ControlName" "CTFImagePanel" + "fieldName" "SubImage" + "xpos" "-22" + "ypos" "-10" + "wide" "90" + "tall" "40" + "image" "../hud/color_panel_brown" + + "src_corner_height" "20" + "src_corner_width" "20" + + "draw_corner_width" "0" + "draw_corner_height" "0" + } + } + + "playername" + { + "ControlName" "CExLabel" + "fieldName" "playername" + "font" "ScoreboardSmall" + "xpos" "24" + "ypos" "0" + "zpos" "5" + "wide" "62" + "tall" "10" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "labelText" "%playername%" + "textAlignment" "north-west" + "fgcolor" "white" + + if_mvm + { + //"xpos" "0" + //"ypos" "25" + //"wide" "55" + //"textAlignment" "center" + //"font" "PlayerPanelPlayerName" + } + } + + "classimage" + { + "ControlName" "CTFClassImage" + "fieldName" "classimage" + "xpos" "1" + "ypos" "5" + "zpos" "2" + "wide" "20" + "tall" "20" + "visible" "1" + "enabled" "1" + "image" "../vgui/hud_connecting" //"../hud/class_scoutred" + "scaleImage" "1" + + if_mvm + { + //"xpos" "5" + //"ypos" "4" + //"wide" "20" + //"tall" "20" + "image" "../vgui/hud_connecting" + } + } + + "classimagebg" + { + "ControlName" "Panel" + "fieldName" "classimagebg" + "xpos" "1" + "ypos" "5" + "zpos" "2" + "wide" "20" + "tall" "20" + "visible" "1" + "enabled" "1" + "bgcolor_override" "Black" + "PaintBackgroundType" "0" + + if_mvm + { + //"visible" "1" + } + } + + "HealthIcon" + { + "ControlName" "EditablePanel" + "fieldName" "HealthIcon" + "xpos" "37" + "ypos" "6" + "zpos" "3" + "wide" "50" + "tall" "50" + "visible" "1" + "enabled" "1" + "HealthBonusPosAdj" "10" + "HealthDeathWarning" "0.49" + "TFFont" "HudFontSmallest" + "HealthDeathWarningColor" "HUDDeathWarning" + "TextColor" "HudOffWhite" + } + + "ReadyBG" + { + "ControlName" "ScalableImagePanel" + "fieldName" "ReadyBG" + "xpos" "30" + "ypos" "6" + "zpos" "-1" + "wide" "16" + "tall" "16" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "image" "../HUD/tournament_panel_brown" + + "src_corner_height" "22" // pixels inside the image + "src_corner_width" "22" + + "draw_corner_width" "3" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "3" + + if_mvm + { + "visible" "1" + } + } + + "ReadyImage" + { + "ControlName" "ImagePanel" + "fieldName" "ReadyImage" + "xpos" "32" + "ypos" "8" + "zpos" "0" + "wide" "12" + "tall" "12" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "image" "hud/checkmark" + "scaleImage" "1" + + if_mvm + { + "visible" "1" + } + } + + "respawntime" + { + "ControlName" "CExLabel" + "fieldName" "respawntime" + "font" "HudFontSmallestBold" + "xpos" "35" + "ypos" "8" + "zpos" "5" + "wide" "50" + "tall" "10" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "labelText" "%respawntime%" + "textAlignment" "east" + "fgcolor" "240 150 80 255" + + if_mvm + { + //"ypos" "17" + } + } + + "chargeamount" + { + "ControlName" "CExLabel" + "fieldName" "chargeamount" + "font" "HudFontSmallestBold" + "xpos" "35" + "ypos" "18" + "zpos" "6" + "wide" "50" + "tall" "10" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "labelText" "%chargeamount%" + "textAlignment" "east" + "fgcolor" "colorwhite" + } + "chargeamountShadow" + { + "ControlName" "CExLabel" + "fieldName" "chargeamountShadow" + "font" "HudFontSmallestBold" + "xpos" "-1" + "ypos" "-1" + "zpos" "5" + "wide" "50" + "tall" "10" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "labelText" "%chargeamount%" + "textAlignment" "east" + "fgcolor" "colorblack" + + "pin_to_sibling" "chargeamount" + } + + "specindex" + { + "ControlName" "CExLabel" + "fieldName" "specindex" + "font" "DefaultVerySmall" + "xpos" "0" + "ypos" "-1" + "zpos" "5" + "wide" "50" + "tall" "8" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "labelText" "%specindex%" + "textAlignment" "north-west" + "fgcolor" "white" + } + } + } + + "topbar" + { + "ControlName" "Panel" + "fieldName" "TopBar" + "visible" "0" + "tall" "0" + + + } + "BottomBar" + { + "ControlName" "Frame" + "fieldName" "BottomBar" + "visible" "0" + "ypos" "100" + "tall" "0" + } + "bottombarblank" + { + "ControlName" "Panel" + "fieldName" "bottombarblank" + "visible" "0" + "ypos" "480" + } + + "ShadedBar" + { + "ControlName" "ImagePanel" + "fieldName" "ShadedBar" + "xpos" "99999" + "ypos" "99999" + "zpos" "-5" + "wide" "975" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "tabPosition" "0" + "tileImage" "1" + + } + "ReinforcementsLabel" + { + "ControlName" "CExLabel" + "fieldName" "ReinforcementsLabel" + "xpos" "c-300" [$WIN32] + "ypos" "50" [$WIN32] + "wide" "600" [$WIN32] + "tall" "18" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#game_respawntime_in_secs" + "textAlignment" "center" + "font" "hudfont18Shadow" + "fgcolor_override" "colorwhite" + + if_mvm + { + "visible" "0" + "wide" "0" + } + } + "BuyBackLabel" + { + "ControlName" "CExLabel" + "fieldName" "BuyBackLabel" + "xpos" "c-300" [$WIN32] + "ypos" "300" [$WIN32] + "wide" "600" [$WIN32] + "tall" "18" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#TF_PVE_Buyback" + "textAlignment" "center" + "font" "hudfont18Shadow" + "fgcolor_override" "colorwhite" + + if_mvm + { + "visible" "1" + } + } + + "MapLabel" + { + "ControlName" "CExLabel" + "fieldName" "MapLabel" + "visible" "0" + } + "ClassOrTeamLabel" + { + "ControlName" "CExLabel" + "fieldName" "ClassOrTeamLabel" + "visible" "0" + } + "SwitchCamModeKeyLabel" + { + "ControlName" "CExLabel" + "fieldName" "SwitchCamModeKeyLabel" + "visible" "0" + + } + "SwitchCamModeLabel" + { + "ControlName" "CExLabel" + "fieldName" "SwitchCamModeLabel" + "visible" "0" + } + "CycleTargetFwdKeyLabel" + { + "ControlName" "CExLabel" + "fieldName" "CycleTargetFwdKeyLabel" + "visible" "0" + } + "CycleTargetFwdLabel" + { + "ControlName" "CExLabel" + "fieldName" "CycleTargetFwdLabel" + "visible" "0" + } + "CycleTargetRevKeyLabel" + { + "ControlName" "CExLabel" + "fieldName" "CycleTargetRevKeyLabel" + "visible" "0" + } + "CycleTargetRevLabel" + { + "ControlName" "CExLabel" + "fieldName" "CycleTargetRevLabel" + "visible" "0" + } + "TipLabel" + { + "ControlName" "CExLabel" + "fieldName" "TipLabel" + "visible" "0" + } + + "itempanel" + { + "ControlName" "CItemModelPanel" + "fieldName" "itempanel" + "xpos" "0" + "ypos" "0" + "zpos" "10" + "wide" "190" + "tall" "100" + "visible" "0" + "bgcolor_override" "255 255 255 0" + "PaintBackgroundType" "0" + + "model_ypos" "10" + "model_center_x" "1" + "model_wide" "90" + "model_tall" "60" + + "text_xpos" "10" + "text_ypos" "10" + "text_wide" "170" + "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" "270" + "tall" "9" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#FreezePanel_Item" + "textAlignment" "Left" + "dulltext" "0" + "brighttext" "0" + } + + "attriblabel" + { + "ControlName" "CExLabel" + "fieldName" "attriblabel" + "font" "ItemFontAttribLarge" + "xpos" "0" + "ypos" "30" + "zpos" "2" + "wide" "140" + "tall" "60" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "%attriblist%" + "textAlignment" "south" + "fgcolor" "235 226 202 255" + "centerwrap" "1" + } + } + "spectator_extras" + { + "ControlName" "EditablePanel" + "fieldName" "spectator_extras" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + } +} diff --git a/resource/ui/spectatortournamentguihealth.res b/resource/ui/spectatortournamentguihealth.res new file mode 100644 index 0000000..01d8566 --- /dev/null +++ b/resource/ui/spectatortournamentguihealth.res @@ -0,0 +1,122 @@ +"Resource/UI/SpectatorGUIHealth.res" +{ + "PlayerStatusHealthImage" + { + "ControlName" "ImagePanel" + "fieldName" "PlayerStatusHealthImage" + "xpos" "10" + "ypos" "6" + "zpos" "4" + "wide" "16" + "tall" "16" + "visible" "1" + "enabled" "1" + "scaleImage" "1" + } + "PlayerStatusHealthImageBG" + { + "ControlName" "ImagePanel" + "fieldName" "PlayerStatusHealthImageBG" + "xpos" "9" + "ypos" "5" + "zpos" "4" + "wide" "18" + "tall" "18" + "visible" "1" + "enabled" "1" + "image" "../hud/health_bg" + "scaleImage" "1" + } + "BuildingStatusHealthImageBG" + { + "ControlName" "ImagePanel" + "fieldName" "BuildingStatusHealthImageBG" + "xpos" "8" + "ypos" "5" + "zpos" "4" + "wide" "18" + "tall" "18" + "visible" "1" + "enabled" "1" + "image" "../hud/health_equip_bg" + "scaleImage" "1" + } + "PlayerStatusHealthBonusImage" + { + "ControlName" "ImagePanel" + "fieldName" "PlayerStatusHealthBonusImage" + "xpos" "11" + "ypos" "7" + "zpos" "4" + "wide" "14" // on purpose, not a bug + "tall" "14" + "visible" "0" + "enabled" "1" + "image" "../hud/health_over_bg" + "scaleImage" "1" + } + "PlayerStatusHealthValue" + { + "ControlName" "CExLabel" + "fieldName" "PlayerStatusHealthValue" + "xpos" "-2" + "ypos" "-11" + "zpos" "5" + "wide" "89" + "tall" "50" + "visible" "0" + "enabled" "0" + "labelText" "%Health%" + "textAlignment" "center" + "font" "hudfont18" + "fgcolor" "colorwhite" + } + "SpecGuiHP" + { + "ControlName" "CExLabel" + "fieldName" "SpecGuiHP" + "xpos" "-27" + "ypos" "-10" + "zpos" "5" + "wide" "89" + "tall" "50" + "visible" "1" + "enabled" "1" + "labelText" "%Health%" + "textAlignment" "center" + "font" "hudfont18" + "fgcolor" "colorwhite" + } + "SpecGuiHPShadow" + { + "ControlName" "CExLabel" + "fieldName" "SpecGuiHPShadow" + "xpos" "-1" + "ypos" "-1" + "zpos" "5" + "wide" "89" + "tall" "50" + "visible" "1" + "enabled" "1" + "labelText" "%Health%" + "textAlignment" "center" + "font" "hudfont18" + "fgcolor" "colorblack" + "pin_to_sibling" "SpecGuiHP" + } + "PlayerStatusPlayerLevel" + { + "ControlName" "CExLabel" + "fieldName" "PlayerStatusPlayerLevel" + "xpos" "8" + "ypos" "9" + "zpos" "5" + "wide" "16" + "tall" "12" + "visible" "0" + "enabled" "1" + "textAlignment" "center" + "font" "ScoreboardVerySmall" + "fgcolor" "TFOrange" + } +} diff --git a/resource/ui/targetid.res b/resource/ui/targetid.res index a041e32..496455c 100644 --- a/resource/ui/targetid.res +++ b/resource/ui/targetid.res @@ -5,48 +5,21 @@ "ControlName" "ImagePanel" "fieldName" "TargetIDBG" "xpos" "4" - "ypos" "6" + "ypos" "12" "zpos" "-1" - "wide" "240" - "tall" "15" + "wide" "f0" + "tall" "14" "visible" "1" "enabled" "1" "fillcolor" "colortransparentgray" } - "TargetIDBGTop" - { - "ControlName" "EditablePanel" - "fieldName" "TargetIDBGTop" - "xpos" "4" - "ypos" "20" - "zpos" "20" - "wide" "270" - "tall" "1" - "visible" "1" - "enabled" "1" - "bgcolor_override" "transparentblack" - } - "TargetIDBGBottom" - { - "ControlName" "EditablePanel" - "fieldName" "TargetIDBGTop" - "xpos" "4" - "ypos" "6" - "zpos" "20" - "wide" "270" - "tall" "1" - "visible" "1" - "enabled" "1" - "bgcolor_override" "transparentblack" - } - "TargetNameLabel" { "ControlName" "Label" "fieldName" "TargetNameLabel" "font" "hudfont14" "xpos" "8" - "ypos" "7" + "ypos" "12" "zpos" "1" "wide" "640" "tall" "24" @@ -86,7 +59,7 @@ "fieldName" "TargetDataLabel" "font" "hudfont8shadow" "xpos" "8" - "ypos" "17" [$WIN32] + "ypos" "23" [$WIN32] "zpos" "1" "wide" "280" "tall" "15" @@ -104,9 +77,9 @@ "ControlName" "EditablePanel" "fieldName" "SpectatorGUIHealth" "xpos" "4" - "ypos" "-3" - "wide" "32" - "tall" "32" + "ypos" "0" + "wide" "45" + "tall" "45" "visible" "0" "enabled" "0" "HealthBonusPosAdj" "10" @@ -115,13 +88,12 @@ "HealthDeathWarningColor" "HUDDeathWarning" "TextColor" "HudOffWhite" } - "AmmoIcon" { "ControlName" "ImagePanel" "fieldName" "AmmoIcon" - "xpos" "40" - "ypos" "20" + "xpos" "55" + "ypos" "26" "zpos" "12" "wide" "8" "tall" "8" @@ -135,8 +107,8 @@ { "ControlName" "ImagePanel" "fieldName" "KillStreakIcon" - "xpos" "10" - "ypos" "20" + "xpos" "48" + "ypos" "26" "zpos" "12" "wide" "8" "tall" "8" @@ -146,40 +118,54 @@ "scaleImage" "1" } + "KillStreakIconDupe" // im too poor and dont have friends :( + { + "ControlName" "ImagePanel" + "fieldName" "KillStreakIconDupe" + "xpos" "48" + "ypos" "26" + "zpos" "12" + "wide" "8" + "tall" "8" + "visible" "0" + "enabled" "0" +// "image" "../hud/leaderboard_streak" + "scaleImage" "1" + } "MoveableSubPanel" { - "ControlName" "EditablePanel" + "ControlName" "EditablePanel" "fieldName" "MoveableSubPanel" - "xpos" "9999" - "ypos" "9999" - "zpos" "-5" + "xpos" "-100" + "ypos" "0" + "zpos" "5" "wide" "32" "tall" "36" - "visible" "0" + "visible" "1" "enabled" "1" "MoveableIconBG" { "ControlName" "CIconPanel" "fieldName" "MoveableIconBG" - "xpos" "999" + "xpos" "0" "ypos" "0" "zpos" "0" "wide" "10" "tall" "36" "visible" "1" "enabled" "1" - "icon" "obj_status_alert_background_tall_nocolor" - "iconColor" "HudBlack" - "scaleImage" "1" + //"icon" "obj_status_alert_background_tall_nocolor" + //"iconColor" "HudBlack" + //"scaleImage" "1" } "MoveableIcon" { "ControlName" "CIconPanel" "fieldName" "MoveableIcon" - "xpos" "999" - "ypos" "7" + "xpos" "5" + "ypos" "0" "zpos" "11" "wide" "14" "tall" "14" @@ -194,36 +180,36 @@ "ControlName" "ImagePanel" "fieldName" "MoveableSymbolIcon" "xpos" "999" - "ypos" "-2" + "ypos" "999" "zpos" "12" - "wide" "16" - "tall" "8" - "visible" "1" + "wide" "0" + "tall" "7" + "visible" "0" "enabled" "1" "image" "../hud/eng_sel_item_movable" "drawcolor" "ProgressOffWhite" "scaleImage" "1" } - "MoveableKeyLabel" { "ControlName" "Label" - "fieldName" "MoveableKeyLabel" - "font" "TFFontMedium" - "xpos" "999" - "ypos" "22" - "zpos" "1" - "wide" "640" - "tall" "24" + "fieldName" "MoveableKeyLabel" + "font" "TFFontMedium" + "font_minmode" "DefaultVerySmall" + "xpos" "0" + "ypos" "32" + "zpos" "1" + "wide" "640" + "tall" "24" "autoResize" "0" - "pinCorner" "0" - "visible" "1" - "enabled" "1" - "labelText" "%movekey%" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "" "textAlignment" "North" - "dulltext" "0" + "dulltext" "0" "brighttext" "0" - } + } } "AvatarImage" { diff --git a/scripts/TF2Crosshairs.png b/scripts/TF2Crosshairs.png new file mode 100644 index 0000000..643ae9f Binary files /dev/null and b/scripts/TF2Crosshairs.png differ diff --git a/scripts/hudanimations_custom.txt b/scripts/hudanimations_custom.txt index a7f8e4c..ce6b99e 100644 --- a/scripts/hudanimations_custom.txt +++ b/scripts/hudanimations_custom.txt @@ -17,7 +17,7 @@ event HudHealthBonusPulse Animate PlayerStatusHealthValue FgColor "overheal" Linear 0 0.1 - Animate TargetHealthBG BgColor "overheal" Linear 0 0.1 + Animate SpecGuiHP FgColor "overheal" Linear 0 0.1 RunEvent HudHealthBonusPulseLoop 0.4 } @@ -36,7 +36,7 @@ event HudHealthBonusPulseStop Animate PlayerStatusHealthValue FgColor "colorwhite" Linear 0 0.1 - Animate TargetHealthBG BgColor "colortransparentgray" Linear 0 0.1 + Animate SpecGuiHP FgColor "colorwhite" Linear 0 0.1 } @@ -50,10 +50,9 @@ event HudHealthDyingPulse Animate PlayerStatusHealthValueShadow FgColor "low" Linear 0.0 0.075 Animate PlayerStatusHealthValueShadow FgColor "colorblack" Linear 0.125 0.075 - Animate SpecGuiHPShadow FgColor "lowdark" Linear 0.0 0.075 - Animate SpecGuiHPShadow FgColor "colorblack" Linear 0.125 0.075 + Animate SpecGuiHPShadow FgColor "lowdark" Linear 0.0 0.075 + Animate SpecGuiHPShadow FgColor "colorblack" Linear 0.125 0.075 - Animate TargetHealthBG BgColor "low" Linear 0 0 RunEvent HudHealthDyingPulseLoop 0.25 } @@ -71,9 +70,8 @@ event HudHealthDyingPulseStop StopEvent HudHealthDyingPulse 0.0 Animate PlayerStatusHealthValueShadow FgColor "colorblack" Linear 0.0 0.0 - Animate SpecGuiHPShadow FgColor "colorblack" Linear 0 0 + Animate SpecGuiHPShadow FgColor "colorblack" Linear 0 0 - Animate TargetHealthBG BgColor "colortransparentgray" Linear 0 0 } // =========================================== @@ -108,8 +106,8 @@ event HudLowAmmoPulseStop } //=========================================== -// Spy Disguise +// Spy Disguise event HudSpyDisguiseChanged { @@ -117,7 +115,7 @@ event HudSpyDisguiseChanged event HudSpyDisguiseHide { - + } event HudSpyDisguiseFadeIn @@ -127,9 +125,10 @@ event HudSpyDisguiseFadeIn event HudSpyDisguiseFadeOut { - + } + // =========================================== // hudmatchstatus @@ -149,10 +148,12 @@ event TeamStatus_PlayerAlive event HudSnapShotReminderIn { - RunEvent DefaultAnimHudSnapShotReminderIn 0.0 - - RunEvent HudHealthDyingPulseStop 0.0 - RunEvent HudHealthBonusPulseStop 0.0 - RunEvent HudLowAmmoPulseStop 0.0 - RunEvent HudMedicChargedStop 0.0 + Animate ScreenshotPanel Position "c-83 -50" Linear 0.0 0.001 + Animate ScreenshotPanel Position "c-83 13" Spline 0.001 0.2 + + RunEvent HudHealthDyingPulseStop 10.0 + RunEvent HudHealthBonusPulseStop 10.0 + RunEvent HudLowAmmoPulseStop 10.0 + RunEvent HudMedicChargedStop 10.0 + } \ No newline at end of file diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res index 86b351a..1029a90 100644 --- a/scripts/hudlayout.res +++ b/scripts/hudlayout.res @@ -19,13 +19,13 @@ "image" "replay/thumbnails/REFRACTnormal_transparent" "scaleImage" "1" - "visible" "1" + "visible" "0" // Change this to "1" to turn on } // =========================================== // =========================================== - Hitmarker + Hitmarker // sorry if its 1 by default, im stupid { "controlName" "CExLabel" "fieldName" "Hitmarker" @@ -35,14 +35,23 @@ "textAlignment" "center" "enabled" "1" - "visible" "1" + "visible" "1" // Change this to "1" to turn on - "labelText" "C" + "labelText" "6" "font" "Size:25 | Outline:OFF" - "fgcolor" "255 0 0 0" // color - "xpos" "cs-0.5000001" - "ypos" "cs-0.49999" + "xpos" "cs-0.4999" // changes these if the crosshair/hitmarker is off (very sensitive) + "ypos" "cs-0.4999" // cs-0.5 standard, cs-0.4999 default + +// =========================================== + "fgcolor" "255 0 0 0" // color determined by scripts/hudanimations_custom.txt, looks this this \/ +// =========================================== +// event DamagedPlayer +// { //change these \/ +// Animate Hitmarker fgcolor "255 0 0 255" Linear 0.0 0.0 // when enemy is hit +// Animate Hitmarker fgcolor "255 0 0 0" spline 0.1 0.2 // fade out +// } +// =========================================== } // =========================================== @@ -58,13 +67,13 @@ "textAlignment" "center" "enabled" "1" - "visible" "0" + "visible" "0" // Change this to "1" to turn on "labelText" "C" "font" "Size:25 | Outline:OFF" "fgcolor" "0 255 0 255" // color - "xpos" "cs-0.5000001" + "xpos" "cs-0.5000001" // changes these if the crosshair/hitmarker is off (very sensitive) "ypos" "cs-0.49999" } @@ -91,7 +100,7 @@ "visible" "1" "enabled" "1" "xpos" "c0" [$WIN32] - "ypos" "c0" [$WIN32] + "ypos" "c-3" [$WIN32] "wide" "f0" "tall" "1000" @@ -301,7 +310,7 @@ "enabled" "1" "xpos" "c-126" "ypos" "323" - "ypos_minmode" "285" + "ypos_minmode" "280" "wide" "f0" "tall" "f0" "priority" "40" @@ -336,8 +345,8 @@ "visible" "0" "enabled" "1" "xpos" "c-126" - "ypos" "345" - "ypos_minmode" "307" + "ypos" "349" + "ypos_minmode" "305" "wide" "f0" "tall" "f0" "priority" "35" @@ -539,7 +548,7 @@ "visible" "1" "enabled" "1" "xpos" "r640" [$WIN32] - "ypos" "18" [$WIN32] + "ypos" "24" [$WIN32] "wide" "628" "tall" "468"