diff --git a/src/TF2HUD.Editor/JSON/rayshud.json b/src/TF2HUD.Editor/JSON/rayshud.json index 8fc4a1f2..334f196e 100644 --- a/src/TF2HUD.Editor/JSON/rayshud.json +++ b/src/TF2HUD.Editor/JSON/rayshud.json @@ -28,8 +28,6 @@ } ] }, - "CustomizationsFolder": "resource//ui//#customizations", - "EnabledFolder": "resource//ui//#customizations//_enabled", "Controls": { "UberCharge": [ { @@ -163,15 +161,11 @@ "ToolTip": "Toggle crosshair feature.", "Value": "false", "Files": { - "scripts/hudlayout_base.res": { + "resource/ui/hudplayerclass.res": { "CustomCrosshair": { "visible": { "true": "1", "false": "0" - }, - "enabled": { - "true": "1", - "false": "0" } } } @@ -184,7 +178,7 @@ "ToolTip": "Toggle hitmarker animation.", "Value": "true", "Files": { - "scripts/hudanimations_custom.txt": { + "scripts/hudanimations_hitmarker.txt": { "uncomment": [ "StopEvent HitMarker", "RunEvent HitMarker" @@ -199,7 +193,7 @@ "ToolTip": "Style of crosshair.", "Value": "<", "Files": { - "scripts/hudlayout_base.res": { + "resource/ui/hudplayerclass.res": { "CustomCrosshair": { "labelText": "$value" } @@ -216,7 +210,7 @@ "Increment": "1", "ToolTip": "Size of the crosshair.", "Files": { - "scripts/hudlayout_base.res": { + "resource/ui/hudplayerclass.res": { "CustomCrosshair": { "font": "Size:$value | Outline:OFF" } @@ -230,7 +224,6 @@ "ToolTip": "Default crosshair color.", "Value": "242 242 242 255", "Restart": true, - "Width": 125, "Files": { "resource/scheme/clientscheme_colors.res": { "Scheme": { @@ -248,7 +241,6 @@ "ToolTip": "Color of crosshair when hitting another player.", "Value": "255 0 0 255", "Restart": true, - "Width": 125, "Files": { "resource/scheme/clientscheme_colors.res": { "Scheme": { @@ -678,7 +670,228 @@ "Value": "false", "Restart": true, "ToolTip": "Toggle to the classic main menu style.", - "FileName": "mainmenuoverride_classic.res" + "Files": { + "resource/ui/mainmenuoverride.res": { + "TFLogoImage": { + "visible": { + "true": "1", + "false": "0" + } + }, + "HudName": { + "visible": { + "true": "0", + "false": "1" + } + }, + "RankModelPanel": { + "ypos": { + "true": "cs-0.47", + "false": "cs-0.5-15" + } + }, + "CycleRankTypeButton": { + "xpos": { + "true": "250", + "false": "270" + }, + "ypos": { + "true": "cs-0.4-05", + "false": "cs-0.5-33" + } + }, + "RankPanel": { + "xpos": { + "true": "50", + "false": "30" + }, + "ypos": { + "true": "250", + "false": "205" + } + }, + "NoGCMessage": { + "xpos": { + "true": "75", + "false": "30" + }, + "ypos": { + "true": "240", + "false": "200" + }, + "wide": { + "true": "200", + "false": "260" + } + }, + "NoGCImage": { + "xpos": { + "true": "210", + "false": "220" + }, + "ypos": { + "true": "260", + "false": "220" + } + }, + "FriendsContainer": { + "xpos": { + "true": "80", + "false": "40" + }, + "ypos": { + "true": "310", + "false": "270" + }, + "wide": { + "true": "210", + "false": "260" + }, + "SteamFriendsList": { + "wide": { + "true": "f20", + "false": "242" + }, + "friendpanel_kv": { + "wide": { + "true": "85", + "false": "110" + } + } + } + }, + "CharacterSetupButton": { + "xpos": { + "true": "90", + "false": "30" + }, + "ypos": { + "true": "85", + "false": "82" + }, + "wide": { + "true": "150", + "false": "260" + }, + "textinsetx": { + "true": "0", + "false": "25" + }, + "border_armed": { + "true": "NoBorder", + "false": "MainMenuTabs" + } + }, + "GeneralStoreButton": { + "wide": { + "true": "150", + "false": "260" + }, + "textinsetx": { + "true": "0", + "false": "25" + }, + "border_armed": { + "true": "NoBorder", + "false": "MainMenuTabs" + } + }, + "SteamWorkshopButton": { + "wide": { + "true": "150", + "false": "260" + }, + "textinsetx": { + "true": "0", + "false": "25" + }, + "border_armed": { + "true": "NoBorder", + "false": "MainMenuTabs" + } + }, + "SettingButton": { + "wide": { + "true": "150", + "false": "260" + }, + "textinsetx": { + "true": "0", + "false": "25" + }, + "border_armed": { + "true": "NoBorder", + "false": "MainMenuTabs" + } + }, + "AdvSettingsButton": { + "wide": { + "true": "150", + "false": "260" + }, + "textinsetx": { + "true": "0", + "false": "25" + }, + "border_armed": { + "true": "NoBorder", + "false": "MainMenuTabs" + } + }, + "MinmodeToggle": { + "wide": { + "true": "150", + "false": "260" + }, + "textinsetx": { + "true": "0", + "false": "25" + }, + "border_armed": { + "true": "NoBorder", + "false": "MainMenuTabs" + } + }, + "AchievementsButton": { + "xpos": { + "true": "90", + "false": "110" + }, + "ypos": { + "true": "210", + "false": "62" + } + }, + "BGPanel1": { + "xpos": { + "true": "75", + "false": "30" + }, + "ypos": { + "true": "0", + "false": "57" + }, + "wide": { + "true": "200", + "false": "260" + }, + "tall": { + "true": "f0", + "false": "370" + }, + "bgcolor_override": { + "true": "DarkGrey", + "false": "25 25 25 168" + } + }, + "BGPanel2": { + "visible": { + "true": "1", + "false": "0" + } + } + } + } }, { "Name": "rh_toggle_min_scoreboard", @@ -686,7 +899,172 @@ "Type": "Checkbox", "Value": "false", "ToolTip": "Toggle to a minimal scoreboard style.", - "FileName": "scoreboard_minimal.res" + "Files": { + "resource/ui/scoreboard.res": { + "BlueScoreBG": { + "ypos": { + "true": "250", + "false": "144" + } + }, + "ClassImage": { + "ypos": { + "true": "-30", + "false": "-115" + }, + "pin_to_sibling": { + "true": "RedPlayerList", + "false": "LocalPlayerStatsPanel" + } + }, + "classmodelpanel": { + "ypos": { + "true": "50", + "false": "0" + }, + "pin_to_sibling": { + "true": "RedPlayerList", + "false": "LocalPlayerStatsPanel" + }, + "pin_corner_to_sibling": { + "true": "PIN_TOPLEFT", + "false": "PIN_BOTTOMLEFT" + }, + "pin_to_sibling_corner": { + "true": "PIN_TOPRIGHT", + "false": "PIN_BOTTOMRIGHT" + } + }, + "SideBG": { + "visible": { + "true": "1", + "false": "0" + } + }, + "LocalPlayerStatsPanel": { + "wide": { + "true": "150", + "false": "540" + }, + "tall": { + "true": "190", + "false": "70" + }, + "pin_to_sibling": { + "true": "SideBG", + "false": "MainBG" + }, + "pin_corner_to_sibling": { + "true": "PIN_TOPLEFT", + "false": "PIN_BOTTOMLEFT" + }, + "pin_to_sibling_corner": { + "true": "PIN_TOPLEFT", + "false": "PIN_BOTTOMLEFT" + }, + "KillsLabel": { + "xpos": { + "true": "70", + "false": "265" + }, + "ypos": { + "true": "-10", + "false": "0" + } + }, + "AssistsLabel": { + "xpos": { + "true": "40", + "false": "15" + }, + "ypos": { + "true": "50", + "false": "2" + } + }, + "DestructionLabel": { + "xpos": { + "true": "9999", + "false": "0" + } + }, + "CapturesLabel": { + "xpos": { + "true": "9999", + "false": "0" + } + }, + "DefensesLabel": { + "xpos": { + "true": "9999", + "false": "0" + } + }, + "DominationLabel": { + "xpos": { + "true": "9999", + "false": "0" + } + }, + "RevengeLabel": { + "pin_to_sibling": { + "true": "DefensesLabel", + "false": "DominationLabel" + } + }, + "HealingLabel": { + "pin_to_sibling": { + "true": "AssistsLabel", + "false": "RevengeLabel" + } + }, + "InvulnLabel": { + "xpos": { + "true": "9999", + "false": "0" + } + }, + "TeleportsLabel": { + "xpos": { + "true": "0", + "false": "342" + }, + "pin_to_sibling": { + "true": "HealingLabel", + "false": "DominationsLabel" + }, + "pin_to_sibling_corner": { + "true": "PIN_BOTTOMLEFT", + "false": "PIN_TOPLEFT" + } + }, + "BonusLabel": { + "xpos": { + "true": "9999", + "false": "0" + } + }, + "SupportLabel": { + "xpos": { + "true": "0", + "false": "5" + }, + "ypos": { + "true": "1", + "false": "0" + }, + "pin_to_sibling": { + "true": "BackstabsLabel", + "false": "Teleports2" + }, + "pin_to_sibling_corner": { + "true": "PIN_BOTTOMLEFT", + "false": "PIN_TOPRIGHT" + } + } + } + } + } }, { "Name": "rh_toggle_disguise_image", @@ -695,11 +1073,13 @@ "ToolTip": "Toggle the spy silhouette seen when changing the disguise.", "Value": "false", "Files": { - "scripts/hudanimations_custom.txt": { - "uncomment": [ - "RunEvent HudSpyDisguiseChanged", - "Animate PlayerStatusSpyImage" - ] + "resource/ui/hudplayerclass.res": { + "PlayerStatusSpyOutlineImage": { + "image": { + "true": "../hud/class_spy_outline", + "false": "../vgui/replay/thumbnails/transparent" + } + } } } }, @@ -711,7 +1091,7 @@ "Value": "false", "Restart": true, "Files": { - "resource/ui/mainmenuoverride_base.res": { + "resource/ui/mainmenuoverride.res": { "TFCharacterImage": { "ypos": { "true": "-80", @@ -735,8 +1115,12 @@ "false": "c108" }, "xpos_minmode": { - "true": "c-138", + "true": "c-145", "false": "c58" + }, + "ypos_minmode": { + "true": "253", + "false": "263" } } } @@ -749,31 +1133,68 @@ "ToolTip": "Toggle position of the game chat to be near the bottom.", "Value": "false", "Files": { - "resource/ui/basechat_base.res": { + "resource/ui/basechat.res": { "HudChat": { "ypos": { "true": "315", - "false": "25" + "false": "20" } } } } }, { - "Name": "rh_toggle_center_team", + "Name": "rh_toggle_center_class", "Label": "Centered Class Select", "Type": "Checkbox", "ToolTip": "Toggle style of the class select to be center-oriented.", "Value": "false", - "FileName": "classselection_center.res" - }, - { - "Name": "rh_toggle_center_class", - "Label": "Centered Team Select", - "Type": "Checkbox", - "ToolTip": "Toggle style of the team select to be center-oriented.", - "Value": "false", - "FileName": "teammenu_center.res" + "Files": { + "resource/ui/classselection.res": { + "SidePanelBG": { + "wide": { + "true": "0", + "false": "255" + } + }, + "SelectClassLabel": { + "visible": { + "true": "1", + "false": "0" + } + }, + "scout": { + "xpos": { + "true": "c81", + "false": "32" + }, + "ypos": { + "true": "164", + "false": "275" + } + }, + "TFPlayerModel": { + "xpos": { + "true": "c-360", + "false": "0" + }, + "wide": { + "true": "420", + "false": "255" + }, + "tall": { + "true": "480", + "false": "270" + }, + "model": { + "origin_x": { + "true": "250", + "false": "270" + } + } + } + } + } }, { "Name": "rh_toggle_metal_pos", @@ -782,10 +1203,10 @@ "ToolTip": "Toggle the position of the Engineer's metal counter to be near the middle.", "Value": "false", "Files": { - "scripts/hudlayout_base.res": { + "scripts/hudlayout.res": { "CHudAccountPanel": { "xpos": { - "true": "c-20", + "true": "c-27", "false": "c200" }, "ypos": { @@ -793,7 +1214,7 @@ "false": "c130" }, "xpos_minmode": { - "true": "c-30", + "true": "c-27", "false": "c130" }, "ypos_minmode": { @@ -804,6 +1225,23 @@ } } }, + { + "Name": "rh_toggle_speedometer", + "Label": "Speedometer", + "Type": "Checkbox", + "ToolTip": "Toggle speedometer below the crosshair.", + "Value": "false", + "Files": { + "resource/ui/hudplayerclass.res": { + "Speedometer": { + "visible": { + "true": "1", + "false": "0" + } + } + } + } + }, { "Name": "rh_toggle_transparent_viewmodels", "Label": "Transparent Viewmodels", @@ -812,15 +1250,11 @@ "Special": "TransparentViewmodels", "Value": "false", "Files": { - "scripts/hudlayout_base.res": { + "scripts/hudlayout.res": { "TransparentViewmodel": { "visible": { "true": "1", "false": "0" - }, - "enabled": { - "true": "1", - "false": "0" } } } @@ -834,11 +1268,411 @@ "Value": "false", "FileName": "hudplayerclass_left.res", "Files": { - "scripts/hudlayout_base.res": { + "scripts/hudlayout.res": { "DisguiseStatus": { + "xpos": { + "true": "25", + "false": "r150" + } + } + }, + "resource/ui/hudplayerclass.res": { + "classmodelpanel": { + "xpos": { + "true": "0", + "false": "r210" + }, + "ypos": { + "true": "r200", + "false": "r148" + }, + "wide": { + "true": "150", + "false": "75" + }, + "tall": { + "true": "200", + "false": "150" + }, + "fov": { + "true": "23", + "false": "25" + }, + "model": { + "angles_x": { + "true": "0", + "false": "-13" + }, + "angles_y": { + "true": "165", + "false": "150" + }, + "origin_x": { + "true": "200", + "false": "138" + }, + "origin_y": { + "true": "0", + "false": "-4" + }, + "origin_z": { + "true": "-80", + "false": "-93" + } + } + }, + "CarryingWeapon": { "xpos": { "true": "100", - "false": "15" + "false": "r250" + } + }, + "PlayerStatusSpyOutlineImage": { + "image": { + "true": "../vgui/replay/thumbnails/transparent", + "false": "../hud/class_spy_outline" + } + } + } + } + }, + { + "Name": "rh_toggle_streamer_mode", + "Label": "Streamer Mode", + "Type": "Checkbox", + "ToolTip": "Removes player and game details, useful when streaming.", + "Value": "false", + "Width": 250, + "Files": { + "resource/ui/basechat.res": { + "HudChat": { + "wide": { + "true": "0", + "false": "250" + } + } + }, + "resource/ui/dashboardpartymember.res": { + "avatar": { + "ypos": { + "true": "9999", + "false": "1" + } + } + }, + "resource/ui/disguisestatuspanel.res": { + "DisguiseNameLabel": { + "ypos": { + "true": "9999", + "false": "0" + } + } + }, + "resource/ui/freezepanel_basic.res": { + "FreezePanelBase": { + "FreezeLabel": { + "ypos": { + "true": "9999", + "false": "0" + } + }, + "FreezeLabelKiller": { + "ypos": { + "true": "9999", + "false": "15" + } + } + } + }, + "resource/ui/hudarenawinpanel.res": { + "ArenaWinPanelWinnersPanel": { + "Player1Avatar": { + "ypos": { + "true": "9999", + "false": "4" + } + }, + "Player1Name": { + "ypos": { + "true": "9999", + "false": "4" + } + }, + "Player2Avatar": { + "ypos": { + "true": "9999", + "false": "19" + } + }, + "Player2Name": { + "ypos": { + "true": "9999", + "false": "19" + } + }, + "Player3Avatar": { + "ypos": { + "true": "9999", + "false": "34" + } + }, + "Player3Name": { + "ypos": { + "true": "9999", + "false": "34" + } + } + }, + "ArenaWinPanelLosersPanel": { + "Player1Avatar": { + "ypos": { + "true": "9999", + "false": "4" + } + }, + "Player1Name": { + "ypos": { + "true": "9999", + "false": "4" + } + }, + "Player2Avatar": { + "ypos": { + "true": "9999", + "false": "19" + } + }, + "Player2Name": { + "ypos": { + "true": "9999", + "false": "19" + } + }, + "Player3Avatar": { + "ypos": { + "true": "9999", + "false": "34" + } + }, + "Player3Name": { + "ypos": { + "true": "9999", + "false": "34" + } + } + } + }, + "resource/ui/hudinspectpanel.res": { + "itempanel": { + "ItemLabel": { + "ypos": { + "true": "9999", + "false": "3" + } + } + } + }, + "resource/ui/hudkillstreaknotice.res": { + "SplashLabel": { + "ypos": { + "true": "9999", + "false": "70" + } + } + }, + "resource/ui/matchmakingtooltip.res": { + "TooltipPanel": { + "TipLabel": { + "ypos": { + "true": "9999", + "false": "10" + } + } + } + }, + "resource/ui/mvmscoreboard.res": { + "MvMPlayerList": { + "ypos": { + "true": "9999", + "false": "248" + } + } + }, + "resource/ui/pvprankpanel.res": { + "BGPanel": { + "NameLabel": { + "labelText": { + "true": "STREAMER MODE", + "false": "%name%" + } + } + } + }, + "resource/ui/hudmatchstatus.res": { + "TeamStatus": { + "playerpanels_kv": { + "wide": { + "true": "0", + "false": "25" + } + } + }, + "BlueTeamPanel": { + "wide": { + "true": "0", + "false": "150" + } + }, + "RedTeamPanel": { + "wide": { + "true": "0", + "false": "150" + } + } + }, + "resource/ui/scoreboard.res": { + "BluePlayerList": { + "wide": { + "true": "0", + "false": "270" + } + }, + "RedPlayerList": { + "labelText": { + "wide": "0", + "false": "270" + } + }, + "ServerLabel": { + "ypos": { + "true": "9999", + "false": "0" + } + } + }, + "resource/ui/hudplayerclass.res": { + "CarryingWeapon": { + "OwnerLabel": { + "ypos": { + "true": "9999", + "false": "14" + } + } + } + }, + "resource/ui/targetid.res": { + "TargetNameLabel": { + "labeltext": { + "true": "", + "false": "%targetname%" + } + } + }, + "resource/ui/votehud.res": { + "VoteActive": { + "Header": { + "ypos": { + "true": "9999", + "false": "5" + } + } + } + }, + "resource/ui/winpanel.res": { + "Player1Avatar": { + "ypos": { + "true": "9999", + "false": "120" + } + }, + "Player1Name": { + "ypos": { + "true": "9999", + "false": "117" + } + }, + "Player2Avatar": { + "ypos": { + "true": "9999", + "false": "136" + } + }, + "Player2Name": { + "ypos": { + "true": "9999", + "false": "133" + } + }, + "Player3Avatar": { + "ypos": { + "true": "9999", + "false": "152" + } + }, + "Player3Name": { + "ypos": { + "true": "9999", + "false": "149" + } + } + }, + "resource/ui/hudmatchsummary.res": { + "MainStatsContainer": { + "TeamScoresPanel": { + "BlueTeamPanel": { + "wide": { + "true": "0", + "false": "f0" + }, + "BluePlayerListParent": { + "BluePlayerList": { + "wide": { + "true": "0", + "false": "p.465" + } + } + } + }, + "RedTeamPanel": { + "wide": { + "true": "0", + "false": "f0" + }, + "RedPlayerListParent": { + "RedPlayerList": { + "wide": { + "true": "0", + "false": "p.465" + } + } + } + } + } + } + }, + "resource/ui/hudtournament.res": { + "HudTournament": { + "playerpanels_kv": { + "playername": { + "wide": { + "true": "9999", + "false": "48" + } + } + } + } + }, + "scripts/hudlayout.res": { + "HudDeathNotice": { + "TextFont": { + "true": "", + "false": "HudFontSmallest" + } + }, + "HudVoiceStatus": { + "text_xpos": { + "true": "9999", + "false": "25" } } } @@ -872,7 +1706,7 @@ "Maximum": "9", "Increment": "1", "Files": { - "scripts/hudlayout_base.res": { + "scripts/hudlayout.res": { "HudDeathNotice": { "MaxDeathNotices": "$value" } @@ -886,6 +1720,7 @@ "ToolTip": "Change the style of background image shown on the main menu.", "Value": "1", "Restart": true, + "Width": 210, "Options": [ { "Label": "Modern", @@ -910,6 +1745,239 @@ } ] }, + { + "Name": "rh_val_health_style", + "Label": "Health Style", + "Type": "ComboBox", + "ToolTip": "Change the style of the player health.", + "Value": "0", + "Restart": false, + "Width": 210, + "Options": [ + { + "Label": "Default", + "Value": "0", + "Files": { + "resource/ui/hudplayerhealth.res": { + "PlayerStatusHealthImage": { + "xpos": "54", + "xpos_minmode": "93", + "ypos_minmode": "41", + "wide": "36", + "tall": "36", + "wide_minmode": "20", + "tall_minmode": "20", + "visible": "0" + }, + "PlayerStatusHealthImageBG": { + "xpos": "52", + "xpos_minmode": "92", + "ypos_minmode": "40", + "wide": "0", + "tall": "40", + "wide_minmode": "0", + "tall_minmode": "22", + "visible": "0" + }, + "PlayerStatusHealthBonusImage": { + "xpos": "116", + "ypos": "18", + "xpos_minmode": "140", + "ypos_minmode": "40", + "wide": "68", + "tall": "68", + "wide_minmode": "22", + "tall_minmode": "22" + }, + "PlayerHealthValue": { + "xpos": "0", + "ypos": "0", + "xpos_minmode": "0", + "ypos_minmode": "0", + "font": "Cerbetica56", + "font_minmode": "Cerbetica32" + }, + "PlayerHealthShadow": { + "xpos_minmode": "-2", + "ypos_minmode": "-2", + "font": "Cerbetica56", + "font_minmode": "Cerbetica32" + }, + "HPBorderPanel1": { + "xpos": "64", + "ypos": "32", + "xpos_minmode": "98", + "ypos_minmode": "39", + "wide": "16", + "tall": "42", + "wide_minmode": "11", + "tall_minmode": "25", + "visible": "0" + }, + "HPBorderPanel2": { + "xpos": "51", + "ypos": "45", + "xpos_minmode": "91", + "ypos_minmode": "46", + "wide": "43", + "tall": "16", + "wide_minmode": "25", + "tall_minmode": "11", + "visible": "0" + } + } + } + }, + { + "Label": "Team Cross", + "Value": "1", + "Files": { + "resource/ui/hudplayerhealth.res": { + "PlayerStatusHealthImage": { + "xpos": "54", + "xpos_minmode": "93", + "ypos_minmode": "41", + "wide": "36", + "tall": "36", + "wide_minmode": "20", + "tall_minmode": "20", + "visible": "1" + }, + "PlayerStatusHealthImageBG": { + "xpos": "52", + "xpos_minmode": "92", + "ypos_minmode": "40", + "wide": "40", + "tall": "40", + "wide_minmode": "22", + "tall_minmode": "22", + "visible": "0" + }, + "PlayerStatusHealthBonusImage": { + "xpos": "52", + "ypos": "33", + "xpos_minmode": "91", + "ypos_minmode": "39", + "wide": "40", + "tall": "40", + "wide_minmode": "25", + "tall_minmode": "25" + }, + "PlayerHealthValue": { + "xpos": "0", + "ypos": "0", + "xpos_minmode": "0", + "ypos_minmode": "0", + "font": "Cerbetica56", + "font_minmode": "Cerbetica32" + }, + "PlayerHealthShadow": { + "xpos_minmode": "-2", + "ypos_minmode": "-2", + "font": "Cerbetica56", + "font_minmode": "Cerbetica32" + }, + "HPBorderPanel1": { + "xpos": "64", + "ypos": "32", + "xpos_minmode": "98", + "ypos_minmode": "39", + "wide": "16", + "tall": "42", + "wide_minmode": "11", + "tall_minmode": "25", + "visible": "1" + }, + "HPBorderPanel2": { + "xpos": "51", + "ypos": "45", + "xpos_minmode": "91", + "ypos_minmode": "46", + "wide": "43", + "tall": "16", + "wide_minmode": "25", + "tall_minmode": "11", + "visible": "1" + } + } + } + }, + { + "Label": "Broesel Cross", + "Value": "2", + "Files": { + "resource/ui/hudplayerhealth.res": { + "PlayerStatusHealthImage": { + "xpos": "104", + "xpos_minmode": "104", + "ypos_minmode": "35", + "wide": "56", + "tall": "56", + "wide_minmode": "45", + "tall_minmode": "45", + "visible": "1" + }, + "PlayerStatusHealthImageBG": { + "xpos": "102", + "xpos_minmode": "102", + "ypos_minmode": "33", + "wide": "60", + "tall": "60", + "wide_minmode": "49", + "tall_minmode": "49", + "visible": "1" + }, + "PlayerStatusHealthBonusImage": { + "xpos": "99", + "ypos": "30", + "xpos_minmode": "98", + "ypos_minmode": "29", + "wide": "66", + "tall": "66", + "wide_minmode": "56", + "tall_minmode": "56" + }, + "PlayerHealthValue": { + "xpos": "-18", + "ypos": "12", + "xpos_minmode": "-23", + "ypos_minmode": "7", + "font": "Cerbetica24", + "font_minmode": "Cerbetica18" + }, + "PlayerHealthShadow": { + "xpos_minmode": "-1", + "ypos_minmode": "-1", + "font": "Cerbetica24", + "font_minmode": "Cerbetica18" + }, + "HPBorderPanel1": { + "xpos": "119", + "ypos": "31", + "xpos_minmode": "115", + "ypos_minmode": "31", + "wide": "26", + "tall": "64", + "wide_minmode": "23", + "tall_minmode": "54", + "visible": "1" + }, + "HPBorderPanel2": { + "xpos": "100", + "ypos": "50", + "xpos_minmode": "100", + "ypos_minmode": "46", + "wide": "64", + "tall": "26", + "wide_minmode": "53", + "tall_minmode": "23", + "visible": "1" + } + } + } + } + ] + }, { "Name": "rh_custom_background", "Label": "Set Custom Background", diff --git a/src/TF2HUD.Editor/MainWindow.xaml.cs b/src/TF2HUD.Editor/MainWindow.xaml.cs index 72be77ec..f0922406 100644 --- a/src/TF2HUD.Editor/MainWindow.xaml.cs +++ b/src/TF2HUD.Editor/MainWindow.xaml.cs @@ -45,7 +45,7 @@ public MainWindow() // Check for tf/custom directory SetupDirectory(); - + // Check for updates if (Settings.Default.app_update_auto == true) UpdateAppSchema(true); }