From 1e169983bc34beb4cf17953f71f4590963f8c52d Mon Sep 17 00:00:00 2001 From: LostTrackpad Date: Thu, 3 Oct 2024 15:32:25 +0700 Subject: [PATCH] Tool menu button hint toggle --- .../content/resource/localization/en/beatrun.properties | 3 +++ .../content/resource/localization/it/beatrun.properties | 3 +++ .../content/resource/localization/pl/beatrun.properties | 3 +++ .../content/resource/localization/pt-BR/beatrun.properties | 3 +++ .../content/resource/localization/ru/beatrun.properties | 3 +++ .../content/resource/localization/tr/beatrun.properties | 3 +++ .../content/resource/localization/uk/beatrun.properties | 3 +++ beatrun/gamemodes/beatrun/gamemode/cl/ToolMenuSettings.lua | 3 +++ 8 files changed, 24 insertions(+) diff --git a/beatrun/gamemodes/beatrun/content/resource/localization/en/beatrun.properties b/beatrun/gamemodes/beatrun/content/resource/localization/en/beatrun.properties index c7b360d..8f2aa14 100644 --- a/beatrun/gamemodes/beatrun/content/resource/localization/en/beatrun.properties +++ b/beatrun/gamemodes/beatrun/content/resource/localization/en/beatrun.properties @@ -124,6 +124,9 @@ beatrun.toolsmenu.hud.textcolor=HUD Text Color beatrun.toolsmenu.hud.cornercolor=HUD Corner Color beatrun.toolsmenu.hud.floatxpcolor=HUD Floating XP Color +beatrun.toolsmenu.hud.buttonhints=Show Button Hints +beatrun.toolsmenu.hud.buttonhintsdesc=Display button hints on the bottom right of the HUD. + # Tools Menu Camera Section beatrun.toolsmenu.camera.name=Camera beatrun.toolsmenu.camera.desc=Camera Settings diff --git a/beatrun/gamemodes/beatrun/content/resource/localization/it/beatrun.properties b/beatrun/gamemodes/beatrun/content/resource/localization/it/beatrun.properties index e5f072e..8468f70 100644 --- a/beatrun/gamemodes/beatrun/content/resource/localization/it/beatrun.properties +++ b/beatrun/gamemodes/beatrun/content/resource/localization/it/beatrun.properties @@ -114,6 +114,9 @@ beatrun.toolsmenu.hud.textcolor=Colore del testo dell'HUD beatrun.toolsmenu.hud.cornercolor=Colore del bordo dell'HUD beatrun.toolsmenu.hud.floatxpcolor=Colore XP mobile dell'HUD +beatrun.toolsmenu.hud.buttonhints= +beatrun.toolsmenu.hud.buttonhintsdesc= + # Tools Menu Camera Section beatrun.toolsmenu.camera.name=Camera beatrun.toolsmenu.camera.desc=Impostazioni Camera diff --git a/beatrun/gamemodes/beatrun/content/resource/localization/pl/beatrun.properties b/beatrun/gamemodes/beatrun/content/resource/localization/pl/beatrun.properties index 07ffb07..8ce4142 100644 --- a/beatrun/gamemodes/beatrun/content/resource/localization/pl/beatrun.properties +++ b/beatrun/gamemodes/beatrun/content/resource/localization/pl/beatrun.properties @@ -116,6 +116,9 @@ beatrun.toolsmenu.hud.textcolor=Kolor tekstu interfejsu beatrun.toolsmenu.hud.cornercolor=Kolor rogu interfejsu beatrun.toolsmenu.hud.floatxpcolor=Kolor "unoszących się" punktów PD na interfejsie +beatrun.toolsmenu.hud.buttonhints= +beatrun.toolsmenu.hud.buttonhintsdesc= + # Tools Menu Camera Section beatrun.toolsmenu.camera.name=Kołysanie kamery w ruchu beatrun.toolsmenu.camera.desc=Ustawienia kołysania kamery w ruchu diff --git a/beatrun/gamemodes/beatrun/content/resource/localization/pt-BR/beatrun.properties b/beatrun/gamemodes/beatrun/content/resource/localization/pt-BR/beatrun.properties index e7e0cf3..b0607c5 100644 --- a/beatrun/gamemodes/beatrun/content/resource/localization/pt-BR/beatrun.properties +++ b/beatrun/gamemodes/beatrun/content/resource/localization/pt-BR/beatrun.properties @@ -116,6 +116,9 @@ beatrun.toolsmenu.hud.textcolor=Cor de Texto da HUD beatrun.toolsmenu.hud.cornercolor=Color do Canto da HUD beatrun.toolsmenu.hud.floatxpcolor=Color do XP Flutuante +beatrun.toolsmenu.hud.buttonhints= +beatrun.toolsmenu.hud.buttonhintsdesc= + # Tools Menu Camera Section beatrun.toolsmenu.camera.name=Viewbob beatrun.toolsmenu.camera.desc=Configuraçoes do Viewbob diff --git a/beatrun/gamemodes/beatrun/content/resource/localization/ru/beatrun.properties b/beatrun/gamemodes/beatrun/content/resource/localization/ru/beatrun.properties index 7eaf5e7..f5c8e46 100644 --- a/beatrun/gamemodes/beatrun/content/resource/localization/ru/beatrun.properties +++ b/beatrun/gamemodes/beatrun/content/resource/localization/ru/beatrun.properties @@ -121,6 +121,9 @@ beatrun.toolsmenu.hud.textcolor=Цвет Текста в HUD beatrun.toolsmenu.hud.cornercolor=Цвет Края в HUD beatrun.toolsmenu.hud.floatxpcolor=Цвет Всплывающего XP в HUD +beatrun.toolsmenu.hud.buttonhints= +beatrun.toolsmenu.hud.buttonhintsdesc= + # Tools Menu Camera Section beatrun.toolsmenu.camera.name=Камера beatrun.toolsmenu.camera.desc=Настройки камеры diff --git a/beatrun/gamemodes/beatrun/content/resource/localization/tr/beatrun.properties b/beatrun/gamemodes/beatrun/content/resource/localization/tr/beatrun.properties index 795977c..5955519 100644 --- a/beatrun/gamemodes/beatrun/content/resource/localization/tr/beatrun.properties +++ b/beatrun/gamemodes/beatrun/content/resource/localization/tr/beatrun.properties @@ -116,6 +116,9 @@ beatrun.toolsmenu.hud.textcolor=Arayüz Metin Rengi beatrun.toolsmenu.hud.cornercolor=Arayüz Köşe Rengi beatrun.toolsmenu.hud.floatxpcolor=Arayüz Süzülen XP Rengi +beatrun.toolsmenu.hud.buttonhints= +beatrun.toolsmenu.hud.buttonhintsdesc= + # Tools Menu Camera Section beatrun.toolsmenu.camera.name=Görüntü Sarsılması beatrun.toolsmenu.camera.desc=Görüntü Sarsılma Ayarları diff --git a/beatrun/gamemodes/beatrun/content/resource/localization/uk/beatrun.properties b/beatrun/gamemodes/beatrun/content/resource/localization/uk/beatrun.properties index 467aec7..dea972d 100644 --- a/beatrun/gamemodes/beatrun/content/resource/localization/uk/beatrun.properties +++ b/beatrun/gamemodes/beatrun/content/resource/localization/uk/beatrun.properties @@ -120,6 +120,9 @@ beatrun.toolsmenu.hud.textcolor=Колір Тексту в HUD beatrun.toolsmenu.hud.cornercolor=Колір Краю в HUD beatrun.toolsmenu.hud.floatxpcolor=Колір спливаючого XP в HUD +beatrun.toolsmenu.hud.buttonhints= +beatrun.toolsmenu.hud.buttonhintsdesc= + # Tools Menu Camera Section beatrun.toolsmenu.camera.name=Покачування Камери beatrun.toolsmenu.camera.desc=Налаштування похитування камери diff --git a/beatrun/gamemodes/beatrun/gamemode/cl/ToolMenuSettings.lua b/beatrun/gamemodes/beatrun/gamemode/cl/ToolMenuSettings.lua index 3a77c7a..aaa7867 100644 --- a/beatrun/gamemodes/beatrun/gamemode/cl/ToolMenuSettings.lua +++ b/beatrun/gamemodes/beatrun/gamemode/cl/ToolMenuSettings.lua @@ -152,6 +152,9 @@ hook.Add("PopulateToolMenu", "Beatrun_ToolMenu", function() panel:ClearControls() panel:SetName("#beatrun.toolsmenu.hud.desc") + panel:CheckBox("#beatrun.toolsmenu.hud.buttonhints", "Beatrun_HUDButtonHints") + panel:ControlHelp("#beatrun.toolsmenu.hud.buttonhintsdesc") + panel:CheckBox("#beatrun.toolsmenu.hud.dynamic", "Beatrun_HUDDynamic") panel:ControlHelp("#beatrun.toolsmenu.hud.dynamicdesc")