diff --git a/.env b/.env index 012af42..cb1b24a 100644 --- a/.env +++ b/.env @@ -28,7 +28,7 @@ SRCDS_WORKSHOP_AUTHKEY="" SRCDS_CFG="server.cfg" SRCDS_MAPCYCLE="mapcycle.txt" -SRCDS_ADMINS=[U:1:24540659],[U:1:1589252886] +SRCDS_ADMINS=[U:1:1589252886],[U:1:12270329] # ---------- # fastdl diff --git a/.gitignore b/.gitignore index 38aa15e..23d2cea 100755 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.sql.gz *.tar.gz +.env/ data/ src/mapsdl/credentials diff --git a/src/cssds/cfg/maplists.cfg b/src/cssds/cfg/maplists.cfg new file mode 100644 index 0000000..11cfcb7 --- /dev/null +++ b/src/cssds/cfg/maplists.cfg @@ -0,0 +1,32 @@ +"MapLists" +{ + "default" + { + "target" "mapcyclefile" + } + + "sm_map menu" + { + "target" "mapcyclefile" + } + + "sm_votemap menu" + { + "target" "mapcyclefile" + } + + "randomcycle" + { + "target" "mapcyclefile" + } + + "mapchooser" + { + "target" "mapcyclefile" + } + + "nominations" + { + "target" "mapcyclefile" + } +} diff --git a/src/cssds/run.sh b/src/cssds/run.sh index 6d4fa51..9715f81 100755 --- a/src/cssds/run.sh +++ b/src/cssds/run.sh @@ -148,6 +148,16 @@ install_surf() { echo "--------------------------------------------------------------" fi + # Disable shavit-sounds plugin + if [ -f "$CSTRIKE/addons/sourcemod/plugins/shavit-sounds.smx" ]; then + mkdir -p "$CSTRIKE/addons/sourcemod/plugins/disabled" + mv "$CSTRIKE/addons/sourcemod/plugins/shavit-sounds.smx" \ + "$CSTRIKE/addons/sourcemod/plugins/disabled/" 2>/dev/null || true + echo "--------------------------------------------------------------" + echo "Disabled shavit-sounds" + echo "--------------------------------------------------------------" + fi + # Install MomSurfFix if [ ! -f "$CSTRIKE/addons/sourcemod/plugins/momsurffix2.smx" ]; then cd /tmp @@ -259,6 +269,12 @@ configure_shavit_zones() { // Shavit Zones Plugin Configuration // Set to 1 to use SQL zones (default for Surf Timer fork) shavit_zones_usesql "1" +EOF + + # Configure mapchooser to allow all maps from disk + cat > "$CSTRIKE/cfg/sourcemod/plugin.shavit-mapchooser.cfg" <<'EOF' +// 0 = zoned maps from database, 1 = maplist.txt, 2 = maps folder +smc_maplist_type "2" EOF # JSON zones temporarily disabled for testing @@ -429,7 +445,9 @@ cfg() { cd cp src/cfg/server.cfg cssds/cstrike/cfg/ cp src/cfg/motd.txt cssds/cstrike/ + cp src/cfg/maplists.cfg cssds/cstrike/addons/sourcemod/configs/maplists.cfg cp cfg/mapcycle.txt cssds/cstrike/cfg/ + cp cfg/mapcycle.txt cssds/cstrike/addons/sourcemod/configs/adminmenu_maplist.ini sed -i "s|sv_downloadurl .*|sv_downloadurl \"${FASTDL_URL:-}/cstrike/\"|" "$CSTRIKE/cfg/server.cfg" sed -i "s|rcon_password .*|rcon_password \"${SRCDS_RCONPW:-changeme}\"|" "$CSTRIKE/cfg/server.cfg" } diff --git a/src/hud/resource/C4Panel.res b/src/hud/resource/C4Panel.res new file mode 100644 index 0000000..10a2162 --- /dev/null +++ b/src/hud/resource/C4Panel.res @@ -0,0 +1,812 @@ +// ______________________ +//___________.( h0lmGUI™v4.1 by h0lm ).___________ +//ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +/////////////////////////////////////////////////////////// +// Object Control Panel scheme resource file +// +// sections: +// Colors - all the colors used by the scheme +// BaseSettings - contains settings for app to use to draw controls +// Fonts - list of all the fonts used by app +// Borders - description of all the borders +// +// hit ctrl-alt-shift-R in the app to reload this file +// +/////////////////////////////////////////////////////////// +Scheme +{ + //////////////////////// COLORS /////////////////////////// + // color details + // this is a list of all the colors used by the scheme + Colors + { + // base colors + //"BaseText" "48 192 192 255" // used in text windows, lists + //"BrightBaseText" "155 255 255 255" // brightest text + + "BaseText" "220 30 30 255" + "BrightBaseText" "255 0 0 255" + "DimBaseText" "220 30 30 255" // dim base text + "LabelDimText" "220 30 30 255" // slight modification on above, used for info text + // could be just removed and use DimBaseText? + + "ControlText" "48 192 192 255" // used in all text controls + "BrightControlText" "64 224 224 255" // use for selected controls + "DisabledText1" "32 128 128 255" // disabled text + "DisabledText2" "30 30 30 255" // overlay color for disabled text (to give that inset look) + + // 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" "76 88 68 255" // background color of any selected text or menu item + + // title colors + "TitleText" "255 255 255 255" + "TitleDimText" "120 132 114 255" + "TitleBG" "76 88 68 0" + "TitleDimBG" "76 88 68 0" + + // border colors + "BorderBright" "136 145 128 255" // the lit side of a control + "BorderDark" "45 49 40 255" // the dark/unlit side of a control + "BorderSelection" "0 0 0 255" // the additional border color for displaying the default/selected button + + "C4Panel_Armed" "0 128 255 200" + "C4Panel_Defused" "0 255 0 200" + } + + ///////////////////// BASE SETTINGS //////////////////////// + // + // default settings for all panels + // controls use these to determine their settings + BaseSettings + { + Panel.FgColor "48 192 192 255" + Panel.BgColor "0 0 0 0" //Important! - makes the panels transparent + + "FgColor" "ControlText" + "BgColor" "ControlBG" + "LabelBgColor" "ControlBG" + "SubPanelBgColor" "ControlBG" + + "DisabledFgColor1" "DisabledText1" + "DisabledFgColor2" "DisabledText2" // set this to the BgColor if you don't want it to draw + + "TitleBarFgColor" "TitleText" + "TitleBarDisabledFgColor" "TitleDimText" + "TitleBarBgColor" "TitleBG" + "TitleBarDisabledBgColor" "TitleDimBG" + +// "TitleBarIcon" "resource/icon_steam" +// "TitleBarDisabledIcon" "resource/icon_steam_disabled" + "TitleBarIcon" "resource/icon_hlicon1" + "TitleBarDisabledIcon" "resource/icon_hlicon2" + + "TitleButtonFgColor" "BorderBright" + "TitleButtonBgColor" "ControlBG" + "TitleButtonDisabledFgColor" "TitleDimText" + "TitleButtonDisabledBgColor" "TitleDimBG" + + "TextCursorColor" "BaseText" // color of the blinking text cursor in text entries + "URLTextColor" "BrightBaseText" // color that URL's show up in chat window + + Menu + { + "FgColor" "DimBaseText" + "BgColor" "ControlBG" + "ArmedFgColor" "BrightBaseText" + "ArmedBgColor" "SelectionBG" + "DividerColor" "BorderDark" + + "TextInset" "6" + } + + MenuButton // the little arrow on the side of boxes that triggers drop down menus + { + "ButtonArrowColor" "DimBaseText" // color of arrows + "ButtonBgColor" "WindowBG" // bg color of button. same as background color of text edit panes + + "ArmedArrowColor" "BrightBaseText" // color of arrow when mouse is over button + "ArmedBgColor" "DimBaseText" // bg color of button when mouse is over button + } + + Slider + { + "SliderFgColor" "ControlText" // handle with which the slider is grabbed + "SliderBgColor" "ControlDarkBG" // area behind handle + "SliderTickColor" "ControlText" // slider tick's color + "SliderTickLabelColor" "ControlText" // color of labels at the ends of the slider tick + } + + ScrollBarSlider + { + "BgColor" "ControlBG" // this isn't really used + + "ScrollBarSliderFgColor" "ControlBG" // handle with which the slider is grabbed + "ScrollBarSliderBgColor" "ControlDarkBG" // area behind handle + + "ButtonFgColor" "DimBaseText" // color of arrows + } + + + // text edit windows + "WindowFgColor" "BaseText" // off-white + "WindowBgColor" "WindowBG" + "WindowDisabledFgColor" "DimBaseText" + "WindowDisabledBgColor" "66 80 60 255" // background of chat conversation + + "SelectionFgColor" "255 255 255 255" // fg color of selected text + "SelectionBgColor" "SelectionBG" + "ListSelectionFgColor" "255 255 255 255" // + + "ListBgColor" "62 70 55 255" // background of server browser control, etc + "BuddyListBgColor" "62 70 55 255" // background of buddy list pane + + // App-specific stuff + "ChatBgColor" "WindowBgColor" + + // status selection + "StatusSelectFgColor" "BrightBaseText" + "StatusSelectFgColor2" "BrightControlText" // this is the color of the friends status + + // checkboxes + "CheckButtonBorder1" "BorderDark" // the left checkbutton border + "CheckButtonBorder2" "BorderBright" // the right checkbutton border + "CheckButtonCheck" "0 0 0 255" // color of the check itself + "CheckBgColor" "158 168 150 255" + + // buttons (default fg/bg colors are used if these are not set) +// "ButtonArmedFgColor" +// "ButtonArmedBgColor" +// "ButtonDepressedFgColor" "BrightControlText" +// "ButtonDepressedBgColor" + + // buddy buttons + BuddyButton + { + "FgColor1" "ControlText" + "FgColor2" "117 134 102 255" + + "ArmedFgColor1" "BrightBaseText" + "ArmedFgColor2" "BrightBaseText" + "ArmedBgColor" "SelectionBG" + } + + Chat + { + "TextColor" "BrightControlText" + "SelfTextColor" "BaseText" + "SeperatorTextColor" "DimBaseText" + } + + "SectionTextColor" "BrightControlText" // text color for IN-GAME, ONLINE, OFFLINE sections of buddy list + "SectionDividerColor" "BorderDark" // color of line that runs under section name in buddy list + } + + // + //////////////////////// FONTS ///////////////////////////// + // + // describes all the fonts + Fonts + { + // fonts are used in order that they are listed + // fonts listed later in the order will only be used if they fulfill a range not already filled + // if a font fails to load then the subsequent fonts will replace + "Default" + { + "1" + { + "name" "Dead Kansas" + "tall" "45" //45 + "weight" "600" //900 + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + "DefaultUnderline" + { + "1" + { + "name" "Impact" + "tall" "32" + "weight" "900" + "underline" "1" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + "DefaultSmall" + { + "1" + { + "name" "Impact" + "tall" "24" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + "DefaultVerySmall" + { + "1" + { + "name" "Impact" + "tall" "18" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + + "DefaultLarge" + { + "1" + { + "name" "Impact" + "tall" "48" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + + // this is the symbol font + "Marlett" + { + "1" + { + "name" "Marlett" + "tall" "14" + "weight" "0" + "symbol" "1" + "range" "0x0000 0x007F" // Basic Latin + } + } + } + + // + //////////////////// BORDERS ////////////////////////////// + // + // describes all the border types + Borders + { + BaseBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + TitleButtonBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "4" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + TitleButtonDisabledBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BgColor" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BgColor" + "offset" "1 0" + } + } + Top + { + "1" + { + "color" "BgColor" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BgColor" + "offset" "0 0" + } + } + } + + TitleButtonDepressedBorder + { + "inset" "1 1 1 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + ScrollBarButtonBorder + { + "inset" "2 2 0 0" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + ButtonBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + TabBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + TabActiveBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "ControlBG" + "offset" "6 2" + } + } + } + + + ToolTipBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + // this is the border used for default buttons (the button that gets pressed when you hit enter) + ButtonKeyFocusBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderSelection" + "offset" "0 0" + } + "2" + { + "color" "BorderBright" + "offset" "0 1" + } + } + Top + { + "1" + { + "color" "BorderSelection" + "offset" "0 0" + } + "2" + { + "color" "BorderBright" + "offset" "1 0" + } + } + Right + { + "1" + { + "color" "BorderSelection" + "offset" "0 0" + } + "2" + { + "color" "BorderDark" + "offset" "1 0" + } + } + Bottom + { + "1" + { + "color" "BorderSelection" + "offset" "0 0" + } + "2" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + + ButtonDepressedBorder + { + "inset" "2 1 1 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + ComboBoxBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BorderDark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderBright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + } + + MenuBorder + { + "inset" "1 1 1 1" + Left + { + "1" + { + "color" "BorderBright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BorderDark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "BorderBright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BorderDark" + "offset" "0 0" + } + } + } + } +} +//________________________________________________ +//ŻŻŻŻŻŻŻŻŻŻŻ'( h0lmGUI™v4.1 by h0lm )'ŻŻŻŻŻŻŻŻŻŻŻ +// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ \ No newline at end of file diff --git a/src/hud/resource/ChatScheme.res b/src/hud/resource/ChatScheme.res new file mode 100644 index 0000000..56f8ed0 --- /dev/null +++ b/src/hud/resource/ChatScheme.res @@ -0,0 +1,755 @@ +/////////////////////////////////////////////////////////// +// Tracker scheme resource file +// +// sections: +// Colors - all the colors used by the scheme +// BaseSettings - contains settings for app to use to draw controls +// Fonts - list of all the fonts used by app +// Borders - description of all the borders +// +/////////////////////////////////////////////////////////// +Scheme +{ + //////////////////////// COLORS /////////////////////////// + // color details + // this is a list of all the colors used by the scheme + Colors + { + // base colors + "White" "255 255 255 255" + "OffWhite" "216 216 216 255" + "DullWhite" "0 0 0 0" + "Orange" "255 110 0 255" + "TransparentBlack" "0 0 0 0" + "Black" "0 0 0 255" + + "Blank" "0 0 0 0" + } + + ///////////////////// BASE SETTINGS //////////////////////// + // + // default settings for all panels + // controls use these to determine their settings + BaseSettings + { + // vgui_controls color specifications + Border.Bright "0 0 0 0" //"200 200 200 196" // the lit side of a control + Border.Dark "0 0 0 0" //"40 40 40 196" // the dark/unlit side of a control + Border.Selection "0 0 0 0" //"0 0 0 196" // the additional border color for displaying the default/selected button + + Button.TextColor "White" + Button.BgColor "Blank" + Button.ArmedTextColor "White" + Button.ArmedBgColor "Blank" [$WIN32] + Button.ArmedBgColor "190 115 0 255" [$X360] + Button.DepressedTextColor "White" + Button.DepressedBgColor "Blank" + Button.FocusBorderColor "Black" + + CheckButton.TextColor "OffWhite" + CheckButton.SelectedTextColor "White" + CheckButton.BgColor "TransparentBlack" + CheckButton.Border1 "Border.Dark" // the left checkbutton border + CheckButton.Border2 "Border.Bright" // the right checkbutton border + CheckButton.Check "White" // color of the check itself + + ComboBoxButton.ArrowColor "DullWhite" + ComboBoxButton.ArmedArrowColor "White" + ComboBoxButton.BgColor "Blank" + ComboBoxButton.DisabledBgColor "Blank" + + "Chat.TypingText" "white" + + Frame.TitleTextInsetX 16 + Frame.ClientInsetX 8 + Frame.ClientInsetY 6 + Frame.BgColor "160 160 160 128" [$WIN32] + Frame.BgColor "80 80 80 192" [$X360] + Frame.OutOfFocusBgColor "160 160 160 32" [$WIN32] + Frame.OutOfFocusBgColor "80 80 80 192" [$X360] + Frame.FocusTransitionEffectTime "0.3" // time it takes for a window to fade in/out on focus/out of focus + Frame.TransitionEffectTime "0.3" // time it takes for a window to fade in/out on open/close + Frame.AutoSnapRange "0" + FrameGrip.Color1 "200 200 200 196" + FrameGrip.Color2 "0 0 0 196" + FrameTitleButton.FgColor "200 200 200 196" + FrameTitleButton.BgColor "Blank" + FrameTitleButton.DisabledFgColor "255 255 255 192" + FrameTitleButton.DisabledBgColor "Blank" + FrameSystemButton.FgColor "Blank" + FrameSystemButton.BgColor "Blank" + FrameSystemButton.Icon "" + FrameSystemButton.DisabledIcon "" + FrameTitleBar.Font "UiBold" [$WIN32] + FrameTitleBar.Font "DefaultLarge" [$WIN32] + FrameTitleBar.TextColor "White" + FrameTitleBar.BgColor "Blank" + FrameTitleBar.DisabledTextColor "255 255 255 192" + FrameTitleBar.DisabledBgColor "Blank" + + GraphPanel.FgColor "White" + GraphPanel.BgColor "TransparentBlack" + + Label.TextDullColor "DullWhite" + Label.TextColor "OffWhite" + Label.TextBrightColor "White" + Label.SelectedTextColor "White" + Label.BgColor "TransparentBlack" + Label.DisabledFgColor1 "117 117 117 255" + Label.DisabledFgColor2 "30 30 30 255" + + ListPanel.TextColor "OffWhite" + ListPanel.TextBgColor "Blank" + ListPanel.BgColor "TransparentBlack" + ListPanel.SelectedTextColor "Black" + ListPanel.SelectedBgColor "Orange" + ListPanel.SelectedOutOfFocusBgColor "255 155 0 128" + ListPanel.EmptyListInfoTextColor "OffWhite" + + Menu.TextColor "White" + Menu.BgColor "160 160 160 64" + Menu.ArmedTextColor "Black" + Menu.ArmedBgColor "Orange" + Menu.TextInset "6" + + Panel.FgColor "Blank" + Panel.BgColor "DullWhite" + + ProgressBar.FgColor "White" + ProgressBar.BgColor "TransparentBlack" + + PropertySheet.TextColor "OffWhite" + PropertySheet.SelectedTextColor "White" + PropertySheet.TransitionEffectTime "0.25" // time to change from one tab to another + + RadioButton.TextColor "DullWhite" + RadioButton.SelectedTextColor "White" + + RichText.TextColor "OffWhite" + RichText.BgColor "TransparentBlack" + RichText.SelectedTextColor "Black" + RichText.SelectedBgColor "Orange" + + ScrollBar.Wide 11 + + ScrollBarButton.FgColor "White" + ScrollBarButton.BgColor "Blank" + ScrollBarButton.ArmedFgColor "White" + ScrollBarButton.ArmedBgColor "Blank" + ScrollBarButton.DepressedFgColor "White" + ScrollBarButton.DepressedBgColor "Blank" + + ScrollBarSlider.FgColor "Blank" // nob color + ScrollBarSlider.BgColor "0 0 0 0" // slider background color 255 255 255 64 + + SectionedListPanel.HeaderTextColor "White" + SectionedListPanel.HeaderBgColor "Blank" + SectionedListPanel.DividerColor "Black" + SectionedListPanel.TextColor "DullWhite" + SectionedListPanel.BrightTextColor "White" + SectionedListPanel.BgColor "TransparentBlack" + SectionedListPanel.SelectedTextColor "Black" + SectionedListPanel.SelectedBgColor "Orange" + SectionedListPanel.OutOfFocusSelectedTextColor "Black" + SectionedListPanel.OutOfFocusSelectedBgColor "255 155 0 128" + + TextEntry.TextColor "OffWhite" + TextEntry.BgColor "TransparentBlack" + TextEntry.CursorColor "OffWhite" + TextEntry.DisabledTextColor "DullWhite" + TextEntry.DisabledBgColor "Blank" + TextEntry.SelectedTextColor "Black" + TextEntry.SelectedBgColor "Orange" + TextEntry.OutOfFocusSelectedBgColor "255 155 0 128" + TextEntry.FocusEdgeColor "0 0 0 196" + + ToggleButton.SelectedTextColor "White" + + Tooltip.TextColor "0 0 0 196" + Tooltip.BgColor "Orange" + + TreeView.BgColor "TransparentBlack" + + WizardSubPanel.BgColor "Blank" + + // scheme-specific colors + MainMenu.TextColor "White" [$WIN32] + MainMenu.TextColor "200 200 200 255" [$X360] + MainMenu.ArmedTextColor "200 200 200 255" [$WIN32] + MainMenu.ArmedTextColor "White" [$X360] + MainMenu.DepressedTextColor "192 186 80 255" + MainMenu.MenuItemHeight "16" [$WIN32] + MainMenu.MenuItemHeight "32" [$X360] + MainMenu.Inset "32" + MainMenu.Backdrop "0 0 0 156" + + Console.TextColor "OffWhite" + Console.DevTextColor "White" + + NewGame.TextColor "White" + NewGame.FillColor "0 0 0 255" + NewGame.SelectionColor "Orange" [$WIN32] + NewGame.SelectionColor "0 0 0 255" [$X360] + NewGame.DisabledColor "128 128 128 196" + } + + //////////////////////// BITMAP FONT FILES ///////////////////////////// + // + // Bitmap Fonts are ****VERY*** expensive static memory resources so they are purposely sparse + BitmapFontFiles + { + // UI buttons, custom font, (256x64) + //"Buttons" "materials/vgui/fonts/buttons_32.vbf" + } + + //////////////////////// FONTS ///////////////////////////// + // + // describes all the fonts + Fonts + { + + "Default" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "13" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "14" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "16" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "1024 1280" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "20" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "1200 6000" + "antialias" "1" + } + } + + // this is the symbol font + "Marlett" + { + + "1" + { + "name" "Marlett" + "tall" "10" + "weight" "0" + "yres" "480 599" + "symbol" "1" + } + "2" + { + "name" "Marlett" + "tall" "14" + "weight" "0" + "yres" "600 767" + "symbol" "1" + } + "3" + { + "name" "Marlett" + "tall" "13" + "weight" "0" + "yres" "768 1023" + "symbol" "1" + } + "4" + { + "name" "Marlett" + "tall" "17" + "weight" "0" + "yres" "1024 1199" + "symbol" "1" + } + "5" + { + "name" "Marlett" + "tall" "22" + "weight" "0" + "yres" "1200 10000" + "symbol" "1" + } + } + + + "ChatFont" + { + "1" + { + "name" "Tahoma" + "tall" "13" + "weight" "1000" + "yres" "480 599" + "outline" "1" + } + "2" + { + "name" "Tahoma" + "tall" "13" + "weight" "1000" + "yres" "600 767" + "outline" "1" + } + "3" + { + "name" "Tahoma" + "tall" "13" + "weight" "1000" + "yres" "768 1023" + "outline" "1" + } + "4" + { + "name" "Tahoma" + "tall" "13" + "weight" "1000" + "yres" "1024 1199" + "outline" "1" + } + "5" + { + "name" "Tahoma" + "tall" "13" + "weight" "1000" + "yres" "1200 10000" + "outline" "1" + } + } + + } + + // + //////////////////// BORDERS ////////////////////////////// + // + // describes all the border types + Borders + { + BaseBorder DepressedBorder + ButtonBorder RaisedBorder + ComboBoxBorder DepressedBorder + MenuBorder RaisedBorder + BrowserBorder DepressedBorder + PropertySheetBorder RaisedBorder + + FrameBorder + { + // rounded corners for frames + "backgroundtype" "2" + } + + DepressedBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + RaisedBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + TitleButtonBorder + { + "backgroundtype" "0" + } + + TitleButtonDisabledBorder + { + "backgroundtype" "0" + } + + TitleButtonDepressedBorder + { + "backgroundtype" "0" + } + + ScrollBarButtonBorder + { + "inset" "2 2 0 0" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + ScrollBarButtonDepressedBorder + { + "inset" "2 2 0 0" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + + TabBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + } + + TabActiveBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + } + + + ToolTipBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + // this is the border used for default buttons (the button that gets pressed when you hit enter) + ButtonKeyFocusBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Selection" + "offset" "0 0" + } + "2" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + Top + { + "1" + { + "color" "Border.Selection" + "offset" "0 0" + } + "2" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + Right + { + "1" + { + "color" "Border.Selection" + "offset" "0 0" + } + "2" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + Bottom + { + "1" + { + "color" "Border.Selection" + "offset" "0 0" + } + "2" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + ButtonDepressedBorder + { + "inset" "2 1 1 1" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + } + + //////////////////////// CUSTOM FONT FILES ///////////////////////////// + // + // specifies all the custom (non-system) font files that need to be loaded to service the above described fonts + CustomFontFiles + { + + } +} diff --git a/src/hud/resource/ClientScheme.res b/src/hud/resource/ClientScheme.res new file mode 100644 index 0000000..5c2e141 --- /dev/null +++ b/src/hud/resource/ClientScheme.res @@ -0,0 +1,3416 @@ +/////////////////////////////////////////////////////////// +// Tracker scheme resource file +// +// sections: +// Colors - all the colors used by the scheme +// BaseSettings - contains settings for app to use to draw controls +// Fonts - list of all the fonts used by app +// Borders - description of all the borders +// +/////////////////////////////////////////////////////////// +Scheme +{ + //////////////////////// COLORS /////////////////////////// + // color details + // this is a list of all the colors used by the scheme + Colors + { + // base colors + "Orange" "255 255 255 255" // default "255 176 0 255" + "OrangeDim" "255 255 255 120" // default "255 176 0 120" + "LightOrange" "255 255 255 128" // default "188 112 0 128" + + "Red" "192 28 0 140" + "Black" "0 0 0 255" + "TransparentBlack" "0 0 0 196" + "TransparentLightBlack" "0 0 0 90" + "RoundWinPanelBackground" "0 0 0 179" + + "Blank" "0 0 0 0" + "ForTesting" "255 0 0 32" + "ForTesting_Magenta" "255 0 255 255" + "ForTesting_MagentaDim" "255 0 255 120" + + //These were ripped from SourceScheme + "SteamLightGreen" "157 194 80 255" + "AchievementsLightGrey" "79 79 79 255" + "White" "255 255 255 255" + + "WhiteNoAlpha" "255 255 255 0" + "LightGray" "198 186 160 255" + "MediumGray" "100 100 100 255" + "DarkGray" "40 40 40 255" + "LighterDarkGray" "50 50 50 255" + "DarkRed" "167 57 43 255" + + "toxicHUD" "255 255 255 255" + "toxicHealth" "255 85 38 255" + "Normal" "255 255 255 255" + } + + ///////////////////// BASE SETTINGS //////////////////////// + // + // default settings for all panels + // controls use these to determine their settings + BaseSettings + { + // vgui_controls color specifications + ReplayBrowser.BgColor "DarkGray" + ReplayBrowser.Details.TitleEdit.Carat.FgColor "Orange" + ReplayBrowser.Button.ArmedBgColor "WhiteNoAlpha" + ReplayBrowser.Button.DepressedBgColor "Red" + ReplayBrowser.CollectionTitle.FgColor "Orange" + ReplayBrowser.Warning.FgColor "LightGray" + ReplayBrowser.ScrollBar.SliderButton.FgColor "LightGray" + ReplayBrowser.Search.BgColor "AchievementsLightGrey" + ReplayBrowser.Search.FgColor "White" + ReplayBrowser.Thumbnail.Border.Default "MediumGray" + ReplayBrowser.Thumbnail.Border.Highlight "LightGray" + + Replay.RenderDialog.BgColor "LighterDarkGray" + + Econ.Dialog.BgColor "DarkGray" + Econ.Dialog.FrameColor "MediumGray" + + Econ.Button.FgColor "White" + Econ.Button.ArmedBgColor "WhiteNoAlpha" + Econ.Button.ArmedFgColor "Orange" + Econ.Button.DepressedBgColor "Red" + Econ.Button.DepressedFgColor "Orange" + + Border.Bright "LightOrange" // the lit side of a control + Border.Dark "LightOrange" // the dark/unlit side of a control + Border.Selection "Blank" // the additional border color for displaying the default/selected button + Border.BuyPreset "Orange" + + + Button.TextColor "Orange" + Button.BgColor "0 0 0 64" + Button.ArmedTextColor "Orange" + Button.ArmedBgColor "Red" + Button.DepressedTextColor "Orange" + Button.DepressedBgColor "Red" + + CheckButton.TextColor "Orange" + CheckButton.SelectedTextColor "Orange" + CheckButton.BgColor "TransparentBlack" + CheckButton.Border1 "Border.Dark" // the left checkbutton border + CheckButton.Border2 "Border.Bright" // the right checkbutton border + CheckButton.Check "Orange" // color of the check itself + + ComboBoxButton.ArrowColor "Orange" + ComboBoxButton.ArmedArrowColor "Orange" + ComboBoxButton.BgColor "TransparentBlack" + ComboBoxButton.DisabledBgColor "Blank" + + Frame.BgColor "TransparentBlack" + Frame.OutOfFocusBgColor "TransparentBlack" + Frame.FocusTransitionEffectTime "0.0" // time it takes for a window to fade in/out on focus/out of focus + Frame.TransitionEffectTime "0.0" // time it takes for a window to fade in/out on open/close + Frame.AutoSnapRange "0" + FrameGrip.Color1 "Blank" + FrameGrip.Color2 "Blank" + FrameTitleButton.FgColor "Blank" + FrameTitleButton.BgColor "Blank" + FrameTitleButton.DisabledFgColor "Blank" + FrameTitleButton.DisabledBgColor "Blank" + FrameSystemButton.FgColor "Blank" + FrameSystemButton.BgColor "Blank" + FrameSystemButton.Icon "" + FrameSystemButton.DisabledIcon "" + FrameTitleBar.TextColor "Orange" + FrameTitleBar.BgColor "Blank" + FrameTitleBar.DisabledTextColor "Orange" + FrameTitleBar.DisabledBgColor "Blank" + + GraphPanel.FgColor "Orange" + GraphPanel.BgColor "TransparentBlack" + + Label.TextDullColor "Orange" + Label.TextColor "Orange" + Label.TextBrightColor "Orange" + Label.SelectedTextColor "Orange" + Label.BgColor "Blank" + Label.DisabledFgColor1 "Blank" + Label.DisabledFgColor2 "LightOrange" + + ListPanel.TextColor "Orange" + ListPanel.BgColor "TransparentBlack" + ListPanel.SelectedTextColor "Black" + ListPanel.SelectedBgColor "Red" + ListPanel.SelectedOutOfFocusBgColor "Red" + ListPanel.EmptyListInfoTextColor "Orange" + + Menu.TextColor "Orange" + Menu.BgColor "TransparentBlack" + Menu.ArmedTextColor "Orange" + Menu.ArmedBgColor "Red" + Menu.TextInset "6" + + Chat.TypingText "Orange" + + Panel.FgColor "toxicHUD" // default "OrangeDim" + Panel.BgColor "Blank" + + HTML.BgColor "Black" + + "BuyPreset.BgColor" "0 0 0 128" + "BuyPresetListBox.BgColor" "0 0 0 128" + "Popup.BgColor" "0 0 0 230" + + ProgressBar.FgColor "toxicHUD" // default "Orange" + ProgressBar.BgColor "TransparentBlack" + + PropertySheet.TextColor "Orange" + PropertySheet.SelectedTextColor "Orange" + PropertySheet.TransitionEffectTime "0.25" // time to change from one tab to another + + RadioButton.TextColor "Orange" + RadioButton.SelectedTextColor "Orange" + + RichText.TextColor "Orange" + RichText.BgColor "Blank" + RichText.SelectedTextColor "Orange" + RichText.SelectedBgColor "Blank" + + ScrollBarButton.FgColor "Orange" + ScrollBarButton.BgColor "Blank" + ScrollBarButton.ArmedFgColor "Orange" + ScrollBarButton.ArmedBgColor "Blank" + ScrollBarButton.DepressedFgColor "Orange" + ScrollBarButton.DepressedBgColor "Blank" + + ScrollBarSlider.FgColor "Blank" // nob color + ScrollBarSlider.BgColor "Blank" // slider background color + + SectionedListPanel.HeaderTextColor "Orange" + SectionedListPanel.HeaderBgColor "Blank" + SectionedListPanel.DividerColor "Black" + SectionedListPanel.TextColor "Orange" + SectionedListPanel.BrightTextColor "Orange" + SectionedListPanel.BgColor "TransparentLightBlack" + SectionedListPanel.SelectedTextColor "Black" + SectionedListPanel.SelectedBgColor "Red" + SectionedListPanel.OutOfFocusSelectedTextColor "Black" + SectionedListPanel.OutOfFocusSelectedBgColor "255 255 255 32" + + Slider.NobColor "108 108 108 255" + Slider.TextColor "127 140 127 255" + Slider.TrackColor "31 31 31 255" + Slider.DisabledTextColor1 "117 117 117 255" + Slider.DisabledTextColor2 "30 30 30 255" + + TextEntry.TextColor "Orange" + TextEntry.BgColor "TransparentBlack" + TextEntry.CursorColor "Orange" + TextEntry.DisabledTextColor "Orange" + TextEntry.DisabledBgColor "Blank" + TextEntry.SelectedTextColor "Black" + TextEntry.SelectedBgColor "Red" + TextEntry.OutOfFocusSelectedBgColor "Red" + TextEntry.FocusEdgeColor "TransparentBlack" + + ToggleButton.SelectedTextColor "Orange" + + Tooltip.TextColor "TransparentBlack" + Tooltip.BgColor "Red" + + TreeView.BgColor "TransparentBlack" + + WizardSubPanel.BgColor "Blank" + + // scheme-specific colors + "FgColor" "toxicHUD" // default "toxicHUD" + "BgColor" "0 0 0 120" // default "TransparentBlack" + + "ViewportBG" "Blank" + "team0" "204 204 204 255" // Spectators + "team1" "255 26 28 255" // CT's + "team2" "128 206 255 255" // T's + + "MapDescriptionText" "toxicHUD" // default "Orange" // the text used in the map description window + "CT_Blue" "128 206 255 255" + "T_Red" "255 26 28 255" + "Hostage_Yellow" "toxicHUD" // default "Panel.FgColor" + "HudIcon_Green" "toxicHUD" // default "0 160 0 255" + "HudIcon_Red" "255 0 0 255" // default "160 0 0 255" + + // CHudMenu + "ItemColor" "toxicHUD" // default 255 167 42 255 + "MenuColor" "233 208 173 255" + "MenuBoxBg" "0 0 0 100" + + // weapon selection colors + "SelectionNumberFg" "toxicHUD" + "SelectionTextFg" "toxicHUD" + "SelectionEmptyBoxBg" "0 0 0 80" + "SelectionBoxBg" "0 0 0 80" + "SelectionSelectedBoxBg" "0 0 0 190" + + // Hint message colors + "HintMessageFg" "255 255 255 255" + "HintMessageBg" "0 0 0 75" + + "ProgressBarFg" "255 30 13 255" + + // Top-left corner of the "Counter-Strike" on the main screen + "Main.Title1.X" "32" + "Main.Title1.Y" "180" + "Main.Title1.Color" "0 0 0 0" //removed + + // Top-left corner of the "SOURCE" on the main screen + "Main.Title2.X" "380" + "Main.Title2.Y" "205" + "Main.Title2.Color" "0 0 0 0" //removed + + // Top-left corner of the "BETA" on the main screen + "Main.Title3.X" "460" + "Main.Title3.Y" "-10" + "Main.Title3.Color" "0 0 0 0" //removed + + // Top-left corner of the menu on the main screen + "Main.Menu.X" "32" + "Main.Menu.Y" "248" + + // Blank space to leave beneath the menu on the main screen + "Main.BottomBorder" "32" + } + + // + //////////////////////// FONTS ///////////////////////////// + // + // describes all the fonts + Fonts + { + // fonts are used in order that they are listed + // fonts listed later in the order will only be used if they fulfill a range not already filled + // if a font fails to load then the subsequent fonts will replace + "toxic_dn" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "1000" + "yres" "480 599" + "outline" "1" + } + "2" + { + "name" "Tahoma" + "tall" "13" + "weight" "1000" + "yres" "600 767" + "outline" "1" + } + "3" + { + "name" "Tahoma" + "tall" "16" + "weight" "1000" + "yres" "768 1023" + "outline" "1" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "1000" + "yres" "1024 1199" + "outline" "1" + } + "5" + { + "name" "Tahoma" + "tall" "22" + "weight" "1000" + "yres" "1200 10000" + "outline" "1" + } + } + "toxic_specscore" + { + "1" + { + "name" "csp_text" + "tall" "35" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + "dropshadow" "1" + } + } + "toxic_specplayer" + { + "1" + { + "name" "csp_text" + "tall" "16" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + "dropshadow" "1" + } + } + "toxic_specfont" + { + "1" + { + "name" "csp_text" + "tall" "12" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + "dropshadow" "1" + } + } + "Default" + { + "1" + { + "name" "Tahoma" + "tall" "15" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + "antialias" "1" + } + "2" + { + "name" "Tahoma" + "tall" "15" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + "antialias" "1" + } + "3" + { + "name" "Tahoma" + "tall" "15" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "15" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "15" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "15" + "range" "0x0000 0x00FF" + "weight" "900" + "antialias" "1" + } + "7" + { + "name" "Tahoma" + "tall" "15" + "range" "0x0000 0x00FF" + "weight" "800" + "antialias" "1" + } + } + "DefaultBig" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "15" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "19" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "26" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + } + "5" + { + "name" "Tahoma" + "tall" "30" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + } + "6" + { + "name" "Tahoma" + "tall" "18" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + "DefaultLarge" + { + "1" + { + "name" "Tahoma" + "tall" "14" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "18" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "23" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "31" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "36" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "22" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + + "DefaultLarger" + { + "1" + { + "name" "Tahoma" + "tall" "19" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "24" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "31" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "41" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "48" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "22" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + + "DefaultVeryLarge" + { + "1" + { + "name" "Tahoma" + "tall" "22" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "28" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "36" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "48" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "56" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "28" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + + "DefaultGigantic" + { + "1" + { + "name" "Tahoma" + "tall" "24" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "34" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "42" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "54" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "64" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "32" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + + "UiHeadline" + { + "1" + { + "name" "Tahoma" + "tall" "14" + "weight" "700" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + "DefaultUnderline" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "500" + "underline" "1" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + "2" + { + "name" "Tahoma" + "tall" "11" + "range" "0x0000 0x00FF" + "weight" "800" + } + } + "DefaultSmall" + { + "1" + { + "name" "Tahoma" + "tall" "10" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "480 599" + "antialias" "1" + } + "2" + { + "name" "Tahoma" + "tall" "12" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "600 767" + "antialias" "1" + } + "3" + { + "name" "Tahoma" + "tall" "15" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "24" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "12" + "range" "0x0000 0x00FF" + "weight" "0" + "antialias" "1" + } + } + "CSUnderline" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "480 599" + "underline" "1" + } + "2" + { + "name" "Tahoma" + "tall" "13" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "600 767" + "underline" "1" + } + "3" + { + "name" "Tahoma" + "tall" "14" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "768 1023" + "antialias" "1" + "underline" "1" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "1024 1199" + "antialias" "1" + "underline" "1" + } + "5" + { + "name" "Tahoma" + "tall" "24" + "weight" "0" + "range" "0x0000 0x017F" + "yres" "1200 6000" + "antialias" "1" + "underline" "1" + } + "6" + { + "name" "Tahoma" + "tall" "12" + "range" "0x0000 0x00FF" + "weight" "0" + "underline" "1" + } + } + "DefaultVerySmall" + { + "1" + { + "name" "Tahoma" + "tall" "10" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "12" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "15" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "24" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "12" + "range" "0x0000 0x00FF" + "weight" "0" + } + "7" + { + "name" "Tahoma" + "tall" "11" + "range" "0x0000 0x00FF" + "weight" "0" + } + } + // Used by scoreboard and spectator UI for names which don't map in the normal fashion + "DefaultVerySmallFallBack" + { + "1" + { + "name" "Tahoma" + "tall" "10" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + "antialias" "1" + } + "2" + { + "name" "Tahoma" + "tall" "12" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 1199" + "antialias" "1" + } + "3" + { + "name" "Tahoma" + "tall" "15" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + } + CenterPrintText + { + // This is the center speed display on KSF if "Center Speed Color" is enabled in the !surftimer options + // note that this scales with the screen resolution + "1" + { + "name" "Tahoma" + "tall" "11" + "weight" "700" + "outline" "1" + "antialias" "1" + } + } + HudHintText + { + "1" + { + "name" "Tahoma" + "tall" "13" + "weight" "700" + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "13" + "weight" "700" + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "13" + "weight" "700" + "yres" "768 1023" + } + "4" + { + "name" "Tahoma" + "tall" "13" + "weight" "700" + "yres" "1024 1199" + } + "5" + { + "name" "Tahoma" + "tall" "13" + "weight" "700" + "yres" "1200 10000" + } + } + HudNumbersSmall + { + "1" + { + "name" "Tahoma" + "tall" "16" + "weight" "1000" + "additive" "1" + "antialias" "1" + "range" "0x0000 0x017F" + } + } + + HudSelectionNumbers + { + "1" + { + "name" "Tahoma" + "tall" "11" + "weight" "700" + "antialias" "1" + "additive" "1" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + + HudSelectionText + { + "1" + { + "name" "Tahoma" + "tall" "13" + "weight" "900" + "yres" "768 1023" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + + BudgetLabel + { + "1" + { + "name" "Tahoma" + "tall" "14" + "weight" "400" + "outline" "1" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + DebugOverlay + { + "1" + { + "name" "Tahoma" + "tall" "14" + "weight" "400" + "outline" "1" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + CSType + { + "1" + { + "name" "cs" // cs.ttf + "tall" "80" + "weight" "0" + "additive" "1" + "antialias" "1" + "custom" "1" [$OSX] + } + } + + CSweapons // temporary, for testing. overlaps with CSType, above + { + "1" + { + "name" "Counter-Strike" // Cstrike.ttf + "tall" "50" //default 70 + "weight" "0" + "additive" "1" + "antialias" "1" + "custom" "1" [$OSX] + } + } + + CSweaponsSmall + { + "1" + { + "name" "Counter-Strike" // Cstrike.ttf + "tall" "60" + "weight" "0" + "additive" "1" + "antialias" "1" + "custom" "1" [$OSX] + } + } + + + CSTypeSmall + { + "1" + { + "name" "cs" // cs.ttf + "tall" "40" + "weight" "20" + "additive" "1" + "antialias" "1" + "custom" "1" [$OSX] + } + } + + CSTypelr + { + "1" + { + "name" "cs" // cs.ttf + "tall" "30" + "weight" "0" + "additive" "1" + "antialias" "1" + "custom" "1" [$OSX] + } + } + + CSTypeDeath + { + "1" + { + "name" "csd" // csd.ttf + "tall" "42" + "weight" "0" + "additive" "1" // default "1" + "antialias" "1" + "custom" "1" [$OSX] + } + } + + Icons + { + "1" + { + "name" "Counter-Strike" // Cstrike.ttf + "tall" "28" + "weight" "0" + "additive" "0" // default 1 + "antialias" "1" + "custom" "1" [$OSX] + } + } + IconsSmall + { + "1" + { + "name" "Counter-Strike" // Cstrike.ttf + "tall" "20" + "weight" "0" + "additive" "0" + "antialias" "1" + "custom" "1" [$OSX] + } + } + + ClientTitleFont + { + "1" + { + "name" "Counter-Strike Logo" // CSlogo.ttf + "tall" "60" + "weight" "0" + "additive" "0" + "antialias" "1" + } + } + + "BetaFont" + { + "1" + { + "name" "Tahoma" + "tall" "90" + "weight" "900" + "range" "0x0000 0x007F" // Basic Latin + "antialias" "1" + "additive" "0" + } + } + + HudNumbers + { + "1" + { + "name" "Counter-Strike" // Cstrike.ttf + "tall" "28" + "weight" "0" + "additive" "0" // default 1 + "antialias" "1" + } + "2" + { + "name" "Tahoma" + "tall" "28" + "weight" "0" + "additive" "0" // default 1 + "antialias" "1" + } + } + "CloseCaption_Normal" + { + "1" + { + "name" "Tahoma" + "tall" "16" + "weight" "500" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + "CloseCaption_Italic" + { + "1" + { + "name" "Tahoma" + "tall" "16" + "weight" "500" + "italic" "1" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + "CloseCaption_Bold" + { + "1" + { + "name" "Tahoma" + "tall" "16" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + "CloseCaption_BoldItalic" + { + "1" + { + "name" "Tahoma" + "tall" "16" + "weight" "900" + "italic" "1" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + // this is the symbol font + "Marlett" + { + "1" + { + "name" "Marlett" + "tall" "11" + "weight" "0" + "symbol" "1" + "range" "0x0000 0x007F" // Basic Latin + } + } + "MenuTitle" + { + "1" + { + "name" "Tahoma Bold" + "tall" "18" + "weight" "500" + "antialias" "1" + } + } + "Trebuchet24" + { + "1" + { + "name" "Trebuchet MS" + "tall" "24" + "weight" "900" + "range" "0x0000 0x007F" // Basic Latin + "antialias" "1" + "additive" "1" + } + } + "Trebuchet20" + { + "1" + { + "name" "Trebuchet MS" + "tall" "20" + "weight" "900" + "range" "0x0000 0x007F" // Basic Latin + "antialias" "1" + "additive" "1" + } + } + "Trebuchet18" + { + "1" + { + "name" "Trebuchet MS" + "tall" "18" + "weight" "900" + "range" "0x0000 0x007F" // Basic Latin + "antialias" "1" + "additive" "1" + } + } + "TargetID" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "700" + "yres" "480 599" + "dropshadow" "0" + } + "2" + { + "name" "Tahoma" + "tall" "13" + "weight" "700" + "yres" "600 767" + "dropshadow" "0" + } + "3" + { + "name" "Tahoma" + "tall" "14" + "weight" "700" + "yres" "768 1023" + "dropshadow" "0" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "700" + "yres" "1024 1199" + "dropshadow" "0" + } + "5" + { + "name" "Tahoma" + "tall" "24" + "weight" "700" + "yres" "1200 10000" + "dropshadow" "0" + } + } + "ChatFont" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "700" + "yres" "480 599" + "dropshadow" "1" + } + "2" + { + "name" "Tahoma" + "tall" "13" + "weight" "700" + "yres" "600 767" + "dropshadow" "1" + } + "3" + { + "name" "Tahoma" + "tall" "14" + "weight" "700" + "yres" "768 1023" + "dropshadow" "1" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "700" + "yres" "1024 1199" + "dropshadow" "1" + } + "5" + { + "name" "Tahoma" + "tall" "24" + "weight" "700" + "yres" "1200 10000" + "dropshadow" "1" + } + } + + //Stolen from SourceScheme to make the fonts a little smaller + "AchievementTitleFont" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Tahoma Bold" [$OSX] + "tall" "16" + "weight" "1200" + "antialias" "1" + "outline" "1" + } + } + "AchievementDescriptionFont" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Tahoma Bold" [$OSX] + "tall" "12" + "weight" "1200" + "antialias" "1" + "outline" "1" + "yres" "0 480" + } + "2" + { + "name" "Tahoma" [!$OSX] + "name" "Tahoma Bold" [$OSX] + "tall" "16" + "weight" "1200" + "antialias" "1" + "outline" "1" + "yres" "481 10000" + } + } + + + AchievementItemTitle [$WIN32] + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Helvetica Bold" [$OSX] + "weight" "1200" + "tall" "11" + "antialias" "1" + } + } + + AchievementItemDescription [$WIN32] + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Helvetica" [$OSX] + "weight" "800" + "tall" "9" + "antialias" "1" + } + } + + AchievementPopupTitle [$WIN32] + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Helvetica Bold" [$OSX] + "weight" "1200" + "tall" "12" + "antialias" "1" + } + } + + AchievementPopupDescription [$WIN32] + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Helvetica" [$OSX] + "weight" "700" + "tall" "9" + "antialias" "1" + } + } + + "FreezeSmall" + { + "1" + { + "name" "Tahoma Bold" [!$OSX] + "name" "Helvetica" [$OSX] + "tall" "9" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" [!$OSX] + } + } + + "FreezeMedium" // used by the freeze panel + { + "1" + { + "name" "Tahoma Bold" [!$OSX] + "name" "Helvetica" [$OSX] + "tall" "14" + "weight" "600" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "FreezeLarge" + { + "1" + { + "name" "Tahoma Bold" [!$OSX] + "name" "Helvetica" [$OSX] + "tall" "18" + "weight" "600" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "WinPanelLarge" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Helvetica" [$OSX] + "tall" "14" + "weight" "700" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" [!$OSX] + } + } + + "WinPanelTiny" + { + "1" + { + "name" "Tahoma Bold" [!$OSX] + "name" "Tahoma" [$OSX] + "tall" "9" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" [!$OSX] + } + } + + WinPanelClock + { + "1" + { + "name" "Counter-Strike" // Cstrike.ttf + "tall" "14" + "weight" "0" + "additive" "1" + "antialias" "1" + } + } + + "HUDAchievementTiny" + { + "1" + { + "name" "Tahoma" + "tall" "6" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "8" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "10" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 959" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "13" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "960 1023" + "antialias" "1" [!$OSX] + } + "5" + { + "name" "Tahoma" + "tall" "14" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" [!$OSX] + } + "6" + { + "name" "Tahoma" + "tall" "16" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" [!$OSX] + } + } + + "ScoreboardHeader" + { + "1" + { + "name" "Tahoma" + "tall" "9" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardTeamName" + { + "1" + { + "name" "Tahoma" + "tall" "9" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardScore" + { + "1" + { + "name" "Tahoma" + "tall" "10" + "weight" "1000" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardColumns" + { + "1" + { + "name" "Tahoma" + "tall" "9" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardPlayersAlive" + { + "1" + { + "name" "Tahoma" + "tall" "9" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardPlayersAliveSuffix" + { + "1" + { + "name" "Tahoma" + "tall" "9" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardBody_1" + { + "1" + { + "name" "Tahoma" + "tall" "10" [!$OSX] + "tall" "11" [$OSX] + "weight" "1000" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardBody_2" + { + "1" + { + "name" "Tahoma" + "tall" "8" [!$OSX] + "tall" "9" [$OSX] + "weight" "1000" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardBody_3" + { + "1" + { + "name" "Tahoma" + "tall" "7" [!$OSX] + "tall" "8" [$OSX] + "weight" "1000" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + "ScoreboardMVP" + { + "1" + { + "name" "Tahoma" + "tall" "10" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "antialias" "1" + } + } + + // + //////////////////// REPLAY FONTS ////////////////////////////// + // + "ReplayVerySmall" + { + "1" + { + "name" "Tahoma" + "tall" "10" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "12" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "15" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "24" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "12" + "range" "0x0000 0x00FF" + "weight" "0" + } + "7" + { + "name" "Tahoma" + "tall" "11" + "range" "0x0000 0x00FF" + "weight" "0" + } + } + "ReplayBrowserSmallest" + { + "1" + { + "name" "Tahoma" + "tall" "10" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + "antialias" "1" + } + "2" + { + "name" "Tahoma" + "tall" "12" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + "antialias" "1" + } + "3" + { + "name" "Tahoma" + "tall" "15" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "24" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "12" + "range" "0x0000 0x00FF" + "weight" "900" + "antialias" "1" + } + "7" + { + "name" "Tahoma" + "tall" "12" + "range" "0x0000 0x00FF" + "weight" "800" + "antialias" "1" + } + } + "ReplaySmall" + { + "1" + { + "name" "Tahoma" + "tall" "10" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + "antialias" "1" + } + "2" + { + "name" "Tahoma" + "tall" "12" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + "antialias" "1" + } + "3" + { + "name" "Tahoma" + "tall" "15" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "20" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "24" + "weight" "900" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "12" + "range" "0x0000 0x00FF" + "weight" "900" + "antialias" "1" + } + "7" + { + "name" "Tahoma" + "tall" "12" + "range" "0x0000 0x00FF" + "weight" "800" + "antialias" "1" + } + } + "ReplayMediumSmall" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "15" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "19" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "26" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "30" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "18" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + "ReplayMedium" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "15" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "19" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "26" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "30" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "18" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + "ReplayMediumBig" + { + "1" + { + "name" "Tahoma" + "tall" "19" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "24" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "31" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "41" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "48" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "22" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + "ReplayBrowserTab" + { + "1" + { + "name" "Tahoma" + "tall" "24" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "34" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "42" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "54" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "64" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "32" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + "ReplayLarger" + { + "1" + { + "name" "Tahoma" + "tall" "19" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "24" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "31" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "41" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "48" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "22" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + "ReplayMessageTitle" + { + "1" + { + "name" "Tahoma" + "tall" "24" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "34" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "42" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "54" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "64" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "32" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + "ReplayMessageText" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "15" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "19" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "26" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "30" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "18" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + + // + //////////////////// ECON FONTS ////////////////////////////// + // + "EconFontSmallest" + { + "1" + { + "name" "Tahoma" + "tall" "11" + "weight" "700" + "antialias" "1" + "additive" "1" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + } + } + + "EconFontSmall" + { + "1" + { + "name" "Tahoma" + "tall" "12" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "15" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "19" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "26" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "30" + "weight" "1100" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "18" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + "EconFontMedium" + { + "1" + { + "name" "Tahoma" + "tall" "22" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "480 599" + } + "2" + { + "name" "Tahoma" + "tall" "28" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "600 767" + } + "3" + { + "name" "Tahoma" + "tall" "36" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "768 1023" + "antialias" "1" + } + "4" + { + "name" "Tahoma" + "tall" "48" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1024 1199" + "antialias" "1" + } + "5" + { + "name" "Tahoma" + "tall" "56" + "weight" "1300" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "yres" "1200 6000" + "antialias" "1" + } + "6" + { + "name" "Tahoma" + "tall" "28" + "range" "0x0000 0x00FF" + "weight" "900" + } + } + } + + // + //////////////////// BORDERS ////////////////////////////// + // + // describes all the border types + Borders + { + BaseBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + + TitleButtonBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + TitleButtonDisabledBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "BgColor" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "BgColor" + "offset" "1 0" + } + } + Top + { + "1" + { + "color" "BgColor" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "BgColor" + "offset" "0 0" + } + } + } + + TitleButtonDepressedBorder + { + "inset" "1 1 1 1" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + + ScrollBarButtonBorder + { + "inset" "1 0 0 0" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + ScrollBarButtonDepressedBorder + { + "inset" "2 2 0 0" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + + ButtonBorder + { + "inset" "0 0 0 0" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "1 1" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + PropertySheetBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "ControlBG" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "ControlBG" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "ControlBG" + "offset" "0 1" + } + } + + Bottom + { + "1" + { + "color" "ControlBG" + "offset" "0 0" + } + } + } + FrameBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "ControlBG" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "ControlBG" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "ControlBG" + "offset" "0 1" + } + } + + Bottom + { + "1" + { + "color" "ControlBG" + "offset" "0 0" + } + } + } + + TabBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + + TabActiveBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "ControlBG" + "offset" "6 2" + } + } + } + + + ToolTipBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + // this is the border used for default buttons (the button that gets pressed when you hit enter) + ButtonKeyFocusBorder + { + "inset" "0 0 0 0" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "1 1" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + ButtonDepressedBorder + { + "inset" "0 0 0 0" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "1 1" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + ComboBoxBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + + MenuBorder + { + "inset" "1 1 1 1" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + BrowserBorder + { + "inset" "0 0 0 0" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + + BuyPresetBorder + { + "inset" "0 0 0 0" + Left + { + "1" + { + "color" "Border.BuyPreset" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.BuyPreset" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Border.BuyPreset" + "offset" "1 1" + } + } + + Bottom + { + "1" + { + "color" "Border.BuyPreset" + "offset" "0 0" + } + } + } + + BuyPresetButtonBorder + { + "inset" "0 0 0 0" + Left + { + "1" + { + "color" "Blank" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "1 1" + } + } + + Bottom + { + "1" + { + "color" "Blank" + "offset" "0 0" + } + } + } + + BlackBorder + { + "inset" "0 0 0 0" + Left + { + "1" + { + "color" "Black" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Black" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Black" + "offset" "1 1" + } + } + + Bottom + { + "1" + { + "color" "Black" + "offset" "0 0" + } + } + } + + ReplayStatsBorder + { + } + ReplayOutlinedGreyBox + { + "bordertype" "scalable_image" + "backgroundtype" "0" + + "image" "replay/outlinedgreybox" + "src_corner_height" "24" // pixels inside the image + "src_corner_width" "24" + "draw_corner_width" "11" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "11" + } + ReplayOutlinedDullGreyBox + { + "bordertype" "scalable_image" + "backgroundtype" "0" + + "image" "replay/dullgreybox" + "src_corner_height" "24" // pixels inside the image + "src_corner_width" "24" + "draw_corner_width" "11" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "11" + } + ReplayDefaultBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "ReplayBrowser.Thumbnail.Border.Default" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "ReplayBrowser.Thumbnail.Border.Default" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "ReplayBrowser.Thumbnail.Border.Default" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "ReplayBrowser.Thumbnail.Border.Default" + "offset" "0 0" + } + } + } + ReplayHighlightBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "ReplayBrowser.Thumbnail.Border.Highlight" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "ReplayBrowser.Thumbnail.Border.Highlight" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "ReplayBrowser.Thumbnail.Border.Highlight" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "ReplayBrowser.Thumbnail.Border.Highlight" + "offset" "0 0" + } + } + } + ReplayBalloonBorder + { + "bordertype" "scalable_image" + "backgroundtype" "0" + + "image" "replay/panel_scalable_balloon" + "src_corner_height" "23" // pixels inside the image + "src_corner_width" "23" + "draw_corner_width" "7" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "7" + } + ReplayGrayFillGrayBorder + { + "bordertype" "scalable_image" + "backgroundtype" "0" + + "image" "replay/gray_fill_gray_border" + "src_corner_height" "3" // pixels inside the image + "src_corner_width" "3" + "draw_corner_width" "1" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "1" + } + ReplayBrowser.ScrollBar.SliderButton.Border + { + } + + EconItemBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Econ.Dialog.FrameColor" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Econ.Dialog.FrameColor" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Econ.Dialog.FrameColor" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Econ.Dialog.FrameColor" + "offset" "0 0" + } + } + } + Econ.Button.Border.Default + { + "bordertype" "scalable_image" + "backgroundtype" "0" + + "image" "replay/gray_fill_gray_border" + "src_corner_height" "3" // pixels inside the image + "src_corner_width" "3" + "draw_corner_width" "1" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "1" + } + Econ.Button.Border.Armed + { + "bordertype" "scalable_image" + "backgroundtype" "0" + + "image" "replay/gray_fill_gray_border" + "src_corner_height" "3" // pixels inside the image + "src_corner_width" "3" + "draw_corner_width" "1" // screen size of the corners ( and sides ), proportional + "draw_corner_height" "1" + } + } + + //////////////////////// CUSTOM FONT FILES ///////////////////////////// + // + // specifies all the custom (non-system) font files that need to be loaded to service the above described fonts + CustomFontFiles + { + "1" "resource/cs.ttf" + "2" "resource/csd.ttf" + "3" "resource/Cstrike.ttf" + "4" "resource/CSlogo.ttf" + } + +} diff --git a/src/hud/resource/SourceScheme.res b/src/hud/resource/SourceScheme.res new file mode 100644 index 0000000..2ce46ea --- /dev/null +++ b/src/hud/resource/SourceScheme.res @@ -0,0 +1,1275 @@ +/////////////////////////////////////////////////////////// +// Tracker scheme resource file +// +// sections: +// Colors - all the colors used by the scheme +// BaseSettings - contains settings for app to use to draw controls +// Fonts - list of all the fonts used by app +// Borders - description of all the borders +// +/////////////////////////////////////////////////////////// +Scheme +{ + //////////////////////// COLORS /////////////////////////// + // color details + // this is a list of all the colors used by the scheme + Colors + { + // base colors + "Red" "255 0 0 255" + "White" "255 255 255 255" + "OffWhite" "216 216 216 255" + "DullWhite" "142 142 142 255" + "Orange" "255 0 0 255" + "TransparentBlack" "0 0 0 128" + "Black" "0 0 0 255" + "Blank" "0 0 0 0" + + "SteamLightGreen" "255 0 0 255" + "AchievementsLightGrey" "255 0 0 255" + "AchievementsDarkGrey" "255 0 0 128" + "AchievementsInactiveFG" "130 130 130 255" + "Yellowish" "255 0 0 255" + } + + ///////////////////// BASE SETTINGS //////////////////////// + // + // default settings for all panels + // controls use these to determine their settings + BaseSettings + { + // vgui_controls color specifications + Border.Bright "0 0 0 255" // the lit side of a control + Border.Dark "0 0 0 255" // the dark/unlit side of a control + Border.Selection "255 0 0 255" // the additional border color for displaying the default/selected button + + Button.TextColor "White" + Button.BgColor "25 25 25 255" + Button.ArmedTextColor "White" + Button.ArmedBgColor "255 0 0 50" + Button.DepressedTextColor "White" + Button.DepressedBgColor "255 0 0 128" + Button.FocusBorderColor "Black" + + CheckButton.TextColor "White" + CheckButton.SelectedTextColor "White" + CheckButton.BgColor "0 0 0 200" + CheckButton.Border1 "255 255 255 128" // the left checkbutton border + CheckButton.Border2 "255 255 255 128" // the right checkbutton border + CheckButton.Check "255 255 255 255" // color of the check itself + CheckButton.HighlightFgColor "255 255 255 128" + CheckButton.ArmedBgColor "Blank" + CheckButton.DepressedBgColor "Blank" + CheckButton.DisabledBgColor "Blank" + + ComboBoxButton.ArrowColor "255 0 0 128" + ComboBoxButton.ArmedArrowColor "255 0 0 255" + ComboBoxButton.BgColor "Blank" + ComboBoxButton.DisabledBgColor "Blank" + + Frame.TitleTextInsetX 16 + Frame.ClientInsetX 8 + Frame.ClientInsetY 6 + Frame.BgColor "0 0 0 185" //Overall overfalder + Frame.OutOfFocusBgColor "0 0 0 110" //Overfalder paa vinduer der er i baggrunden + Frame.FocusTransitionEffectTime "0.05" // time it takes for a window to fade in/out on focus/out of focus + Frame.TransitionEffectTime "0.05" // time it takes for a window to fade in/out on open/close + Frame.AutoSnapRange "0" + FrameGrip.Color1 "255 255 255 255" + FrameGrip.Color2 "0 0 0 100" + FrameTitleButton.FgColor "255 255 255 255" + FrameTitleButton.BgColor "Blank" + FrameTitleButton.DisabledFgColor "255 255 255 128" + FrameTitleButton.DisabledBgColor "Blank" + FrameSystemButton.FgColor "Blank" + FrameSystemButton.BgColor "Blank" + FrameSystemButton.Icon "" + FrameSystemButton.DisabledIcon "" + FrameTitleBar.Font "UiBold" + FrameTitleBar.TextColor "White" + FrameTitleBar.BgColor "Blank" + FrameTitleBar.DisabledTextColor "White" + FrameTitleBar.DisabledBgColor "Blank" + + GraphPanel.FgColor "White" + GraphPanel.BgColor "TransparentBlack" + + Label.TextDullColor "DullWhite" //locked text information + Label.TextColor "OffWhite" //standard label text + Label.TextBrightColor "White" //does not occur anywhere + Label.SelectedTextColor "255 0 0 255" //"White" //The section you have currently selected + Label.BgColor "Blank" //useless title background + Label.DisabledFgColor1 "80 80 80 255" //the dropshadow of disabled options labels + Label.DisabledFgColor2 "20 20 20 255" // the font color of disabled options labels + + ListPanel.TextColor "White" + ListPanel.TextBgColor "Blank" + ListPanel.BgColor "TransparentBlack" + ListPanel.SelectedTextColor "Black" + ListPanel.SelectedBgColor "255 0 0 255" + ListPanel.SelectedOutOfFocusBgColor "255 0 0 128" + ListPanel.EmptyListInfoTextColor "150 150 150 255" + + Menu.TextColor "White" + Menu.BgColor "0 0 0 120" + Menu.ArmedTextColor "Black" + Menu.ArmedBgColor "255 0 0 255" + Menu.TextInset "6" + + Panel.FgColor "DullWhite" + Panel.BgColor "Blank" + + ProgressBar.FgColor "255 0 0 128" + ProgressBar.BgColor "TransparentBlack" + + PropertySheet.TextColor "OffWhite" + PropertySheet.SelectedTextColor "White" + PropertySheet.TransitionEffectTime "0.25" // time to change from one tab to another + + RadioButton.TextColor "DullWhite" + RadioButton.SelectedTextColor "White" + + RichText.TextColor "OffWhite" + RichText.BgColor "TransparentBlack" + RichText.SelectedTextColor "Black" + RichText.SelectedBgColor "Red" + + ScrollBar.Wide "17" + + ScrollBarButton.FgColor "255 0 0 128" + ScrollBarButton.BgColor "Blank" + ScrollBarButton.ArmedFgColor "255 0 0 255" + ScrollBarButton.ArmedBgColor "Blank" + ScrollBarButton.DepressedFgColor "255 0 0 255" + ScrollBarButton.DepressedBgColor "TransparentBlack" + + ScrollBarSlider.FgColor "255 0 0 32" + ScrollBarSlider.BgColor "0 0 0 130" + + SectionedListPanel.HeaderTextColor "White" + SectionedListPanel.HeaderBgColor "Blank" + SectionedListPanel.DividerColor "0 0 0 255" + SectionedListPanel.TextColor "DullWhite" + SectionedListPanel.BrightTextColor "White" + SectionedListPanel.BgColor "TransparentBlack" + SectionedListPanel.SelectedTextColor "Black" + SectionedListPanel.SelectedBgColor "Red" + SectionedListPanel.OutOfFocusSelectedTextColor "Black" + SectionedListPanel.OutOfFocusSelectedBgColor "DarkBlue" + + Slider.NobColor "255 0 0 128" + Slider.TextColor "180 180 180 255" + Slider.TrackColor "0 0 0 50" + Slider.DisabledTextColor1 "117 117 117 255" + Slider.DisabledTextColor2 "30 30 30 255" + + TextEntry.TextColor "White" + TextEntry.BgColor "TransparentBlack" + TextEntry.CursorColor "255 0 0 255" + TextEntry.DisabledTextColor "DullWhite" + TextEntry.DisabledBgColor "Blank" + TextEntry.SelectedTextColor "Black" + TextEntry.SelectedBgColor "Red" + TextEntry.OutOfFocusSelectedBgColor "DarkBlue" + TextEntry.FocusEdgeColor "0 0 0 196" + + ToggleButton.SelectedTextColor "White" + + Tooltip.TextColor "OffWhite" + Tooltip.BgColor "TransparentBlack" + + TreeView.BgColor "TransparentBlack" + + WizardSubPanel.BgColor "Blank" + + // scheme-specific colors + MainMenu.TextColor "200 200 200 150" + MainMenu.ArmedTextColor "Red" + MainMenu.DepressedTextColor "DarkBlue" + MainMenu.MenuItemHeight "25" + MainMenu.Inset "32" + MainMenu.Backdrop "0 0 0 175" + + Console.TextColor "Red" + Console.DevTextColor "White" + + NewGame.TextColor "White" + NewGame.FillColor "0 0 0 255" + NewGame.SelectionColor "Orange" [$WIN32] + NewGame.SelectionColor "0 0 0 255" [$X360] + NewGame.DisabledColor "128 128 128 196" + + MessageDialog.MatchmakingBG "46 43 42 255" [$X360] + MessageDialog.MatchmakingBGBlack "22 22 22 255" [$X360] + + MatchmakingMenuItemTitleColor "200 184 151 255" [$X360] + MatchmakingMenuItemDescriptionColor "200 184 151 255" [$X360] + + "QuickListBGDeselected" "AchievementsDarkGrey" + "QuickListBGSelected" "AchievementsLightGrey" + } + + //////////////////////// BITMAP FONT FILES ///////////////////////////// + // + // Bitmap Fonts are ****VERY*** expensive static memory resources so they are purposely sparse + BitmapFontFiles + { + // UI buttons, custom font, (256x64) + "Buttons" "materials/vgui/fonts/buttons_32.vbf" + } + + //////////////////////// FONTS ///////////////////////////// + // + // describes all the fonts + Fonts + { + // fonts are used in order that they are listed + // fonts listed later in the order will only be used if they fulfill a range not already filled + // if a font fails to load then the subsequent fonts will replace + // fonts are used in order that they are listed + "DebugFixed" + { + "1" + { + "name" "Terminus" + "tall" "9" + "weight" "500" + "dropshadow" "1" + } + } + // fonts are used in order that they are listed + "DebugFixedSmall" + { + "1" + { + "name" "Terminus" + "tall" "9" + "weight" "500" + "dropshadow" "1" + } + } + "DefaultFixedOutline" + { + "1" + { + "name" "Terminus" + "tall" "9" + "weight" "500" + "dropshadow" "1" + } + } + "Default" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana" [$OSX] + "tall" "13" + "weight" "500" + } + } + "DefaultBold" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana Bold" [$OSX] + "tall" "13" + "weight" "1000" + } + } + "DefaultUnderline" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana" [$OSX] + "tall" "13" + "weight" "500" + "underline" "1" + } + } + "DefaultSmall" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana" [$OSX] + "tall" "13" [!$OSX] + "tall" "13" [$OSX] + "weight" "0" + } + } + "DefaultSmallDropShadow" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana" [$OSX] + "tall" "13" + "weight" "0" + "dropshadow" "1" + } + } + "DefaultVerySmall" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana" [$OSX] + "tall" "13" + "weight" "0" + } + } + + "DefaultLarge" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana" [$OSX] + "tall" "13" + "weight" "0" + } + } + "UiBold" + { + "1" + { + "name" "Tahoma" + "tall" "14" + "weight" "700" + "dropshadow" "1" + "antialias" "0" + "outline" "0" + } + } + "ChapterTitle" [$X360] + { + "1" + { + "name" "Tahoma" + "tall" "13" + "tall_hidef" "28" + "weight" "2000" + "outline" "1" + } + } + "ChapterTitleBlur" [$X360] + { + "1" + { + "name" "Tahoma" + "tall" "13" + "tall_hidef" "28" + "weight" "2000" + "blur" "3" + "blur_hidef" "5" + } + } + "MenuLarge" + { + "1" + { + "name" "Tahoma" + "tall" "13" + "weight" "600" + "antialias" "1" + "additive" "1" + } + } + "AchievementTitleFont" + { + "1" + { + "name" "Verdana" + "tall" "20" + "weight" "1200" + "antialias" "1" + "outline" "1" + } + } + + "AchievementTitleFontSmaller" + { + "1" + { + "name" "Verdana" + "tall" "18" + "weight" "1200" + "antialias" "1" + //"outline" "1" + } + } + + + "AchievementDescriptionFont" + { + "1" + { + "name" "Verdana" + "tall" "15" + "weight" "1200" + "antialias" "1" + "outline" "1" + "yres" "0 480" + } + "2" + { + "name" "Verdana" + "tall" "20" + "weight" "1200" + "antialias" "1" + "outline" "1" + "yres" "481 10000" + } + } + + GameUIButtons + { + "1" [$X360] + { + "bitmap" "1" + "name" "Buttons" + "scalex" "0.63" + "scaley" "0.63" + "scalex_hidef" "1.0" + "scaley_hidef" "1.0" + "scalex_lodef" "0.75" + "scaley_lodef" "0.75" + } + } + "ConsoleText" + { + "1" + { + "name" "Terminus" + "tall" "9" + "weight" "500" + "antialias" "0" + } + } + + // this is the symbol font + "Marlett" + { + "1" + { + "name" "Marlett" + "tall" "14" + "weight" "0" + "symbol" "1" + } + } + + // This is the center speed display on KSF + "Trebuchet24" + { + "1" + { + "name" "Tahoma" + "tall" "26" + "weight" "700" + "outline" "1" + } + } + + // HUD numbers + // We use multiple fonts to 'pulse' them in the HUD, hence the need for many of near size + "HUDNumber" + { + "1" + { + "name" "Trebuchet MS" + "tall" "40" + "weight" "900" + } + } + "HUDNumber1" + { + "1" + { + "name" "Trebuchet MS" + "tall" "41" + "weight" "900" + } + } + "HUDNumber2" + { + "1" + { + "name" "Trebuchet MS" + "tall" "42" + "weight" "900" + } + } + "HUDNumber3" + { + "1" + { + "name" "Trebuchet MS" + "tall" "43" + "weight" "900" + } + } + "HUDNumber4" + { + "1" + { + "name" "Trebuchet MS" + "tall" "44" + "weight" "900" + } + } + "HUDNumber5" + { + "1" + { + "name" "Trebuchet MS" + "tall" "45" + "weight" "900" + } + } + "DefaultFixed" + { + "1" + { + "name" "Terminus" [$WINDOWS] + "name" "Terminus" [$X360] + "name" "Verdana" [$POSIX] + "tall" "11" [$POSIX] + "tall" "9" + "weight" "0" + } +// "1" +// { +// "name" "FixedSys" +// "tall" "20" +// "weight" "0" +// } + } + + "DefaultFixedDropShadow" + { + "1" + { + "name" "Terminus" [$WINDOWS] + "name" "Terminus" [$X360] + "name" "Verdana" [$POSIX] + "tall" "11" [$POSIX] + "tall" "9" + "weight" "0" + "dropshadow" "1" + } +// "1" +// { +// "name" "FixedSys" +// "tall" "20" +// "weight" "0" +// } + } + + "CloseCaption_Normal" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana" [$OSX] + "tall" "16" + "weight" "500" + } + } + "CloseCaption_Italic" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana Italic" [$OSX] + "tall" "16" + "weight" "500" + "italic" "1" + } + } + "CloseCaption_Bold" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana Bold" [$OSX] + "tall" "16" + "weight" "900" + } + } + "CloseCaption_BoldItalic" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana Bold Italic" [$OSX] + "tall" "16" + "weight" "900" + "italic" "1" + } + } + + TitleFont + { + "1" + { + "name" "HalfLife2" + "tall" "72" + "weight" "400" + "antialias" "1" + "custom" "1" + } + } + + TitleFont2 + { + "1" + { + "name" "HalfLife2" + "tall" "120" + "weight" "400" + "antialias" "1" + "custom" "1" + } + } + + AppchooserGameTitleFont [$X360] + { + "1" + { + "name" "Trebuchet MS" + "tall" "16" + "tall_hidef" "24" + "weight" "900" + "antialias" "1" + } + } + + AppchooserGameTitleFontBlur [$X360] + { + "1" + { + "name" "Trebuchet MS" + "tall" "16" + "tall_hidef" "24" + "weight" "900" + "blur" "3" + "blur_hidef" "5" + "antialias" "1" + } + } + + StatsTitle [$WIN32] + { + "1" + { + "name" "Arial" [!$OSX] + "name" "Verdana Bold" [$OSX] + "weight" "2000" + "tall" "20" + "antialias" "1" + } + } + + StatsText [$WIN32] + { + "1" + { + "name" "Arial" [!$OSX] + "name" "Verdana Bold" [$OSX] + "weight" "2000" + "tall" "18" + "antialias" "1" + } + } + + AchievementItemTitle [$WIN32] + { + "1" + { + "name" "Arial" [!$OSX] + "name" "Verdana Bold" [$OSX] + "weight" "1500" + "tall" "16" [!$OSX] + "tall" "18" [$OSX] + "antialias" "1" + } + } + + AchievementItemDate [$WIN32] + { + "1" + { + "name" "Arial" [!$OSX] + "name" "Verdana Bold" [$OSX] + "weight" "1500" + "tall" "16" + "antialias" "1" + } + } + + + StatsPageText + { + "1" + { + "name" "Arial" [!$OSX] + "name" "Verdana Bold" [$OSX] + "weight" "1500" + "tall" "14" [!$OSX] + "tall" "16" [$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" "15" [$OSX] + "antialias" "1" + } + } + + + "ServerBrowserTitle" + { + "1" + { + "name" "Tahoma" [!$OSX] + "name" "Verdana" [$OSX] + "tall" "14" + "tall_lodef" "40" + "weight" "500" + "additive" "0" + "dropshadow" "1" + } + } + + "ServerBrowserSmall" + { + "1" + { + "name" "Tahoma" + "tall" "14" + "weight" "0" + "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A + "dropshadow" "1" + } + } + + } + + // + //////////////////// BORDERS ////////////////////////////// + // + // describes all the border types + Borders + { + BaseBorder DepressedBorder + ButtonBorder RaisedBorder + ComboBoxBorder DepressedBorder + MenuBorder RaisedBorder + BrowserBorder DepressedBorder + PropertySheetBorder RaisedBorder + + FrameBorder + { + // rounded corners for frames + "backgroundtype" "0" + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "0 0 0 80" //"Border.Dark" + "offset" "0 0" + } + "2" + { + "color" "255 0 0 50" //"Border.Dark" + "offset" "1 1" + } + } + + Right + { + "1" + { + "color" "0 0 0 80" //"Border.Dark" + "offset" "0 0" + } + "2" + { + "color" "255 0 0 50" //"Border.Dark" + "offset" "1 1" + } + } + + Top + { + "1" + { + "color" "0 0 0 80" //"Border.Dark" + "offset" "0 0" + } + "2" + { + "color" "255 0 0 50" //"Border.Dark" + "offset" "2 2" + } + } + + Bottom + { + "1" + { + "color" "0 0 0 80" //"Border.Dark" + "offset" "0 0" + } + "2" + { + "color" "255 0 0 50" //"Border.Dark" + "offset" "2 2" + } + } + } + + DepressedBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + RaisedBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + TitleButtonBorder + { + "backgroundtype" "0" + } + + TitleButtonDisabledBorder + { + "backgroundtype" "0" + } + + TitleButtonDepressedBorder + { + "backgroundtype" "0" + } + + ScrollBarButtonBorder + { + "inset" "2 2 0 0" [!$OSX] + "inset" "-3 2 0 0" [$OSX] + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + ScrollBarButtonDepressedBorder + { + "inset" "2 2 0 0" [!$OSX] + "inset" "-3 2 0 0" [$OSX] + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + + TabBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + + } + + TabActiveBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + "2" + { + "color" "255 0 0 100" //"Border.Bright" + "offset" "1 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + "2" + { + "color" "255 0 0 100" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + "2" + { + "color" "255 0 0 100" + "offset" "2 2" + } + } + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + "2" + { + "color" "255 0 0 100" + "offset" "2 2" + } + } + + } + + + ToolTipBorder + { + "inset" "0 0 1 0" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Right + { + "1" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + } + + // this is the border used for default buttons (the button that gets pressed when you hit enter) + ButtonKeyFocusBorder + { + "inset" "0 0 1 1" + Left + { + "1" + { + "color" "Border.Selection" + "offset" "0 0" + } + "2" + { + "color" "Border.Bright" + "offset" "0 1" + } + } + Top + { + "1" + { + "color" "Border.Selection" + "offset" "0 0" + } + "2" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + Right + { + "1" + { + "color" "Border.Selection" + "offset" "0 0" + } + "2" + { + "color" "Border.Dark" + "offset" "1 0" + } + } + Bottom + { + "1" + { + "color" "Border.Selection" + "offset" "0 0" + } + "2" + { + "color" "Border.Dark" + "offset" "1 1" + } + } + } + + ButtonDepressedBorder + { + "inset" "2 1 1 1" + Left + { + "1" + { + "color" "Border.Dark" + "offset" "0 1" + } + } + + Right + { + "1" + { + "color" "Border.Bright" + "offset" "1 0" + } + } + + Top + { + "1" + { + "color" "Border.Dark" + "offset" "0 0" + } + } + + Bottom + { + "1" + { + "color" "Border.Bright" + "offset" "0 0" + } + } + } + } + + //////////////////////// CUSTOM FONT FILES ///////////////////////////// + // + // specifies all the custom (non-system) font files that need to be loaded to service the above described fonts + CustomFontFiles + { + "1" "resource/HALFLIFE2.ttf" + "2" "resource/HL2EP2.ttf" + "3" "resource/marlett.ttf" + } +} \ No newline at end of file diff --git a/src/hud/resource/ui/BuyMenu.res b/src/hud/resource/ui/BuyMenu.res new file mode 100644 index 0000000..924f008 --- /dev/null +++ b/src/hud/resource/ui/BuyMenu.res @@ -0,0 +1,64 @@ +// ______________________ +//___________.( h0lmGUI™v4.1 by h0lm ).___________ +//ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +"Resource/UI/BuyMenu.res" +{ + "buy" + { + "ControlName" "CBuyMenu" + "fieldName" "buy" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "setTitleBarVisible" "0" + } + "BuySubMenu" + { + "ControlName" "WizardSubPanel" + "fieldName" "BuySubMenu" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "autoResize" "3" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + } + "LinePanel2" + { + "ControlName" "ImagePanel" + "fieldName" "LinePanel2" + "xpos" "25" + "ypos" "20" + "zpos" "0" + "wide" "590" + "tall" "53" + "visible" "1" + "PaintBackgroundType" "2" + "fillcolor" "0 0 0 196" + } + "LinePanel" + { + "ControlName" "ImagePanel" + "fieldName" "LinePanel" + "xpos" "25" + "ypos" "78" + "zpos" "0" + "wide" "590" + "tall" "352" + "visible" "1" + "PaintBackgroundType" "2" + "fillcolor" "0 0 0 196" + } +} +//________________________________________________ +//ŻŻŻŻŻŻŻŻŻŻŻ'( h0lmGUI™v4.1 by h0lm )'ŻŻŻŻŻŻŻŻŻŻŻ +// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ \ No newline at end of file diff --git a/src/hud/resource/ui/Classmenu_CT.res b/src/hud/resource/ui/Classmenu_CT.res new file mode 100644 index 0000000..c417d9c --- /dev/null +++ b/src/hud/resource/ui/Classmenu_CT.res @@ -0,0 +1,284 @@ +// ______________________ +//___________.( h0lmGUI™v4.1 by h0lm ).___________ +//ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +"Resource/UI/ClassMenu_CT.res" +{ + "class_ct" + { + "ControlName" "Frame" + "fieldName" "class_ct" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + } + + "SysMenu" + { + "ControlName" "Menu" + "fieldName" "SysMenu" + "xpos" "0" + "ypos" "0" + "wide" "64" + "tall" "24" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "tabPosition" "0" + } + "Backgroundz" + { + "ControlName" "ImagePanel" + "fieldName" "Backgroundz" + "xpos" "115" + "ypos" "c-134" + "zpos" "0" + "wide" "411" + "tall" "40" + "visible" "1" + "fillcolor" "0 0 0 196" + } + + "Backgroundx" + { + "ControlName" "ImagePanel" + "fieldName" "Backgroundx" + "xpos" "115" + "ypos" "c-91" + "zpos" "0" + "wide" "411" + "tall" "227" + "visible" "1" + "fillcolor" "0 0 0 196" + } + + "HeadlineZ" + { + "ControlName" "Label" + "fieldName" "HeadlineZ" + "xpos" "127" + "ypos" "c-124" + "wide" "200" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "PICK A WARRIOR" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "TeamMenuHeadLine" + "fgcolor_override" "255 255 255 255" + //"bgcolor_override" "200 200 200 100" + } + + "LOLmlogo" + { + "ControlName" "Label" + "fieldName" "LOLmlogo" + "xpos" "428" + "ypos" "c-124" + "wide" "200" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "COUN" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "MenuLogogo" + "fgcolor_override" "255 255 255 20" + } + "joinClass" + { + "ControlName" "Label" + "fieldName" "joinClass" + "xpos" "76" + "ypos" "22" + "wide" "450" + "tall" "48" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_Join_Class" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "MenuTitle" + "fgcolor_override" "255 255 255 0" + } + + "classInfoLabel" + { + } + + "ClassInfo" + { + "ControlName" "Panel" + "fieldName" "ClassInfo" + "xpos" "290" //"244" + "ypos" "164" + "wide" "0" //"400" + "tall" "0" //"380" + "autoResize" "2" //"3" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "tabPosition" "0" + } + + "urban" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "urban" + "xpos" "132" + "ypos" "162" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_Urban" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 5" + } + + "gsg9" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "gsg9" + "xpos" "132" + "ypos" "192" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_GSG9" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 6" + } + + "sas" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "sas" + "xpos" "132" + "ypos" "222" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_SAS" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 7" + } + + "gign" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "gign" + "xpos" "132" + "ypos" "252" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_GIGN" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 8" + } + + "autoselect_ct" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "autoselect_ct" + "xpos" "132" + "ypos" "312" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_Auto_Select" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 0" + "Default" "1" + } + + "deadspec" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "deadspec" + "xpos" "132" + "ypos" "282" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "&5 DEAD SPECTATE" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "vguicancel" + "Default" "1" + } + + "CancelButton" + { + "ControlName" "Button" + "fieldName" "CancelButton" + "xpos" "132" + "ypos" "342" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_Cancel" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "Command" "vguicancel" + } +} +//________________________________________________ +//ŻŻŻŻŻŻŻŻŻŻŻ'( h0lmGUI™v4.1 by h0lm )'ŻŻŻŻŻŻŻŻŻŻŻ +// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ \ No newline at end of file diff --git a/src/hud/resource/ui/Classmenu_TER.res b/src/hud/resource/ui/Classmenu_TER.res new file mode 100644 index 0000000..090798b --- /dev/null +++ b/src/hud/resource/ui/Classmenu_TER.res @@ -0,0 +1,283 @@ +// ______________________ +//___________.( h0lmGUI™v4.1 by h0lm ).___________ +//ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +"Resource/UI/ClassMenu_TER.res" +{ + "class_ter" + { + "ControlName" "Frame" + "fieldName" "class_ter" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + } + + "SysMenu" + { + "ControlName" "Menu" + "fieldName" "SysMenu" + "xpos" "0" + "ypos" "0" + "wide" "64" + "tall" "24" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "tabPosition" "0" + } + "Backgroundz" + { + "ControlName" "ImagePanel" + "fieldName" "Backgroundz" + "xpos" "115" + "ypos" "c-134" + "zpos" "0" + "wide" "411" + "tall" "40" + "visible" "1" + "fillcolor" "0 0 0 196" + } + + "Backgroundx" + { + "ControlName" "ImagePanel" + "fieldName" "Backgroundx" + "xpos" "115" + "ypos" "c-91" + "zpos" "0" + "wide" "411" + "tall" "227" + "visible" "1" + "fillcolor" "0 0 0 196" + } + + "HeadlineZ" + { + "ControlName" "Label" + "fieldName" "HeadlineZ" + "xpos" "127" + "ypos" "c-124" + "wide" "200" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "PICK A WARRIOR" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "TeamMenuHeadLine" + "fgcolor_override" "255 255 255 255" + //"bgcolor_override" "200 200 200 100" + } + + "LOLmlogo" + { + "ControlName" "Label" + "fieldName" "LOLmlogo" + "xpos" "428" + "ypos" "c-124" + "wide" "200" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "COUN" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "MenuLogogo" + "fgcolor_override" "255 255 255 20" + } + "joinClass" + { + "ControlName" "Label" + "fieldName" "joinClass" + "xpos" "76" + "ypos" "22" + "wide" "450" + "tall" "48" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_Join_Class" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "MenuTitle" + "fgcolor_override" "255 255 255 0" + } + + "classInfoLabel" + { + } + + "ClassInfo" + { + "ControlName" "Panel" + "fieldName" "ClassInfo" + "xpos" "290" //"244" + "ypos" "164" + "wide" "0" //"400" + "tall" "0" //"380" + "autoResize" "2" //"3" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "tabPosition" "0" + } + + "terror" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "terror" + "xpos" "132" + "ypos" "162" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_Terror" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 1" + } + + "leet" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "leet" + "xpos" "132" + "ypos" "192" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_L337_Krew" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 2" + } + + "arctic" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "arctic" + "xpos" "132" + "ypos" "222" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_Arctic" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 3" + } + + "guerilla" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "guerilla" + "xpos" "132" + "ypos" "252" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_Guerilla" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 4" + } + + "autoselect_t" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "autoselect_t" + "xpos" "132" + "ypos" "312" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_Auto_Select" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "joinclass 0" + "Default" "1" + } + "deadspec" + { + "ControlName" "MouseOverPanelButton" + "fieldName" "deadspec" + "xpos" "132" + "ypos" "282" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "&5 DEAD SPECTATE" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "vguicancel" + "Default" "1" + } + + "CancelButton" + { + "ControlName" "Button" + "fieldName" "CancelButton" + "xpos" "132" + "ypos" "342" + "wide" "148" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "#Cstrike_Cancel" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "Command" "vguicancel" + } +} +//________________________________________________ +//ŻŻŻŻŻŻŻŻŻŻŻ'( h0lmGUI™v4.1 by h0lm )'ŻŻŻŻŻŻŻŻŻŻŻ +// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ \ No newline at end of file diff --git a/src/hud/resource/ui/ScoreBoard.res b/src/hud/resource/ui/ScoreBoard.res new file mode 100644 index 0000000..394a53d --- /dev/null +++ b/src/hud/resource/ui/ScoreBoard.res @@ -0,0 +1,935 @@ +"Resource/UI/ScoreBoard.res" +{ + "scores" + { + "ControlName" "CCSClientScoreBoardDialog" + "fieldName" "scores" + "xpos" "0" + "ypos" "0" + "zpos" "90" + "wide" "f0" + "tall" "480" + "settitlebarvisible" "0" + } + + "ScoreboardBackground" + { + "ControlName" "ImagePanel" + "fieldName" "ScoreboardBackground" + "xpos" "c-295" + "ypos" "c-158" + "wide" "590" + "tall" "253" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "0 0 0 200" + } + "Spec_Label" + { + "ControlName" "Label" + "fieldName" "Spec_Label" + "xpos" "c-288" + "ypos" "c+59" + "zpos" "4" + "wide" "140" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "Broadcast" + "textAlignment" "south-west" + "font" "ScoreboardTeamName" + "fgcolor_override" "255 255 255 255" + } + "HeadLine" + { + "ControlName" "ImagePanel" + "fieldName" "HeadLine" + "xpos" "c-290" + "ypos" "c-144" + "wide" "580" + "tall" "1" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "255 255 255 255" + } + "SpecLine" + { + "ControlName" "ImagePanel" + "fieldName" "HeadLine" + "xpos" "c-290" + "ypos" "c+75" + "wide" "580" + "tall" "1" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "255 255 255 255" + } + "CTLine" + { + "ControlName" "ImagePanel" + "fieldName" "CTLine" + "xpos" "c-290" + "ypos" "c-125" + "wide" "290" + "tall" "1" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "128 206 255 255" + } + "TLine" + { + "ControlName" "ImagePanel" + "fieldName" "TLine" + "xpos" "c+0" + "ypos" "c-125" + "wide" "290" + "tall" "1" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "255 26 28 255" + } + "CTScoreBox" + { + "ControlName" "ImagePanel" + "fieldName" "CTScoreBox" + "xpos" "c-60" + "ypos" "c-137" + "wide" "25" + "tall" "12" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "128 206 255 255" + } + "TScoreBox" + { + "ControlName" "ImagePanel" + "fieldName" "TScoreBox" + "xpos" "c+35" + "ypos" "c-137" + "wide" "25" + "tall" "12" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "255 26 28 255" + } + "CTPlayerBox1" + { + "ControlName" "ImagePanel" + "fieldName" "PlayerBox1" + "xpos" "c-290" + "ypos" "c-105" + "wide" "287" + "tall" "163" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "0 0 0 40" + } + "TPlayerBox1" + { + "ControlName" "ImagePanel" + "fieldName" "PlayerBox1" + "xpos" "c+4" + "ypos" "c-105" + "wide" "287" + "tall" "163" + "visible" "1" + "enabled" "1" + "PaintBackgroundType" "0" + "fillcolor" "0 0 0 40" + } + "ServerNameLabel" + { + "ControlName" "Label" + "fieldName" "ServerNameLabel" + "xpos" "c-288" + "ypos" "c-157" + "zpos" "4" + "wide" "100" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "" + "auto_wide_tocontents" "1" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "1" + "font" "ScoreboardHeader" + "fgcolor_override" "255 255 255 255" + } + + "DividerLabel1" + { + "ControlName" "Label" + "fieldName" "DividerLabel1" + "xpos" "10" + "ypos" "0" + "zpos" "4" + "wide" "5" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "-" + "auto_wide_tocontents" "1" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "1" + "font" "ScoreboardHeader" + "fgcolor_override" "255 255 255 255" + "pin_to_sibling" "ServerNameLabel" + "pin_corner_to_sibling" "2" + "pin_to_sibling_corner" "3" + } + "MapName" + { + "ControlName" "Label" + "fieldName" "MapName" + "xpos" "10" + "ypos" "0" + "zpos" "4" + "wide" "30" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "%mapname%" + "auto_wide_tocontents" "1" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "1" + "font" "ScoreboardHeader" + "fgcolor_override" "255 255 255 255" + "pin_to_sibling" "DividerLabel1" + "pin_corner_to_sibling" "2" + "pin_to_sibling_corner" "3" + } + "DividerLabel2" + { + "ControlName" "Label" + "fieldName" "DividerLabel2" + "xpos" "1" + "ypos" "0" + "zpos" "4" + "wide" "5" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "/" + "auto_wide_tocontents" "1" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "1" + "font" "ScoreboardHeader" + "fgcolor_override" "255 255 255 255" + "pin_to_sibling" "MapName" + "pin_corner_to_sibling" "2" + "pin_to_sibling_corner" "3" + } + + "StatsStatus" + { + "ControlName" "Label" + "fieldName" "StatsStatus" + "xpos" "1" + "ypos" "0" + "zpos" "4" + "wide" "65" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "%statsstatus%" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "1" + "font" "ScoreboardHeader" + "fgcolor_override" "255 255 255 255" + "pin_to_sibling" "DividerLabel2" + "pin_corner_to_sibling" "2" + "pin_to_sibling_corner" "3" + } + + "PositionLabel" + { + "ControlName" "Label" + "fieldName" "PositionLabel" + "xpos" "c+287" + "ypos" "c-157" + "zpos" "4" + "wide" "1" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "" + "auto_wide_tocontents" "1" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "1" + "font" "ScoreboardHeader" + "fgcolor_override" "0 0 0 0" + } + "WinConditionLabel" + { + "ControlName" "Label" + "fieldName" "WinConditionLabel" + "xpos" "0" + "ypos" "0" + "zpos" "4" + "wide" "80" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "" + "auto_wide_tocontents" "1" + "textAlignment" "east" + "font" "ScoreboardHeader" + "fgcolor_override" "255 255 255 255" + "pin_to_sibling" "PositionLabel" + "pin_corner_to_sibling" "3" + "pin_to_sibling_corner" "2" + } + + + "CT_Label" + { + "ControlName" "Label" + "fieldName" "CT_Label" + "xpos" "c-288" + "ypos" "c-138" + "zpos" "4" + "wide" "140" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "Counter-Terrorists" //"%ct_teamname%" + "auto_wide_tocontents" "1" + "textAlignment" "west" + "font" "ScoreboardTeamName" + "fgcolor_override" "128 206 255 255" + } + "CTSeperator" + { + "ControlName" "Label" + "fieldName" "CTSeperator" + "xpos" "10" + "ypos" "0" + "zpos" "4" + "wide" "5" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "-" + "auto_wide_tocontents" "1" + "textAlignment" "west" + "font" "ScoreboardPlayersAlive" + "fgcolor_override" "128 206 255 255" + "pin_to_sibling" "CT_Label" + "pin_corner_to_sibling" "2" + "pin_to_sibling_corner" "3" + } + "CTPlayersAlive" + { + "ControlName" "Label" + "fieldName" "CTPlayersAlive" + "xpos" "10" + "ypos" "0" + "zpos" "4" + "wide" "45" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "%ct_alivecount%" + "auto_wide_tocontents" "1" + "textAlignment" "west" + "font" "ScoreboardPlayersAlive" + "fgcolor_override" "128 206 255 255" + "pin_to_sibling" "CTSeperator" + "pin_corner_to_sibling" "2" + "pin_to_sibling_corner" "3" + } + "CTPlayersAliveSuffix" + { + "ControlName" "Label" + "xpos" "4" + "ypos" "0" + "zpos" "4" + "wide" "80" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_Scoreboard_PlayersAlive" + "textAlignment" "west" + "font" "ScoreboardPlayersAliveSuffix" + "fgcolor_override" "128 206 255 255" + "pin_to_sibling" "CTPlayersAlive" + "pin_corner_to_sibling" "2" + "pin_to_sibling_corner" "3" + } + + "CTTeamScore" + { + "ControlName" "Label" + "fieldName" "CTTeamScore" + "xpos" "c-97" + "ypos" "c-138" + "zpos" "4" + "wide" "100" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "%ct_totalteamscore%" + "textAlignment" "center" + "font" "ScoreboardScore" + "fgcolor_override" "255 255 255 255" + } + + "T_Label" + { + "ControlName" "Label" + "fieldName" "T_Label" + "xpos" "c+256" + "ypos" "c-138" + "zpos" "4" + "wide" "140" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "Terrorists" //"%t_teamname%" + "auto_wide_tocontents" "1" + "textAlignment" "east" + "font" "ScoreboardTeamName" + "fgcolor_override" "255 26 28 255" + } + "TSeperator" + { + "ControlName" "Label" + "fieldName" "TSeperator" + "xpos" "10" + "ypos" "0" + "zpos" "4" + "wide" "5" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "-" + "auto_wide_tocontents" "1" + "textAlignment" "east" + "font" "ScoreboardPlayersAlive" + "fgcolor_override" "255 26 28 255" + "pin_to_sibling" "T_Label" + "pin_corner_to_sibling" "3" + "pin_to_sibling_corner" "2" + } + "TPlayersAlive" + { + "ControlName" "Label" + "fieldName" "TPlayersAlive" + "xpos" "10" + "ypos" "0" + "zpos" "4" + "wide" "45" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "%t_alivecount%" + "auto_wide_tocontents" "1" + "textAlignment" "east" + "font" "ScoreboardPlayersAlive" + "fgcolor_override" "255 26 28 255" + "pin_to_sibling" "TSeperator" + "pin_corner_to_sibling" "3" + "pin_to_sibling_corner" "2" + } + "TPlayersAliveSuffix" + { + "ControlName" "Label" + "xpos" "4" + "ypos" "0" + "zpos" "4" + "wide" "80" + "tall" "15" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_Scoreboard_PlayersAlive" + "textAlignment" "east" + "font" "ScoreboardPlayersAliveSuffix" + "fgcolor_override" "255 26 28 255" + "pin_to_sibling" "TPlayersAlive" + "pin_corner_to_sibling" "3" + "pin_to_sibling_corner" "2" + } + + + "TTeamScore" + { + "ControlName" "Label" + "fieldName" "TTeamScore" + "xpos" "c-3" + "ypos" "c-138" + "zpos" "4" + "wide" "100" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "%t_totalteamscore%" + "textAlignment" "center" + "font" "ScoreboardScore" + "fgcolor_override" "255 255 255 255" + } + + "CTClanLabel" + { + "ControlName" "Label" + "fieldName" "CTClanLabel" + "xpos" "c-275" + "ypos" "c-125" + "zpos" "4" + "wide" "45" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "Clan" + "textAlignment" "center" + "font" "ScoreboardColumns" + "fgcolor_override" "128 206 255 255" + } + + "CTPlayerLabel" + { + "ControlName" "Label" + "fieldName" "CTPlayerLabel" + "xpos" "c-228" + "ypos" "c-125" + "zpos" "4" + "wide" "60" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_SB_PlayerName" + "textAlignment" "west" + "font" "ScoreboardColumns" + "fgcolor_override" "128 206 255 255" + } + + "CTPlayerScoreLabel" + { + "ControlName" "Label" + "fieldName" "CTPlayerScoreLabel" + "xpos" "c-93" + "ypos" "c-125" + "zpos" "4" + "wide" "30" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_SB_Score" + "textAlignment" "center" + "font" "ScoreboardColumns" + "fgcolor_override" "128 206 255 255" + } + + "CTPlayerDeathsLabel" + { + "ControlName" "Label" + "fieldName" "CTPlayerDeathsLabel" + "xpos" "c-68" + "ypos" "c-125" + "zpos" "4" + "wide" "37" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_SB_Deaths" + "textAlignment" "center" + "font" "ScoreboardColumns" + "fgcolor_override" "128 206 255 255" + } + + "CTPlayerLatencyLabel" + { + "ControlName" "Label" + "fieldName" "CTPlayerLatencyLabel" + "xpos" "c-39" + "ypos" "c-125" + "zpos" "4" + "wide" "42" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_SB_Latency" + "textAlignment" "center" + "font" "ScoreboardColumns" + "fgcolor_override" "128 206 255 255" + } + + "TClanLabel" + { + "ControlName" "Label" + "fieldName" "TClanLabel" + "xpos" "c+20" + "ypos" "c-125" + "zpos" "4" + "wide" "45" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "Clan" + "textAlignment" "center" + "font" "ScoreboardColumns" + "fgcolor_override" "255 26 28 255" + } + + "TPlayerLabel" + { + "ControlName" "Label" + "fieldName" "TPlayerLabel" + "xpos" "c+67" + "ypos" "c-125" + "zpos" "4" + "wide" "60" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_SB_PlayerName" + "textAlignment" "west" + "font" "ScoreboardColumns" + "fgcolor_override" "255 26 28 255" + } + + "TPlayerScoreLabel" + { + "ControlName" "Label" + "fieldName" "TPlayerScoreLabel" + "xpos" "c+200" + "ypos" "c-125" + "zpos" "4" + "wide" "30" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_SB_Score" + "textAlignment" "center" + "font" "ScoreboardColumns" + "fgcolor_override" "255 26 28 255" + } + + "TPlayerDeathsLabel" + { + "ControlName" "Label" + "fieldName" "TPlayerDeathsLabel" + "xpos" "c+225" + "ypos" "c-125" + "zpos" "4" + "wide" "37" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_SB_Deaths" + "textAlignment" "center" + "font" "ScoreboardColumns" + "fgcolor_override" "255 26 28 255" + } + + "TPlayerLatencyLabel" + { + "ControlName" "Label" + "fieldName" "TPlayerLatencyLabel" + "xpos" "c+252" + "ypos" "c-125" + "zpos" "4" + "wide" "42" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_SB_Latency" + "textAlignment" "center" + "font" "ScoreboardColumns" + "fgcolor_override" "255 26 28 255" + } + + "CTPlayerArea" + { + "ControlName" "ImagePanel" + "fieldName" "CTPlayerArea" + "xpos" "c-286" + "ypos" "c-105" + "zpos" "10" + "wide" "283" + "tall" "210" + "visible" "0" + "fillcolor" "222 222 222 190" + } + "TPlayerArea" + { + "ControlName" "ImagePanel" + "fieldName" "TPlayerArea" + "xpos" "c+4" + "ypos" "c-105" + "zpos" "10" + "wide" "283" + "tall" "210" + "visible" "0" + "fillcolor" "0 222 222 190" + } + + "CTPlayerAvatar0" + { + "ControlName" "ImagePanel" + "fieldName" "CTPlayerAvatar0" + "xpos" "c-289" + "ypos" "c-99" + "zpos" "10" + "wide" "10" + "tall" "10" + "visible" "0" + "fillcolor" "222 0 0 64" + } + + "CTPlayerClan0" + { + "ControlName" "ImagePanel" + "fieldName" "CTPlayerClan0" + "xpos" "c-274" + "ypos" "c-99" + "zpos" "10" + "wide" "45" + "tall" "10" + "visible" "0" + "fillcolor" "0 222 0 64" + } + + "CTPlayerName0" + { + "ControlName" "ImagePanel" + "fieldName" "CTPlayerName0" + "xpos" "c-228" + "ypos" "c-99" + "zpos" "10" + "wide" "135" + "tall" "10" + "visible" "0" + "fillcolor" "0 222 0 64" + } + + "CTPlayerStatus0" + { + "ControlName" "ImagePanel" + "fieldName" "CTPlayerStatus0" + "xpos" "c-104" + "ypos" "c-99" + "zpos" "10" + "wide" "10" + "tall" "10" + "visible" "0" + "fillcolor" "222 0 0 64" + } + + "CTPlayerScore0" + { + "ControlName" "ImagePanel" + "fieldName" "CTPlayerScore0" + "xpos" "c-95" + "ypos" "c-99" + "zpos" "10" + "wide" "30" + "tall" "10" + "visible" "0" + "fillcolor" "0 222 0 64" + } + + "CTPlayerDeaths0" + { + "ControlName" "ImagePanel" + "fieldName" "CTPlayerDeaths0" + "xpos" "c-70" + "ypos" "c-99" + "zpos" "10" + "wide" "37" + "tall" "10" + "visible" "0" + "fillcolor" "222 0 0 64" + } + + "CTPlayerLatency0" + { + "ControlName" "ImagePanel" + "fieldName" "CTPlayerLatency0" + "xpos" "c-38" + "ypos" "c-99" + "zpos" "10" + "wide" "31" + "tall" "10" + "visible" "0" + "fillcolor" "0 222 0 64" + } + + "TPlayerAvatar0" + { + "ControlName" "ImagePanel" + "fieldName" "TPlayerAvatar0" + "xpos" "c+5" + "ypos" "c-99" + "zpos" "10" + "wide" "10" + "tall" "10" + "visible" "0" + "fillcolor" "222 0 0 64" + } + + "TPlayerClan0" + { + "ControlName" "ImagePanel" + "fieldName" "TPlayerClan0" + "xpos" "c+20" + "ypos" "c-99" + "zpos" "10" + "wide" "45" + "tall" "10" + "visible" "0" + "fillcolor" "0 222 0 64" + } + + "TPlayerName0" + { + "ControlName" "ImagePanel" + "fieldName" "TPlayerName0" + "xpos" "c+67" + "ypos" "c-99" + "zpos" "10" + "wide" "135" + "tall" "10" + "visible" "0" + "fillcolor" "0 222 0 64" + } + + "TPlayerStatus0" + { + "ControlName" "ImagePanel" + "fieldName" "TPlayerStatus0" + "xpos" "c+191" + "ypos" "c-99" + "zpos" "10" + "wide" "10" + "tall" "10" + "visible" "0" + "fillcolor" "222 0 0 64" + } + + "TPlayerScore0" + { + "ControlName" "ImagePanel" + "fieldName" "TPlayerScore0" + "xpos" "c+199" + "ypos" "c-99" + "zpos" "10" + "wide" "30" + "tall" "10" + "visible" "0" + "fillcolor" "0 222 0 64" + } + + "TPlayerDeaths0" + { + "ControlName" "ImagePanel" + "fieldName" "TPlayerDeaths0" + "xpos" "c+224" + "ypos" "c-99" + "zpos" "10" + "wide" "37" + "tall" "10" + "visible" "0" + "fillcolor" "222 0 0 64" + } + + "TPlayerLatency0" + { + "ControlName" "ImagePanel" + "fieldName" "TPlayerLatency0" + "xpos" "c+258" + "ypos" "c-99" + "zpos" "10" + "wide" "30" + "tall" "10" + "visible" "0" + "fillcolor" "0 222 0 64" + } + + "Spectators" + { + "ControlName" "Label" + "fieldName" "Spectators" + "labelText" "%spectators%" + "textAlignment" "west" + "xpos" "c-288" + "ypos" "c+77" + "zpos" "90" + "wide" "485" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "font" "ScoreboardHeader" + "fgcolor_override" "255 255 255 255" + } + + "SourceTV" + { + "ControlName" "Label" + "fieldName" "SourceTV" + "labelText" "%sourcetv%" + "textAlignment" "east" + "xpos" "c+208" + "ypos" "c+77" + "zpos" "90" + "wide" "80" + "tall" "15" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "font" "ScoreboardHeader" + "fgcolor_override" "255 255 255 255" + } +} \ No newline at end of file diff --git a/src/hud/resource/ui/Teammenu.res b/src/hud/resource/ui/Teammenu.res new file mode 100644 index 0000000..e2da782 --- /dev/null +++ b/src/hud/resource/ui/Teammenu.res @@ -0,0 +1,308 @@ +// ______________________ +//___________.( h0lmGUI™v4.1 by h0lm ).___________ +//ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ +"Resource/UI/TeamMenu.res" +{ + "team" + { + "ControlName" "CTeamMenu" + "fieldName" "team" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + } + "SysMenu" + { + "ControlName" "Menu" + "fieldName" "SysMenu" + "xpos" "0" + "ypos" "0" + "wide" "64" + "tall" "24" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "tabPosition" "0" + } + "MapInfo" + { + "ControlName" "RichText" + "fieldName" "MapInfo" + "xpos" "10000" //"244" + "ypos" "10000" //"116" + "wide" "10" //"316" + "tall" "10" //"286" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "0" + "tabPosition" "0" + } + "joinTeam" + { + "ControlName" "Label" + "fieldName" "joinTeam" + "xpos" "76" + "ypos" "22" + "wide" "450" + "tall" "48" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#Cstrike_Join_Team" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "MenuTitle" + "fgcolor_override" "255 255 255 0" + } + "mapname" + { + "ControlName" "Label" + "fieldName" "mapname" + "xpos" "244" + "ypos" "72" + "wide" "180" + "tall" "24" + "autoResize" "0" + "pinCorner" "0" + "visible" "0" + "enabled" "1" + "labelText" "" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "1" + } + "Backgroundz" + { + "ControlName" "ImagePanel" + "fieldName" "Backgroundz" + "xpos" "115" + "ypos" "c-134" + "zpos" "0" + "wide" "411" + "tall" "40" + "visible" "1" + "fillcolor" "0 0 0 196" + } + + "Backgroundx" + { + "ControlName" "ImagePanel" + "fieldName" "Backgroundx" + "xpos" "115" + "ypos" "c-91" + "zpos" "0" + "wide" "411" + "tall" "227" + "visible" "1" + "fillcolor" "0 0 0 196" + } + + "HeadlineZ" + { + "ControlName" "Label" + "fieldName" "HeadlineZ" + "xpos" "127" + "ypos" "c-124" + "wide" "200" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "PICK A TEAM" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "TeamMenuHeadLine" + "fgcolor_override" "255 255 255 255" + //"bgcolor_override" "200 200 200 100" + } + + "LOLmlogo" + { + "ControlName" "Label" + "fieldName" "LOLmlogo" + "xpos" "428" + "ypos" "c-124" + "wide" "200" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "COUN" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "font" "MenuLogogo" + "fgcolor_override" "255 255 255 20" + } + "terbuttonbg" + { + "ControlName" "ImagePanel" + "fieldName" "terbuttonbg" + "xpos" "145" + "ypos" "c-66" + "wide" "160" + "tall" "22" + "visible" "1" + "fillcolor" "102 0 0 128" + } + "terbutton" + { + "ControlName" "Button" + "fieldName" "terbutton" + "xpos" "145" + "ypos" "c-66" + "wide" "160" + "tall" "22" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "3" + "labelText" "&1 TERRORIST-FACTION" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "command" "jointeam 2" + "Font" "TeamMenuOption" + } + "ctbuttonbg" + { + "ControlName" "ImagePanel" + "fieldName" "ctbuttonbg" + "xpos" "336" + "ypos" "c-66" + "wide" "175" + "tall" "22" + "visible" "1" + "fillcolor" "0 39 102 128" + } + "ctbutton" + { + "ControlName" "Button" + "fieldName" "ctbutton" + "xpos" "336" + "ypos" "c-66" + "wide" "175" + "tall" "22" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "4" + "labelText" "&2 COUNTER-TERRORISTS" + "textAlignment" "center" + "dulltext" "0" + "brighttext" "0" + "command" "jointeam 3" + "Font" "TeamMenuOption" + } + "vipbutton" + { + "ControlName" "Button" + "fieldName" "vipbutton" + "xpos" "76" + "ypos" "180" + "wide" "148" + "tall" "20" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "5" + "labelText" "#Cstrike_VIP" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "jointeam 3" + } + + "autobutton" + { + "ControlName" "Button" + "fieldName" "autobutton" + "xpos" "228" + "ypos" "c-26" + "wide" "78" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "1" + "labelText" "&5 AUTO-SIGN" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "jointeam 0" + "Default" "1" + "Font" "TeamMenuOption2" + } + "specbutton" + { + "ControlName" "Button" + "fieldName" "specbutton" + "xpos" "336" + "ypos" "c-26" + "wide" "71" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "2" + "labelText" "&6 SPECTATE" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "command" "jointeam 1" + "Font" "TeamMenuOption2" + } + "LinweBor" + { + "ControlName" "ImagePanel" + "fieldName" "LinweBor" + "xpos" "144" + "ypos" "c+13" + "zpos" "0" + "wide" "354" + "tall" "2" + "visible" "1" + "fillcolor" "0 0 0 100" + } + "CancelButton" + { + "ControlName" "Button" + "fieldName" "CancelButton" + "xpos" "447" + "ypos" "c+107" + "wide" "64" + "tall" "18" + "autoResize" "0" + "pinCorner" "2" + "visible" "1" + "enabled" "1" + "tabPosition" "0" + "labelText" "&0 CANCEL" + "textAlignment" "west" + "dulltext" "0" + "brighttext" "0" + "Command" "vguicancel" + "Font" "TeamMenuOption2" + } +} +//________________________________________________ +//ŻŻŻŻŻŻŻŻŻŻŻ'( h0lmGUI™v4.1 by h0lm )'ŻŻŻŻŻŻŻŻŻŻŻ +// ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ \ No newline at end of file diff --git a/src/hud/scripts/HudAnimations.txt b/src/hud/scripts/HudAnimations.txt new file mode 100644 index 0000000..e0b18db --- /dev/null +++ b/src/hud/scripts/HudAnimations.txt @@ -0,0 +1,346 @@ +// sample animation script +// +// +// commands: +// Animate +// variables: +// FgColor +// BgColor +// Position +// Size +// Blur (hud panels only) +// TextColor (hud panels only) +// Ammo2Color (hud panels only) +// Alpha (hud weapon selection only) +// SelectionAlpha (hud weapon selection only) +// TextScan (hud weapon selection only) +// +// interpolator: +// Linear +// Accel - starts moving slow, ends fast +// Deaccel - starts moving fast, ends slow +// Spline - simple ease in/out curve +// Pulse - < freq > over the duration, the value is pulsed (cosine) freq times ending at the dest value (assuming freq is integral) +// Flicker - < randomness factor 0.0 to 1.0 > over duration, each frame if random # is less than factor, use end value, otherwise use prev value +// +// RunEvent +// starts another even running at the specified time +// +// StopEvent +// stops another event that is current running at the specified time +// +// StopAnimation +// stops all animations refering to the specified variable in the specified panel +// +// StopPanelAnimations +// stops all active animations operating on the specified panel +// +// SetFont +// +// SetTexture +// +// SetString + +event LevelInit +{ +} + +event OpenWeaponSelectionMenu +{ + StopEvent CloseWeaponSelectionMenu 0.0 + StopEvent WeaponPickup 0.0 + + // make the display visible + Animate HudWeaponSelection Alpha "128" Linear 0.0 0.1 + Animate HudWeaponSelection SelectionAlpha "255" Linear 0.0 0.1 + Animate HudWeaponSelection FgColor "FgColor" Linear 0.0 0.1 + //Animate HudWeaponSelection TextColor "BrightFg" Linear 0.0 0.1 + Animate HudWeaponSelection TextScan "1" Linear 0.0 0.1 +} + +event CloseWeaponSelectionMenu +{ + StopEvent CloseWeaponSelectionMenu 0.0 + StopEvent WeaponPickup 0.0 + + // make the display visible + Animate HudWeaponSelection Alpha "128" Linear 0.0 0.1 + Animate HudWeaponSelection SelectionAlpha "255" Linear 0.0 0.1 + Animate HudWeaponSelection FgColor "FgColor" Linear 0.0 0.1 + //Animate HudWeaponSelection TextColor "BrightFg" Linear 0.0 0.1 + Animate HudWeaponSelection TextScan "1" Linear 0.0 0.1 +} + + +event MenuOpen +{ + StopEvent MenuClose 0.0 + + // fade in + Animate HudMenu Alpha "255" Linear 0.0 0.1 + Animate HudMenu SelectionAlpha "255" Linear 0.0 0.1 + Animate HudMenu FgColor "FgColor" Linear 0.0 0.1 + Animate HudMenu MenuColor "MenuColor" Linear 0.0 0.1 + Animate HudMenu ItemColor "ItemColor" Linear 0.0 0.1 + Animate HudMenu TextScan "1" Linear 0.0 0.1 + + // Undo any blur + Animate HudMenu Blur "1" Linear 0.0 0.01 +} + +event MenuClose +{ + // Hide it + Animate HudMenu Alpha "0" Linear 0.0 1 + Animate HudMenu SelectionAlpha "0" Linear 0.0 1 + Animate HudMenu FgColor "0 0 0 0" Linear 0.0 1 + Animate HudMenu MenuColor "0 0 0 0" Linear 0.0 1 + Animate HudMenu ItemColor "0 0 0 0" Linear 0.0 1 +} + +event MenuPulse +{ + Animate HudMenu Blur "7" Linear 0.0 0.1 + Animate HudMenu Blur "2" Deaccel 0.1 0.1 + Animate HudMenu Blur "7" Linear 0.2 0.1 + Animate HudMenu Blur "2" Deaccel 0.3 0.1 + Animate HudMenu Blur "7" Linear 0.4 0.1 + Animate HudMenu Blur "2" Deaccel 0.5 0.1 + Animate HudMenu Blur "1" Deaccel 0.6 0.4 +} + +event TimerIncrement +{ + Animate HudTimer Blur "7" Linear 0.0 0.1 + Animate HudTimer Blur "2" Deaccel 0.1 0.8 + Animate HudTimer Blur "0" Deaccel 1.1 1.5 +} + +event TimerDecrement +{ + Animate HudTimer Blur "7" Linear 0.0 0.1 + Animate HudTimer Blur "2" Deaccel 0.1 0.8 + Animate HudTimer Blur "0" Deaccel 1.1 1.5 +} + + +event ResourceIncrement +{ + Animate HudResources Blur "3" Linear 0.0 0.0 + Animate HudResources PulseAmount "0" Linear 0.0 0.01 + Animate HudResources Blur "1" Deaccel 0.1 1.5 + Animate HudResources PulseAmount "1" Linear 0.1 2 + + Animate HudResources PulseAmount "0" Linear 2 2 +} + +event ResourceDecrement +{ + Animate HudResources Blur "7" Linear 0.0 0.0 + Animate HudResources PulseAmount "0" Linear 0.0 0.01 + Animate HudResources Blur "1" Deaccel 0.1 1.5 + Animate HudResources PulseAmount "1" Linear 0.1 2 + + Animate HudResources PulseAmount "0" Linear 2 2 +} + +event ResourcePickup +{ + Animate HudResourcesPickup Alpha "255" Linear 0 0 + Animate HudResourcesPickup Position "80 r40" Linear 0 0 + Animate HudResourcesPickup Position "80 r120" Deaccel 0 1 + Animate HudResourcesPickup Blur "7" Deaccel 0 0.2 + Animate HudResourcesPickup Alpha "0" Deaccel .8 0.2 + Animate HudResourcesPickup Blur "1" Deaccel 0.2 0.3 +} + +event PrimaryAmmoIncrement +{ +} + +event PrimaryAmmoDecrement +{ + Animate HudAmmoPrimary FgColor "HudIcon_Red" Linear 0.0 0.0001 + Animate HudAmmoPrimary FgColor "FgColor" Accel 0.0 3.0 +} + +event PrimaryAmmoEmpty +{ +} + + +event SecondaryAmmoIncrement +{ +} + +event SecondaryAmmoDecrement +{ + Animate HudAmmoPrimary FgColor "HudIcon_Red" Linear 0.0 0.0001 + Animate HudAmmoPrimary FgColor "FgColor" Accel 0.0 3.0 +} + +event SecondaryAmmoEmpty +{ +} + +event ShowPrimaryAmmoClipShowSecondaryAmmo +{ + // Turn on secondary + Animate HudAmmoSecondary Alpha "255" Linear 0.0 0.4 + // Turn on secondary + Animate HudAmmoPrimaryClip Alpha "255" Linear 0.0 0.4 + + // Move primary to left +// Animate HudAmmoPrimary Position "r125 400" Deaccel 0.0 0.4 +// Animate HudAmmoPrimaryClip Position "r55 400" Deaccel 0.0 0.4 + +} + +event ShowPrimaryAmmoClipHideSecondaryAmmo +{ + // Turn off secondary + Animate HudAmmoSecondary Alpha "0" Linear 0.0 0.4 + // Turn on secondary + Animate HudAmmoPrimaryClip Alpha "255" Linear 0.0 0.4 + + // Move primary to left +// Animate HudAmmoPrimary Position "r100 400" Deaccel 0.0 0.4 +// Animate HudAmmoPrimaryClip Position "r30 400" Deaccel 0.0 0.4 +} + +event HidePrimaryAmmoClipShowSecondaryAmmo +{ + // Turn on secondary + Animate HudAmmoSecondary Alpha "255" Linear 0.0 0.4 + // Turn off secondary + Animate HudAmmoPrimaryClip Alpha "0" Linear 0.0 0.4 + + // Move primary to left +// Animate HudAmmoPrimary Position "100 400" Deaccel 0.0 0.4 +// Animate HudAmmoPrimaryClip Position "r30 400" Deaccel 0.0 0.4 +} + +event HidePrimaryAmmoClipHideSecondaryAmmo +{ + // Turn off secondary + Animate HudAmmoSecondary Alpha "0" Linear 0.0 0.4 + // Turn off secondary + Animate HudAmmoPrimaryClip Alpha "0" Linear 0.0 0.4 + + // Move primary to left +// Animate HudAmmoPrimary Position "r70 400" Deaccel 0.0 0.4 +// Animate HudAmmoPrimaryClip Position "r30 400" Deaccel 0.0 0.4 +} + +//activecolor - instantly turn red, fade back to yellow +event AccountMoneyRemoved +{ + Animate HudAccount FgColor "HudIcon_Red" Linear 0.0 0.0001 + Animate HudAccount FgColor "toxicHUD" Accel 0.0 3.0 + + Animate HudAccount Ammo2Color "HudIcon_Red" Linear 0.0 0.0001 + Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 3.0 +} + +//activecolor - instantly turn green, fade back to yellow +event AccountMoneyAdded +{ + Animate HudAccount FgColor "HudIcon_Green" Linear 0.0 0.0001 + Animate HudAccount FgColor "toxicHUD" Accel 0.0 3.0 + + Animate HudAccount Ammo2Color "HudIcon_Green" Accel 0.0 0.0001 + Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 3.0 +} + +event AccountMoneyInvisible +{ + Animate HudAccount FgColor "toxicHUD" Accel 0.0 0.0001 + Animate HudAccount Ammo2Color "0 0 0 0" Accel 0.0 0.0001 +} + +event HealthRestored +{ + StopPanelAnimations HudHealth 0.0 + Animate HudHealth FgColor "toxicHealth" Linear 0.0 0.01 + Animate HudHealth Blur "7" Deaccel 0.0 0.2 + Animate HudHealth Blur "1" Deaccel 0.2 1.0 +} + +event HealthTookDamage +{ + Animate HudHealth FgColor "HudIcon_Red" Linear 0.0 0.1 + Animate HudHealth FgColor "toxicHealth" Pulse 4 0.1 1.0 + Animate HudHealth Blur "7" Deaccel 0.0 0.2 + Animate HudHealth Blur "1" Deaccel 0.2 0.3 +} + +event HealthLow +{ + Animate HudHealth FgColor "HudIcon_Red" Linear 0.0 0.1 + Animate HudHealth FgColor "toxicHealth" Pulse 2000 0.1 1000.0 +} + +event HintMessageShow +{ + // show the hints + Animate HudHintDisplay Alpha 255 Linear 0.0 0.5 + Animate HudHintDisplay FgColor "HintMessageFg" Linear 0.0 0.01 + + // hide the panel after a while + Animate HudHintDisplay Alpha 0 Linear 6.0 1.0 +} + +event HintMessageHide +{ + Animate HudHintDisplay Alpha 0 Linear 0.0 0.5 +} + +event HintMessageLower +{ + Animate HudHintDisplay YOffset "60" Deaccel 0.0 0.01 +} + +event HintMessageRaise +{ + Animate HudHintDisplay YOffset "0" Deaccel 0.0 0.4 +} + +event KeyHintMessageShow +{ + // show the hints + Animate HudHintKeyDisplay Alpha 255 Linear 0.0 0.5 + Animate HudHintKeyDisplay FgColor "HintMessageFg" Linear 0.0 0.01 + + // hide the panel after a while + Animate HudHintKeyDisplay Alpha 0 Linear 6.0 1.0 +} + +event KeyHintMessageHide +{ + Animate HudHintKeyDisplay Alpha 0 Linear 0.0 0.5 +} + +event MapOff +{ + Animate overview Position "0 0" Linear 0.0 0.001 + Animate overview Size "0 0" Linear 0.0 0.001 +} + +event MapZoomToSmall +{ + Animate overview Position "16 16" Linear 0.0 0.2 + Animate overview Size "160 120" Linear 0.0 0.2 + + StopAnimation overview zoom 0.0 + Animate overview zoom "1.0" Linear 0.0 0.0001 + Animate overview zoom "3.0" Spline 0.0001 1.0 +} + +event MapZoomToLarge +{ + Animate overview Position "c-300 20" Linear 0.0 0.2 + Animate overview Size "600 440" Linear 0.0 0.2 + + StopAnimation overview zoom 0.0 + Animate overview zoom "1.0" Spline 0.0 0.2 +} diff --git a/src/hud/scripts/HudLayout.res b/src/hud/scripts/HudLayout.res new file mode 100644 index 0000000..a79b509 --- /dev/null +++ b/src/hud/scripts/HudLayout.res @@ -0,0 +1,796 @@ + +"Resource/HudLayout.res" +{ + HudHealth + { + "fieldName" "HudHealth" + "xpos" "8" + "ypos" "22446" + "zpos" "0" + "wide" "80" + "tall" "25" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + "bgcolor_override" "0 0 0 96" + + "icon_xpos" "8" + "icon_ypos" "-4" + "digit_xpos" "35" + "digit_ypos" "-4" + "LowHealthColor" "HudIcon_Red" + } + + HudArmor + { + "fieldName" "HudArmor" + "xpos" "22148" + "ypos" "22446" + "zpos" "1" + "wide" "80" + "tall" "25" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + "bgcolor_override" "0 0 0 96" + + "icon_xpos" "8" + "icon_ypos" "-4" + "digit_xpos" "34" + "digit_ypos" "-4" + } + + HudRoundTimer + { + "fieldName" "HudRoundTimer" + "xpos" "c-2228" + "ypos" "4446" + "zpos" "1" + "wide" "98" + "tall" "25" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + "bgcolor_override" "0 0 0 96" + + "FlashColor" "HudIcon_Red" + + "icon_xpos" "8" + "icon_ypos" "-4" + "digit_xpos" "42" + "digit_ypos" "-4" + } + + HudAmmo + { + "fieldName" "HudAmmo" + "xpos" "r222157" + "ypos" "446" + "zpos" "1" + "wide" "142" + "tall" "25" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + "bgcolor_override" "0 0 0 96" + + "digit_xpos" "8" + "digit_ypos" "-4" + "digit2_xpos" "63" + "digit2_ypos" "-4" + + "bar_xpos" "53" + "bar_ypos" "3" + "bar_height" "20" + "bar_width" "2" + + "icon_xpos" "110" + "icon_ypos" "2" + } + + HudAccount + { + "fieldName" "HudAccount" + "xpos" "r22123" + "ypos" "394" + "wide" "108" + "tall" "45" + "visible" "0" + "enabled" "0" + + "PaintBackgroundType" "2" + // "bgcolor_override" "0 0 0 96" + + "icon_xpos" "2229" + "icon_ypos" "2126" + "digit_xpos" "2100" + "digit_ypos" "22216" + "icon2_xpos" "229" + "icon2_ypos" "-4" + "digit2_xpos" "2100" + "digit2_ypos" "-4" + } + + overview + { + "fieldname" "overview" + "visible" "1" + "enabled" "1" + "xpos" "0" + "ypos" "22480" + "wide" "0" + "tall" "0" + } + + HudCommentary + { + "fieldName" "HudCommentary" + "xpos" "c-22190" + "ypos" "350" + "wide" "380" + "tall" "40" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + + "bar_xpos" "50" + "bar_ypos" "20" + "bar_height" "8" + "bar_width" "320" + "speaker_xpos" "50" + "speaker_ypos" "8" + "count_xpos_from_right" "10" // Counts from the right side + "count_ypos" "8" + + "icon_texture" "vgui/hud/icon_commentary" + "icon_xpos" "0" + "icon_ypos" "0" + "icon_width" "40" + "icon_height" "40" + } + + HudHDRDemo + { + "fieldName" "HudHDRDemo" + "xpos" "0" + "ypos" "0" + "wide" "640" + "tall" "480" + "visible" "0" + "enabled" "1" + + "Alpha" "255" + "PaintBackgroundType" "2" + + "BorderColor" "0 0 0 255" + "BorderLeft" "16" + "BorderRight" "16" + "BorderTop" "16" + "BorderBottom" "64" + "BorderCenter" "0" + + "TextColor" "255 255 255 255" + "LeftTitleY" "422" + "RightTitleY" "422" + } + + TargetID + { + "fieldName" "TargetID" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudSuit + { + "fieldName" "HudSuit" + "xpos" "22140" + "ypos" "22432" + "wide" "108" + "tall" "36" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + + + "text_xpos" "8" + "text_ypos" "20" + "digit_xpos" "50" + "digit_ypos" "2" + } + + HudProgressBar + { + "fieldName" "HudProgressBar" + "xpos" "c-150" + "ypos" "300" + "wide" "300" + "tall" "15" + "visible" "1" + "enabled" "1" + + "BorderThickness" "1" + + "PaintBackgroundType" "2" + } + + HudShoppingCart + { + "fieldName" "HudShoppingCart" + "xpos" "2264" + "ypos" "22240" + "wide" "40" + "tall" "40" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + "IconColor" "HudIcon_Green" + + } + + HudC4 + { + "fieldName" "HudC4" + "xpos" "16" + "ypos" "240" + "wide" "40" + "tall" "40" + "visible" "1" + "enabled" "1" + + + "PaintBackgroundType" "2" + "IconColor" "HudIcon_Green" + "FlashColor" "HudIcon_Red" + + } + + HudDefuser + { + "fieldName" "HudDefuser" + "xpos" "16" + "ypos" "240" + "wide" "40" + "tall" "40" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + + "IconColor" "HudIcon_Green" + + } + + HudHostageRescueZone + { + "fieldName" "HudHostageRescueZone" + "xpos" "16" + "ypos" "240" + "wide" "40" + "tall" "40" + "visible" "1" + "enabled" "1" + + + "PaintBackgroundType" "2" + "IconColor" "HudIcon_Green" + "FlashColor" "HudIcon_Red" + } + + HudScenarioIcon + { + "fieldName" "HudScenarioIcon" + "xpos" "c110" + "ypos" "443" + "wide" "40" + "tall" "44" + "visible" "1" + "enabled" "1" + + "PaintBackgroundType" "2" + + "IconColor" "Hostage_Yellow" + } + + HudFlashlight + { + "fieldName" "HudFlashlight" + "visible" "1" + "enabled" "1" + "xpos" "16" + "ypos" "370" + "wide" "102" + "tall" "20" + + "text_xpos" "8" + "text_ypos" "6" + "TextColor" "255 170 0 220" + + "PaintBackgroundType" "2" + } + + HudDamageIndicator + { + "fieldName" "HudDamageIndicator" + "visible" "1" + "enabled" "1" + "DmgColorLeft" "255 0 0 0" + "DmgColorRight" "255 0 0 0" + + "dmg_xpos" "30" + "dmg_ypos" "100" + "dmg_wide" "36" + "dmg_tall1" "240" + "dmg_tall2" "200" + } + + HudZoom + { + "fieldName" "HudZoom" + "visible" "1" + "enabled" "1" + "Circle1Radius" "66" + "Circle2Radius" "74" + "DashGap" "16" + "DashHeight" "4" + "BorderThickness" "88" + } + + HudWeaponSelection + { + "fieldName" "HudWeaponSelection" + "xpos" "r640" + "wide" "640" + "ypos" "16" + "visible" "1" + "enabled" "1" + "SmallBoxSize" "60" + "LargeBoxWide" "108" + "LargeBoxTall" "80" + "BoxGap" "8" + "SelectionNumberXPos" "4" + "SelectionNumberYPos" "4" + "SelectionGrowTime" "0.4" + "IconXPos" "8" + "IconYPos" "0" + "TextYPos" "68" + "TextColor" "SelectionTextFg" + "MaxSlots" "5" + "PlaySelectSounds" "0" + } + + HudCrosshair + { + "fieldName" "HudCrosshair" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudDeathNotice + { + "fieldName" "HudDeathNotice" + "visible" "1" + "enabled" "1" + "xpos" "r640" + "ypos" "12" + "wide" "628" + "tall" "468" + + "MaxDeathNotices" "4" + "LineHeight" "22" + "RightJustify" "1" // If 1, draw notices from the right + + "TextFont" "Default" + "CTTextColor" "CT_Blue" + "TerroristTextColor" "T_Red" + } + + HudVehicle + { + "fieldName" "HudVehicle" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + + CVProfPanel + { + "fieldName" "CVProfPanel" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + ScorePanel + { + "fieldName" "ScorePanel" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudTrain + { + "fieldName" "HudTrain" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudMOTD + { + "fieldName" "HudMOTD" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudMessage + { + "fieldName" "HudMessage" + "visible" "1" + "enabled" "1" + "wide" "f0" + "tall" "480" + } + + HudMenu + { + "fieldName" "HudMenu" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + "zpos" "1" + + "TextFont" "Default" + "ItemFont" "Default" + "ItemFontPulsing" "Default" + + } + + HudCloseCaption + { + "fieldName" "HudCloseCaption" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudHistoryResource + { + "fieldName" "HudHistoryResource" + "visible" "1" + "enabled" "1" + "xpos" "r640" + "wide" "640" + "tall" "350" + "history_gap" "50" + } + + HudGeiger + { + "fieldName" "HudGeiger" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HUDQuickInfo + { + "fieldName" "HUDQuickInfo" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudWeapon + { + "fieldName" "HudWeapon" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + HudAnimationInfo + { + "fieldName" "HudAnimationInfo" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + CBudgetPanel + { + "fieldName" "CBudgetPanel" + "visible" "0" + "enabled" "0" + "wide" "640" + "tall" "480" + } + CTextureBudgetPanel + { + "fieldName" "CTextureBudgetPanel" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudPredictionDump + { + "fieldName" "HudPredictionDump" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudRadar + { + "fieldName" "HudRadar" + "visible" "1" + "enabled" "1" + "xpos" "22216" + "ypos" "22216" + "wide" "96" + "tall" "96" + } + + HudLocation + { + "fieldName" "HudLocation" + "visible" "1" + "enabled" "1" + "xpos" "16" + "ypos" "112" + "wide" "96" + "tall" "16" + "textAlignment" "north" + } + + HudScope + { + "fieldName" "HudZoom" + "visible" "1" + "enabled" "1" + "wide" "640" + "tall" "480" + } + + HudVoiceSelfStatus + { + "fieldName" "HudVoiceSelfStatus" + "visible" "1" + "enabled" "1" + "xpos" "r34" + "ypos" "355" + "wide" "24" + "tall" "24" + } + + HudVoiceStatus + { + "fieldName" "HudVoiceStatus" + "visible" "1" + "enabled" "1" + "xpos" "r200" + "ypos" "0" + "wide" "200" + "tall" "400" + + "item_tall" "16" + "item_wide" "195" + "item_spacing" "2" + + "show_avatar" "1" + "show_friend" "1" + "show_voice_icon" "0" + "show_dead_icon" "1" + + "dead_xpos" "0" + "dead_ypos" "0" + "dead_wide" "16" + "dead_tall" "16" + + "avatar_xpos" "14" + "avatar_ypos" "0" + "avatar_wide" "16" + "avatar_tall" "16" + + "text_xpos" "42" + + "fade_in_time" "0.07" + "fade_out_time" "1.0" + } + + HudFlashbang + { + } + + HudHintDisplay + { + "fieldName" "HudHintDisplay" + "visible" "0" + "enabled" "1" + "xpos" "c-240" + "ypos" "c110" + "wide" "480" + "tall" "100" + "text_xpos" "8" + "text_ypos" "8" + "center_x" "0" // center text horizontally + "center_y" "-1" // align text on the bottom + "HintSize" "1" + } + + HudHintKeyDisplay + { + "fieldName" "HudHintKeyDisplay" + "visible" "0" + "enabled" "1" + "xpos" "r120" + "ypos" "r340" + "wide" "100" + "tall" "200" + "text_xpos" "8" + "text_ypos" "8" + "text_xgap" "8" + "text_ygap" "8" + "TextColor" "255 170 0 220" + + "PaintBackgroundType" "2" + } + + HudTerritory + { + "fieldName" "HudTerritory" + "visible" "1" + "enabled" "1" + "xpos" "240" + "ypos" "432" + "wide" "240" + "tall" "48" + } + + TerritorySCore + { + "fieldName" "TerritoryScore" + "visible" "0" + "enabled" "0" + "xpos" "240" + "ypos" "450" + "wide" "200" + "tall" "200" + "text_xpos" "8" + "text_ypos" "4" + } + "HudChat" + { + "ControlName" "EditablePanel" + "fieldName" "HudChat" + "visible" "1" + "enabled" "1" + "xpos" "0" [$WIN32] + "xpos" "0" [$X360] + "ypos" "0" + "wide" "f0" + "tall" "f0" + "PaintBackgroundType" "0" + "bgcolor_override" "0 0 0 0" + } + + WinPanel_Round + { + "fieldName" "WinPanel_Round" + "visible" "1" + "enabled" "1" + "xpos" "c-110" + "ypos" "287" + "zpos" "0" + "wide" "220" + "tall" "138" + "PaintBackgroundType" "2" + } + + WinPanel_Match + { + "fieldName" "WinPanel_Match" + "visible" "1" + "enabled" "1" + "xpos" "c-150" + "ypos" "c-175" + "wide" "300" + "tall" "350" + "PaintBackgroundType" "2" + } + + FreezePanel + { + "fieldName" "FreezePanel" + "visible" "1" + "enabled" "1" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + } + + FreezePanelCallout + { + "fieldName" "FreezePanelCallout" + "visible" "1" + "enabled" "1" + "xpos" "200" + "ypos" "200" + "wide" "100" + "tall" "50" + } + + AchievementAnnouncePanel + { + "fieldName" "AchievementAnnouncePanel" + "visible" "1" + "enabled" "1" + "xpos" "0" + "ypos" "0" + "wide" "f0" + "tall" "480" + } + + StatPanel + { + "fieldName" "StatPanel" + "visible" "0" + "enabled" "1" + } + + AchievementNotificationPanel + { + "fieldName" "AchievementNotificationPanel" + "visible" "0" + "enabled" "1" + } + + HUDAutoAim + { + "fieldName" "HUDAutoAim" + "visible" "0" + "enabled" "1" + } + + "HudAchievementTracker" + { + "ControlName" "EditablePanel" + "fieldName" "HudAchievementTracker" + "xpos" "10" + "NormalY" "120" + "EngineerY" "170" + "zpos" "20" + "wide" "250" + "tall" "280" + "visible" "1" + "enabled" "1" + } + +} \ No newline at end of file diff --git a/surf.sublime-project b/surf.sublime-project index 17efb30..fce97ad 100755 --- a/surf.sublime-project +++ b/surf.sublime-project @@ -8,7 +8,7 @@ "path": "C:\\Users\\ntr\\code\\ntwl\\surf", }, { - "path": "/home/ntr/ntwl/surf" + "path": "h:ome\\ntr\\ntwl\\surf", }, ], }