diff --git a/Update.xml b/Update.xml index 336cfee6..e53879d6 100644 --- a/Update.xml +++ b/Update.xml @@ -1,7 +1,7 @@ - 3.1.0.0 - https://github.com/CriticalFlaw/TF2HUD.Editor/releases/download/3.1/tf2hud-editor-x64.zip - https://github.com/CriticalFlaw/TF2HUD.Editor/releases/tag/3.1 + 3.2.0.0 + https://github.com/CriticalFlaw/TF2HUD.Editor/releases/download/3.2/tf2hud-editor-x64.zip + https://github.com/CriticalFlaw/TF2HUD.Editor/releases/tag/3.2 true diff --git a/src/TF2HUD.Editor/Classes/HUD/HUDCustomizations.cs b/src/TF2HUD.Editor/Classes/HUD/HUDCustomizations.cs index 7f07e7cd..a2d620fb 100644 --- a/src/TF2HUD.Editor/Classes/HUD/HUDCustomizations.cs +++ b/src/TF2HUD.Editor/Classes/HUD/HUDCustomizations.cs @@ -228,12 +228,10 @@ private void MoveCustomizationFiles(Dictionary.ValueCollecti if (option.RenameFile.OldName.EndsWith('/')) { if (Directory.Exists(path + option.RenameFile.NewName)) - Directory.Move(path + option.RenameFile.NewName, - path + option.RenameFile.OldName); + Directory.Move(path + option.RenameFile.NewName, path + option.RenameFile.OldName); if (string.Equals(option.Value, setting.Value)) - Directory.Move(path + option.RenameFile.OldName, - path + option.RenameFile.NewName); + Directory.Move(path + option.RenameFile.OldName, path + option.RenameFile.NewName); } else { @@ -250,25 +248,26 @@ private void MoveCustomizationFiles(Dictionary.ValueCollecti // Move every file assigned to this control back to the customization folder first. foreach (string file in fileNames) { - var name = file.Replace(".res", string.Empty); - if (Directory.Exists(enabled + $"\\{name}")) - Directory.Move(enabled + $"\\{name}", custom + $"\\{name}"); - else if (File.Exists(enabled + $"\\{name}.res")) - File.Move(enabled + $"\\{name}.res", custom + $"\\{name}.res", true); + var dir = file.Replace(".res", string.Empty); + if (Directory.Exists(enabled + $"\\{dir}")) + Directory.Move(enabled + $"\\{dir}", custom + $"\\{dir}"); + else if (File.Exists(enabled + $"\\{file}")) + File.Move(enabled + $"\\{file}", custom + $"\\{file}", true); } - // Only move the files for the control option selected by the user. - if (!string.Equals(setting.Value, "0")) - { - var name = control.Options[int.Parse(setting.Value)].FileName; - if (string.IsNullOrWhiteSpace(name)) break; + var name = control.Options[int.Parse(setting.Value)].FileName; + if (string.IsNullOrWhiteSpace(name)) break; - name = name.Replace(".res", string.Empty); - if (Directory.Exists(custom + $"\\{name}")) + name = name.Replace(".res", string.Empty); + if (Directory.Exists(custom + $"\\{name}")) + { + if (control.ComboDirectories is not null) + CopyDirectory(custom + $"\\{name}", enabled); + else Directory.Move(custom + $"\\{name}", enabled + $"\\{name}"); - else if (File.Exists(custom + $"\\{name}.res")) - File.Move(custom + $"\\{name}.res", enabled + $"\\{name}.res", true); } + else if (File.Exists(custom + $"\\{name}.res")) + File.Move(custom + $"\\{name}.res", enabled + $"\\{name}.res", true); break; } @@ -786,5 +785,32 @@ private async void CopyTransparentViewmodelAddon(bool enable = false) MainWindow.ShowMessageBox(MessageBoxImage.Error, string.Format(Utilities.GetLocalizedString("error_transparent_vm"), e.Message)); } } + + /// + /// Function for copying multiple files and subdirectories, recursively. + /// + static void CopyDirectory(string source, string destination) + { + // Get information about the source directory. + var dir = new DirectoryInfo(source); + + // Cache directories before we start copying. + var dirs = dir.GetDirectories(); + + // Get the files in the source directory and copy to the destination directory + foreach (var file in dir.GetFiles()) + { + string targetFilePath = Path.Combine(destination, file.Name); + if (file.Name.Contains(".jpg") || file.Name.Contains(".png")) continue; + file.CopyTo(targetFilePath, true); + } + + // Recursively call this method copy subdirectories. + foreach (var subDir in dirs) + { + string newDestinationDir = Path.Combine(destination, subDir.Name); + CopyDirectory(subDir.FullName, newDestinationDir); + } + } } } \ No newline at end of file diff --git a/src/TF2HUD.Editor/Classes/Utilities.cs b/src/TF2HUD.Editor/Classes/Utilities.cs index b826c570..e36605fb 100644 --- a/src/TF2HUD.Editor/Classes/Utilities.cs +++ b/src/TF2HUD.Editor/Classes/Utilities.cs @@ -199,7 +199,7 @@ internal static dynamic GetFileNames(Controls control) { if (!string.IsNullOrWhiteSpace(control.FileName)) return control.FileName.Replace(".res", string.Empty); - return control.ComboFiles; + return (control.ComboDirectories is not null) ? control.ComboDirectories : control.ComboFiles; } /// diff --git a/src/TF2HUD.Editor/HUDEditor.csproj b/src/TF2HUD.Editor/HUDEditor.csproj index 8a39bb79..347bdf1a 100644 --- a/src/TF2HUD.Editor/HUDEditor.csproj +++ b/src/TF2HUD.Editor/HUDEditor.csproj @@ -11,9 +11,9 @@ CriticalFlaw CriticalFlaw http://criticalflaw.ca/TF2HUD.Editor/ - 3.1.0.0 - 3.1.0.0 - 3.1.0 + 3.2.0.0 + 3.2.0.0 + 3.2.0 https://github.com/CriticalFlaw/TF2HUD.Editor logo.png LICENSE @@ -42,6 +42,7 @@ + @@ -62,12 +63,12 @@ - + - + diff --git a/src/TF2HUD.Editor/JSON/Schema/schema.json b/src/TF2HUD.Editor/JSON/Schema/schema.json index b15396b7..dffc6243 100644 --- a/src/TF2HUD.Editor/JSON/Schema/schema.json +++ b/src/TF2HUD.Editor/JSON/Schema/schema.json @@ -156,6 +156,12 @@ "type": "string" } }, + "ComboDirectories": { + "type": "array", + "items": { + "type": "string" + } + }, "Restart": { "type": "boolean" }, diff --git a/src/TF2HUD.Editor/JSON/Shared/shared.json b/src/TF2HUD.Editor/JSON/Shared/shared.json index 96790986..7d698980 100644 --- a/src/TF2HUD.Editor/JSON/Shared/shared.json +++ b/src/TF2HUD.Editor/JSON/Shared/shared.json @@ -68,29 +68,6 @@ "https://i.ibb.co/cQ79f5R/tournament-spec.jpg" ] }, - { - "Name": "m0rehud", - "Description": "Clean, functional and minimalistic HUD created by m0re.", - "Author": "Hypnotize", - "Thumbnail": "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-banner.webp", - "Links": { - "Update": "https://github.com/Hypnootize/m0rehud/archive/refs/heads/master.zip", // TODO: Remove - "GitHub": "https://github.com/Hypnootize/m0rehud", - "TF2Huds": "https://tf2huds.dev/hud/m0re-Hud", - "Download": [ - { - "Source": "GitHub", - "Link": "https://github.com/Hypnootize/m0rehud/archive/refs/heads/master.zip" - } - ] - }, - "Screenshots": [ - "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-menu.webp", - "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-buff.webp", - "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-scoreboard.webp", - "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-spectator.webp" - ] - }, { "Name": "7HUD", "Description": "Originally based off an old yA version. Hope you guys like it. Updates are typically delayed because I'm a full-time student, but I love TF2 and can't live without this HUD anymore, so you can always expect an update at some point. You should grab 4Plug to take full advantage of the customization of this hud.", diff --git a/src/TF2HUD.Editor/JSON/berryhud.json b/src/TF2HUD.Editor/JSON/berryhud.json index 65606c17..728569e6 100644 --- a/src/TF2HUD.Editor/JSON/berryhud.json +++ b/src/TF2HUD.Editor/JSON/berryhud.json @@ -16,7 +16,6 @@ "0 3 4 4" ], "Links": { - "Update": "https://github.com/hexereii/BerryHUD/archive/refs/heads/main.zip", "GitHub": "https://github.com/hexereii/BerryHUD", "TF2Huds": "https://tf2huds.dev/hud/BerryHUD", "Download": [ diff --git a/src/TF2HUD.Editor/JSON/budhud.json b/src/TF2HUD.Editor/JSON/budhud.json index 85d4730f..0b8a852a 100644 --- a/src/TF2HUD.Editor/JSON/budhud.json +++ b/src/TF2HUD.Editor/JSON/budhud.json @@ -17,7 +17,6 @@ "4 7 7 7" ], "Links": { - "Update": "https://github.com/rbjaxter/budhud/archive/master.zip", // TODO: Remove "GitHub": "https://github.com/rbjaxter/budhud", "TF2Huds": "https://tf2huds.dev/hud/budhud", "ComfigHuds": "https://comfig.app/huds/page/budhud/", diff --git a/src/TF2HUD.Editor/JSON/flawhud.json b/src/TF2HUD.Editor/JSON/flawhud.json index c51f18e6..22ea93fb 100644 --- a/src/TF2HUD.Editor/JSON/flawhud.json +++ b/src/TF2HUD.Editor/JSON/flawhud.json @@ -40,7 +40,7 @@ "HUD Colors": [ { "Name": "fh_color_primary", - "Label": "Primary Color", + "Label": "Theme Color", "Type": "ColorPicker", "ToolTip": "Primary theme and text color.", "Value": "235 226 202 255", @@ -61,7 +61,7 @@ "Label": "UberCharge", "Type": "ColorPicker", "ToolTip": "Color of the UberCharge meter.", - "Value": "0 191 121 255", + "Value": "0 225 165 255", "Restart": true, "Pulse": true, "Files": { @@ -484,10 +484,6 @@ "visible": { "true": "1", "false": "0" - }, - "enabled": { - "true": "1", - "false": "0" } } } @@ -522,10 +518,6 @@ "visible": { "true": "1", "false": "0" - }, - "enabled": { - "true": "1", - "false": "0" } } } @@ -541,26 +533,16 @@ "resource/ui/basechat.res": { "HudChat": { "ypos": { - "true": "r175", + "true": "c-55", "false": "15" } } }, "scripts/hudlayout.res": { - "DisguiseStatus": { + "BuildingStatusAnchor": { "ypos": { - "true": "r45", - "false": "r160" - } - }, - "HudAchievementTracker": { - "NormalY": { - "true": "15", - "false": "310" - }, - "EngineerY": { - "true": "15", - "false": "310" + "true": "0", + "false": "c-130" } } } @@ -652,107 +634,103 @@ "visible": { "true": "1", "false": "0" - }, - "enabled": { - "true": "1", - "false": "0" } } } } }, { - "Name": "fh_centered_mvm_currency", - "Label": "Centered MvM Currency", + "Name": "fh_min_item_meters", + "Label": "Minimal Item Meters", "Type": "Checkbox", - "ToolTip": "Toggle Mann vs. Machine currency position.", - "Value": "false", + "ToolTip": "Use a minimal style for the item meters.", + "Value": "true", + "Restart": false, "Files": { - "resource/ui/huditemeffectmeter_powerupbottle.res": { + "resource/ui/huditemeffectmeter.res": { "HudItemEffectMeter": { "xpos": { - "true": "152", - "false": "142" + "true": "c150", + "false": "c-55" }, - "wide": { - "true": "30", - "false": "40" + "ypos": { + "true": "c97", + "false": "c125" } }, - "PowerupBG": { + "ItemEffectMeter": { + "ypos": { + "true": "8", + "false": "0" + }, "tall": { - "true": "15", - "false": "30" + "true": "2", + "false": "8" + } + } + }, + "resource/ui/huditemeffectmeter_cleaver.res": { + "HudItemEffectMeter": { + "ypos": { + "true": "c108", + "false": "c115" + } + } + }, + "resource/ui/huditemeffectmeter_sodapopper.res": { + "HudItemEffectMeter": { + "ypos": { + "true": "c86", + "false": "c135" + } + } + }, + "scripts/hudlayout.res": { + "CMainTargetID": { + "ypos": { + "true": "c50", + "false": "c30" } }, - "ItemEffectIcon": { - "xpos": { - "true": "1", - "false": "0" - }, + "CSpectatorTargetID": { "ypos": { - "true": "2", - "false": "3" - }, - "wide": { - "true": "12", - "false": "25" - }, - "tall": { - "true": "12", - "false": "25" + "true": "c80", + "false": "c60" } }, - "ItemEffectMeterCount": { - "xpos": { - "true": "15", - "false": "25" - }, + "CSecondaryTargetID": { "ypos": { - "true": "2", - "false": "0" - }, - "tall": { - "true": "12", - "false": "30" - }, - "font": { - "true": "FontBold14", - "false": "FontBold22" + "true": "c80", + "false": "c60" } } - }, + } + } + }, + { + "Name": "fh_centered_mvm_currency", + "Label": "Centered MvM Currency", + "Type": "Checkbox", + "ToolTip": "Toggle Mann vs. Machine currency position.", + "Value": "false", + "Files": { "resource/ui/hudmannvsmachinestatus.res": { "InWorldCurrencyPanel": { "xpos": { - "true": "c-50", - "false": "c-245" + "true": "c-52", + "false": "c-250" }, "ypos": { - "true": "c10", - "false": "r25" + "true": "c5", + "false": "r60" } } }, "resource/ui/mvminworldcurrency.res": { - "CurrencyBG": { - "visible": { - "true": "0", - "false": "1" - }, - "enabled": { - "true": "0", - "false": "1" - } - }, "CurrencyLabel": { "visible": { "true": "0", "false": "1" - }, - "enabled": { - "true": "0", - "false": "1" } }, "CurrencyGood": { @@ -768,9 +746,9 @@ } }, "CurrencyBadShadow": { - "visible": { - "true": "1", - "false": "0" + "textAlignment": { + "true": "center", + "false": "east" } } } @@ -882,63 +860,42 @@ "ypos": "c100" } }, - "resource/ui/huddemomancharge.res": { - "ChargeMeter": { - "xpos": "c-55", - "ypos": "c145" - } - }, "resource/ui/huddemomanpipes.res": { "ChargeMeter": { "xpos": "c-55", "ypos": "c100" }, "PipesPresentPanel": { - "xpos": "c-20", - "ypos": "c125" + "xpos": "c147", + "ypos": "r74" } }, "resource/ui/huditemeffectmeter.res": { "HudItemEffectMeter": { - "xpos": "c-55", - "ypos": "c135" + "xpos": "c150", + "ypos": "c108" } }, "resource/ui/huditemeffectmeter_cleaver.res": { "HudItemEffectMeter": { - "ypos": "c145" + "ypos": "c97" } }, "resource/ui/huditemeffectmeter_demoman.res": { "HudItemEffectMeter": { - "xpos": "c140", + "xpos": "c190", "ypos": "r75" - }, - "ItemEffectMeterLabel": { - "visible": "1", - "enabled": "1" - }, - "ItemEffectMeterCount": { - "xpos": "46" - }, - "StreakIcon": { - "visible": "0", - "enabled": "0" - }, - "StreakIconShadow": { - "visible": "0", - "enabled": "0" } }, "resource/ui/huditemeffectmeter_killstreak.res": { "HudItemEffectMeter": { - "xpos": "c200", + "xpos": "c227", "ypos": "r75" } }, "resource/ui/huditemeffectmeter_sodapopper.res": { "HudItemEffectMeter": { - "ypos": "c125" + "ypos": "c86" } }, "resource/ui/hudplayerclass.res": { @@ -950,7 +907,7 @@ "ypos": "r200" }, "CarryingWeapon": { - "xpos": "100" + "xpos": "0" } }, "resource/ui/hudplayerhealth.res": { @@ -1000,8 +957,8 @@ }, "resource/ui/hudrocketpack.res": { "HudItemEffectMeter": { - "xpos": "c-55", - "ypos": "c115" + "xpos": "c85", + "ypos": "110" } }, "resource/ui/hudspellselection.res": { @@ -1019,7 +976,7 @@ "ypos": "r135" }, "HudDemomanCharge": { - "ypos": "0" + "ypos": "c97" }, "CHudAccountPanel": { "xpos": "c-50", @@ -1030,13 +987,14 @@ "ypos": "c54" }, "DisguiseStatus": { - "ypos": "r160" + "xpos": "c150", + "ypos": "c97" }, "CSpectatorTargetID": { - "ypos": "c50" + "ypos": "c60" }, "CSecondaryTargetID": { - "ypos": "c50" + "ypos": "c60" }, "HudSpellMenu": { "xpos": "c-210", @@ -1055,12 +1013,6 @@ "ypos": "r75" } }, - "resource/ui/huddemomancharge.res": { - "ChargeMeter": { - "xpos": "r120", - "ypos": "c105" - } - }, "resource/ui/huddemomanpipes.res": { "ChargeMeter": { "xpos": "r120", @@ -1086,21 +1038,6 @@ "HudItemEffectMeter": { "xpos": "125", "ypos": "r30" - }, - "ItemEffectMeterLabel": { - "visible": "0", - "enabled": "0" - }, - "ItemEffectMeterCount": { - "xpos": "20" - }, - "StreakIcon": { - "visible": "1", - "enabled": "1" - }, - "StreakIconShadow": { - "visible": "1", - "enabled": "1" } }, "resource/ui/huditemeffectmeter_killstreak.res": { @@ -1192,7 +1129,8 @@ "ypos": "r65" }, "HudDemomanCharge": { - "ypos": "60" + "xpos": "r120", + "ypos": "r75" }, "CHudAccountPanel": { "xpos": "r110", @@ -1241,7 +1179,7 @@ "xpos": "9999" }, "HealthBG": { - "bgcolor_override": "HudBlack" + "bgcolor_override": "BGBlack" }, "PlayerStatusHealthBonusImage": { "xpos": "9999" @@ -1255,7 +1193,7 @@ }, "resource/ui/hudammoweapons.res": { "AmmoBG": { - "bgcolor_override": "HudBlack" + "bgcolor_override": "BGBlack" }, "AmmoInClipShadow": { "font": "ScanlineShadow" @@ -1361,7 +1299,7 @@ }, "resource/ui/hudammoweapons.res": { "AmmoBG": { - "bgcolor_override": "HudBlack" + "bgcolor_override": "BGBlack" }, "AmmoInClipShadow": { "font": "ScanlineShadow" diff --git a/src/TF2HUD.Editor/JSON/hexhud.json b/src/TF2HUD.Editor/JSON/hexhud.json index 390a64ca..e4d2081d 100644 --- a/src/TF2HUD.Editor/JSON/hexhud.json +++ b/src/TF2HUD.Editor/JSON/hexhud.json @@ -16,7 +16,6 @@ "4 3 3" ], "Links": { - "Update": "https://github.com/Hypnootize/hexhud/archive/refs/heads/master.zip", // TODO: Remove "GitHub": "https://github.com/Hypnootize/hexhud", "TF2Huds": "https://tf2huds.dev/hud/HExHUD", "ComfigHuds": "https://comfig.app/huds/page/hexhud/", diff --git a/src/TF2HUD.Editor/JSON/hud-fixes.json b/src/TF2HUD.Editor/JSON/hud-fixes.json index dbea8bd8..8e7c31b7 100644 --- a/src/TF2HUD.Editor/JSON/hud-fixes.json +++ b/src/TF2HUD.Editor/JSON/hud-fixes.json @@ -9,7 +9,6 @@ "0 0 1 1" ], "Links": { - "Update": "https://github.com/CriticalFlaw/TF2HUD.Fixes/archive/refs/heads/complete.zip", // TODO: Remove "GitHub": "https://github.com/CriticalFlaw/TF2HUD.Fixes", "Discord": "https://discord.gg/hTdtK9vBhE", "Download": [ diff --git a/src/TF2HUD.Editor/JSON/hypnotize-hud.json b/src/TF2HUD.Editor/JSON/hypnotize-hud.json index 273f95ed..47549e21 100644 --- a/src/TF2HUD.Editor/JSON/hypnotize-hud.json +++ b/src/TF2HUD.Editor/JSON/hypnotize-hud.json @@ -16,7 +16,6 @@ "3 4 4" ], "Links": { - "Update": "https://github.com/Hypnootize/hypnotizehud/archive/refs/heads/master.zip", // TODO: Remove "GitHub": "https://github.com/Hypnootize/hypnotizehud", "TF2Huds": "https://tf2huds.dev/hud/Hypnotize-Hud", "ComfigHuds": "https://comfig.app/huds/page/hypnotizehud/", diff --git a/src/TF2HUD.Editor/JSON/kbnhud.json b/src/TF2HUD.Editor/JSON/kbnhud.json index 6779036f..25334179 100644 --- a/src/TF2HUD.Editor/JSON/kbnhud.json +++ b/src/TF2HUD.Editor/JSON/kbnhud.json @@ -29,7 +29,6 @@ //10-Spy & Engie Color Options //Refer to screenshot of this HUD's options for more visual aid, this file is meant to be a guide for newcomers as well as a working piece of code. "Links": { - "Update": "https://github.com/Jotunn/kbnhud/archive/master.zip", // TODO: Remove "GitHub": "https://github.com/Jotunn/kbnhud", "TF2Huds": "https://tf2huds.dev/hud/KBNHud", "ComfigHuds": "https://comfig.app/huds/page/kbnhud/", diff --git a/src/TF2HUD.Editor/JSON/m0rehud.json b/src/TF2HUD.Editor/JSON/m0rehud.json new file mode 100644 index 00000000..5cb9add3 --- /dev/null +++ b/src/TF2HUD.Editor/JSON/m0rehud.json @@ -0,0 +1,1257 @@ +{ + "$schema": "https://raw.githubusercontent.com/CriticalFlaw/TF2HUD.Editor/master/src/TF2HUD.Editor/JSON/Schema/schema.json", + "Author": "m0re, Hypnotize", + "Description": "Clean, functional and minimalistic HUD created by m0re.", + "Thumbnail": "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-banner.webp", + "Screenshots": [ + "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-menu.webp", + "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-buff.webp", + "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-scoreboard.webp", + "https://raw.githubusercontent.com/mastercomfig/hud-db/main/hud-resources/m0rehud/m0rehud-spectator.webp" + ], + "Background": "https://i.imgur.com/vZmMuKh.png", + "Layout": [ + "0 0 1 1", + "6 6 1 1", + "4 4 2 2", + "5 3 2 2" + ], + "Links": { + "GitHub": "https://github.com/Hypnootize/m0rehud", + "ComfigHuds": "https://comfig.app/huds/page/m0rehud/", + "TF2Huds": "https://tf2huds.dev/hud/m0re-Hud", + "Download": [ + { + "Source": "GitHub", + "Link": "https://github.com/Hypnootize/m0rehud/archive/refs/heads/master.zip" + } + ] + }, + "CustomizationsFolder": "customizations", + "EnabledFolder": "", + "Controls": { + "Customizations": [ + { + "Name": "mh_font", + "Label": "Font", + "Type": "ComboBox", + "Value": "15", + "ComboDirectories": [ + "Fonts\\[Font] Alternate Gothic", + "Fonts\\[Font] Avenir", + "Fonts\\[Font] Catamaran", + "Fonts\\[Font] Cerbetica", + "Fonts\\[Font] Days", + "Fonts\\[Font] Handel Gothic", + "Fonts\\[Font] Lato", + "Fonts\\[Font] Maven Pro", + "Fonts\\[Font] Neutra", + "Fonts\\[Font] Noto", + "Fonts\\[Font] Product", + "Fonts\\[Font] Product Bold", + "Fonts\\[Font] Renogare", + "Fonts\\[Font] Roboto", + "Fonts\\[Font] Rubik", + "Fonts\\[Font] Surface (Default ON)", + "Fonts\\[Font] Surface Bold", + "Fonts\\[Font] Surface Sharpened", + "Fonts\\[Font] TF2", + "Fonts\\[Font] TF2 Bold", + "Fonts\\[Font] Ubuntu" + ], + "Options": [ + { + "Label": "Alternate Gothic", + "Value": "0", + "FileName": "Fonts\\[Font] Alternate Gothic" + }, + { + "Label": "Avenir", + "Value": "1", + "FileName": "Fonts\\[Font] Avenir" + }, + { + "Label": "Catamaran", + "Value": "2", + "FileName": "Fonts\\[Font] Catamaran" + }, + { + "Label": "Cerbetica", + "Value": "3", + "FileName": "Fonts\\[Font] Cerbetica" + }, + { + "Label": "Days", + "Value": "4", + "FileName": "Fonts\\[Font] Days" + }, + { + "Label": "Handel Gothic", + "Value": "5", + "FileName": "Fonts\\[Font] Handel Gothic" + }, + { + "Label": "Lato", + "Value": "6", + "FileName": "Fonts\\[Font] Lato" + }, + { + "Label": "Maven Pro", + "Value": "7", + "FileName": "Fonts\\[Font] Maven Pro" + }, + { + "Label": "Neutra", + "Value": "8", + "FileName": "Fonts\\[Font] Neutra" + }, + { + "Label": "Noto", + "Value": "9", + "FileName": "Fonts\\[Font] Noto" + }, + { + "Label": "Product", + "Value": "10", + "FileName": "Fonts\\[Font] Product" + }, + { + "Label": "Product Bold", + "Value": "11", + "FileName": "Fonts\\[Font] Product Bold" + }, + { + "Label": "Renogare", + "Value": "12", + "FileName": "Fonts\\[Font] Renogare" + }, + { + "Label": "Roboto", + "Value": "13", + "FileName": "Fonts\\[Font] Roboto" + }, + { + "Label": "Rubik", + "Value": "14", + "FileName": "Fonts\\[Font] Rubik" + }, + { + "Label": "Surface", + "Value": "15", + "FileName": "Fonts\\[Font] Surface (Default ON)" + }, + { + "Label": "Surface Bold", + "Value": "16", + "FileName": "Fonts\\[Font] Surface Bold" + }, + { + "Label": "Surface Sharpened", + "Value": "17", + "FileName": "Fonts\\[Font] Surface Sharpened" + }, + { + "Label": "TF2", + "Value": "18", + "FileName": "Fonts\\[Font] TF2" + }, + { + "Label": "TF2 Bold", + "Value": "19", + "FileName": "Fonts\\[Font] TF2 Bold" + }, + { + "Label": "Ubuntu", + "Value": "20", + "FileName": "Fonts\\[Font] Ubuntu" + } + ] + }, + { + "Name": "mh_counter", + "Label": "Head Counter", + "Type": "ComboBox", + "Value": "0", + "ComboDirectories": [ + "Heads Counter\\[Counter] Bottom Right (Default ON)", + "Heads Counter\\[Counter] Under Ammo" + ], + "Options": [ + { + "Label": "Bottom Right", + "Value": "0", + "FileName": "Heads Counter\\[Counter] Bottom Right (Default ON)" + }, + { + "Label": "Under Ammo", + "Value": "1", + "FileName": "Heads Counter\\[Counter] Under Ammo" + } + ] + }, + + //{ + // "Name": "mh_minmode", + // "Label": "Toggle Minmode", + // "Type": "Checkbox", + // "Value": "false", + // "Files": { + // "scripts/hudanimations_hitmarker.txt": { + // "uncomment": [ + // "StopEvent HitMarker", + // "RunEvent HitMarker" + // ] + // } + // } + //}, + { + "Name": "mh_scoreboard", + "Label": "Scoreboard", + "Type": "ComboBox", + "Value": "1", + "ComboDirectories": [ + "Scoreboards\\[Scoreboard] Fosters", + "Scoreboards\\[Scoreboard] m0re (Default ON)" + ], + "Options": [ + { + "Label": "Fosters", + "Value": "0", + "FileName": "Scoreboards\\[Scoreboard] Fosters" + }, + { + "Label": "m0re", + "Value": "1", + "FileName": "Scoreboards\\[Scoreboard] m0re (Default ON)" + } + ] + }, + { + "Name": "mh_source_scheme", + "Label": "Source Scheme", + "Type": "ComboBox", + "Value": "3", + "ComboDirectories": [ + "SourceSchemes\\[SourceScheme] Blue", + "SourceSchemes\\[SourceScheme] Cyan", + "SourceSchemes\\[SourceScheme] Fuchsia", + "SourceSchemes\\[SourceScheme] Green", + "SourceSchemes\\[SourceScheme] Orange", + "SourceSchemes\\[SourceScheme] Pink", + "SourceSchemes\\[SourceScheme] Purple", + "SourceSchemes\\[SourceScheme] Teal", + "SourceSchemes\\[SourceScheme] Yellow" + ], + "Options": [ + { + "Label": "Blue", + "Value": "0", + "FileName": "SourceSchemes\\[SourceScheme] Blue" + }, + { + "Label": "Cyan", + "Value": "1", + "FileName": "SourceSchemes\\[SourceScheme] Cyan" + }, + { + "Label": "Fuchsia", + "Value": "2", + "FileName": "SourceSchemes\\[SourceScheme] Fuchsia" + }, + { + "Label": "Green", + "Value": "3", + "FileName": "SourceSchemes\\[SourceScheme] Green" + }, + { + "Label": "Orange", + "Value": "4", + "FileName": "SourceSchemes\\[SourceScheme] Orange" + }, + { + "Label": "Pink", + "Value": "5", + "FileName": "SourceSchemes\\[SourceScheme] Pink" + }, + { + "Label": "Purple", + "Value": "6", + "FileName": "SourceSchemes\\[SourceScheme] Purple" + }, + { + "Label": "Teal", + "Value": "7", + "FileName": "SourceSchemes\\[SourceScheme] Teal" + }, + { + "Label": "Yellow", + "Value": "8", + "FileName": "SourceSchemes\\[SourceScheme] Yellow" + } + ] + }, + { + "Name": "mh_spectator", + "Label": "Spectator", + "Type": "ComboBox", + "Value": "0", + "ComboDirectories": [ + "Spectator\\[SpectatorHUD] Leftside and Right Side (Default ON)", + "Spectator\\[SpectatorHUD] Leftside Only" + ], + "Options": [ + { + "Label": "Left and Right Side", + "Value": "0", + "FileName": "Spectator\\[SpectatorHUD] Leftside and Right Side (Default ON)" + }, + { + "Label": "Left Side Only", + "Value": "1", + "FileName": "Spectator\\[SpectatorHUD] Leftside Only" + } + ] + }, + { + "Name": "mh_speedometer", + "Label": "Speedometer", + "Type": "ComboBox", + "Value": "0", + "ComboDirectories": [ + "Speedometer\\[Speed] Speedometer OFF (Default ON)", + "Speedometer\\[Speed] Speedometer ON - Absolute Speed", + "Speedometer\\[Speed] Speedometer ON - Horizontal Speed" + ], + "Options": [ + { + "Label": "OFF", + "Value": "0", + "FileName": "Speedometer\\[Speed] Speedometer OFF (Default ON)" + }, + { + "Label": "ON - Absolute Speed", + "Value": "1", + "FileName": "Speedometer\\[Speed] Speedometer ON - Absolute Speed" + }, + { + "Label": "ON - Horizontal Speed", + "Value": "2", + "FileName": "Speedometer\\[Speed] Speedometer ON - Horizontal Speed" + } + ] + }, + { + "Name": "mh_spy_disguise", + "Label": "Spy Disguise Image", + "Type": "ComboBox", + "Value": "0", + "ComboDirectories": [ + "Spy Disguise\\[Disguise] Spy Disguise Image OFF (Default ON)", + "Spy Disguise\\[Disguise] Spy Disguise Image ON" + ], + "Options": [ + { + "Label": "OFF", + "Value": "0", + "FileName": "Spy Disguise\\[Disguise] Spy Disguise Image OFF (Default ON)" + }, + { + "Label": "ON", + "Value": "1", + "FileName": "Spy Disguise\\[Disguise] Spy Disguise Image ON" + } + ] + }, + { + "Name": "mh_targetId", + "Label": "TargetId", + "Type": "ComboBox", + "Value": "1", + "ComboDirectories": [ + "TargetID\\[TargetID] Health Cross", + "TargetID\\[TargetID] Health Numbers (Default ON)" + ], + "Options": [ + { + "Label": "Health Cross", + "Value": "0", + "FileName": "TargetID\\[TargetID] Health Cross" + }, + { + "Label": "Health Numbers", + "Value": "1", + "FileName": "TargetID\\[TargetID] Health Numbers (Default ON)" + } + ] + }, + { + "Name": "mh_themes", + "Label": "Themes", + "Type": "ComboBox", + "Value": "3", + "ComboDirectories": [ + "Themes\\[Theme] Blue", + "Themes\\[Theme] Cyan", + "Themes\\[Theme] Green", + "Themes\\[Theme] Green & Fuchsia (Default ON)", + "Themes\\[Theme] Orange", + "Themes\\[Theme] Pink", + "Themes\\[Theme] Purple", + "Themes\\[Theme] Teal", + "Themes\\[Theme] White", + "Themes\\[Theme] Yellow" + ], + "Options": [ + { + "Label": "Blue", + "Value": "0", + "FileName": "Themes\\[Theme] Blue" + }, + { + "Label": "Cyan", + "Value": "1", + "FileName": "Themes\\[Theme] Cyan" + }, + { + "Label": "Green", + "Value": "2", + "FileName": "Themes\\[Theme] Green" + }, + { + "Label": "Green & Fuchsia", + "Value": "3", + "FileName": "Themes\\[Theme] Green & Fuchsia (Default ON)" + }, + { + "Label": "Orange", + "Value": "4", + "FileName": "Themes\\[Theme] Orange" + }, + { + "Label": "Pink", + "Value": "5", + "FileName": "Themes\\[Theme] Pink" + }, + { + "Label": "Purple", + "Value": "6", + "FileName": "Themes\\[Theme] Purple" + }, + { + "Label": "Teal", + "Value": "7", + "FileName": "Themes\\[Theme] Teal" + }, + { + "Label": "White", + "Value": "8", + "FileName": "Themes\\[Theme] White" + }, + { + "Label": "Yellow", + "Value": "9", + "FileName": "Themes\\[Theme] Yellow" + } + ] + }, + { + "Name": "mh_match_status", + "Label": "Match Status", + "Type": "ComboBox", + "Value": "2", + "ComboDirectories": [ + "Timers & Match Status\\[MatchStatus] HealthBar Big", + "Timers & Match Status\\[MatchStatus] HealthBar Small", + "Timers & Match Status\\[MatchStatus] HealthBar Static (DefaultON)", + "Timers & Match Status\\[MatchStatus] Names ON" + ], + "Options": [ + { + "Label": "Health Bar Big", + "Value": "0", + "FileName": "Timers & Match Status\\[MatchStatus] HealthBar Big" + }, + { + "Label": "Health Bar Small", + "Value": "1", + "FileName": "Timers & Match Status\\[MatchStatus] HealthBar Small" + }, + { + "Label": "Health Bar Static", + "Value": "2", + "FileName": "Timers & Match Status\\[MatchStatus] HealthBar Static (DefaultON)" + }, + { + "Label": "Names ON", + "Value": "3", + "FileName": "Timers & Match Status\\[MatchStatus] Names ON" + } + ] + }, + { + "Name": "mh_timer", + "Label": "Timer Background", + "Type": "ComboBox", + "Value": "0", + "ComboDirectories": [ + "Timers & Match Status\\[Timer] Background OFF (DefaultON)", + "Timers & Match Status\\[Timer] Background ON" + ], + "Options": [ + { + "Label": "OFF", + "Value": "0", + "FileName": "Timers & Match Status\\[Timer] Background OFF (DefaultON)" + }, + { + "Label": "ON", + "Value": "1", + "FileName": "Timers & Match Status\\[Timer] Background ON" + } + ] + }, + { + "Name": "mh_transparent_viewmodels", + "Label": "Transparent Viewmodels", + "Type": "ComboBox", + "Value": "0", + "ComboDirectories": [ + "Transparent Viewmodels\\[Viewmodel] Transparent Viewmodels OFF (Default ON)", + "Transparent Viewmodels\\[Viewmodel] Transparent Viewmodels ON" + ], + "Options": [ + { + "Label": "OFF", + "Value": "0", + "FileName": "Transparent Viewmodels\\[Viewmodel] Transparent Viewmodels OFF (Default ON)" + }, + { + "Label": "ON", + "Value": "1", + "FileName": "Transparent Viewmodels\\[Viewmodel] Transparent Viewmodels ON" + } + ] + } + ], + "Health": [ + { + "Name": "mh_health_numbers", + "Label": "Health Numbers", + "Type": "ColorPicker", + "Value": "255 255 255 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Numbers": "$value" + } + } + } + } + }, + { + "Name": "mh_health_buff", + "Label": "Health Buff", + "Type": "ColorPicker", + "Value": "0 185 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Buff": "$value" + } + } + } + } + }, + { + "Name": "mh_health_buff_target", + "Label": "Health Buff Target", + "Type": "ColorPicker", + "Value": "0 215 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Buff Target": "$value" + } + } + } + } + }, + { + "Name": "mh_health_buff_spec", + "Label": "Health Buff Spec", + "Type": "ColorPicker", + "Value": "0 215 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Buff Spec": "$value" + } + } + } + } + }, + { + "Name": "mh_health_buff_killer", + "Label": "Health Buff Killer", + "Type": "ColorPicker", + "Value": "0 215 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Buff Killer": "$value" + } + } + } + } + }, + { + "Name": "mh_health_hurt", + "Label": "Health Hurt", + "Type": "ColorPicker", + "Value": "255 0 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Hurt": "$value" + } + } + } + } + }, + { + "Name": "mh_health_hurt_target", + "Label": "Health Hurt Target", + "Type": "ColorPicker", + "Value": "255 255 255 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Hurt Target": "$value" + } + } + } + } + }, + { + "Name": "mh_health_hurt_spec", + "Label": "Health Hurt Spec", + "Type": "ColorPicker", + "Value": "255 0 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Hurt Spec": "$value" + } + } + } + } + }, + { + "Name": "mh_health_hurt_killer", + "Label": "Health Hurt Killer", + "Type": "ColorPicker", + "Value": "255 0 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Health Hurt Killer": "$value" + } + } + } + } + }, + { + "Name": "mh_health_buff", + "Label": "Health Buff", + "Type": "ComboBox", + "Value": "2", + "ComboDirectories": [ + "Health Ammo Uber Animation Style\\[Health Buff] Animated Buff Rectangle + Big Font", + "Health Ammo Uber Animation Style\\[Health Buff] Animated Buff Rectangle + Small Font", + "Health Ammo Uber Animation Style\\[Health Buff] Buff Cross + Big Font (Default ON)", + "Health Ammo Uber Animation Style\\[Health Buff] Buff Cross + Small Font", + "Health Ammo Uber Animation Style\\[Health Buff] No Buff Cross + Big Font", + "Health Ammo Uber Animation Style\\[Health Buff] No Buff Cross + Small Font", + "Health Ammo Uber Animation Style\\[Health Buff] Static Buff Rectangle + Big Font", + "Health Ammo Uber Animation Style\\[Health Buff] Static Buff Rectangle + Small Font" + ], + "Options": [ + { + "Label": "Buff Rectangle, Big Font", + "Value": "0", + "FileName": "Health Ammo Uber Animation Style\\[Health Buff] Animated Buff Rectangle + Big Font" + }, + { + "Label": "Buff Rectangle, Small Font", + "Value": "1", + "FileName": "Health Ammo Uber Animation Style\\[Health Buff] Animated Buff Rectangle + Small Font" + }, + { + "Label": "Buff Cross, Big Font", + "Value": "2", + "FileName": "Health Ammo Uber Animation Style\\[Health Buff] Buff Cross + Big Font (Default ON)" + }, + { + "Label": "Buff Cross, Small Font", + "Value": "3", + "FileName": "Health Ammo Uber Animation Style\\[Health Buff] Buff Cross + Small Font" + }, + { + "Label": "No Cross, Big Font", + "Value": "4", + "FileName": "Health Ammo Uber Animation Style\\[Health Buff] No Buff Cross + Big Font" + }, + { + "Label": "No Cross, Small Font", + "Value": "5", + "FileName": "Health Ammo Uber Animation Style\\[Health Buff] No Buff Cross + Small Font" + }, + { + "Label": "Static Rectangle, Big Font", + "Value": "6", + "FileName": "Health Ammo Uber Animation Style\\[Health Buff] Static Buff Rectangle + Big Font" + }, + { + "Label": "Static Rectangle, Small Font", + "Value": "7", + "FileName": "Health Ammo Uber Animation Style\\[Health Buff] Static Buff Rectangle + Small Font" + } + ] + } + ], + "Ammo": [ + { + "Name": "mh_ammo_in_clip", + "Label": "Ammo In Clip", + "Type": "ColorPicker", + "Value": "255 255 255 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Ammo In Clip": "$value" + } + } + } + } + }, + { + "Name": "mh_ammo_in_reserve", + "Label": "Ammo In Reserve", + "Type": "ColorPicker", + "Value": "255 255 255 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Ammo In Reserve": "$value" + } + } + } + } + }, + { + "Name": "mh_ammo_no_clip", + "Label": "Ammo No Clip", + "Type": "ColorPicker", + "Value": "255 255 255 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Ammo No Clip": "$value" + } + } + } + } + }, + { + "Name": "mh_ammo_in_clip_low", + "Label": "Ammo In Clip Low", + "Type": "ColorPicker", + "Value": "255 0 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Ammo In Clip Low": "$value" + } + } + } + } + }, + { + "Name": "mh_ammo_in_reserve_low", + "Label": "Ammo In Reserve Low", + "Type": "ColorPicker", + "Value": "255 0 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Ammo In Reserve Low": "$value" + } + } + } + } + }, + { + "Name": "mh_ammo_no_clip_low", + "Label": "Ammo No Clip Low", + "Type": "ColorPicker", + "Value": "255 0 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Ammo No Clip Low": "$value" + } + } + } + } + }, + { + "Name": "mh_general_style", + "Label": "General Style", + "Type": "ComboBox", + "Value": "1", + "ComboDirectories": [ + "Health Ammo Uber Animation Style\\[General Style] Colored Number", + "Health Ammo Uber Animation Style\\[General Style] Colored Shadow (Default ON)" + ], + "Options": [ + { + "Label": "Colored Number", + "Value": "0", + "FileName": "Health Ammo Uber Animation Style\\[General Style] Colored Number" + }, + { + "Label": "Colored Shadow", + "Value": "1", + "FileName": "Health Ammo Uber Animation Style\\[General Style] Colored Shadow (Default ON)" + } + ] + }, + { + "Name": "mh_ammo_uber_style", + "Label": "Health, Ammo, Uber", + "Type": "ComboBox", + "Value": "0", + "ComboDirectories": [ + "Health Ammo Uber Style\\[Health - Ammo - Uber] Default Style, Big Font (Default ON)", + "Health Ammo Uber Style\\[Health - Ammo - Uber] Default Style, Small Font", + "Health Ammo Uber Style\\[Health] Health Cross", + "Health Ammo Uber Style\\[Health] Health Cross With Team Colored Border", + "Health Ammo Uber Style\\[Ubercharge] Old m0rehud Style", + "Health Ammo Uber Style\\[Ubercharge] Uber Meter & Small Label Off" + ], + "Options": [ + { + "Label": "Default Style, Big Font", + "Value": "0", + "FileName": "Health Ammo Uber Style\\[Health - Ammo - Uber] Default Style, Big Font (Default ON)" + }, + { + "Label": "Default Style, Small Font", + "Value": "1", + "FileName": "Health Ammo Uber Style\\[Health - Ammo - Uber] Default Style, Small Font" + }, + { + "Label": "Health Cross", + "Value": "2", + "FileName": "Health Ammo Uber Style\\[Health] Health Cross" + }, + { + "Label": "Health Cross w/Team Colors", + "Value": "3", + "FileName": "Health Ammo Uber Style\\[Health] Health Cross With Team Colored Border" + }, + { + "Label": "Old m0rehud Style", + "Value": "4", + "FileName": "Health Ammo Uber Style\\[Ubercharge] Old m0rehud Style" + }, + { + "Label": "Uber Meter & Small Label Off", + "Value": "5", + "FileName": "Health Ammo Uber Style\\[Ubercharge] Uber Meter & Small Label Off" + } + ] + }, + { + "Name": "mh_ammo_uber_style", + "Label": "Killstreak", + "Type": "ComboBox", + "Value": "2", + "ComboDirectories": [ + "Killstreak\\[Killstreak] Counter Bottom Left", + "Killstreak\\[Killstreak] Counter Close To The Killfeed", + "Killstreak\\[Killstreak] Counter Disabled (Default ON)" + ], + "Options": [ + { + "Label": "Bottom Left", + "Value": "0", + "FileName": "Killstreak\\[Killstreak] Counter Bottom Left" + }, + { + "Label": "Close to Killfeed", + "Value": "1", + "FileName": "Killstreak\\[Killstreak] Counter Close To The Killfeed" + }, + { + "Label": "Disabled", + "Value": "2", + "FileName": "Killstreak\\[Killstreak] Counter Disabled (Default ON)" + } + ] + }, + { + "Name": "mh_ammo_style", + "Label": "Flashing Ammo Colors", + "Type": "Checkbox", + "Value": "false", + "FileName": "Health Ammo Uber Animation Style\\[Ammo Style] Flashing Colors" + } + ], + "Ubercharge": [ + { + "Name": "mh_ubercharge", + "Label": "Ubercharge", + "Type": "ColorPicker", + "Value": "255 255 255 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Ubercharge": "$value" + } + } + } + } + }, + { + "Name": "mh_ubercharge_full", + "Label": "Ubercharge Full", + "Type": "ColorPicker", + "Value": "255 0 127 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Ubercharge Full": "$value" + } + } + } + } + }, + { + "Name": "mh_uber_counters", + "Label": "Uber Counters", + "Type": "ComboBox", + "Value": "0", + "ComboDirectories": [ + "Uber Counter\\[Counter] Uber Counter OFF (Default ON)", + "Uber Counter\\[Counter] Uber Counter ON" + ], + "Options": [ + { + "Label": "OFF", + "Value": "0", + "FileName": "Uber Counter\\[Counter] Uber Counter OFF (Default ON)" + }, + { + "Label": "ON", + "Value": "1", + "FileName": "Uber Counter\\[Counter] Uber Counter ON" + } + ] + } + ], + "Crosshair": [ + { + "Name": "mh_crosshair", + "Label": "Crosshair", + "Type": "ColorPicker", + "Value": "255 255 255 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Crosshair": "$value" + } + } + } + } + }, + { + "Name": "mh_crosshair_flash", + "Label": "Crosshair Flash", + "Type": "ColorPicker", + "Value": "255 0 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Crosshair Flash": "$value" + } + } + } + } + }, + { + "Name": "mh_crosshair_style", + "Label": "Style", + "Type": "Crosshair", + "Value": "?", + "Files": { + "scripts/crosshairs/crosshairs.res": { + "CustomCrosshair": { + "labelText": "$value" + } + } + } + }, + { + "Name": "mh_crosshair_toggle", + "Label": "Toggle", + "Type": "Checkbox", + "Value": "false", + "Files": { + "scripts/crosshairs/crosshairs.res": { + "CustomCrosshair": { + "visible": { + "true": "1", + "false": "0" + } + } + } + } + } + ], + "Damage": [ + { + "Name": "mh_heal_numbers", + "Label": "Heal Numbers", + "Type": "ColorPicker", + "Value": "0 255 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Heal Numbers": "$value" + } + } + } + } + }, + { + "Name": "mh_last_damage_done", + "Label": "Last Damage Done", + "Type": "ColorPicker", + "Value": "255 255 255 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Last Damage Done": "$value" + } + } + } + } + }, + { + "Name": "mh_damage_numbers", + "Label": "Damage Numbers", + "Type": "ComboBox", + "Value": "4", + "ComboDirectories": [ + "Damage\\[Damage Numbers] Big", + "Damage\\[Damage Numbers] Big Minusless", + "Damage\\[Damage Numbers] Medium", + "Damage\\[Damage Numbers] Medium Minusless", + "Damage\\[Damage Numbers] Small (Default ON)", + "Damage\\[Damage Numbers] Small Minusless" + ], + "Options": [ + { + "Label": "Big", + "Value": "0", + "FileName": "Damage\\[Damage Numbers] Big" + }, + { + "Label": "Big Minusless", + "Value": "1", + "FileName": "Damage\\[Damage Numbers] Big Minusless" + }, + { + "Label": "Medium", + "Value": "2", + "FileName": "Damage\\[Damage Numbers] Medium" + }, + { + "Label": "Medium Minusless", + "Value": "3", + "FileName": "Damage\\[Damage Numbers] Medium Minusless" + }, + { + "Label": "Small", + "Value": "4", + "FileName": "Damage\\[Damage Numbers] Small (Default ON)" + }, + { + "Label": "Small Minusless", + "Value": "5", + "FileName": "Damage\\[Damage Numbers] Small Minusless" + } + ] + }, + { + "Name": "mh_damage_done", + "Label": "Last Damage Done", + "Type": "ComboBox", + "Value": "3", + "ComboDirectories": [ + "Damage\\[Last Damage Done] Health Cross", + "Damage\\[Last Damage Done] Minmode", + "Damage\\[Last Damage Done] Normal", + "Damage\\[Last Damage Done] OFF (Default ON)" + ], + "Options": [ + { + "Label": "Health Cross", + "Value": "0", + "FileName": "Damage\\[Last Damage Done] Health Cross" + }, + { + "Label": "Minmode", + "Value": "1", + "FileName": "Damage\\[Last Damage Done] Minmode" + }, + { + "Label": "Normal", + "Value": "2", + "FileName": "Damage\\[Last Damage Done] Normal" + }, + { + "Label": "OFF", + "Value": "3", + "FileName": "Damage\\[Last Damage Done] OFF (Default ON)" + } + ] + } + ], + "Colors": [ + { + "Name": "mh_extra_shadow", + "Label": "Extra Shadow", + "Type": "ColorPicker", + "Value": "0 0 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Extra Shadow": "$value" + } + } + } + } + }, + { + "Name": "mh_menu_labels", + "Label": "Menu Labels", + "Type": "ColorPicker", + "Value": "255 0 127 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Menu Labels": "$value" + } + } + } + } + }, + { + "Name": "mh_class_selection", + "Label": "Class Selection", + "Type": "ColorPicker", + "Value": "0 215 0 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "Class Selection": "$value" + } + } + } + } + }, + { + "Name": "mh_m0reBlue", + "Label": "m0reBlue", + "Type": "ColorPicker", + "Value": "0 120 201 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "m0reBlue": "$value" + } + } + } + } + }, + { + "Name": "mh_m0reRed", + "Label": "m0reRed", + "Type": "ColorPicker", + "Value": "235 58 58 255", + "Restart": true, + "Files": { + "resource/scheme/colors_scheme.res": { + "Scheme": { + "Colors": { + "m0reRed": "$value" + } + } + } + } + } + ] + } +} \ No newline at end of file diff --git a/src/TF2HUD.Editor/JSON/rayshud.json b/src/TF2HUD.Editor/JSON/rayshud.json index b8869417..b321ab6b 100644 --- a/src/TF2HUD.Editor/JSON/rayshud.json +++ b/src/TF2HUD.Editor/JSON/rayshud.json @@ -16,7 +16,6 @@ "5 5 4 4 6 6" ], "Links": { - "Update": "https://github.com/raysfire/rayshud/archive/master.zip", // TODO: Remove "GitHub": "https://github.com/raysfire/rayshud", "TF2Huds": "https://tf2huds.dev/hud/rayshud", "ComfigHuds": "https://comfig.app/huds/page/rayshud/", diff --git a/src/TF2HUD.Editor/JSON/sunsethud.json b/src/TF2HUD.Editor/JSON/sunsethud.json index 4a4f0a69..4b200f14 100644 --- a/src/TF2HUD.Editor/JSON/sunsethud.json +++ b/src/TF2HUD.Editor/JSON/sunsethud.json @@ -17,7 +17,6 @@ "0 4 4" ], "Links": { - "Update": "https://github.com/Hypnootize/sunsethud/archive/refs/heads/master.zip", // TODO: Remove "GitHub": "https://github.com/Hypnootize/sunsethud", "TF2Huds": "https://tf2huds.dev/hud/Sunset-Hud", "ComfigHuds": "https://comfig.app/huds/page/sunsethud/", diff --git a/src/TF2HUD.Editor/JSON/zeeshud.json b/src/TF2HUD.Editor/JSON/zeeshud.json index e28be54a..5c130466 100644 --- a/src/TF2HUD.Editor/JSON/zeeshud.json +++ b/src/TF2HUD.Editor/JSON/zeeshud.json @@ -16,7 +16,6 @@ "6 6 3 3 1 1" ], "Links": { - "Update": "https://github.com/Zeesastrous/ZeesHUD/archive/refs/heads/main.zip", // TODO: Remove "GitHub": "https://github.com/Zeesastrous/ZeesHUD", "TF2Huds": "https://tf2huds.dev/hud/ZeesHUD", "ComfigHuds": "https://comfig.app/huds/page/zeeshud/", diff --git a/src/TF2HUD.Editor/Models/HudJson.cs b/src/TF2HUD.Editor/Models/HudJson.cs index 02778aad..27b2077f 100644 --- a/src/TF2HUD.Editor/Models/HudJson.cs +++ b/src/TF2HUD.Editor/Models/HudJson.cs @@ -36,6 +36,7 @@ public class Links public class Controls { [JsonPropertyName("ComboFiles")] public string[] ComboFiles; + [JsonPropertyName("ComboDirectories")] public string[] ComboDirectories; public UIElement Control; [JsonPropertyName("FileName")] public string FileName; [JsonPropertyName("Files")] public JObject Files; diff --git a/src/TF2HUD.Editor/Views/AppInfoView.xaml b/src/TF2HUD.Editor/Views/AppInfoView.xaml index d2b084d0..ad4875fb 100644 --- a/src/TF2HUD.Editor/Views/AppInfoView.xaml +++ b/src/TF2HUD.Editor/Views/AppInfoView.xaml @@ -19,13 +19,15 @@ -