summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCriticalFlaw <[email protected]>2018-07-08 15:39:33 -0400
committerCriticalFlaw <[email protected]>2018-07-08 15:39:33 -0400
commitec034378792ce416d9502513ea9b0d757b9f54c0 (patch)
treeeff4b7ffba6e2094029d7681377a38a755f66cfb
parent0adcfa0802b3717d9f08d470c04cc6bae5a36892 (diff)
Updated the ClientScheme
- Moved the CustomFontFiles node to the correct clientscheme files - Added an icons file (resource/fonts/FlawHUDIcons.otf)
-rw-r--r--resource/ClientScheme.res67
-rw-r--r--resource/fonts/FlawHUDIcons.otfbin0 -> 24108 bytes
-rw-r--r--resource/scheme/clientscheme_fonts.res114
-rw-r--r--resource/scheme/clientscheme_xhairs.res76
-rw-r--r--scripts/hudlayout.res140
5 files changed, 184 insertions, 213 deletions
diff --git a/resource/ClientScheme.res b/resource/ClientScheme.res
index c6c92b4..fd28883 100644
--- a/resource/ClientScheme.res
+++ b/resource/ClientScheme.res
@@ -2,69 +2,4 @@
#base "scheme/clientscheme_colors.res"
#base "scheme/clientscheme_fonts.res"
#base "scheme/clientscheme_settings.res"
-#base "scheme/clientscheme_xhairs.res"
-
-Scheme
-{
- CustomFontFiles
- {
- "1" "resource/tf.ttf"
- "2" "resource/tfd.ttf"
- "3"
- {
- "font" "resource/TF2.ttf"
- "name" "TF2"
- }
- "4"
- {
- "font" "resource/TF2Secondary.ttf"
- "name" "TF2 Secondary"
- }
- "5"
- {
- "font" "resource/TF2Professor.ttf"
- "name" "TF2 Professor"
- }
- "6"
- {
- "font" "resource/TF2Build.ttf"
- "name" "TF2 Build"
- }
- "7"
- {
- "font" "resource/fonts/Cerbetica.ttf"
- "name" "Cerbetica"
- }
- "8" // Fog's xHairs
- {
- "font" "resource/fonts/crosshairs.ttf"
- "name" "Crosshairs"
- }
- "9" // Thin Cross
- {
- "font" "resource/fonts/Symbol.ttf"
- "name" "Symbol"
- }
- "10" // Konr Wings
- {
- "font" "resource/fonts/Garm3nFont.ttf"
- "name" "Garm3nFont"
- }
- "11"
- {
- "font" "resource/fonts/Cerbetica_edited.ttf"
- "name" "Cerbetica_edited"
- }
- "12"
- {
-
- "font" "resource/fonts/Cerbetica_bold.ttf"
- "name" "Cerbetica Bold"
- }
- "13"
- {
- "font" "resource/fonts/KnucklesCrosses.ttf"
- "name" "KnucklesCrosses"
- }
- }
-} \ No newline at end of file
+#base "scheme/clientscheme_xhairs.res" \ No newline at end of file
diff --git a/resource/fonts/FlawHUDIcons.otf b/resource/fonts/FlawHUDIcons.otf
new file mode 100644
index 0000000..3c5dde3
--- /dev/null
+++ b/resource/fonts/FlawHUDIcons.otf
Binary files differ
diff --git a/resource/scheme/clientscheme_fonts.res b/resource/scheme/clientscheme_fonts.res
index f6c6888..37be8b0 100644
--- a/resource/scheme/clientscheme_fonts.res
+++ b/resource/scheme/clientscheme_fonts.res
@@ -2226,60 +2226,7 @@ Scheme
"antialias" "1"
}
}
-
- // rays fonts and stuff
- "Symbol16"
- {
- "1"
- {
- "name" "Symbol"
- "tall" "16"
- "weight" "0"
- "antialias" "1"
- }
- }
- "Symbol24"
- {
- "1"
- {
- "name" "Symbol"
- "tall" "24"
- "weight" "0"
- "antialias" "1"
- }
- }
- "SymbolOutline24"
- {
- "1"
- {
- "name" "Symbol"
- "tall" "24"
- "weight" "0"
- "antialias" "1"
- "outline" "1"
- }
- }
- "Symbol32"
- {
- "1"
- {
- "name" "Symbol"
- "tall" "32"
- "weight" "0"
- "antialias" "1"
- }
- }
- "Symbol40"
- {
- "1"
- {
- "name" "Symbol"
- "tall" "40"
- "weight" "0"
- "antialias" "1"
- }
- }
-
+
"Cerbetica7"
{
"1"
@@ -2843,11 +2790,68 @@ Scheme
"antialias" "1"
}
}
+ "MenuArrows"
+ {
+ "1"
+ {
+ "name" "FlawHUDIcons"
+ "tall" "15"
+ "weight" "400"
+ "additive" "0"
+ "antialias" "1"
+ }
+ }
}
- //////////////////////// BITMAP FONT FILES /////////////////////////////
+
BitmapFontFiles
{
// UI buttons, custom font, (256x64)
"Buttons" "materials/vgui/fonts/buttons_32.vbf"
}
+
+ CustomFontFiles
+ {
+ "1" "resource/tf.ttf"
+ "2" "resource/tfd.ttf"
+ "3"
+ {
+ "font" "resource/TF2.ttf"
+ "name" "TF2"
+ }
+ "4"
+ {
+ "font" "resource/TF2Secondary.ttf"
+ "name" "TF2 Secondary"
+ }
+ "5"
+ {
+ "font" "resource/TF2Professor.ttf"
+ "name" "TF2 Professor"
+ }
+ "6"
+ {
+ "font" "resource/TF2Build.ttf"
+ "name" "TF2 Build"
+ }
+ "7"
+ {
+ "font" "resource/fonts/Cerbetica.ttf"
+ "name" "Cerbetica"
+ }
+ "8"
+ {
+ "font" "resource/fonts/Cerbetica_edited.ttf"
+ "name" "Cerbetica_edited"
+ }
+ "9"
+ {
+ "font" "resource/fonts/Cerbetica_bold.ttf"
+ "name" "Cerbetica Bold"
+ }
+ "10"
+ {
+ "font" "resource/fonts/FlawHUDIcons.otf"
+ "name" "FlawHUDIcons"
+ }
+ }
} \ No newline at end of file
diff --git a/resource/scheme/clientscheme_xhairs.res b/resource/scheme/clientscheme_xhairs.res
index 5623c03..f533cb7 100644
--- a/resource/scheme/clientscheme_xhairs.res
+++ b/resource/scheme/clientscheme_xhairs.res
@@ -1370,5 +1370,81 @@ Scheme
"outline" "1"
}
}
+
+ "Symbol16"
+ {
+ "1"
+ {
+ "name" "Symbol"
+ "tall" "16"
+ "weight" "0"
+ "antialias" "1"
+ }
+ }
+ "Symbol24"
+ {
+ "1"
+ {
+ "name" "Symbol"
+ "tall" "24"
+ "weight" "0"
+ "antialias" "1"
+ }
+ }
+ "SymbolOutline24"
+ {
+ "1"
+ {
+ "name" "Symbol"
+ "tall" "24"
+ "weight" "0"
+ "antialias" "1"
+ "outline" "1"
+ }
+ }
+ "Symbol32"
+ {
+ "1"
+ {
+ "name" "Symbol"
+ "tall" "32"
+ "weight" "0"
+ "antialias" "1"
+ }
+ }
+ "Symbol40"
+ {
+ "1"
+ {
+ "name" "Symbol"
+ "tall" "40"
+ "weight" "0"
+ "antialias" "1"
+ }
+ }
+ }
+
+ CustomFontFiles
+ {
+ "100" // Fog's xHairs
+ {
+ "font" "resource/fonts/crosshairs.ttf"
+ "name" "Crosshairs"
+ }
+ "101" // Thin Cross
+ {
+ "font" "resource/fonts/Symbol.ttf"
+ "name" "Symbol"
+ }
+ "102" // Konr Wings
+ {
+ "font" "resource/fonts/Garm3nFont.ttf"
+ "name" "Garm3nFont"
+ }
+ "103"
+ {
+ "font" "resource/fonts/KnucklesCrosses.ttf"
+ "name" "KnucklesCrosses"
+ }
}
} \ No newline at end of file
diff --git a/scripts/hudlayout.res b/scripts/hudlayout.res
index 529e2b0..6e94208 100644
--- a/scripts/hudlayout.res
+++ b/scripts/hudlayout.res
@@ -13,12 +13,12 @@
"visible" "0"
"enabled" "0"
"zpos" "2"
- "xpos" "c-102"
- "ypos" "c-99"
+ "xpos" "c-85"
+ "ypos" "c-100"
"wide" "200"
"tall" "200"
- "font" "Crosshairs26"
- "labelText" "2"
+ "font" "Crosshairs24"
+ "labelText" "i"
"textAlignment" "center"
"fgcolor" "Crosshair"
}
@@ -48,8 +48,8 @@
{
"controlName" "CExLabel"
"fieldName" "KnucklesCrosses"
- "visible" "0"
- "enabled" "0"
+ "visible" "0"
+ "enabled" "0"
"zpos" "0"
"xpos" "c-25"
"ypos" "c-24"
@@ -703,6 +703,7 @@
"scaleImage" "1"
}
//--------------------------------------------------------------
+
HudPlayerStatus
{
"fieldName" "HudPlayerStatus"
@@ -713,6 +714,7 @@
"wide" "f0"
"tall" "480"
}
+
HudWeaponAmmo
{
"fieldName" "HudWeaponAmmo"
@@ -739,13 +741,14 @@
HudKothTimeStatus
{
- "fieldName" "HudKothTimeStatus"
- "visible" "1"
- "enabled" "1"
- "xpos" "c-75"
- "ypos" "0"
- "wide" "200"
- "tall" "60"
+ "fieldName" "HudKothTimeStatus"
+ "visible" "1"
+ "enabled" "1"
+ "xpos" "c-75"
+ "ypos" "0"
+ "zpos" "5"
+ "wide" "200"
+ "tall" "60"
"blue_active_xpos" "25"
"red_active_xpos" "75"
@@ -771,8 +774,8 @@
"enabled" "1"
"xpos" "c-150"
"ypos" "c20"
- "xpos_minmode" "c-62"
- "ypos_minmode" "c24"
+ "xpos_minmode" "c-62"
+ "ypos_minmode" "c24"
"wide" "500"
"tall" "500"
}
@@ -796,8 +799,8 @@
"visible" "1"
"enabled" "1"
"xpos" "c-100"
- "ypos" "c111"
- "xpos_minmode" "c-75"
+ "ypos" "c111"
+ "xpos_minmode" "c-75"
"ypos_minmode" "c46"
"zpos" "1" // draw in front of ammo
"wide" "500"
@@ -818,7 +821,7 @@
"ypos_minmode" "r40" [$WIN32]
"xpos" "r112" [$X360]
"ypos" "r45" [$X360]
- "zpos" "1" // draw in front of ammo
+ "zpos" "1"
"wide" "60"
"wide_minmode" "50"
"tall" "8"
@@ -833,7 +836,7 @@
"enabled" "1"
"xpos" "c-100"
"ypos" "42"
- "zpos" "0" // draw in front of ammo
+ "zpos" "0"
"wide" "200"
"tall" "50"
"MeterFG" "Red"
@@ -987,7 +990,6 @@
"ypos_minmode" "c-20" [$WIN32]
"wide" "640"
"tall" "480"
-
"PaintBackgroundType" "2"
}
@@ -1004,7 +1006,6 @@
"ypos_lodef" "25"
"wide" "640"
"tall" "480"
-
"PaintBackgroundType" "2"
}
@@ -1018,7 +1019,6 @@
"zpos" "1"
"wide" "f0"
"tall" "480"
-
"PaintBackgroundType" "2"
}
@@ -1031,9 +1031,7 @@
"tall" "15"
"visible" "1"
"enabled" "1"
-
"BorderThickness" "1"
-
"PaintBackgroundType" "2"
}
@@ -1046,11 +1044,8 @@
"tall" "40"
"visible" "1"
"enabled" "1"
-
"PaintBackgroundType" "2"
-
- "FlashColor" "HudIcon_Red"
-
+ "FlashColor" "HudIcon_Red"
"icon_xpos" "0"
"icon_ypos" "2"
"digit_xpos" "34"
@@ -1066,9 +1061,7 @@
"tall" "44"
"visible" "1"
"enabled" "1"
-
"PaintBackgroundType" "2"
-
"IconColor" "Hostage_Yellow"
}
@@ -1081,11 +1074,9 @@
"ypos" "370"
"wide" "102"
"tall" "20"
-
"text_xpos" "8"
"text_ypos" "6"
"TextColor" "255 170 0 220"
-
"PaintBackgroundType" "2"
}
@@ -1095,12 +1086,12 @@
// "visible" "1"
// "enabled" "1"
// "MinimumWidth" "10"
-// "MaximumWidth" "10"
+// "MaximumWidth" "10"
// "StartRadius" "80"
// "EndRadius" "80"
// "MinimumHeight" "30"
// "MaximumHeight" "60"
-// "MinimumTime" "1"
+// "MinimumTime" "1"
}
HudCommentary
@@ -1112,25 +1103,21 @@
"tall" "50"
"visible" "1"
"enabled" "1"
-
"PaintBackgroundType" "2"
"BackgroundOverrideColor" "0 0 0 128"
-
"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_xpos_from_right" "10"
"count_ypos" "8"
-
"icon_texture" "vgui/hud/icon_commentary"
"icon_xpos" "0"
"icon_ypos" "0"
"icon_width" "40"
"icon_height" "40"
-
"use_script_bgcolor" "1"
}
@@ -1164,21 +1151,17 @@
"ypos" "20" [$WIN32]
"wide" "580"
"tall" "468"
-
"MaxDeathNotices" "8"
"IconScale" "0.35"
"LineHeight" "14"
"LineSpacing" "0"
"CornerRadius" "0"
"RightJustify" "1" // If 1, draw notices from the right
-
"TextFont" "CerbeticaBold12"
-
"TeamBlue" "HUDBlueTeamSolid"
"TeamRed" "HUDRedTeamSolid"
"IconColor" "HudWhite"
"LocalPlayerColor" "HUDBlack"
-
"BaseBackgroundColor" "46 43 42 125" [$WIN32]
"LocalBackgroundColor" "245 229 196 200" [$WIN32]
}
@@ -1246,7 +1229,6 @@
"wide" "640"
"tall" "480"
"zpos" "1"
-
"TextFont" "Default"
"ItemFont" "Default"
"ItemFontPulsing" "Default"
@@ -1264,7 +1246,6 @@
"ypos" "c90"
"xpos_minmode" "c-115"
"ypos_minmode" "c37"
-
"TextFont" "Default"
"ItemFont" "Default"
"ItemFontPulsing" "Default"
@@ -1283,9 +1264,7 @@
"ypos_minmode" "273" [$WIN32]
"wide_minmode" "100"
"tall_minmode" "40"
-
"BgAlpha" "0"
-
"GrowTime" "0.25"
"ItemHiddenTime" "0.2" // Nearly same as grow time so that the item doesn't start to show until growth is finished
"ItemFadeInTime" "0.15" // Once ItemHiddenTime is finished, takes this much longer to fade in
@@ -1331,6 +1310,7 @@
"wide" "640"
"tall" "480"
}
+
HudAnimationInfo
{
"fieldName" "HudAnimationInfo"
@@ -1339,6 +1319,7 @@
"wide" "640"
"tall" "480"
}
+
CBudgetPanel
{
"fieldName" "CBudgetPanel"
@@ -1347,6 +1328,7 @@
"wide" "640"
"tall" "480"
}
+
CTextureBudgetPanel
{
"fieldName" "CTextureBudgetPanel"
@@ -1365,7 +1347,6 @@
"tall" "1024"
}
-
HudLocation
{
"fieldName" "HudLocation"
@@ -1422,27 +1403,22 @@
"ypos" "0" [$X360]
"wide" "145"
"tall" "400"
-
"item_wide" "135"
-
"show_avatar" "1"
"avatar_ypos" "1"
"avatar_xpos" "1"
"avatar_wide" "14"
"avatar_tall" "14"
-
"show_dead_icon" "1"
"dead_xpos" "118"
"dead_ypos" "0"
"dead_wide" "16"
"dead_tall" "16"
-
"show_voice_icon" "1"
"icon_ypos" "0"
"icon_xpos" "28"
"icon_tall" "16"
"icon_wide" "16"
-
"text_xpos" "49"
}
@@ -1476,7 +1452,6 @@
"text_xgap" "8"
"text_ygap" "8"
"TextColor" "255 170 0 220"
-
"PaintBackgroundType" "2"
}
@@ -1525,16 +1500,6 @@
"enabled" "1"
"icon_space" "2"
}
-
- HUDAutoAim
- {
-
- }
-
- HudHDRDemo
- {
-
- }
WinPanel
{
@@ -1612,11 +1577,6 @@
"wide" "100"
"tall" "50"
}
-
- AnnotationsPanel
- {
-
- }
WaitingForPlayersPanel
{
@@ -1642,8 +1602,8 @@
"HudChat"
{
- "ControlName" "EditablePanel"
- "fieldName" "HudChat"
+ "ControlName" "EditablePanel"
+ "fieldName" "HudChat"
"visible" "1"
"enabled" "1"
"xpos" "10" [$WIN32]
@@ -1726,7 +1686,6 @@
"tall" "0"
}
-
HudTeamGoalTournament
{
"fieldName" "HudTeamGoalTournament"
@@ -1745,7 +1704,7 @@
"enabled" "1"
"xpos" "c-160"
"ypos" "75"
- "ypos_hidef" "90"
+ "ypos_hidef" "90"
"ypos_lodef" "90"
"wide" "320"
"tall" "100"
@@ -1758,8 +1717,8 @@
"enabled" "1"
"xpos" "c-160"
"ypos" "75"
- "ypos_hidef" "90"
- "ypos_lodef" "90"
+ "ypos_hidef" "90"
+ "ypos_lodef" "90"
"wide" "320"
"tall" "150"
}
@@ -1783,10 +1742,11 @@
"enabled" "1"
"xpos" "c-160"
"ypos" "65"
- "ypos_lodef" "75"
+ "ypos_lodef" "75"
"wide" "320"
"tall" "100"
}
+
HudTournament
{
"fieldName" "HudTournament"
@@ -1810,7 +1770,7 @@
"enabled" "1"
"xpos" "c-90"
"ypos" "-70"
- "ypos_lodef" "75"
+ "ypos_lodef" "75"
"wide" "180"
"tall" "65"
}
@@ -1820,10 +1780,11 @@
"fieldName" "HudStopWatch"
"visible" "1"
"enabled" "1"
- "xpos" "c-150"
+ "xpos" "0"
"ypos" "0"
- "wide" "300"
- "tall" "f0"
+ "zpos" "5"
+ "wide" "f0"
+ "tall" "70"
}
NotificationPanel
@@ -1844,8 +1805,7 @@
"enabled" "1"
"xpos" "0"
"ypos" "180"
- "wide" "f10" [$WIN32]
- "wide" "f60" [$X360]
+ "wide" "f10"
"tall" "100"
}
@@ -1918,16 +1878,6 @@
"wide" "200"
"tall" "300"
}
-
- HudTrainingMsg
- {
-
- }
-
- TrainingComplete
- {
-
- }
HudInspectPanel
{
@@ -2171,4 +2121,10 @@
"mouseinputenabled" "0"
"alpha" "100"
}
+
+ HUDAutoAim { }
+ HudHDRDemo { }
+ HudTrainingMsg { }
+ TrainingComplete { }
+ AnnotationsPanel { }
}