diff --git a/customizations/ubericons_/targetidubericons.res b/customizations/ubericons_/targetidubericons.res new file mode 100644 index 0000000..55554b2 --- /dev/null +++ b/customizations/ubericons_/targetidubericons.res @@ -0,0 +1,9 @@ +"Resource/UI/TargetID.res" +// adds icons to every medigun type instead of medigun name +{ + "TargetDataLabel" + { + "font" "TargetIDIcons" + } + +} diff --git a/resource/chat_english.txt b/resource/chat_english.txt index 2eb486c..c18130f 100644 Binary files a/resource/chat_english.txt and b/resource/chat_english.txt differ diff --git a/resource/scheme/Fonts_Icons.res b/resource/scheme/Fonts_Icons.res index db5384f..1e53254 100644 --- a/resource/scheme/Fonts_Icons.res +++ b/resource/scheme/Fonts_Icons.res @@ -103,7 +103,7 @@ Scheme "dropshadow" "0" } } - + "Class Symbols 40" { "1" @@ -114,7 +114,7 @@ Scheme "antialias" "1" } } - + "Class Symbols 48" { "1" @@ -125,7 +125,7 @@ Scheme "antialias" "1" } } - + "Class Symbols 72" { "1" @@ -302,8 +302,18 @@ Scheme "antialias" "1" } } - } - + "TargetIDIcons" + { + "1" + { + "name" "Inter-UberIcons" + "tall" "10" + "antialias" "1" + "dropshadow" "1" + } + } +} + CustomFontFiles { "20" @@ -326,12 +336,12 @@ Scheme "font" "resource/scheme/fontfiles/PinyonScript Regular.ttf" "name" "Pinyon Script" } - "24" + "24" { "font" "resource/scheme/fontfiles/Emblems.ttf" "name" "Emblems" } - "25" + "25" { "font" "resource/scheme/fontfiles/ModernPics.otf" "name" "ModernPictograms" @@ -351,5 +361,142 @@ Scheme "font" "resource/scheme/fontfiles/kbnhudicons.otf" "name" "KBNHud Icons" } + "29" + { + "font" "resource/scheme/fontfiles/Inter-UberIcons.ttf" + "name" "Inter-UberIcons" + "arabic" + { + "range" "0x0000 0xFFFF" + } + "brazilian" + { + "range" "0x0000 0xFFFF" + } + "bulgarian" + { + "range" "0x0000 0xFFFF" + } + "czech" + { + "range" "0x0000 0xFFFF" + } + "danish" + { + "range" "0x0000 0xFFFF" + } + "dutch" + { + "range" "0x0000 0xFFFF" + } + "english" + { + "range" "0x0000 0xFFFF" + } + "finnish" + { + "range" "0x0000 0xFFFF" + } + "french" + { + "range" "0x0000 0xFFFF" + } + "german" + { + "range" "0x0000 0xFFFF" + } + "greek" + { + "range" "0x0000 0xFFFF" + } + "hebrew" + { + "range" "0x0000 0xFFFF" + } + "hungarian" + { + "range" "0x0000 0xFFFF" + } + "italian" + { + "range" "0x0000 0xFFFF" + } + "japanese" + { + "range" "0x0000 0xFFFF" + } + "korean" + { + "range" "0x0000 0xFFFF" + } + "koreana" + { + "range" "0x0000 0xFFFF" + } + "latvian" + { + "range" "0x0000 0xFFFF" + } + "lithuanian" + { + "range" "0x0000 0xFFFF" + } + "norwegian" + { + "range" "0x0000 0xFFFF" + } + "pirate" + { + "range" "0x0000 0xFFFF" + } + "polish" + { + "range" "0x0000 0xFFFF" + } + "portuguese" + { + "range" "0x0000 0xFFFF" + } + "romanian" + { + "range" "0x0000 0xFFFF" + } + "russian" + { + "range" "0x0000 0xFFFF" + } + "schinese" + { + "range" "0x0000 0xFFFF" + } + "slovak" + { + "range" "0x0000 0xFFFF" + } + "spanish" + { + "range" "0x0000 0xFFFF" + } + "swedish" + { + "range" "0x0000 0xFFFF" + } + "tchinese" + { + "range" "0x0000 0xFFFF" + } + "thai" + { + "range" "0x0000 0xFFFF" + } + "turkish" + { + "range" "0x0000 0xFFFF" + } + "ukrainian" + { + "range" "0x0000 0xFFFF" + } + } } -} \ No newline at end of file +} diff --git a/resource/scheme/fontfiles/Inter-UberIcons.ttf b/resource/scheme/fontfiles/Inter-UberIcons.ttf new file mode 100644 index 0000000..bb0ea36 Binary files /dev/null and b/resource/scheme/fontfiles/Inter-UberIcons.ttf differ diff --git a/resource/scheme/fonts.res b/resource/scheme/fonts.res index 760394f..be258a7 100644 --- a/resource/scheme/fonts.res +++ b/resource/scheme/fonts.res @@ -5,7 +5,7 @@ Scheme "Buttons" "materials/vgui/fonts/buttons_32.vbf" "ButtonsSC" "materials/vgui/fonts/buttons_sc.vbf" } - + Fonts { GameFont46 @@ -339,7 +339,7 @@ Scheme "antialias" "1" } } - + CenterPrintText //should be MGE text { // note that this scales with the screen resolution @@ -353,7 +353,7 @@ Scheme "additive" "1" } } - + "Default" { "1" @@ -385,7 +385,7 @@ Scheme "yres" "1001 10000" } } - + "DefaultSmall" { "1" @@ -464,7 +464,7 @@ Scheme "antialias" "1" } } - + HudHintText { "1" @@ -509,7 +509,7 @@ Scheme "antialias" "1" } } - + "HudFontGiant" { "1" @@ -608,7 +608,7 @@ Scheme "additive" "0" "antialias" "1" } - } + } "HudFontMediumBigBold" { "1" @@ -619,7 +619,7 @@ Scheme "additive" "0" "antialias" "1" } - } + } "HudFontMedium" { "1" @@ -703,7 +703,7 @@ Scheme "additive" "0" "antialias" "1" } - } + } "HudFontSmallishBold" { "1" @@ -784,7 +784,7 @@ Scheme "antialias" "1" } } - + Icons { "1" @@ -871,7 +871,7 @@ Scheme "weight" "500" } } - + "GoalText" { "1" @@ -884,8 +884,8 @@ Scheme "additive" "0" "antialias" "1" } - } - + } + "ChalkboardTitle" { "1" @@ -894,7 +894,7 @@ Scheme "tall" "28" "tall_lodef" "48" "tall_hidef" "48" - "antialias" "1" + "antialias" "1" "custom" "1" [$OSX] "weight" "500" "weight_lodef" "800" @@ -1185,7 +1185,7 @@ Scheme "antialias" "1" // Chat antialias } } - + MenuSmallestFont { "1" @@ -1197,8 +1197,8 @@ Scheme "weight" "300" "antialias" "1" } - } - + } + MenuSmallFont { "1" @@ -1211,7 +1211,7 @@ Scheme "weight_lodef" "600" "antialias" "1" } - } + } CapPlayerFont { "1" @@ -1247,7 +1247,7 @@ Scheme "additive" "1" "antialias" "1" } - } + } TFFontMedium { "1" @@ -1260,8 +1260,8 @@ Scheme "additive" "0" "antialias" "1" } - } - + } + // Used by scoreboard and spectator UI for names which don't map in the normal fashion "DefaultVerySmallFallBack" { @@ -1293,7 +1293,7 @@ Scheme "antialias" "1" } } - + "ItemFontNameSmallest" { "1" @@ -1380,7 +1380,7 @@ Scheme "additive" "0" "antialias" "1" } - } + } "ItemFontAttribLarger" { "1" @@ -1392,7 +1392,7 @@ Scheme "antialias" "1" } } - + "AchievementTracker_Name" { "1" @@ -1528,7 +1528,7 @@ Scheme "antialias" "1" } } - + "EconFontSmall" { "1" @@ -1644,7 +1644,7 @@ Scheme "antialias" "1" } } - + "Class Symbols 48" { "1" @@ -1655,7 +1655,7 @@ Scheme "antialias" "1" } } - + "Class Symbols 72" { "1" @@ -1862,13 +1862,13 @@ Scheme } } } - - + + CustomFontFiles { - - "8" + + "8" { "font" "resource/scheme/fontfiles/TF2secondary.ttf" "name" "TF2 Secondary" @@ -1880,16 +1880,18 @@ Scheme { "range" "0x0000 0xFFFF" } - "1" + } + "9" { "font" "resource/scheme/fontfiles/Inter-Medium.ttf" "name" "Inter Medium" - "10" + } + "10" { "font" "resource/scheme/fontfiles/ModernPics.otf" "name" "ModernPictograms" } - "13" + "13" { "font" "resource/scheme/fontfiles/Blocks.ttf" "name" "Blocks" @@ -1899,7 +1901,7 @@ Scheme "font" "resource/scheme/fontfiles/TF2 Class Icons.otf" "name" "TF2 Class Icons" } - "88" + "88" { "font" "resource/scheme/fontfiles/Emblems.ttf" "name" "Emblems" diff --git a/resource/ui/TargetID.res b/resource/ui/TargetID.res index b7cfcb3..ff5ad0d 100644 --- a/resource/ui/TargetID.res +++ b/resource/ui/TargetID.res @@ -1,6 +1,7 @@ #base "../../customizations/streamermode/targetid.res" +#base "../../customizations/ubericons/targetidubericons.res" #base "../../resource/ui/targetid_base.res" "Resource/UI/targetid.res" { -} \ No newline at end of file +} diff --git a/resource/ui/TargetID_base.res b/resource/ui/TargetID_base.res index dd988c9..d50392d 100644 --- a/resource/ui/TargetID_base.res +++ b/resource/ui/TargetID_base.res @@ -13,7 +13,7 @@ "enabled" "1" "bgcolor_override" "TransparentLightBlack" } - + "TargetNameLabel" { "ControlName" "Label" @@ -34,7 +34,7 @@ "brighttext" "0" "alpha" "255" } - + "TargetDataLabel" { "ControlName" "Label" @@ -71,7 +71,7 @@ "HealthDeathWarningColor" "Low Health" "TextColor" "Health Numbers" } - + "AmmoIcon" { "ControlName" "ImagePanel" @@ -86,7 +86,7 @@ "image" "../hud/leaderboard_class_heavy" "scaleImage" "1.5" } - + "KillStreakAnchor" { "ControlName" "EditablePanel" @@ -98,7 +98,7 @@ "visible" "1" "enabled" "1" } - + "KillStreakIcon" { "ControlName" "ImagePanel" @@ -112,10 +112,10 @@ "enabled" "1" "image" "../hud/leaderboard_streak" "scaleImage" "1" - + "pin_to_sibling" "KillStreakAnchor" } - + "TargetIDBG" { "ControlName" "CTFImagePanel" @@ -138,5 +138,5 @@ "xpos" "9999" "wide" "0" "tall" "0" - } -} \ No newline at end of file + } +}