This commit is contained in:
mv 2024-08-30 03:11:24 +03:00
parent 0aba158320
commit 1d38da55e4
15 changed files with 1662 additions and 10 deletions

Binary file not shown.

View File

@ -79,19 +79,19 @@ Media
hammer hammer
{ {
Title "Hammer World Editor" Title "Hammer World Editor"
Program "hammer.exe -nop4" Program "hammer.exe -game \"%gamedir%\" -nop4"
Image 4 Image 4
} }
hlmv hlmv
{ {
Title "Model Viewer" Title "Model Viewer"
Program "hlmv.exe" Program "hlmv.exe -game \"%gamedir%\" -nop4"
Image 6 Image 6
} }
faceposer faceposer
{ {
Title "Face Poser" Title "Face Poser"
Program "hlfaceposer.exe -nop4" Program "hlfaceposer.exe -game \"%gamedir%\" -nop4"
Image 5 Image 5
} }
enginetools enginetools
@ -105,7 +105,7 @@ Media
"2" "2"
{ {
id 2 id 2
Name "Source Code" Name "Utilities"
modwizard modwizard
{ {
@ -113,6 +113,19 @@ Media
InlineProgram "CreateMod" InlineProgram "CreateMod"
Image 9 Image 9
} }
resetconfig
{
Title "Reset Game Configurations"
InlineProgram "reset_configs"
Image 11
}
editconfigs
{
Title "Edit Game Configurations"
Image 2
Program "vconfig.exe"
}
} }
"3" "3"
{ {

View File

@ -0,0 +1,101 @@
"resetconfirmbox.res"
{
"ResetConfirmation"
{
"ControlName" "Frame"
"fieldName" "ResetConfirmation"
"xpos" "547"
"ypos" "487"
"wide" "505"
"tall" "170"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"Title" "#Warning"
}
"Label1"
{
"ControlName" "Label"
"fieldName" "Label1"
"xpos" "26"
"ypos" "33"
"wide" "500"
"tall" "75"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#ConfirmReset"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "1"
}
"Ok"
{
"ControlName" "Button"
"fieldName" "OK"
"xpos" "73"
"ypos" "120"
"wide" "100"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "3"
"labelText" "#Reset"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "ResetConfigs"
"Default" "0"
}
"ShowFAQ"
{
"ControlName" "Button"
"fieldName" "ShowFAQ"
"xpos" "196"
"ypos" "120"
"wide" "100"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "2"
"labelText" "#Cancel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Close"
"Default" "1"
}
"MoreInfo"
{
"ControlName" "Button"
"fieldName" "MoreInfo"
"xpos" "319"
"ypos" "120"
"wide" "100"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "More Info..."
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "MoreInfo"
"Default" "0"
}
}

View File

@ -2,8 +2,8 @@
{ {
FileSystem FileSystem
{ {
SteamAppId 220 // This will mount all the GCFs we need (240=CS:S, 220=HL2). SteamAppId 630 // This will mount all the GCFs we need (240=CS:S, 220=HL2).
ToolsAppId 211 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc. ToolsAppId 630 // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
// //
// The code that loads this file automatically does a few things here: // The code that loads this file automatically does a few things here:
@ -26,6 +26,7 @@
SearchPaths SearchPaths
{ {
Game |gameinfo_path|. Game |gameinfo_path|.
Game swarm
Game swarm_base Game swarm_base
} }
} }

View File

@ -0,0 +1,101 @@
"hl2infobox.res"
{
"GameInfoMessageBox"
{
"ControlName" "Frame"
"fieldName" "GameInfoMessageBox"
"xpos" "527"
"ypos" "506"
"wide" "545"
"tall" "124"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"Title" "#Warning"
}
"Label1"
{
"ControlName" "Label"
"fieldName" "Label1"
"xpos" "9"
"ypos" "31"
"wide" "525"
"tall" "32"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Game_Not_Updated"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "1"
}
"RunAnyway"
{
"ControlName" "Button"
"fieldName" "RunAnyway"
"xpos" "68"
"ypos" "83"
"wide" "120"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "3"
"labelText" "#Run_Anyway"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "RunAnyway"
"Default" "0"
}
"Troubleshooting"
{
"ControlName" "Button"
"fieldName" "Troubleshooting"
"xpos" "346"
"ypos" "81"
"wide" "120"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "2"
"labelText" "#Troubleshooting"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Troubleshooting"
"Default" "1"
}
"Button3"
{
"ControlName" "Button"
"fieldName" "Button3"
"xpos" "206"
"ypos" "82"
"wide" "120"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"labelText" "#Cancel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Close"
"Default" "0"
}
}

View File

@ -7,7 +7,7 @@
"xpos" "625" "xpos" "625"
"ypos" "326" "ypos" "326"
"wide" "270" "wide" "270"
"tall" "355" "tall" "365"
"autoResize" "0" "autoResize" "0"
"pinCorner" "0" "pinCorner" "0"
"visible" "1" "visible" "1"
@ -29,17 +29,36 @@
"enabled" "1" "enabled" "1"
"tabPosition" "1" "tabPosition" "1"
} }
"CurrentGameList"
{
"ControlName" "ComboBox"
"fieldName" "CurrentGameList"
"xpos" "102"
"ypos" "320"
"wide" "160"
"tall" "24"
"autoResize" "1"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textHidden" "0"
"editable" "0"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
}
"Button1" "Button1"
{ {
"ControlName" "Button" "ControlName" "Button"
"fieldName" "Button1" "fieldName" "Button1"
"xpos" "253" "xpos" "173"
"ypos" "443" "ypos" "340"
"wide" "76" "wide" "76"
"tall" "24" "tall" "24"
"autoResize" "0" "autoResize" "0"
"pinCorner" "3" "pinCorner" "3"
"visible" "1" "visible" "0"
"enabled" "1" "enabled" "1"
"tabPosition" "0" "tabPosition" "0"
"labelText" "Close" "labelText" "Close"
@ -50,4 +69,39 @@
"Command" "Close" "Command" "Close"
"Default" "0" "Default" "0"
} }
"Label1"
{
"ControlName" "Label"
"fieldName" "Label1"
"xpos" "10"
"ypos" "320"
"wide" "90"
"tall" "24"
"autoResize" "0"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "Current Game:"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
}
"ResetConfirmation"
{
"ControlName" "Frame"
"fieldName" "ResetConfirmation"
"xpos" "547"
"ypos" "487"
"wide" "505"
"tall" "170"
"autoResize" "0"
"pinCorner" "0"
"visible" "0"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"Title" "#Warning"
}
} }

BIN
bin/vconfig.exe Normal file

Binary file not shown.

View File

@ -0,0 +1,158 @@
"ManageGamesDialog.res"
{
"ManageGamesDialog"
{
"ControlName" "CManageGamesDialog"
"fieldName" "ManageGamesDialog"
"xpos" "721"
"ypos" "450"
"wide" "475"
"tall" "200"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"Title" "#Title_ManageGames"
}
"GamePath"
{
"ControlName" "TextEntry"
"fieldName" "GamePath"
"xpos" "12"
"ypos" "106"
"wide" "365"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"textHidden" "0"
"editable" "1"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
}
"GameName"
{
"ControlName" "TextEntry"
"fieldName" "GameName"
"xpos" "11"
"ypos" "57"
"wide" "365"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"textHidden" "0"
"editable" "1"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
}
"LabelName"
{
"ControlName" "Label"
"fieldName" "LabelName"
"xpos" "13"
"ypos" "31"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Label_Name"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
}
"LabelDirectory"
{
"ControlName" "Label"
"fieldName" "LabelDirectory"
"xpos" "12"
"ypos" "82"
"wide" "128"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Label_Directory"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
}
"ButtonSelect"
{
"ControlName" "Button"
"fieldName" "ButtonSelect"
"xpos" "300"
"ypos" "160"
"wide" "72"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#OK"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Select"
"Default" "1"
}
"ButtonBrowse"
{
"ControlName" "Button"
"fieldName" "ButtonBrowse"
"xpos" "383"
"ypos" "106"
"wide" "72"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Button_Search"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Browse"
"Default" "0"
}
"ButtonCancel"
{
"ControlName" "Button"
"fieldName" "ButtonCancel"
"xpos" "383"
"ypos" "160"
"wide" "72"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cancel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Close"
"Default" "0"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 812 B

View File

@ -0,0 +1,143 @@
"VConfigDialog.res"
{
"VConfigDialog"
{
"ControlName" "CVConfigDialog"
"fieldName" "VConfigDialog"
"xpos" "645"
"ypos" "522"
"wide" "380"
"tall" "100"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"Title" "#Frame_Title"
}
"ConfigCombo"
{
"ControlName" "ComboBox"
"fieldName" "ConfigCombo"
"xpos" "10"
"ypos" "34"
"wide" "270"
"tall" "24"
"autoResize" "1"
"pinCorner" "2"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textHidden" "0"
"editable" "0"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
}
"ButtonSelect"
{
"ControlName" "Button"
"fieldName" "ButtonSelect"
"xpos" "291"
"ypos" "34"
"wide" "76"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#OK"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Select"
"Default" "1"
}
"ButtonManage"
{
"ControlName" "Button"
"fieldName" "ButtonManage"
"xpos" "10"
"ypos" "68"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Button_Edit"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Manage"
"Default" "0"
}
"ButtonClose"
{
"ControlName" "Button"
"fieldName" "ButtonClose"
"xpos" "291"
"ypos" "68"
"wide" "76"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Cancel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Close"
"Default" "0"
}
"AddButton"
{
"ControlName" "Button"
"fieldName" "AddButton"
"xpos" "81"
"ypos" "68"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Button_Add"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "AddConfig"
"Default" "0"
}
"RemoveButton"
{
"ControlName" "Button"
"fieldName" "RemoveButton"
"xpos" "151"
"ypos" "68"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Button_Remove"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "RemoveConfig"
"Default" "0"
}
}

View File

@ -0,0 +1,80 @@
"convinfobox.res"
{
"ConversionInfo"
{
"ControlName" "Frame"
"fieldName" "ConversionInfo"
"xpos" "527"
"ypos" "476"
"wide" "450"
"tall" "125"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"Title" "#Note"
}
"Label1"
{
"ControlName" "Label"
"fieldName" "Label1"
"xpos" "48"
"ypos" "36"
"wide" "375"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#Converted_INI"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "1"
}
"Ok"
{
"ControlName" "Button"
"fieldName" "OK"
"xpos" "103"
"ypos" "74"
"wide" "100"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "3"
"labelText" "#OK"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Close"
"Default" "1"
}
"ShowFAQ"
{
"ControlName" "Button"
"fieldName" "ShowFAQ"
"xpos" "222"
"ypos" "74"
"wide" "100"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "2"
"labelText" "#ShowFAQ"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "ShowFAQ"
"Default" "0"
}
}

13
bin/vconfig/gameinfo.txt Normal file
View File

@ -0,0 +1,13 @@
"GameInfo"
{
FileSystem
{
SteamAppId 630
SearchPaths
{
vconfig |gameinfo_path|. // for all the vconfig stuff
vconfig platform // for all the vgui stuff
}
}
}

Binary file not shown.

View File

@ -0,0 +1,988 @@
///////////////////////////////////////////////////////////
// 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" "221 221 221 255"
"DullWhite" "211 211 211 255"
"TransparentBlack" "0 0 0 128"
"Black" "0 0 0 255"
"Blank" "0 0 0 0"
// base colors
"BaseText" "216 222 211 255" // used in text windows, lists
"BrightBaseText" "255 255 255 255" // brightest text
"SelectedText" "255 255 255 255" // selected text
"DimBaseText" "160 170 149 255" // dim base text
"LabelDimText" "160 170 149 255" // used for info text
"ControlText" "216 222 211 255" // used in all text controls
"BrightControlText" "196 181 80 255" // use for selected controls
"DisabledText1" "117 128 111 255" // disabled text
"DisabledText2" "40 46 34 255" // overlay color for disabled text (to give that inset look)
"DimListText" "117 134 102 255" // offline friends, unsubscribed games, etc.
// 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" "149 136 49 255" // background color of any selected text or menu item
"SelectionBG2" "40 46 34 255" // selection background in window w/o focus
"ListBG" "62 70 55 255" // background of server browser, buddy list, etc.
// titlebar colors
"TitleText" "255 255 255 255"
"TitleDimText" "136 145 128 255"
"TitleBG" "76 88 68 0"
"TitleDimBG" "76 88 68 0"
// slider tick colors
"SliderTickColor" "127 140 127 255"
"SliderTrackColor" "31 31 31 255"
// border colors
"BorderBright" "136 145 128 255" // the lit side of a control
"BorderDark" "40 46 34 255" // the dark/unlit side of a control
"BorderSelection" "0 0 0 255" // the additional border color for displaying the default/selected button
"TestColor" "255 0 255 255"
}
///////////////////// BASE SETTINGS ////////////////////////
//
// default settings for all panels
// controls use these to determine their settings
BaseSettings
{
// vgui_controls color specifications
Border.Bright "BorderBright" // the lit side of a control
Border.Dark "BorderDark" // the dark/unlit side of a control
Border.Selection "BorderSelection" // the additional border color for displaying the default/selected button
Button.TextColor "ControlText"
Button.BgColor "ControlBG"
// Button.ArmedTextColor "BrightBaseText"
// Button.ArmedBgColor "SelectionBG"
// Button.DepressedTextColor "DimBaseText"
// Button.DepressedBgColor "ControlDarkBG"
Button.FocusBorderColor "TransparentBlack"
CheckButton.TextColor "BaseText"
CheckButton.SelectedTextColor "BrightControlText"
CheckButton.BgColor "ListBG"
CheckButton.Border1 "Border.Dark" // the left checkbutton border
CheckButton.Border2 "Border.Bright" // the right checkbutton border
CheckButton.Check "BrightControlText" // color of the check itself
ComboBoxButton.ArrowColor "DimBaseText"
ComboBoxButton.ArmedArrowColor "BrightBaseText"
ComboBoxButton.BgColor "ListBG"
ComboBoxButton.DisabledBgColor "ControlBG"
Frame.TitleTextInsetX 30
Frame.ClientInsetX 20
Frame.ClientInsetY 6
Frame.BgColor "ControlBG"
Frame.OutOfFocusBgColor "ControlBG"
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 "BorderBright"
FrameGrip.Color2 "BorderSelection"
FrameTitleButton.FgColor "BorderBright"
FrameTitleButton.BgColor "ControlBG"
FrameTitleButton.DisabledFgColor "TitleDimText"
FrameTitleButton.DisabledBgColor "TitleDimBG"
FrameSystemButton.FgColor "TitleBG"
FrameSystemButton.BgColor "TitleBG"
FrameSystemButton.Icon "resource/icon_vconfig"
FrameSystemButton.DisabledIcon "resource/icon_steam_disabled"
FrameTitleBar.TextColor "TitleText"
FrameTitleBar.BgColor "TitleBG"
FrameTitleBar.DisabledTextColor "TitleText"
FrameTitleBar.DisabledBgColor "TitleBG"
GraphPanel.FgColor "White"
GraphPanel.BgColor "TransparentBlack"
Label.TextDullColor "DimBaseText"
Label.TextColor "ControlText"
Label.TextBrightColor "BrightBaseText"
Label.SelectedTextColor "BrightControlText"
Label.BgColor "ControlBG"
Label.DisabledFgColor1 "DisabledText1"
Label.DisabledFgColor2 "DisabledText2"
ListPanel.TextColor "BaseText"
ListPanel.BgColor "ListBG"
ListPanel.SelectedTextColor "BrightBaseText"
ListPanel.SelectedBgColor "SelectionBG"
ListPanel.SelectedOutOfFocusBgColor "SelectionBG2"
ListPanel.EmptyListInfoTextColor "DimBaseText"
Menu.TextInset "6"
Menu.FgColor "DimBaseText"
Menu.BgColor "ControlBG"
Menu.ArmedFgColor "BrightBaseText"
Menu.ArmedBgColor "SelectionBG"
Menu.DividerColor "BorderDark"
Panel.FgColor "BorderSelection"
Panel.BgColor "ControlBG"
ProgressBar.FgColor "Label.FgColor"
ProgressBar.BgColor "Label.BgColor"
PropertySheet.TextColor "ControlText"
PropertySheet.SelectedTextColor "BrightControlText"
PropertySheet.TransitionEffectTime "0" // time to change from one tab to another
RadioButton.TextColor "ToggleButton.TextColor"
RadioButton.SelectedTextColor "ToggleButton.SelectedTextColor"
RichText.TextColor "TextEntry.TextColor"
RichText.BgColor "TextEntry.BgColor"
RichText.SelectedTextColor "TextEntry.SelectedTextColor"
RichText.SelectedBgColor "SelectionBG"
ScrollBar.Wide 17
ScrollBarButton.FgColor "ControlText"
ScrollBarButton.BgColor "ControlDarkBG"
ScrollBarButton.ArmedFgColor "BrightBaseText"
ScrollBarButton.ArmedBgColor "ControlDarkBG"
ScrollBarButton.DepressedFgColor "BrightBaseText"
ScrollBarButton.DepressedBgColor "ControlDarkBG"
ScrollBarSlider.BgColor "ControlDarkBG" // this isn't really used
ScrollBarSlider.FgColor "ControlBG" // handle with which the slider is grabbed
SectionedListPanel.HeaderTextColor "BrightControlText"
SectionedListPanel.HeaderBgColor "Blank"
SectionedListPanel.DividerColor "BorderDark"
SectionedListPanel.TextColor "BaseText"
SectionedListPanel.BrightTextColor "White"
SectionedListPanel.BgColor "ListBG"
SectionedListPanel.SelectedTextColor "SelectedText"
SectionedListPanel.SelectedBgColor "SelectionBG"
SectionedListPanel.OutOfFocusSelectedTextColor "SelectedText"
SectionedListPanel.OutOfFocusSelectedBgColor "SelectionBG2"
Slider.NobColor "ControlDarkBG"
Slider.TextColor "ControlBG"
Slider.TrackColor "ControlDarkBG"
// Slider.DisabledTextColor1 "117 117 117 255"
// Slider.DisabledTextColor2 "30 30 30 255"
TextEntry.TextColor "ControlText"
TextEntry.BgColor "ListBG"
TextEntry.CursorColor "Label.CursoColor"
TextEntry.DisabledTextColor "DimBaseText"
TextEntry.DisabledBgColor "ControlBG"
TextEntry.SelectedTextColor "SelectedText"
TextEntry.SelectedBgColor "SelectionBG"
TextEntry.OutOfFocusSelectedBgColor "SelectionBG2"
TextEntry.FocusEdgeColor "SelectionBG"
ToggleButton.SelectedTextColor "Label.SelectedTextColor"
// Tooltip.TextColor "0 0 0 196"
// Tooltip.BgColor "255 155 0 255"
TreeView.BgColor "ControlBG"
WizardSubPanel.BgColor "ControlBG"
}
//
//////////////////////// 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" "Courier New"
"tall" "10"
"weight" "500"
"antialias" "1"
}
}
// fonts are used in order that they are listed
"DebugFixedSmall"
{
"1"
{
"name" "Courier New"
"tall" "7"
"weight" "500"
"antialias" "1"
}
}
"DefaultFixedOutline"
{
"1"
{
"name" "Lucida Console"
"tall" "10"
"weight" "0"
"outline" "1"
}
}
"Default"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "500"
}
}
"DefaultBold"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "1000"
}
}
"DefaultUnderline"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "500"
"underline" "1"
}
}
"DefaultSmall"
{
"1"
{
"name" "Tahoma"
"tall" "13"
"weight" "0"
}
}
"DefaultSmallDropShadow"
{
"1"
{
"name" "Tahoma"
"tall" "13"
"weight" "0"
"dropshadow" "1"
}
}
"DefaultVerySmall"
{
"1"
{
"name" "Tahoma"
"tall" "12"
"weight" "0"
}
}
"DefaultLarge"
{
"1"
{
"name" "Tahoma"
"tall" "18"
"weight" "0"
}
}
"UiBold"
{
"1"
{
"name" "Tahoma"
"tall" "12"
"weight" "1000"
}
}
"MenuLarge"
{
"1"
{
"name" "Verdana"
"tall" "16"
"weight" "600"
"antialias" "1"
}
}
"ConsoleText"
{
"1"
{
"name" "Lucida Console"
"tall" "10"
"weight" "500"
}
}
// this is the symbol font
"Marlett"
{
"1"
{
"name" "Marlett"
"tall" "14"
"weight" "0"
"symbol" "1"
}
}
"Trebuchet24"
{
"1"
{
"name" "Trebuchet MS"
"tall" "24"
"weight" "900"
}
}
"Trebuchet20"
{
"1"
{
"name" "Trebuchet MS"
"tall" "20"
"weight" "900"
}
}
"Trebuchet18"
{
"1"
{
"name" "Trebuchet MS"
"tall" "18"
"weight" "900"
}
}
// 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" "Lucida Console"
"tall" "10"
"weight" "0"
}
// "1"
// {
// "name" "FixedSys"
// "tall" "20"
// "weight" "0"
// }
}
"DefaultFixedDropShadow"
{
"1"
{
"name" "Lucida Console"
"tall" "10"
"weight" "0"
"dropshadow" "1"
}
// "1"
// {
// "name" "FixedSys"
// "tall" "20"
// "weight" "0"
// }
}
"CloseCaption_Normal"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "500"
}
}
"CloseCaption_Italic"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "500"
"italic" "1"
}
}
"CloseCaption_Bold"
{
"1"
{
"name" "Tahoma"
"tall" "16"
"weight" "900"
}
}
"CloseCaption_BoldItalic"
{
"1"
{
"name" "Tahoma"
"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"
}
}
}
//
//////////////////// BORDERS //////////////////////////////
//
// describes all the border types
Borders
{
BaseBorder InsetBorder
ButtonBorder RaisedBorder
ComboBoxBorder InsetBorder
MenuBorder RaisedBorder
BrowserBorder InsetBorder
PropertySheetBorder RaisedBorder
TabBorder RaisedBorder
CheckBorder InsetBorder
FrameBorder RaisedBorder
TitleButtonBorder RaisedBorder
TitleButtonDepressedBorder InsetBorder
TitleButtonDisabledBorder
{
"backgroundtype" "0"
}
ScrollBarButtonBorder
{
"inset" "1 0 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"
}
}
}
InsetBorder
{
"inset" "0 0 1 1"
Right
{
"1"
{
"color" "Border.Bright"
"offset" "0 1"
}
}
Left
{
"1"
{
"color" "Border.Dark"
"offset" "1 0"
}
}
Bottom
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
Top
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
}
DepressedBorder
{
"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"
}
}
}
RaisedBorder
{
"inset" "0 0 1 1"
Right
{
"1"
{
"color" "Border.Dark"
"offset" "0 1"
}
}
Left
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
Top
{
"1"
{
"color" "Border.Bright"
"offset" "0 1"
}
}
Bottom
{
"1"
{
"color" "Border.Dark"
"offset" "0 0"
}
}
}
ScrollBarButtonBorder
{
"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"
}
}
}
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"
}
}
}
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.Bright"
"offset" "0 0"
}
}
Right
{
"1"
{
"color" "Border.Bright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
Bottom
{
"1"
{
"color" "Border.Bright"
"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"
Right
{
"1"
{
"color" "Border.Selection"
"offset" "0 0"
}
"2"
{
"color" "Border.Dark"
"offset" "1 1"
}
}
Bottom
{
"1"
{
"color" "Border.Selection"
"offset" "0 0"
}
"2"
{
"color" "Border.Dark"
"offset" "1 1"
}
}
Left
{
"1"
{
"color" "Border.Selection"
"offset" "0 0"
}
"2"
{
"color" "Border.Bright"
"offset" "1 0"
}
}
Top
{
"1"
{
"color" "Border.Selection"
"offset" "0 0"
}
"2"
{
"color" "Border.Bright"
"offset" "1 0"
}
}
}
ButtonDepressedBorder
{
"inset" "2 1 1 1"
Right
{
"1"
{
"color" "Border.Bright"
"offset" "1 1"
}
}
Left
{
"1"
{
"color" "Border.Dark"
"offset" "1 0"
}
}
Bottom
{
"1"
{
"color" "Border.Bright"
"offset" "0 0"
}
}
Top
{
"1"
{
"color" "Border.Dark"
"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"
}
}