diff --git a/reframework/autorun/MHR_Overlay/Damage_Meter/player.lua b/reframework/autorun/MHR_Overlay/Damage_Meter/player.lua index 845744f..69ce630 100644 --- a/reframework/autorun/MHR_Overlay/Damage_Meter/player.lua +++ b/reframework/autorun/MHR_Overlay/Damage_Meter/player.lua @@ -319,9 +319,8 @@ end local player_manager_type_def = sdk.find_type_definition("snow.player.PlayerManager"); local find_master_player_method = player_manager_type_def:get_method("findMasterPlayer"); -local get_game_object_method = sdk.find_type_definition("via.Component"):get_method("get_GameObject"); -local get_transform_method = sdk.find_type_definition("via.GameObject"):get_method("get_Transform"); -local get_position_method = sdk.find_type_definition("via.Transform"):get_method("get_Position"); +local player_base_type_def = sdk.find_type_definition("snow.player.PlayerBase"); +local get_pos_field = player_base_type_def:get_method("get_Pos"); function player.update_myself_position() if singletons.player_manager == nil then @@ -335,25 +334,10 @@ function player.update_myself_position() return; end - local master_player_game_object = get_game_object_method:call(master_player); - if master_player_game_object == nil then - customization_menu.status = "No master player game object"; - return; + local position = get_pos_field:call(master_player); + if position ~= nil then + player.myself_position = position; end - - local master_player_transform = get_transform_method:call(master_player_game_object); - if not master_player_transform then - customization_menu.status = "No master player transform"; - return; - end - - local master_player_position = get_position_method:call(master_player_transform); - if master_player_position == nil then - customization_menu.status = "No master player position"; - return; - end - - player.myself_position = master_player_position; end function player.init() diff --git a/reframework/autorun/MHR_Overlay/Misc/config.lua b/reframework/autorun/MHR_Overlay/Misc/config.lua index 17b3af3..6c52c7e 100644 --- a/reframework/autorun/MHR_Overlay/Misc/config.lua +++ b/reframework/autorun/MHR_Overlay/Misc/config.lua @@ -2952,6 +2952,11 @@ function config.init() anchor = "Top-Right" }, + auto_highlight = { + enabled = false, + mode = "Closest" + }, + monster_name_label = { visibility = true, text = "%s", @@ -4487,4 +4492,4 @@ function config.init_module() end -return config; +return config; \ No newline at end of file diff --git a/reframework/autorun/MHR_Overlay/Misc/language.lua b/reframework/autorun/MHR_Overlay/Misc/language.lua index 45ccfdb..46ce511 100644 --- a/reframework/autorun/MHR_Overlay/Misc/language.lua +++ b/reframework/autorun/MHR_Overlay/Misc/language.lua @@ -399,7 +399,16 @@ language.default_language = { style = "Style", inside = "Inside", outside = "Outside", - center = "Center" + center = "Center", + + auto_highlight = "Auto-highlight", + mode = "Mode", + closest = "Closest", + farthest = "Farthest", + lowest_health = "Lowest Health", + highest_health = "Highest Health", + lowest_health_percentage = "Lowest Health Percentage", + highest_health_percentage = "Highest Health Percentage" } }; diff --git a/reframework/autorun/MHR_Overlay/Monsters/large_monster.lua b/reframework/autorun/MHR_Overlay/Monsters/large_monster.lua index 642b61a..2b320f5 100644 --- a/reframework/autorun/MHR_Overlay/Monsters/large_monster.lua +++ b/reframework/autorun/MHR_Overlay/Monsters/large_monster.lua @@ -695,7 +695,7 @@ end function large_monster.draw(monster, type, cached_config, position_on_screen, opacity_scale) local monster_UI; - xy = 1; + if type == "dynamic" then monster_UI = monster.dynamic_UI; elseif type == "static" then @@ -703,37 +703,37 @@ function large_monster.draw(monster, type, cached_config, position_on_screen, op else monster_UI = monster.highlighted_UI; end - xy = 2; + local global_scale_modifier = config.current_config.global_settings.modifiers.global_scale_modifier; - xy = 2.01; + local monster_name_text = ""; if cached_config.monster_name_label.include.monster_name then - monster_name_text = string.format("%s ", monster.name); + monster_name_text = string.format("%s %s ", monster.name, tostring(monster.distance)); end - xy = 2.02; + if cached_config.monster_name_label.include.monster_id then monster_name_text = monster_name_text .. tostring(monster.id) .. " "; end - xy = 2.03; + if cached_config.monster_name_label.include.crown and monster.crown ~= "" then monster_name_text = monster_name_text .. string.format("%s ", monster.crown); end - xy = 2.04; + if cached_config.monster_name_label.include.size then monster_name_text = monster_name_text .. string.format("#%.0f ", 100 * monster.size); end - xy = 2.05; + if cached_config.monster_name_label.include.scrown_thresholds then monster_name_text = monster_name_text .. string.format("<=%.0f >=%.0f >=%.0f", 100 * monster.small_border, 100 * monster.big_border, 100 * monster.king_border); end - xy = table_helpers.tostring(monster_UI); + if monster.health < monster.capture_health then monster_UI.health_UI.bar.colors = monster_UI.health_UI.bar.capture_colors; else monster_UI.health_UI.bar.colors = monster_UI.health_UI.bar.normal_colors; end - xy = 2.1; + drawing.draw_label(monster_UI.monster_name_label, position_on_screen, opacity_scale, monster_name_text); local health_position_on_screen = { @@ -766,7 +766,6 @@ function large_monster.draw(monster, type, cached_config, position_on_screen, op y = position_on_screen.y + cached_config.ailment_buildups.offset.y * global_scale_modifier }; - health_UI_entity.draw(monster, monster_UI.health_UI, health_position_on_screen, opacity_scale); drawing.draw_capture_line(monster_UI.health_UI, health_position_on_screen, opacity_scale, monster.capture_percentage); stamina_UI_entity.draw(monster, monster_UI.stamina_UI, stamina_position_on_screen, opacity_scale); diff --git a/reframework/autorun/MHR_Overlay/UI/Modules/large_monster_UI.lua b/reframework/autorun/MHR_Overlay/UI/Modules/large_monster_UI.lua index fe842e3..4eaeb2d 100644 --- a/reframework/autorun/MHR_Overlay/UI/Modules/large_monster_UI.lua +++ b/reframework/autorun/MHR_Overlay/UI/Modules/large_monster_UI.lua @@ -22,17 +22,25 @@ local tg_camera_type_def = get_tg_camera_method:get_return_type(); local get_targeting_enemy_index_field = tg_camera_type_def:get_field("OldTargetingEmIndex"); function large_monster_UI.draw(dynamic_enabled, static_enabled, highlighted_enabled) + local cached_config = config.current_config.large_monster_UI; + if singletons.enemy_manager == nil then return; end local displayed_monsters = {}; + local update_distance = + dynamic_enabled or cached_config.static.sorting.type == "Distance" + or (cached_config.highlighted.auto_highlight.enabled + and (cached_config.highlighted.auto_highlight.mode == "Closest" or cached_config.highlighted.auto_highlight.mode == "Furthest") + ); + local highlighted_id = -1; local monster_id_shift = 0; local highlighted_monster = nil; - if singletons.gui_manager ~= nil then + if not cached_config.highlighted.auto_highlight.enabled and singletons.gui_manager ~= nil then local gui_hud_target_camera = get_tg_camera_method:call(singletons.gui_manager); if gui_hud_target_camera ~= nil then highlighted_id = get_targeting_enemy_index_field:get_data(gui_hud_target_camera); @@ -57,41 +65,76 @@ function large_monster_UI.draw(dynamic_enabled, static_enabled, highlighted_enab local monster = large_monster.list[enemy]; if monster == nil then - customization_menu.status = "No large monster hp entry"; + customization_menu.status = "No large monster entry"; goto continue end - if monster.dead_or_captured or not monster.is_disp_icon_mini_map then - monster_id_shift = monster_id_shift + 1; - elseif i == highlighted_id + monster_id_shift then - highlighted_monster = monster; + if update_distance then + monster.distance = (player.myself_position - monster.position):length(); + end + + if cached_config.highlighted.auto_highlight.enabled then + if highlighted_monster == nil then + highlighted_monster = monster; + + elseif cached_config.highlighted.auto_highlight.mode == "Farthest" then + if monster.distance > highlighted_monster.distance then + highlighted_monster = monster; + end + + elseif cached_config.highlighted.auto_highlight.mode == "Lowest Health" then + if monster.health < highlighted_monster.health then + highlighted_monster = monster; + end + + elseif cached_config.highlighted.auto_highlight.mode == "Highest Health" then + if monster.health > highlighted_monster.health then + highlighted_monster = monster; + end + + elseif cached_config.highlighted.auto_highlight.mode == "Lowest Health Percentage" then + if monster.health_percentage < highlighted_monster.health_percentage then + highlighted_monster = monster; + end + + elseif cached_config.highlighted.auto_highlight.mode == "Highest Health Percentage" then + if monster.health_percentage > highlighted_monster.health_percentage then + highlighted_monster = monster; + end + + else + if monster.distance < highlighted_monster.distance then + highlighted_monster = monster; + end + end + else + if monster.dead_or_captured or not monster.is_disp_icon_mini_map then + monster_id_shift = monster_id_shift + 1; + + elseif i == highlighted_id + monster_id_shift then + highlighted_monster = monster; + end end table.insert(displayed_monsters, monster); ::continue:: end - if dynamic_enabled or config.current_config.large_monster_UI.static.sorting.type == "Distance" then - for _, monster in ipairs(displayed_monsters) do - monster.distance = (player.myself_position - monster.position):length(); - end - end - if dynamic_enabled then - large_monster_UI.draw_dynamic(displayed_monsters, highlighted_monster); + large_monster_UI.draw_dynamic(displayed_monsters, highlighted_monster, cached_config); end if highlighted_enabled then - large_monster_UI.draw_highlighted(highlighted_monster); + large_monster_UI.draw_highlighted(highlighted_monster, cached_config); end if static_enabled then - large_monster_UI.draw_static(displayed_monsters, highlighted_monster); + large_monster_UI.draw_static(displayed_monsters, highlighted_monster, cached_config); end end -function large_monster_UI.draw_dynamic(displayed_monsters, highlighted_monster) - local cached_config = config.current_config.large_monster_UI.dynamic; +function large_monster_UI.draw_dynamic(displayed_monsters, highlighted_monster, cached_config) + cached_config = cached_config.dynamic; local global_scale_modifier = config.current_config.global_settings.modifiers.global_scale_modifier; local i = 0; @@ -144,8 +187,8 @@ function large_monster_UI.draw_dynamic(displayed_monsters, highlighted_monster) end end -function large_monster_UI.draw_static(displayed_monsters, highlighted_monster) - local cached_config = config.current_config.large_monster_UI.static; +function large_monster_UI.draw_static(displayed_monsters, highlighted_monster, cached_config) + cached_config = cached_config.static; local global_scale_modifier = config.current_config.global_settings.modifiers.global_scale_modifier; -- sort here @@ -225,8 +268,8 @@ function large_monster_UI.draw_static(displayed_monsters, highlighted_monster) end end -function large_monster_UI.draw_highlighted(monster) - local cached_config = config.current_config.large_monster_UI.highlighted; +function large_monster_UI.draw_highlighted(monster, cached_config) + cached_config = cached_config.highlighted; if monster == nil then return; diff --git a/reframework/autorun/MHR_Overlay/UI/Modules/small_monster_UI.lua b/reframework/autorun/MHR_Overlay/UI/Modules/small_monster_UI.lua index a95a0ea..535c109 100644 --- a/reframework/autorun/MHR_Overlay/UI/Modules/small_monster_UI.lua +++ b/reframework/autorun/MHR_Overlay/UI/Modules/small_monster_UI.lua @@ -38,7 +38,7 @@ function small_monster_UI.draw() local monster = small_monster.list[enemy]; if monster == nil then - customization_menu.status = "No small monster hp entry"; + customization_menu.status = "No small monster entry"; goto continue end diff --git a/reframework/autorun/MHR_Overlay/UI/customization_menu.lua b/reframework/autorun/MHR_Overlay/UI/customization_menu.lua index 42b7216..517194b 100644 --- a/reframework/autorun/MHR_Overlay/UI/customization_menu.lua +++ b/reframework/autorun/MHR_Overlay/UI/customization_menu.lua @@ -53,6 +53,8 @@ customization_menu.displayed_damage_meter_UI_my_damage_bar_location_types = {}; customization_menu.displayed_damage_meter_UI_sorting_types = {}; customization_menu.displayed_damage_meter_UI_dps_modes = {}; +customization_menu.displayed_auto_highlight_modes = {}; + customization_menu.orientation_types = {}; customization_menu.anchor_types = {}; customization_menu.outline_styles = {}; @@ -69,6 +71,8 @@ customization_menu.damage_meter_UI_my_damage_bar_location_types = {}; customization_menu.damage_meter_UI_sorting_types = {}; customization_menu.damage_meter_UI_dps_modes = {}; +customization_menu.auto_highlight_modes = {}; + customization_menu.fonts = {"Arial", "Arial Black", "Bahnschrift", "Calibri", "Cambria", "Cambria Math", "Candara", "Comic Sans MS", "Consolas", "Constantia", "Corbel", "Courier New", "Ebrima", "Franklin Gothic Medium", "Gabriola", "Gadugi", "Georgia", "HoloLens MDL2 Assets", "Impact", @@ -79,7 +83,8 @@ customization_menu.fonts = {"Arial", "Arial Black", "Bahnschrift", "Calibri", "C "MV Boli", "Myanmar Text", "Nirmala UI", "Palatino Linotype", "Segoe MDL2 Assets", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Historic", "Segoe UI Emoji", "Segoe UI Symbol", "SimSun", "Sitka", "Sylfaen", "Symbol", "Tahoma", "Times New Roman", - "Trebuchet MS", "Verdana", "Webdings", "Wingdings", "Yu Gothic"}; + "Trebuchet MS", "Verdana", "Webdings", "Wingdings", "Yu Gothic" +}; customization_menu.all_UI_waiting_for_key = false; customization_menu.small_monster_UI_waiting_for_key = false; @@ -155,6 +160,13 @@ function customization_menu.init() language.current_language.customization_menu.quest_time, language.current_language.customization_menu.join_time}; + customization_menu.displayed_auto_highlight_modes = {language.current_language.customization_menu.closest, + language.current_language.customization_menu.farthest, + language.current_language.customization_menu.lowest_health, + language.current_language.customization_menu.highest_health, + language.current_language.customization_menu.lowest_health_percentage, + language.current_language.customization_menu.highest_health_percentage}; + customization_menu.orientation_types = {language.default_language.customization_menu.horizontal, language.default_language.customization_menu.vertical}; customization_menu.anchor_types = {language.default_language.customization_menu.top_left, @@ -209,6 +221,13 @@ function customization_menu.init() customization_menu.damage_meter_UI_dps_modes = {language.default_language.customization_menu.first_hit, language.default_language.customization_menu.quest_time, language.default_language.customization_menu.join_time}; + + customization_menu.auto_highlight_modes = {language.default_language.customization_menu.closest, + language.default_language.customization_menu.farthest, + language.default_language.customization_menu.lowest_health, + language.default_language.customization_menu.highest_health, + language.default_language.customization_menu.lowest_health_percentage, + language.default_language.customization_menu.highest_health_percentage}; end function customization_menu.draw() @@ -1285,6 +1304,26 @@ function customization_menu.draw_large_monster_highlighted_UI() imgui.tree_pop(); end + if imgui.tree_node(language.current_language.customization_menu.auto_highlight) then + changed, cached_config.auto_highlight.enabled = imgui.checkbox( + language.current_language.customization_menu.enabled, cached_config.auto_highlight.enabled); + + config_changed = config_changed or changed; + + changed, index = imgui.combo( + language.current_language.customization_menu.mode, + table_helpers.find_index(customization_menu.auto_highlight_modes, cached_config.auto_highlight.mode), + customization_menu.displayed_auto_highlight_modes); + + config_changed = config_changed or changed; + + if changed then + cached_config.auto_highlight.mode = customization_menu.auto_highlight_modes[index]; + end + + imgui.tree_pop(); + end + changed = large_monster_UI_customization.draw(cached_config); config_changed = config_changed or changed; diff --git a/reframework/data/MHR Overlay/languages/en-us.json b/reframework/data/MHR Overlay/languages/en-us.json index 556f52e..90a793c 100644 --- a/reframework/data/MHR Overlay/languages/en-us.json +++ b/reframework/data/MHR Overlay/languages/en-us.json @@ -48,6 +48,7 @@ "anchor": "Anchor", "apply": "Apply", "assign_new_key": "Assign new key", + "auto_highlight": "Auto-highlight", "background": "Background", "bar": "Bar", "blast_damage": "Blast Damage", @@ -72,6 +73,7 @@ "cart_count": "Cart Count", "cart_count_label": "Cart Count Label", "center": "Center", + "closest": "Closest", "color": "Color", "colors": "Colors", "creature_name_label": "Creature Name Label", @@ -95,6 +97,7 @@ "endemic_life_UI": "Endemic Life UI", "endemic_life_damage": "Endemic Life Damage", "family": "Family", + "farthest": "Farthest", "fight_time": "Fight Time", "filter": "Filter", "first": "First", @@ -126,6 +129,8 @@ "hide_total_damage": "Hide Total Damage", "hide_total_if_total_damage_is_zero": "Hide Total if Total Damage is 0", "hide_undamaged_parts": "Hide Undamaged Parts", + "highest_health": "Highest Health", + "highest_health_percentage": "Highest Health Percentage", "highlighted": "Highlighted (targeted)", "highlighted_bar": "Highlighted Bar", "highlighted_buildup_bar": "Highlighted Buildup Bar", @@ -149,6 +154,8 @@ "last": "Last", "loss_health": "Sever Health", "loss_health_percentage": "Sever Health Percentage", + "lowest_health": "Lowest Health", + "lowest_health_percentage": "Lowest Health Percentage", "master_rank": "Master Rank", "max_distance": "Max Distance", "max_monster_updates_per_tick": "Max Monster Updates per Tick", @@ -156,6 +163,7 @@ "menu_font": "Menu Font", "menu_font_change_disclaimer": "Changing Language and Menu Font Size several times will cause a crash!", "mod_name": "MHR Overlay", + "mode": "Mode", "modifiers": "Modifiers", "module_visibility_on_different_screens": "Module Visibility on Different Screens", "modules": "Modules", diff --git a/reframework/data/MHR Overlay/languages/ja-jp.json b/reframework/data/MHR Overlay/languages/ja-jp.json index 0b97b59..c3602af 100644 --- a/reframework/data/MHR Overlay/languages/ja-jp.json +++ b/reframework/data/MHR Overlay/languages/ja-jp.json @@ -48,6 +48,7 @@ "anchor": "固定", "apply": "適用", "assign_new_key": "新規に割り当てるキーを入力", + "auto_highlight": "Auto-highlight", "background": "背景色", "bar": "バー", "blast_damage": "爆破ダメージ", @@ -72,6 +73,7 @@ "cart_count": "倒れた回数", "cart_count_label": "倒れた回数ラベル", "center": "Center", + "closest": "Closest", "color": "カラー", "colors": "カラー", "creature_name_label": "モンスターの名前ラベル", @@ -95,6 +97,7 @@ "endemic_life_UI": "環境生物UI", "endemic_life_damage": "環境生物のダメージ", "family": "Family", + "farthest": "Farthest", "fight_time": "戦闘時間", "filter": "フィルター", "first": "最初", @@ -126,6 +129,8 @@ "hide_total_damage": "合計ダメージの表示を隠す", "hide_total_if_total_damage_is_zero": "合計ダメージが0の場合、合計の表示を隠す", "hide_undamaged_parts": "攻撃していない部位の表示を隠す", + "highest_health": "Highest Health", + "highest_health_percentage": "Highest Health Percentage", "highlighted": "詳細表示 (ターゲット)", "highlighted_bar": "ハイライトされたバー", "highlighted_buildup_bar": "ハイライトされた蓄積値バー", @@ -149,6 +154,8 @@ "last": "最後", "loss_health": "尻尾切断までの体力", "loss_health_percentage": "尻尾切断までの体力(%)", + "lowest_health": "Lowest Health", + "lowest_health_percentage": "Lowest Health Percentage", "master_rank": "マスターランク", "max_distance": "最大距離", "max_monster_updates_per_tick": "モンスター情報をアップデートする間隔", @@ -156,6 +163,7 @@ "menu_font": "メニューで使うフォント", "menu_font_change_disclaimer": "言語とメニューのフォントサイズを何度も変更すると、クラッシュが発生します。", "mod_name": "MHR Overlay", + "mode": "Mode", "modifiers": "全体的な調整", "module_visibility_on_different_screens": "画面ごとの表示設定", "modules": "モジュール", diff --git a/reframework/data/MHR Overlay/languages/ko-kr.json b/reframework/data/MHR Overlay/languages/ko-kr.json index 60bd8c5..846d5d5 100644 --- a/reframework/data/MHR Overlay/languages/ko-kr.json +++ b/reframework/data/MHR Overlay/languages/ko-kr.json @@ -48,6 +48,7 @@ "anchor": "기준", "apply": "적용", "assign_new_key": "새 키를 할당", + "auto_highlight": "Auto-highlight", "background": "배경색", "bar": "바", "blast_damage": "폭파 대미지", @@ -72,6 +73,7 @@ "cart_count": "수레 횟수", "cart_count_label": "수레 횟수 정보", "center": "Center", + "closest": "Closest", "color": "색상", "colors": "색상", "creature_name_label": "환경생물 이름 정보", @@ -95,6 +97,7 @@ "endemic_life_UI": "환경생물 UI", "endemic_life_damage": "환경생물 대미지", "family": "글꼴", + "farthest": "Farthest", "fight_time": "전투 시간", "filter": "필터", "first": "처음", @@ -126,6 +129,8 @@ "hide_total_damage": "모든 대미지 숨김", "hide_total_if_total_damage_is_zero": "총 대미지가 0이면 모두 숨김", "hide_undamaged_parts": "피해를 입히지 않은 부위 숨김", + "highest_health": "Highest Health", + "highest_health_percentage": "Highest Health Percentage", "highlighted": "타겟이 된 몬스터 표시", "highlighted_bar": "타겟이 된 몬스터 바", "highlighted_buildup_bar": "타겟이 된 몬스터 누적치 바", @@ -149,6 +154,8 @@ "last": "마지막", "loss_health": "절단 수치", "loss_health_percentage": "절단 수치 비율", + "lowest_health": "Lowest Health", + "lowest_health_percentage": "Lowest Health Percentage", "master_rank": "마스터 랭크", "max_distance": "최대 거리", "max_monster_updates_per_tick": "틱당 최대 몬스터 갱신 횟수", @@ -156,6 +163,7 @@ "menu_font": "메뉴 글꼴", "menu_font_change_disclaimer": "언어 및 메뉴 글꼴 크기를 여러 번 변경하면 비정상 종료가 될 수 있습니다!", "mod_name": "MHR Overlay", + "mode": "Mode", "modifiers": "설정 배율", "module_visibility_on_different_screens": "상황별 UI 표시", "modules": "UI", diff --git a/reframework/data/MHR Overlay/languages/ru-ru.json b/reframework/data/MHR Overlay/languages/ru-ru.json index bafa80c..31dc97a 100644 --- a/reframework/data/MHR Overlay/languages/ru-ru.json +++ b/reframework/data/MHR Overlay/languages/ru-ru.json @@ -48,6 +48,7 @@ "anchor": "Привязка", "apply": "Применить", "assign_new_key": "Привязать клавишу", + "auto_highlight": "Auto-highlight", "background": "Фон", "bar": "Шкала", "blast_damage": "Урон от взрыва", @@ -72,6 +73,7 @@ "cart_count": "Кол-во потерь сознания", "cart_count_label": "Метка кол-ва потерь сознания", "center": "Центр", + "closest": "Closest", "color": "Цвет", "colors": "Цвета", "creature_name_label": "Метка имени существа", @@ -95,6 +97,7 @@ "endemic_life_UI": "Интерфейс местной живности", "endemic_life_damage": "Урон от окружения", "family": "Семейство", + "farthest": "Farthest", "fight_time": "Время в бою", "filter": "Фильтр", "first": "Первый", @@ -126,6 +129,8 @@ "hide_total_damage": "Скрыть общий урон", "hide_total_if_total_damage_is_zero": "Скрыть общий урон, если он равен 0", "hide_undamaged_parts": "Скрыть неповреждённые части тела", + "highest_health": "Highest Health", + "highest_health_percentage": "Highest Health Percentage", "highlighted": "Помеченный", "highlighted_bar": "Помеченная шкала", "highlighted_buildup_bar": "Помеченная шкала накопления", @@ -149,6 +154,8 @@ "last": "Последний", "loss_health": "Отсечение части", "loss_health_percentage": "Отсечение части в процентах", + "lowest_health": "Lowest Health", + "lowest_health_percentage": "Lowest Health Percentage", "master_rank": "Ранг мастера", "max_distance": "Макс. расстояние", "max_monster_updates_per_tick": "Макс. кол-во обновлений за тик", @@ -156,6 +163,7 @@ "menu_font": "Шрифт меню", "menu_font_change_disclaimer": "Изменение языка и размера шрифта меню несколько раз приведёт к вылету!", "mod_name": "MHR Overlay", + "mode": "Mode", "modifiers": "Модификаторы", "module_visibility_on_different_screens": "Видимость модулей на разных экранах", "modules": "Модули", diff --git a/reframework/data/MHR Overlay/languages/zh-cn.json b/reframework/data/MHR Overlay/languages/zh-cn.json index 03f28ef..680453f 100644 --- a/reframework/data/MHR Overlay/languages/zh-cn.json +++ b/reframework/data/MHR Overlay/languages/zh-cn.json @@ -48,6 +48,7 @@ "anchor": "锚点", "apply": "Apply", "assign_new_key": "指定新按键", + "auto_highlight": "Auto-highlight", "background": "背景", "bar": "状态条", "blast_damage": "爆破伤害", @@ -72,6 +73,7 @@ "cart_count": "Cart Count", "cart_count_label": "Cart Count Label", "center": "Center", + "closest": "Closest", "color": "颜色", "colors": "颜色", "creature_name_label": "生物名标签", @@ -95,6 +97,7 @@ "endemic_life_UI": "环境生物UI", "endemic_life_damage": "Endemic Life Damage", "family": "字体", + "farthest": "Farthest", "fight_time": "战斗时间", "filter": "筛选器", "first": "第一", @@ -126,6 +129,8 @@ "hide_total_damage": "Hide Total Damage", "hide_total_if_total_damage_is_zero": "当总伤害为0时隐藏总伤害", "hide_undamaged_parts": "隐藏没有受到伤害的部位", + "highest_health": "Highest Health", + "highest_health_percentage": "Highest Health Percentage", "highlighted": "高亮(目标)", "highlighted_bar": "高亮条", "highlighted_buildup_bar": "高亮积累值条", @@ -149,6 +154,8 @@ "last": "最后", "loss_health": "Sever Health", "loss_health_percentage": "Sever Health Percentage", + "lowest_health": "Lowest Health", + "lowest_health_percentage": "Lowest Health Percentage", "master_rank": "Master Rank", "max_distance": "最大距离", "max_monster_updates_per_tick": "每次更新的最大怪物数量", @@ -156,6 +163,7 @@ "menu_font": "菜单字体", "menu_font_change_disclaimer": "Changing Language and Menu Font Size several times will cause a crash!", "mod_name": "MHR Overlay", + "mode": "Mode", "modifiers": "更改项", "module_visibility_on_different_screens": "不同场景中使用的模块", "modules": "模块", diff --git a/reframework/data/MHR Overlay/languages/zh-tw.json b/reframework/data/MHR Overlay/languages/zh-tw.json index 571c20d..87d5bd8 100644 --- a/reframework/data/MHR Overlay/languages/zh-tw.json +++ b/reframework/data/MHR Overlay/languages/zh-tw.json @@ -48,6 +48,7 @@ "anchor": "錨點", "apply": "Apply", "assign_new_key": "指定新按鍵", + "auto_highlight": "Auto-highlight", "background": "圖形化顯示條的背景底色", "bar": "圖形化顯示條", "blast_damage": "爆破傷害", @@ -72,6 +73,7 @@ "cart_count": "Cart Count", "cart_count_label": "Cart Count Label", "center": "Center", + "closest": "Closest", "color": "調色盤", "colors": "調色盤", "creature_name_label": "環境生物名稱", @@ -95,6 +97,7 @@ "endemic_life_UI": "環境生物 UI", "endemic_life_damage": "Endemic Life Damage", "family": "字體", + "farthest": "Farthest", "fight_time": "戰鬥時間", "filter": "篩選器", "first": "第一", @@ -126,6 +129,8 @@ "hide_total_damage": "Hide Total Damage", "hide_total_if_total_damage_is_zero": "當總傷害為0時,隱藏總傷害", "hide_undamaged_parts": "隱藏沒受到傷害的部位", + "highest_health": "Highest Health", + "highest_health_percentage": "Highest Health Percentage", "highlighted": "鎖定的魔物資訊(目標)", "highlighted_bar": "重點條", "highlighted_buildup_bar": "重點累積條", @@ -149,6 +154,8 @@ "last": "最後", "loss_health": "Sever Health", "loss_health_percentage": "Sever Health Percentage", + "lowest_health": "Lowest Health", + "lowest_health_percentage": "Lowest Health Percentage", "master_rank": "Master Rank", "max_distance": "最大距離", "max_monster_updates_per_tick": "每次更新的最大魔物數量", @@ -156,6 +163,7 @@ "menu_font": "選單字體大小", "menu_font_change_disclaimer": "Changing Language and Menu Font Size several times will cause a crash!", "mod_name": "MHR Overlay", + "mode": "Mode", "modifiers": "更改項", "module_visibility_on_different_screens": "不同場景中使用的模組", "modules": "模組",