23 Commits
v2.6.6 ... main

Author SHA1 Message Date
GreenComfyTea
d633a20340 Update README.md 2025-12-31 10:24:47 +02:00
GreenComfyTea
9e18f27f14 chore: Bump version to 2.7.4 2025-12-31 10:17:22 +02:00
GreenComfyTea
b013eca872 feat: Added partial spanish localization by LLDan 2025-12-31 10:16:48 +02:00
GreenComfyTea
837c45bb33 Update README.md 2024-09-07 10:44:40 +03:00
Artjoms Lužnovs
30f76efd37 Bump version to v2.7.3 2024-09-07 10:37:44 +03:00
GreenComfyTea
dad031af4b Merge pull request #72 from Krude/main
Create de-de (German) translation
2024-09-07 10:26:32 +03:00
Krude
2f355308ce Update de-de.json
Add 2 more untranslated strings I missed, and slight changes to better reflect Capcom's official word choices.
2024-09-02 19:56:16 +02:00
Krude
c6708876b1 Add untranslated string for Deadly Poison to de-de 2024-08-31 20:41:32 +02:00
Krude
a6160f77fd Create de-de.json
Create German translation for MHR Overlay v2.7.2
2024-08-31 20:27:24 +02:00
GreenComfyTea
e0e7c9d824 Update README.md 2024-06-29 10:47:58 +03:00
GreenComfyTea
3bd627fdfb Update README.md 2024-06-29 10:47:36 +03:00
GreenComfyTea
beeb45db46 Bump version to v2.7.2 2024-06-29 10:39:08 +03:00
GreenComfyTea
a82168fc4e Micro optimizations 2024-06-29 10:38:51 +03:00
GreenComfyTea
d62a72a778 [Monster UI] Fix an issue when run away monsters UI was not disappearing 2024-06-29 10:38:29 +03:00
GreenComfyTea
2390bfe8ac Bump version to v2.7.1 2024-05-23 18:35:07 +03:00
GreenComfyTea
7398bab9ea [Buff UI] Fix buffs not working when Sorting by Timer/Duration is selected 2024-05-12 10:26:43 +03:00
GreenComfyTea
877a48583a Update russian localization 2024-05-11 08:26:14 +03:00
GreenComfyTea
ee6dfe2139 Hide some errors 2024-05-11 08:06:20 +03:00
GreenComfyTea
d4c52617d9 Add Endemic Life Head Tracking 2024-05-06 19:08:08 +03:00
GreenComfyTea
30d858b1f8 Bump version to 2.7 2024-05-06 18:45:16 +03:00
GreenComfyTea
3c8f5019ab Grammar 2024-05-06 18:44:49 +03:00
GreenComfyTea
4caa69930d Add Small and Large Monster Head Tracking 2024-05-06 18:44:33 +03:00
GreenComfyTea
874c89daa5 Update README.md 2024-04-10 13:53:11 +03:00
43 changed files with 2284 additions and 556 deletions

View File

@@ -38,10 +38,10 @@
</a>
<br>
<a href="https://www.nexusmods.com/monsterhunterrise/mods/26">
<img alt="REFramework Dependency" src="https://custom-icon-badges.demolab.com/badge/dependency-REFramework%20v1.605%2B-green?logo=package-dependencies" />
<img alt="REFramework Dependency" src="https://custom-icon-badges.demolab.com/badge/dependency-REFramework%20v1.5.7%2B-green?logo=package-dependencies" />
</a>
<a href="https://www.nexusmods.com/monsterhunterrise/mods/134">
<img alt="REFramework Direct2D Dependency" src="https://custom-icon-badges.demolab.com/badge/dependency-REFramework%20Direct2D%20v0.4.0%2B-yellow?logo=package-dependencies" />
<img alt="REFramework Direct2D Dependency" src="https://custom-icon-badges.demolab.com/badge/dependency-REFramework%20Direct2D%20v1.0.1%2B-green?logo=package-dependencies" />
</a>
<br>
<br>
@@ -136,7 +136,7 @@
# Requirements
1. **[REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26)** (v1.503+);
2. **[REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134)** (v0.4.0+) - Needed for Unicode Support.
2. **[REFramework Direct2D](https://www.nexusmods.com/monsterhunterrise/mods/134)** (v1.0.0+) - Needed for Unicode Support.
# How to install:
1. Install **[REFramework](https://www.nexusmods.com/monsterhunterrise/mods/26)**;
@@ -163,6 +163,8 @@
**[s9000008](https://github.com/s9000008)**, **[mcc1](https://github.com/mcc1)** - Traditional Chinese translation.
**[etnAtker](https://github.com/etnAtker)**, **[sukiqwq](https://github.com/sukiqwq)** - Simplified Chinese translation.
**[AKILAND0214](https://github.com/AKILAND0214)** - Japanese translation.
**[Krude](https://github.com/Krude)** - German translation.
**[LLDan](https://www.nexusmods.com/profile/LLDan)** - Spanish translation.
***
# Support

View File

@@ -271,14 +271,16 @@ log.info("[MHR Overlay] Loaded.");
-- #region
local function update_modules(module_visibility_config, flow_state_name)
if module_visibility_config.small_monster_UI and config.current_config.small_monster_UI.enabled then
local current_config = config.current_config;
if module_visibility_config.small_monster_UI and current_config.small_monster_UI.enabled then
local success, error = pcall(small_monster_UI.update);
if not success then
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Small Monster UI: %s", flow_state_name, tostring(error)));
end
end
local large_monster_UI_config = config.current_config.large_monster_UI;
local large_monster_UI_config = current_config.large_monster_UI;
local dynamic_enabled = large_monster_UI_config.dynamic.enabled and module_visibility_config.large_monster_dynamic_UI;
local static_enabled = large_monster_UI_config.static.enabled and module_visibility_config.large_monster_static_UI;
@@ -291,21 +293,21 @@ local function update_modules(module_visibility_config, flow_state_name)
end
end
if config.current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
if current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
local success, error = pcall(damage_meter_UI.update);
if not success then
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Damage Meter UI: %s", flow_state_name, tostring(error)));
end
end
if config.current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
if current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
local success, error = pcall(env_creature_UI.update);
if not success then
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Endemic Life UI: %s", flow_state_name, tostring(error)));
end
end
if config.current_config.buff_UI.enabled and module_visibility_config.buff_UI then
if current_config.buff_UI.enabled and module_visibility_config.buff_UI then
local success, error = pcall(buff_UI.update);
if not success then
error_handler.report("MHR_Overlay.update_modules", string.format("[%s] Buff UI: %s", flow_state_name, tostring(error)));
@@ -314,14 +316,16 @@ local function update_modules(module_visibility_config, flow_state_name)
end
local function draw_modules(module_visibility_config, flow_state_name)
if module_visibility_config.small_monster_UI and config.current_config.small_monster_UI.enabled then
local current_config = config.current_config;
if module_visibility_config.small_monster_UI and current_config.small_monster_UI.enabled then
local success, error = pcall(small_monster_UI.draw);
if not success then
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Small Monster UI: %s", flow_state_name, tostring(error)));
end
end
local large_monster_UI_config = config.current_config.large_monster_UI;
local large_monster_UI_config = current_config.large_monster_UI;
local dynamic_enabled = large_monster_UI_config.dynamic.enabled and module_visibility_config.large_monster_dynamic_UI;
local static_enabled = large_monster_UI_config.static.enabled and module_visibility_config.large_monster_static_UI;
@@ -334,35 +338,35 @@ local function draw_modules(module_visibility_config, flow_state_name)
end
end
if config.current_config.time_UI.enabled and module_visibility_config.time_UI then
if current_config.time_UI.enabled and module_visibility_config.time_UI then
local success, error = pcall(time_UI.draw);
if not success then
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Time UI: %s", flow_state_name, tostring(error)));
end
end
if config.current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
if current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
local success, error = pcall(damage_meter_UI.draw);
if not success then
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Damage Meter UI: %s", flow_state_name, tostring(error)));
end
end
if config.current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
if current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
local success, error = pcall(env_creature_UI.draw);
if not success then
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Endemic Life UI: %s", flow_state_name, tostring(error)));
end
end
if config.current_config.buff_UI.enabled and module_visibility_config.buff_UI then
if current_config.buff_UI.enabled and module_visibility_config.buff_UI then
local success, error = pcall(buff_UI.draw);
if not success then
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Buff UI: %s", flow_state_name, tostring(error)));
end
end
if config.current_config.stats_UI.enabled and module_visibility_config.stats_UI then
if current_config.stats_UI.enabled and module_visibility_config.stats_UI then
local success, error = pcall(stats_UI.draw);
if not success then
error_handler.report("MHR_Overlay.draw_modules", string.format("[%s] Stats UI: %s", flow_state_name, tostring(error)));
@@ -371,14 +375,18 @@ local function draw_modules(module_visibility_config, flow_state_name)
end
local function update_UI()
if quest_status.flow_state == quest_status.flow_states.IN_TRAINING_AREA then
local current_config = config.current_config;
local module_visibility_config = current_config.global_settings.module_visibility;
local flow_states = quest_status.flow_states;
local large_monster_UI_config = config.current_config.large_monster_UI;
local module_visibility_config = config.current_config.global_settings.module_visibility.in_training_area;
if quest_status.flow_state == flow_states.IN_TRAINING_AREA then
local dynamic_enabled = large_monster_UI_config.dynamic.enabled and module_visibility_config.large_monster_dynamic_UI;
local static_enabled = large_monster_UI_config.static.enabled and module_visibility_config.large_monster_static_UI;
local highlighted_enabled = large_monster_UI_config.highlighted.enabled and module_visibility_config.large_monster_highlighted_UI;
local large_monster_UI_config = current_config.large_monster_UI;
local module_visibility_in_training_area_config = module_visibility_config.in_training_area;
local dynamic_enabled = large_monster_UI_config.dynamic.enabled and module_visibility_in_training_area_config.large_monster_dynamic_UI;
local static_enabled = large_monster_UI_config.static.enabled and module_visibility_in_training_area_config.large_monster_static_UI;
local highlighted_enabled = large_monster_UI_config.highlighted.enabled and module_visibility_in_training_area_config.large_monster_highlighted_UI;
if dynamic_enabled or static_enabled or highlighted_enabled then
local success, error = pcall(large_monster_UI.update, dynamic_enabled, static_enabled, highlighted_enabled);
@@ -387,69 +395,73 @@ local function update_UI()
end
end
if config.current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
if current_config.damage_meter_UI.enabled and module_visibility_in_training_area_config.damage_meter_UI then
local success, error = pcall(damage_meter_UI.update);
if not success then
error_handler.report("MHR_Overlay.update_UI", string.format("[In Training Area] Damage Meter UI: %s", tostring(error)));
end
end
if config.current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
if current_config.endemic_life_UI.enabled and module_visibility_in_training_area_config.endemic_life_UI then
local success, error = pcall(env_creature_UI.update);
if not success then
error_handler.report("MHR_Overlay.update_UI", string.format("[In Training Area] Endemic Life UI: %s", tostring(error)));
end
end
if config.current_config.buff_UI.enabled and module_visibility_config.buff_UI then
if current_config.buff_UI.enabled and module_visibility_in_training_area_config.buff_UI then
local success, error = pcall(buff_UI.update);
if not success then
error_handler.report("MHR_Overlay.update_UI", string.format("[In Training Area] Buff UI: %s", tostring(error)));
end
end
elseif quest_status.flow_state == quest_status.flow_states.CUTSCENE then
update_modules(config.current_config.global_settings.module_visibility.cutscene, "Cutscene");
elseif quest_status.flow_state == quest_status.flow_states.LOADING_QUEST then
update_modules(config.current_config.global_settings.module_visibility.loading_quest, "Loading Quest");
elseif quest_status.flow_state == quest_status.flow_states.QUEST_START_ANIMATION then
update_modules(config.current_config.global_settings.module_visibility.quest_start_animation, "Quest Start Animation");
elseif quest_status.flow_state >= quest_status.flow_states.PLAYING_QUEST and quest_status.flow_state <= quest_status.flow_states.WYVERN_RIDING_START_ANIMATION then
update_modules(config.current_config.global_settings.module_visibility.playing_quest, "Playing Quest");
elseif quest_status.flow_state == quest_status.flow_states.KILLCAM then
update_modules(config.current_config.global_settings.module_visibility.killcam, "Killcam");
elseif quest_status.flow_state == quest_status.flow_states.QUEST_END_TIMER then
update_modules(config.current_config.global_settings.module_visibility.quest_end_timer, "Quest End Timer");
elseif quest_status.flow_state == quest_status.flow_states.QUEST_END_ANIMATION then
update_modules(config.current_config.global_settings.module_visibility.quest_end_animation, "Quest End Animation");
elseif quest_status.flow_state == quest_status.flow_states.QUEST_END_SCREEN then
update_modules(config.current_config.global_settings.module_visibility.quest_end_screen, "Quest End Screen");
elseif quest_status.flow_state == quest_status.flow_states.REWARD_SCREEN then
update_modules(config.current_config.global_settings.module_visibility.reward_screen, "Reward Screen");
elseif quest_status.flow_state == quest_status.flow_states.SUMMARY_SCREEN then
update_modules(config.current_config.global_settings.module_visibility.summary_screen, "Summary Screen");
elseif quest_status.flow_state == flow_states.CUTSCENE then
update_modules(module_visibility_config.cutscene, "Cutscene");
elseif quest_status.flow_state == flow_states.LOADING_QUEST then
update_modules(module_visibility_config.loading_quest, "Loading Quest");
elseif quest_status.flow_state == flow_states.QUEST_START_ANIMATION then
update_modules(module_visibility_config.quest_start_animation, "Quest Start Animation");
elseif quest_status.flow_state >= flow_states.PLAYING_QUEST and quest_status.flow_state <= flow_states.WYVERN_RIDING_START_ANIMATION then
update_modules(module_visibility_config.playing_quest, "Playing Quest");
elseif quest_status.flow_state == flow_states.KILLCAM then
update_modules(module_visibility_config.killcam, "Killcam");
elseif quest_status.flow_state == flow_states.QUEST_END_TIMER then
update_modules(module_visibility_config.quest_end_timer, "Quest End Timer");
elseif quest_status.flow_state == flow_states.QUEST_END_ANIMATION then
update_modules(module_visibility_config.quest_end_animation, "Quest End Animation");
elseif quest_status.flow_state == flow_states.QUEST_END_SCREEN then
update_modules(module_visibility_config.quest_end_screen, "Quest End Screen");
elseif quest_status.flow_state == flow_states.REWARD_SCREEN then
update_modules(module_visibility_config.reward_screen, "Reward Screen");
elseif quest_status.flow_state == flow_states.SUMMARY_SCREEN then
update_modules(module_visibility_config.summary_screen, "Summary Screen");
end
end
local function draw_loop()
if quest_status.flow_state == quest_status.flow_states.IN_LOBBY then
local module_visibility_config = config.current_config.global_settings.module_visibility.in_lobby;
local current_config = config.current_config;
local module_visibility_config = current_config.global_settings.module_visibility;
local flow_states = quest_status.flow_states;
if config.current_config.stats_UI.enabled and module_visibility_config.stats_UI then
if quest_status.flow_state == flow_states.IN_LOBBY then
local module_visibility_in_lobby_config = module_visibility_config.in_lobby;
if current_config.stats_UI.enabled and module_visibility_in_lobby_config.stats_UI then
local success, error = pcall(stats_UI.draw);
if not success then
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Stats UI: %s", tostring(error)));
end
end
elseif quest_status.flow_state == quest_status.flow_states.IN_TRAINING_AREA then
elseif quest_status.flow_state == flow_states.IN_TRAINING_AREA then
local large_monster_UI_config = config.current_config.large_monster_UI;
local module_visibility_config = config.current_config.global_settings.module_visibility.in_training_area;
local large_monster_UI_config = current_config.large_monster_UI;
local module_visibility_in_training_area_config = module_visibility_config.in_training_area;
local dynamic_enabled = large_monster_UI_config.dynamic.enabled and module_visibility_config.large_monster_dynamic_UI;
local static_enabled = large_monster_UI_config.static.enabled and module_visibility_config.large_monster_static_UI;
local highlighted_enabled = large_monster_UI_config.highlighted.enabled and module_visibility_config.large_monster_highlighted_UI;
local dynamic_enabled = large_monster_UI_config.dynamic.enabled and module_visibility_in_training_area_config.large_monster_dynamic_UI;
local static_enabled = large_monster_UI_config.static.enabled and module_visibility_in_training_area_config.large_monster_static_UI;
local highlighted_enabled = large_monster_UI_config.highlighted.enabled and module_visibility_in_training_area_config.large_monster_highlighted_UI;
if dynamic_enabled or static_enabled or highlighted_enabled then
local success, error = pcall(large_monster_UI.draw, dynamic_enabled, static_enabled, highlighted_enabled);
@@ -458,55 +470,54 @@ local function draw_loop()
end
end
if config.current_config.damage_meter_UI.enabled and module_visibility_config.damage_meter_UI then
if current_config.damage_meter_UI.enabled and module_visibility_in_training_area_config.damage_meter_UI then
local success, error = pcall(damage_meter_UI.draw);
if not success then
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Damage Meter UI: %s", tostring(error)));
end
end
if config.current_config.endemic_life_UI.enabled and module_visibility_config.endemic_life_UI then
if current_config.endemic_life_UI.enabled and module_visibility_in_training_area_config.endemic_life_UI then
local success, error = pcall(env_creature_UI.draw);
if not success then
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Endemic Life UI: %s", tostring(error)));
end
end
if config.current_config.buff_UI.enabled and module_visibility_config.buff_UI then
if current_config.buff_UI.enabled and module_visibility_in_training_area_config.buff_UI then
local success, error = pcall(buff_UI.draw);
if not success then
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Buff UI: %s", tostring(error)));
end
end
if config.current_config.stats_UI.enabled and module_visibility_config.stats_UI then
if current_config.stats_UI.enabled and module_visibility_in_training_area_config.stats_UI then
local success, error = pcall(stats_UI.draw);
if not success then
error_handler.report("MHR_Overlay.main_loop", string.format("[In Training Area] Stats UI: %s", tostring(error)));
end
end
elseif quest_status.flow_state == quest_status.flow_states.CUTSCENE then
draw_modules(config.current_config.global_settings.module_visibility.cutscene, "Cutscene");
elseif quest_status.flow_state == quest_status.flow_states.LOADING_QUEST then
draw_modules(config.current_config.global_settings.module_visibility.loading_quest, "Loading Quest");
elseif quest_status.flow_state == quest_status.flow_states.QUEST_START_ANIMATION then
draw_modules(config.current_config.global_settings.module_visibility.quest_start_animation, "Quest Start Animation");
elseif quest_status.flow_state >= quest_status.flow_states.PLAYING_QUEST and quest_status.flow_state <= quest_status.flow_states.WYVERN_RIDING_START_ANIMATION then
draw_modules(config.current_config.global_settings.module_visibility.playing_quest, "Playing Quest");
elseif quest_status.flow_state == quest_status.flow_states.KILLCAM then
draw_modules(config.current_config.global_settings.module_visibility.killcam, "Killcam");
elseif quest_status.flow_state == quest_status.flow_states.QUEST_END_TIMER then
draw_modules(config.current_config.global_settings.module_visibility.quest_end_timer, "Quest End Timer");
elseif quest_status.flow_state == quest_status.flow_states.QUEST_END_ANIMATION then
draw_modules(config.current_config.global_settings.module_visibility.quest_end_animation, "Quest End Animation");
elseif quest_status.flow_state == quest_status.flow_states.QUEST_END_SCREEN then
draw_modules(config.current_config.global_settings.module_visibility.quest_end_screen, "Quest End Screen");
elseif quest_status.flow_state == quest_status.flow_states.REWARD_SCREEN then
draw_modules(config.current_config.global_settings.module_visibility.reward_screen, "Reward Screen");
elseif quest_status.flow_state == quest_status.flow_states.SUMMARY_SCREEN then
draw_modules(config.current_config.global_settings.module_visibility.summary_screen, "Summary Screen");
elseif quest_status.flow_state == flow_states.CUTSCENE then
draw_modules(module_visibility_config.cutscene, "Cutscene");
elseif quest_status.flow_state == flow_states.LOADING_QUEST then
draw_modules(module_visibility_config.loading_quest, "Loading Quest");
elseif quest_status.flow_state == flow_states.QUEST_START_ANIMATION then
draw_modules(module_visibility_config.quest_start_animation, "Quest Start Animation");
elseif quest_status.flow_state >= flow_states.PLAYING_QUEST and quest_status.flow_state <= flow_states.WYVERN_RIDING_START_ANIMATION then
draw_modules(module_visibility_config.playing_quest, "Playing Quest");
elseif quest_status.flow_state == flow_states.KILLCAM then
draw_modules(module_visibility_config.killcam, "Killcam");
elseif quest_status.flow_state == flow_states.QUEST_END_TIMER then
draw_modules(module_visibility_config.quest_end_timer, "Quest End Timer");
elseif quest_status.flow_state == flow_states.QUEST_END_ANIMATION then
draw_modules(module_visibility_config.quest_end_animation, "Quest End Animation");
elseif quest_status.flow_state == flow_states.QUEST_END_SCREEN then
draw_modules(module_visibility_config.quest_end_screen, "Quest End Screen");
elseif quest_status.flow_state == flow_states.REWARD_SCREEN then
draw_modules(module_visibility_config.reward_screen, "Reward Screen");
elseif quest_status.flow_state == flow_states.SUMMARY_SCREEN then
draw_modules(module_visibility_config.summary_screen, "Summary Screen");
end
end

View File

@@ -253,7 +253,7 @@ function this.update_poison(player)
local poison_level = poison_level_field:get_data(player);
if poison_level == nil then
error_handler.report("abnormal_statuses.update_poison", "Failed to access Data: poison_level");
error_handler.report("abnormal_statuses.update_poison", "Failed to Access Data: poison_level");
this.list.poison = nil;
this.list.deadly_poison = nil;
return;
@@ -290,7 +290,7 @@ function this.update_bubbleblight(player)
local bubble_type = bubble_type_field:get_data(player);
if bubble_type == nil then
error_handler.report("abnormal_statuses.update_bubbleblight", "Failed to access Data: bubble_Type");
error_handler.report("abnormal_statuses.update_bubbleblight", "Failed to Access Data: bubble_Type");
this.list.minor_bubbleblight = nil;
this.list.major_bubbleblight = nil;
return;
@@ -318,14 +318,14 @@ function this.update_muck(player)
local is_mud_damage = get_is_mud_damage_method:call(player);
if is_mud_damage == nil then
error_handler.report("abnormal_statuses.update_generic_boolean_value_method", "Failed to access Data: is_mud_damage");
error_handler.report("abnormal_statuses.update_generic_boolean_value_method", "Failed to Access Data: is_mud_damage");
this.list.muck = nil;
return;
end
local is_gold_mud_damage = get_is_gold_mud_damage_method:call(player);
if is_gold_mud_damage == nil then
error_handler.report("abnormal_statuses.update_generic_boolean_value_method", "Failed to access Data: is_gold_mud_damage");
error_handler.report("abnormal_statuses.update_generic_boolean_value_method", "Failed to Access Data: is_gold_mud_damage");
this.list.muck = nil;
return;
end
@@ -345,14 +345,14 @@ function this.update_frenzy_infection(player)
local virus_accumulator_value = virus_accumulator_field:get_data(player);
if virus_accumulator_value == nil then
error_handler.report("abnormal_statuses.update_frenzy_infection", "Failed to access Data: virus_accumulator_value");
error_handler.report("abnormal_statuses.update_frenzy_infection", "Failed to Access Data: virus_accumulator_value");
this.list.frenzy_infection = nil;
return;
end
local virus_timer = virus_timer_field:get_data(player);
if virus_timer == nil then
error_handler.report("abnormal_statuses.update_frenzy_infection", "Failed to access Data: virus_timer");
error_handler.report("abnormal_statuses.update_frenzy_infection", "Failed to Access Data: virus_timer");
this.list.frenzy_infection = nil;
return;
end

View File

@@ -142,13 +142,17 @@ function this.init_names()
misc_buffs.init_names();
end
local tere = {};
local tere2 = {};
local tere3 = {};
function this.update()
if not config.current_config.buff_UI.enabled then
return;
end
if singletons.player_manager == nil then
error_handler.report("buffs.update", "Failed to access Data: player_manager");
error_handler.report("buffs.update", "Failed to Access Data: player_manager");
return;
end
@@ -160,7 +164,7 @@ function this.update()
local master_player = find_master_player_method:call(singletons.player_manager);
if master_player == nil then
error_handler.report("buffs.update", "Failed to access Data: master_player");
error_handler.report("buffs.update", "Failed to Access Data: master_player");
return;
end
@@ -168,24 +172,24 @@ function this.update()
local master_player_data = get_player_data_method:call(master_player);
if master_player_data == nil then
error_handler.report("buffs.update", "Failed to access Data: master_player_data");
error_handler.report("buffs.update", "Failed to Access Data: master_player_data");
return;
end
local weapon_type = player_weapon_type_field:get_data(master_player);
if weapon_type == nil then
error_handler.report("buffs.update", "Failed to access Data: weapon_type");
error_handler.report("buffs.update", "Failed to Access Data: weapon_type");
return;
end
if singletons.player_manager == nil then
error_handler.report("buffs.update", "Failed to access Data: player_manager");
error_handler.report("buffs.update", "Failed to Access Data: player_manager");
return;
end
local item_parameter = get_ref_item_parameter_method:call(singletons.player_manager);
if item_parameter == nil then
error_handler.report("buffs.update", "Failed to access Data: item_parameter");
error_handler.report("buffs.update", "Failed to Access Data: item_parameter");
return;
end
@@ -255,7 +259,7 @@ function this.update_generic_buff(buff_list, filter_list, get_name_function,
end
if value == nil then
error_handler.report("buffs.update_generic_number", string.format("Failed to access Data: %s_value", buff_key));
error_handler.report("buffs.update_generic_number", string.format("Failed to Access Data: %s_value", buff_key));
buff_list[buff_key] = nil;
return;
end
@@ -292,7 +296,7 @@ function this.update_generic_buff(buff_list, filter_list, get_name_function,
end
if timer == nil then
error_handler.report("buffs.update_generic_number", string.format("Failed to access Data: %s_timer", buff_key));
error_handler.report("buffs.update_generic_number", string.format("Failed to Access Data: %s_timer", buff_key));
buff_list[buff_key] = nil;
return;
end

View File

@@ -220,13 +220,13 @@ function this.update_dango_insurance()
end
if singletons.player_manager == nil then
error_handler.report("dango_skills.update_dango_insurance", "Failed to access Data: player_manager");
error_handler.report("dango_skills.update_dango_insurance", "Failed to Access Data: player_manager");
this.list.dango_insurance = nil;
return;
end
if singletons.quest_manager == nil then
error_handler.report("dango_skills.update_dango_insurance", "Failed to access Data: quest_manager");
error_handler.report("dango_skills.update_dango_insurance", "Failed to Access Data: quest_manager");
this.list.dango_insurance = nil;
return;
end
@@ -235,14 +235,14 @@ function this.update_dango_insurance()
local flag_cat_skill_insurance = flag_cat_skill_insurance_field:get_data(singletons.quest_manager);
if flag_cat_skill_insurance == nil then
error_handler.report("dango_skills.update_dango_insurance", "Failed to access Data: flag_cat_skill_insurance");
error_handler.report("dango_skills.update_dango_insurance", "Failed to Access Data: flag_cat_skill_insurance");
this.list.dango_insurance = nil;
return;
end
local is_cat_skill_insurance = is_cat_skill_insurance_method:call(singletons.quest_manager, flag_cat_skill_insurance);
if is_cat_skill_insurance == nil then
error_handler.report("dango_skills.update_dango_insurance", "Failed to access Data: is_cat_skill_insurance");
error_handler.report("dango_skills.update_dango_insurance", "Failed to Access Data: is_cat_skill_insurance");
this.list.dango_insurance = nil;
return;
end
@@ -264,7 +264,7 @@ function this.update_dango_insurance_defense_up(player_data)
local insurance_def_up_lv3 = kitchen_skill_insurance_def_up_lv3_field:get_data(player_data);
if insurance_def_up_lv3 == nil then
error_handler.report("dango_skills.update_dango_insurance_defense_up", "Failed to access Data: insurance_def_up_lv3");
error_handler.report("dango_skills.update_dango_insurance_defense_up", "Failed to Access Data: insurance_def_up_lv3");
this.list.dango_insurance_defense_up = nil;
return;
end
@@ -273,7 +273,7 @@ function this.update_dango_insurance_defense_up(player_data)
local insurance_def_up_lv4 = kitchen_skill_insurance_def_up_lv4_field:get_data(player_data);
if insurance_def_up_lv4 == nil then
error_handler.report("dango_skills.update_dango_insurance_defense_up", "Failed to access Data: insurance_def_up_lv4");
error_handler.report("dango_skills.update_dango_insurance_defense_up", "Failed to Access Data: insurance_def_up_lv4");
this.list.dango_insurance_defense_up = nil;
return;
end
@@ -298,7 +298,7 @@ function this.update_dango_flyer(player)
local is_kitchen_skill_wire_stop_regene = get_is_kitchen_skill_wire_stop_regene_method:call(player);
if is_kitchen_skill_wire_stop_regene == nil then
error_handler.report("dango_skills.update_dango_flyer", "Failed to access Data: is_kitchen_skill_wire_stop_regene");
error_handler.report("dango_skills.update_dango_flyer", "Failed to Access Data: is_kitchen_skill_wire_stop_regene");
this.list.dango_flyer = nil;
return;
end
@@ -307,7 +307,7 @@ function this.update_dango_flyer(player)
local is_kitchen_skill_wire_stop_heal_spd = get_is_kitchen_skill_wire_stop_heal_spd_method:call(player);
if is_kitchen_skill_wire_stop_heal_spd == nil then
error_handler.report("dango_skills.update_dango_flyer", "Failed to access Data: is_kitchen_skill_wire_stop_heal_spd");
error_handler.report("dango_skills.update_dango_flyer", "Failed to Access Data: is_kitchen_skill_wire_stop_heal_spd");
this.list.dango_flyer = nil;
return;
end
@@ -338,7 +338,7 @@ function this.update_super_recovery_dango(player)
local kitchen_skill_surume_regene_timer = get_kitchen_skill_surume_regene_timer_method:call(player);
if kitchen_skill_surume_regene_timer == nil then
error_handler.report("dango_skills.update_super_recovery_dango", "Failed to access Data: kitchen_skill_surume_regene_timer");
error_handler.report("dango_skills.update_super_recovery_dango", "Failed to Access Data: kitchen_skill_surume_regene_timer");
this.list.super_recovery_dango = nil;
return;
end
@@ -379,7 +379,7 @@ function this.get_dango_skill_name(key)
local dango_skill_name = get_name_method:call(nil, dango_skill_id);
if dango_skill_name == nil then
error_handler.report("dango_skills.get_dango_name", string.format("Failed to access Data: %s_name", key));
error_handler.report("dango_skills.get_dango_name", string.format("Failed to Access Data: %s_name", key));
return key;
end

View File

@@ -143,7 +143,7 @@ function this.update_ruby_and_gold_wirebugs(player, player_data)
local marionette_mode_type = get_marionette_mode_type_method:call(player);
if marionette_mode_type == nil then
error_handler.report("endemic_life_buffs.update_ruby_and_gold_wirebugs", "Failed to access Data: marionette_mode_type");
error_handler.report("endemic_life_buffs.update_ruby_and_gold_wirebugs", "Failed to Access Data: marionette_mode_type");
this.list.ruby_wirebug = nil;
this.list.gold_wirebug = nil;
end
@@ -169,7 +169,7 @@ function this.update_butterflame(player_data)
local atk_up_buff_second = atk_up_buff_second_field:get_data(player_data);
if atk_up_buff_second == nil then
error_handler.report("item_buffs.update_butterflame", "Failed to access Data: atk_up_buff_second");
error_handler.report("item_buffs.update_butterflame", "Failed to Access Data: atk_up_buff_second");
this.list.butterflame = nil;
return;
end
@@ -196,13 +196,13 @@ end
function this.get_endemic_life_name(key)
if singletons.message_manager == nil then
error_handler.report("endemic_life_buffs.get_endemic_life_name", "Failed to access Data: message_manager");
error_handler.report("endemic_life_buffs.get_endemic_life_name", "Failed to Access Data: message_manager");
return key;
end
local endemic_life_name = get_env_creature_name_message_method:call(singletons.message_manager, env_creature.creature_ids[key]);
if endemic_life_name == nil then
error_handler.report("endemic_life_buffs.get_endemic_life_name", string.format("Failed to access Data: %s_name", key));
error_handler.report("endemic_life_buffs.get_endemic_life_name", string.format("Failed to Access Data: %s_name", key));
return key;
end

View File

@@ -170,7 +170,7 @@ function this.update_demondrug(player_data, item_parameter)
local demondrug_value = atk_up_alive_field:get_data(player_data);
if demondrug_value == nil then
error_handler.report("item_buffs.update_demondrug", "Failed to access Data: demondrug_value");
error_handler.report("item_buffs.update_demondrug", "Failed to Access Data: demondrug_value");
this.list.demondrug = nil;
this.list.mega_demondrug = nil;
return;
@@ -184,7 +184,7 @@ function this.update_demondrug(player_data, item_parameter)
local demondrug_const_value = demondrug_atk_up_field:get_data(item_parameter);
if demondrug_const_value == nil then
error_handler.report("item_buffs.update_demondrug", "Failed to access Data: demondrug_const_value");
error_handler.report("item_buffs.update_demondrug", "Failed to Access Data: demondrug_const_value");
this.list.demondrug = nil;
this.list.mega_demondrug = nil;
return;
@@ -192,7 +192,7 @@ function this.update_demondrug(player_data, item_parameter)
local mega_demondrug_const_value = great_demondrug_atk_up_field:get_data(item_parameter);
if mega_demondrug_const_value == nil then
error_handler.report("item_buffs.update_demondrug", "Failed to access Data: mega_demondrug_const_value");
error_handler.report("item_buffs.update_demondrug", "Failed to Access Data: mega_demondrug_const_value");
this.list.demondrug = nil;
this.list.mega_demondrug = nil;
return;
@@ -227,7 +227,7 @@ function this.update_armorskin(player_data, item_parameter)
local armorskin_value = def_up_alive_field:get_data(player_data);
if armorskin_value == nil then
error_handler.report("item_buffs.update_armorskin", "Failed to access Data: armorskin_value");
error_handler.report("item_buffs.update_armorskin", "Failed to Access Data: armorskin_value");
this.list.armorskin = nil;
this.list.mega_armorskin = nil;
return;
@@ -241,7 +241,7 @@ function this.update_armorskin(player_data, item_parameter)
local armorskin_const_value = armorskin_def_up_field:get_data(item_parameter);
if armorskin_const_value == nil then
error_handler.report("item_buffs.update_armorskin", "Failed to access Data: armorskin_const_value");
error_handler.report("item_buffs.update_armorskin", "Failed to Access Data: armorskin_const_value");
this.list.armorskin = nil;
this.list.mega_armorskin = nil;
return;
@@ -249,7 +249,7 @@ function this.update_armorskin(player_data, item_parameter)
local mega_armorskin_const_value = great_armorskin_def_up_field:get_data(item_parameter);
if mega_armorskin_const_value == nil then
error_handler.report("item_buffs.update_armorskin", "Failed to access Data: mega_armorskin_const_value");
error_handler.report("item_buffs.update_armorskin", "Failed to Access Data: mega_armorskin_const_value");
this.list.armorskin = nil;
this.list.mega_armorskin = nil;
return;
@@ -280,14 +280,14 @@ function this.update_might_seed(player_data, item_parameter)
local atk_up_buff_second = atk_up_buff_second_field:get_data(player_data);
if atk_up_buff_second == nil then
error_handler.report("item_buffs.update_might_seed", "Failed to access Data: atk_up_buff_second");
error_handler.report("item_buffs.update_might_seed", "Failed to Access Data: atk_up_buff_second");
this.list.might_seed = nil;
return;
end
local might_seed_atk_up = might_seed_atk_up_field:get_data(item_parameter);
if might_seed_atk_up == nil then
error_handler.report("item_buffs.update_might_seed", "Failed to access Data: might_seed_atk_up");
error_handler.report("item_buffs.update_might_seed", "Failed to Access Data: might_seed_atk_up");
this.list.might_seed = nil;
return;
end
@@ -315,7 +315,7 @@ end
function this.get_item_buff_name(key)
local item_buff_name = get_name_method:call(nil, item_ids[key]);
if item_buff_name == nil then
error_handler.report("item_buffs.get_item_buff_name", string.format("Failed to access Data: %s_name", key));
error_handler.report("item_buffs.get_item_buff_name", string.format("Failed to Access Data: %s_name", key));
return key;
end

View File

@@ -127,13 +127,13 @@ local get_name_method = data_shortcut_type_def:get_method("getName(snow.data.Dat
function this.update(master_player)
local music_data_array = music_data_field:get_data(master_player);
if music_data_array == nil then
error_handler.report("melody_effects.update", "Failed to access Data: music_data_array");
error_handler.report("melody_effects.update", "Failed to Access Data: music_data_array");
return;
end
local length = get_length_method:call(music_data_array);
if length == nil then
error_handler.report("melody_effects.update", "Failed to access Data: music_data_array -> length");
error_handler.report("melody_effects.update", "Failed to Access Data: music_data_array -> length");
return;
end
@@ -152,7 +152,7 @@ function this.update(master_player)
local music_data = get_value_method:call(music_data_array, id);
if music_data == nil then
error_handler.report("melody_effects.update", "Failed to access Data: music_data No." .. tostring(id));
error_handler.report("melody_effects.update", "Failed to Access Data: music_data No." .. tostring(id));
this.list[lua_index] = nil;
goto continue;
end
@@ -165,7 +165,7 @@ end
function this.update_melody_effect(lua_index, id, key, melody_effect, melody_data)
local melody_timer = time_field:get_data(melody_data);
if melody_timer == nil then
error_handler.report("melody_effects.update_melody_effect", "Failed to access Data: melody_timer No. " .. tostring(id));
error_handler.report("melody_effects.update_melody_effect", "Failed to Access Data: melody_timer No. " .. tostring(id));
this.list[lua_index] = nil;
return;
end
@@ -233,7 +233,7 @@ function this.get_melody_effect_name(id)
local melody_effect_name = get_name_method:call(nil, id);
if melody_effect_name == nil then
local name = string.format("Melody Effect No. %d", id);
error_handler.report("melody_effects.get_melody_effect_name", "Failed to access Data: " .. melody_effect_name);
error_handler.report("melody_effects.get_melody_effect_name", "Failed to Access Data: " .. melody_effect_name);
return name;
end

View File

@@ -130,14 +130,14 @@ function this.update_attack_up(player_data, item_parameter)
local atk_up_buff_second = atk_up_buff_second_field:get_data(player_data);
if atk_up_buff_second == nil then
error_handler.report("item_buffs.update_attack_up", "Failed to access Data: atk_up_buff_second");
error_handler.report("item_buffs.update_attack_up", "Failed to Access Data: atk_up_buff_second");
this.list.attack_up = nil;
return;
end
local might_seed_atk_up = might_seed_atk_up_field:get_data(item_parameter);
if might_seed_atk_up == nil then
error_handler.report("item_buffs.update_might_seed", "Failed to access Data: might_seed_atk_up");
error_handler.report("item_buffs.update_might_seed", "Failed to Access Data: might_seed_atk_up");
this.list.attack_up = nil;
return;
end

View File

@@ -134,7 +134,7 @@ end
function this.get_otomo_move_name(key)
local otomo_move_name = get_name_method:call(nil, otomo_moves_ids[key]);
if otomo_move_name == nil then
error_handler.report("otomo_moves.get_otomo_move_name", string.format("Failed to access Data: %s_name", key));
error_handler.report("otomo_moves.get_otomo_move_name", string.format("Failed to Access Data: %s_name", key));
return key;
end

View File

@@ -106,7 +106,7 @@ end
function this.get_rampage_skill_name(key)
local rampage_skill_name = get_name_method:call(nil, rampage_skill_ids[key]);
if rampage_skill_name == nil then
error_handler.report("rampage_skills.get_rampage_skill_name", string.format("Failed to access Data: %s_name", key));
error_handler.report("rampage_skills.get_rampage_skill_name", string.format("Failed to Access Data: %s_name", key));
return key;
end

View File

@@ -472,7 +472,7 @@ end
function this.update_equipped_skill_data(player)
local player_skill_list = get_player_skill_list_method:call(player);
if player_skill_list == nil then
error_handler.report("this.update_equipped_skill_data", "Failed to access Data: player_skill_list");
error_handler.report("this.update_equipped_skill_data", "Failed to Access Data: player_skill_list");
return;
end
@@ -490,7 +490,7 @@ function this.update_equipped_skill_data(player)
local skill_level = skill_lv_field:get_data(re_skill_data);
if skill_level == nil then
error_handler.report("skills.update_equipped_skill_data", string.format("Failed to access Data: %s -> skill_level", skill_key));
error_handler.report("skills.update_equipped_skill_data", string.format("Failed to Access Data: %s -> skill_level", skill_key));
goto continue;
end
@@ -514,7 +514,7 @@ function this.update_wind_mantle(player, weapon_type)
local is_wind_mantle_enable = is_equip_skill_226_enable_field:get_data(player);
if is_wind_mantle_enable == nil then
error_handler.report("skills.update_wind_mantle", "Failed to access Data: is_wind_mantle_enable");
error_handler.report("skills.update_wind_mantle", "Failed to Access Data: is_wind_mantle_enable");
this.list.wind_mantle = nil;
return;
end
@@ -526,14 +526,14 @@ function this.update_wind_mantle(player, weapon_type)
local wind_mantle_timer = equip_skill_226_attack_off_timer_field:get_data(player);
if wind_mantle_timer == nil then
error_handler.report("skills.update_wind_mantle", "Failed to access Data: wind_mantle_timer");
error_handler.report("skills.update_wind_mantle", "Failed to Access Data: wind_mantle_timer");
this.list.wind_mantle = nil;
return;
end
local wind_mantle_value = equip_skill_226_attack_count_field:get_data(player);
if wind_mantle_value == nil then
error_handler.report("skills.update_wind_mantle", "Failed to access Data: wind_mantle_value");
error_handler.report("skills.update_wind_mantle", "Failed to Access Data: wind_mantle_value");
this.list.wind_mantle = nil;
return;
end
@@ -567,7 +567,7 @@ function this.update_maximum_might(player_data)
local whole_body_timer = whole_body_timer_field:get_data(player_data);
if whole_body_timer == nil then
error_handler.report("skills.update_maximum_might", "Failed to access Data: whole_body_timer");
error_handler.report("skills.update_maximum_might", "Failed to Access Data: whole_body_timer");
this.list.maximum_might = nil;
return;
end
@@ -632,7 +632,7 @@ function this.update_bloodlust()
if bloodlust == nil then
local bloodlust_name = this.get_skill_name("bloodlust");
if bloodlust_name == nil then
error_handler.report("skills.update_bloodlust", "Failed to access Data: bloodlust_name");
error_handler.report("skills.update_bloodlust", "Failed to Access Data: bloodlust_name");
this.list.bloodlust = nil;
return;
end
@@ -650,7 +650,7 @@ function this.update_frenzied_bloodlust(player, player_data)
local hunter_wire_skill_231_num = get_hunter_wire_skill_231_num_method:call(player);
if hunter_wire_skill_231_num == nil then
error_handler.report("skills.update_frenzied_bloodlust", "Failed to access Data: hunter_wire_skill_231_num");
error_handler.report("skills.update_frenzied_bloodlust", "Failed to Access Data: hunter_wire_skill_231_num");
this.list.frenzied_bloodlust = nil;
return;
end
@@ -664,14 +664,14 @@ function this.update_frenzied_bloodlust(player, player_data)
local equip_skill_231_wire_num_timer = equip_skill_231_wire_num_timer_field:get_data(player_data);
if equip_skill_231_wire_num_timer == nil then
error_handler.report("skills.update_frenzied_bloodlust", "Failed to access Data: equip_skill_231_wire_num_timer");
error_handler.report("skills.update_frenzied_bloodlust", "Failed to Access Data: equip_skill_231_wire_num_timer");
this.list.frenzied_bloodlust = nil;
return;
end
local equip_skill_231_wp_off_timer = equip_skill_231_wp_off_timer_field:get_data(player_data);
if equip_skill_231_wp_off_timer == nil then
error_handler.report("skills.update_frenzied_bloodlust", "Failed to access Data: equip_skill_231_wp_off_timer");
error_handler.report("skills.update_frenzied_bloodlust", "Failed to Access Data: equip_skill_231_wp_off_timer");
this.list.frenzied_bloodlust = nil;
return;
end
@@ -779,7 +779,7 @@ function this.update_resentment(player_data)
local r_vital = r_vital_field:get_data(player_data);
if r_vital == nil then
error_handler.report("skills.update_resentment", "Failed to access Data: r_vital");
error_handler.report("skills.update_resentment", "Failed to Access Data: r_vital");
this.list.resentment = nil;
return;
end
@@ -812,7 +812,7 @@ function this.update_spiribirds_call(player_data)
local equip_skill_211_timer = equip_skill_211_timer_field:get_data(player_data);
if equip_skill_211_timer == nil then
error_handler.report("skills.update_spiribirds_call", "Failed to access Data: equip_skill_211_timer");
error_handler.report("skills.update_spiribirds_call", "Failed to Access Data: equip_skill_211_timer");
this.list.spiribirds_call = nil;
return;
end
@@ -874,7 +874,7 @@ function this.get_skill_name(key)
local skill_name = get_name_method:call(nil, skill_data_list[key].id);
if skill_name == nil then
error_handler.report("skills.get_skill_name", string.format("Failed to access Data: %s_name", key));
error_handler.report("skills.get_skill_name", string.format("Failed to Access Data: %s_name", key));
return key;
end

View File

@@ -586,21 +586,21 @@ function this.update_harvest_moon()
end
if singletons.long_sword_shell_manager == nil then
error_handler.report("weapon_skills.update_harvest_moon", "Failed to access Data: long_sword_shell_manager");
error_handler.report("weapon_skills.update_harvest_moon", "Failed to Access Data: long_sword_shell_manager");
this.list.harvest_moon = nil;
return;
end
local master_long_sword_shell_010_list = get_master_long_sword_shell_010s_method:call(singletons.long_sword_shell_manager, players.myself.id);
if master_long_sword_shell_010_list == nil then
error_handler.report("weapon_skills.update_harvest_moon", "Failed to access Data: master_long_sword_shell_010_list");
error_handler.report("weapon_skills.update_harvest_moon", "Failed to Access Data: master_long_sword_shell_010_list");
this.list.harvest_moon = nil;
return;
end
local master_long_sword_shell_010_list_count = get_long_sword_shell_010_list_count_method:call(master_long_sword_shell_010_list);
if master_long_sword_shell_010_list_count == nil then
error_handler.report("weapon_skills.update_harvest_moon", "Failed to access Data: master_long_sword_shell_010_list_count");
error_handler.report("weapon_skills.update_harvest_moon", "Failed to Access Data: master_long_sword_shell_010_list_count");
this.list.harvest_moon = nil;
return;
end
@@ -612,14 +612,14 @@ function this.update_harvest_moon()
local master_long_sword_shell_010 = get_long_sword_shell_010_list_item_method:call(master_long_sword_shell_010_list, 0);
if master_long_sword_shell_010 == nil then
error_handler.report("weapon_skills.update_harvest_moon", "Failed to access Data: master_long_sword_shell_010");
error_handler.report("weapon_skills.update_harvest_moon", "Failed to Access Data: master_long_sword_shell_010");
this.list.harvest_moon = nil;
return;
end
local life_timer = long_sword_shell_010_life_timer_field:get_data(master_long_sword_shell_010);
if life_timer == nil then
error_handler.report("weapon_skills.update_harvest_moon", "Failed to access Data: life_timer");
error_handler.report("weapon_skills.update_harvest_moon", "Failed to Access Data: life_timer");
this.list.harvest_moon = nil;
return;
end
@@ -645,7 +645,7 @@ function this.update_wyvernblast_reload(player_data)
local wyvernblast_reload_timer = wyvernblast_reload_timer_field:get_data(player_data);
if wyvernblast_reload_timer == nil then
error_handler.report("weapon_skills.update_wyvernblast_reload", "Failed to access Data: heavy_bowgun_overheat_timer_field");
error_handler.report("weapon_skills.update_wyvernblast_reload", "Failed to Access Data: heavy_bowgun_overheat_timer_field");
this.list.wyvernblast_reload = nil;
return;
end
@@ -675,21 +675,21 @@ function this.update_rising_moon()
end
if singletons.light_bowgun_shell_manager == nil then
error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: light_bowgun_shell_manager");
error_handler.report("weapon_skills.update_rising_moon", "Failed to Access Data: light_bowgun_shell_manager");
this.list.rising_moon = nil;
return;
end
local light_bowgun_shell_030s_speed_boost_list = get_light_bowgun_shell_030s_speed_boost_list_method:call(singletons.light_bowgun_shell_manager);
if light_bowgun_shell_030s_speed_boost_list == nil then
error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: light_bowgun_shell_030s_speed_boost_list");
error_handler.report("weapon_skills.update_rising_moon", "Failed to Access Data: light_bowgun_shell_030s_speed_boost_list");
this.list.rising_moon = nil;
return;
end
local light_bowgun_shell_030_speed_boost_list_count = get_light_bowgun_shell_030_list_count_method:call(light_bowgun_shell_030s_speed_boost_list);
if light_bowgun_shell_030_speed_boost_list_count == nil then
error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: light_bowgun_shell_030_speed_boost_list_count");
error_handler.report("weapon_skills.update_rising_moon", "Failed to Access Data: light_bowgun_shell_030_speed_boost_list_count");
this.list.rising_moon = nil;
return;
end
@@ -701,14 +701,14 @@ function this.update_rising_moon()
local light_bowgun_shell_030 = get_light_bowgun_shell_030_list_item_method:call(light_bowgun_shell_030s_speed_boost_list, 0);
if light_bowgun_shell_030 == nil then
error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: light_bowgun_shell_030");
error_handler.report("weapon_skills.update_rising_moon", "Failed to Access Data: light_bowgun_shell_030");
this.list.rising_moon = nil;
return;
end
local is_hit_enable = light_bowgun_shell_030_is_enable_hit_field:get_data(light_bowgun_shell_030);
if is_hit_enable == nil then
error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: is_hit_enable");
error_handler.report("weapon_skills.update_rising_moon", "Failed to Access Data: is_hit_enable");
this.list.rising_moon = nil;
return;
end
@@ -720,7 +720,7 @@ function this.update_rising_moon()
local timer = light_bowgun_shell_030_timer_field:get_data(light_bowgun_shell_030);
if timer == nil then
error_handler.report("weapon_skills.update_rising_moon", "Failed to access Data: timer");
error_handler.report("weapon_skills.update_rising_moon", "Failed to Access Data: timer");
this.list.rising_moon = nil;
return;
end
@@ -739,21 +739,21 @@ function this.update_setting_sun()
end
if singletons.light_bowgun_shell_manager == nil then
error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: light_bowgun_shell_manager");
error_handler.report("weapon_skills.update_setting_sun", "Failed to Access Data: light_bowgun_shell_manager");
this.list.setting_sun = nil;
return;
end
local light_bowgun_shell_030s_all_list = get_light_bowgun_shell_030s_all_list_method:call(singletons.light_bowgun_shell_manager);
if light_bowgun_shell_030s_all_list == nil then
error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: light_bowgun_shell_030s_all_list");
error_handler.report("weapon_skills.update_setting_sun", "Failed to Access Data: light_bowgun_shell_030s_all_list");
this.list.setting_sun = nil;
return;
end
local light_bowgun_shell_030_all_list_count = get_light_bowgun_shell_030_list_count_method:call(light_bowgun_shell_030s_all_list);
if light_bowgun_shell_030_all_list_count == nil then
error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: light_bowgun_shell_030_all_list_count");
error_handler.report("weapon_skills.update_setting_sun", "Failed to Access Data: light_bowgun_shell_030_all_list_count");
this.list.setting_sun = nil;
return;
end
@@ -770,14 +770,14 @@ function this.update_setting_sun()
local light_bowgun_shell_030 = get_light_bowgun_shell_030_list_item_method:call(light_bowgun_shell_030s_all_list, 0);
if light_bowgun_shell_030 == nil then
error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: light_bowgun_shell_030");
error_handler.report("weapon_skills.update_setting_sun", "Failed to Access Data: light_bowgun_shell_030");
this.list.setting_sun = nil;
return;
end
local is_hit_enable = light_bowgun_shell_030_is_enable_hit_field:get_data(light_bowgun_shell_030);
if is_hit_enable == nil then
error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: is_hit_enable");
error_handler.report("weapon_skills.update_setting_sun", "Failed to Access Data: is_hit_enable");
this.list.setting_sun = nil;
return;
end
@@ -789,7 +789,7 @@ function this.update_setting_sun()
local timer = light_bowgun_shell_030_timer_field:get_data(light_bowgun_shell_030);
if timer == nil then
error_handler.report("weapon_skills.update_setting_sun", "Failed to access Data: timer");
error_handler.report("weapon_skills.update_setting_sun", "Failed to Access Data: timer");
this.list.setting_sun = nil;
return;
end
@@ -809,7 +809,7 @@ function this.update_overheat(player_data)
local heavy_bowgun_overheat_timer = heavy_bowgun_overheat_timer_field:get_data(player_data);
if heavy_bowgun_overheat_timer_field == nil then
error_handler.report("weapon_skills.update_overheat", "Failed to access Data: heavy_bowgun_overheat_timer_field");
error_handler.report("weapon_skills.update_overheat", "Failed to Access Data: heavy_bowgun_overheat_timer_field");
this.list.overheat = nil;
return;
end
@@ -845,7 +845,7 @@ function this.update_twin_wine(player)
local chain_death_match_shell = chain_death_match_shell_field:get_data(player);
if chain_death_match_shell == nil then
error_handler.report("weapon_skills.update_twin_wine", "Failed to access Data: chain_death_match_shell");
error_handler.report("weapon_skills.update_twin_wine", "Failed to Access Data: chain_death_match_shell");
this.list.twin_wine = nil;
return;
end
@@ -870,7 +870,7 @@ function this.update_archdemon_mode(player)
local is_kijin_kyouka = is_kijin_kyouka_field:get_data(player);
if is_kijin_kyouka == nil then
error_handler.report("weapon_skills.update_archdemon_mode", "Failed to access Data: is_kijin_kyouka");
error_handler.report("weapon_skills.update_archdemon_mode", "Failed to Access Data: is_kijin_kyouka");
this.list.archdemon_mode = nil;
return;
end
@@ -882,7 +882,7 @@ function this.update_archdemon_mode(player)
local kijin_kyouka_gauge = get_kijin_kyouka_gauge_method:call(player);
if kijin_kyouka_gauge == nil then
error_handler.report("weapon_skills.update_archdemon_mode", "Failed to access Data: kijin_kyouka_gauge");
error_handler.report("weapon_skills.update_archdemon_mode", "Failed to Access Data: kijin_kyouka_gauge");
this.list.archdemon_mode = nil;
return;
end
@@ -908,21 +908,21 @@ function this.update_bead_of_resonance()
end
if singletons.horn_shell_manager == nil then
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_manager");
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to Access Data: horn_shell_manager");
this.list.bead_of_resonance = nil;
return;
end
local horn_shell_003s_array = horn_shell_003s_field:get_data(singletons.horn_shell_manager);
if horn_shell_003s_array == nil then
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_003s_list");
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to Access Data: horn_shell_003s_list");
this.list.bead_of_resonance = nil;
return;
end
local horn_shell_003s_array_length = get_length_method:call(horn_shell_003s_array);
if horn_shell_003s_array_length == nil then
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_003s_array_length");
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to Access Data: horn_shell_003s_array_length");
this.list.bead_of_resonance = nil;
return;
end
@@ -934,14 +934,14 @@ function this.update_bead_of_resonance()
local horn_shell_003_list = get_value_method:call(horn_shell_003s_array, 0);
if horn_shell_003_list == nil then
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_003_list");
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to Access Data: horn_shell_003_list");
this.list.bead_of_resonance = nil;
return;
end
local horn_shell_003_list_count = get_horn_shell_003_list_count_method:call(horn_shell_003_list);
if horn_shell_003_list_count == nil then
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_003_list_count");
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to Access Data: horn_shell_003_list_count");
this.list.bead_of_resonance = nil;
return;
end
@@ -953,14 +953,14 @@ function this.update_bead_of_resonance()
local horn_shell_003 = get_horn_shell_003_list_item_method:call(horn_shell_003_list, 0);
if horn_shell_003 == nil then
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: horn_shell_003");
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to Access Data: horn_shell_003");
this.list.bead_of_resonance = nil;
return;
end
local life_timer = horn_shell_003_life_timer_field:get_data(horn_shell_003);
if life_timer == nil then
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to access Data: life_timer");
error_handler.report("weapon_skills.update_bead_of_resonance", "Failed to Access Data: life_timer");
this.list.bead_of_resonance = nil;
return;
end
@@ -986,7 +986,7 @@ function this.update_sonic_bloom(player)
local life_timer = horn_shell_020_life_timer_field:get_data(blast_speaker_shell);
if life_timer == nil then
error_handler.report("weapon_skills.update_sonic_bloom", "Failed to access Data: life_timer");
error_handler.report("weapon_skills.update_sonic_bloom", "Failed to Access Data: life_timer");
this.list.sonic_bloom = nil;
return;
end
@@ -1026,7 +1026,7 @@ function this.update_all_extracts_mix(player)
local is_get_all_extractive = is_get_all_extractive_method:call(player);
if is_get_all_extractive == nil then
error_handler.report("weapon_skills.update_all_extracts_mix", "Failed to access Data: is_get_all_extractive");
error_handler.report("weapon_skills.update_all_extracts_mix", "Failed to Access Data: is_get_all_extractive");
this.list.all_extracts_mix = nil;
return;
end
@@ -1038,7 +1038,7 @@ function this.update_all_extracts_mix(player)
local red_extractive_time = get_red_extractive_time_method:call(player);
if red_extractive_time == nil then
error_handler.report("weapon_skills.update_all_extracts_mix", "Failed to access Data: red_extractive_time");
error_handler.report("weapon_skills.update_all_extracts_mix", "Failed to Access Data: red_extractive_time");
this.list.all_extracts_mix = nil;
return;
end
@@ -1058,7 +1058,7 @@ function this.update_extract(player, extract_key, time_holder)
local extractive_time = time_holder:call(player);
if extractive_time == nil then
error_handler.report("weapon_skills.update_extract", string.format("Failed to access Data: %s_extractive_time", extract_key));
error_handler.report("weapon_skills.update_extract", string.format("Failed to Access Data: %s_extractive_time", extract_key));
this.list[extract_key] = nil;
return;
end
@@ -1104,7 +1104,7 @@ function this.get_weapon_skill_name(weapon_skill_key)
local weapon_skill_name = get_name_method:call(nil, weapon_skill_id);
if weapon_skill_name == nil then
error_handler.report("weapon_skills.get_weapon_skill_name", string.format("Failed to access Data: %s_name", weapon_skill_key));
error_handler.report("weapon_skills.get_weapon_skill_name", string.format("Failed to Access Data: %s_name", weapon_skill_key));
return weapon_skill_key;
end

View File

@@ -107,13 +107,13 @@ function this.update_damage(enemy, enemy_calc_damage_info)
local is_large_monster = is_boss_enemy_method:call(enemy);
if is_large_monster == nil then
error_handler.report("damage_hook.update_damage", "Failed to access Data: is_large_monster");
error_handler.report("damage_hook.update_damage", "Failed to Access Data: is_large_monster");
return;
end
local dead_or_captured = check_die_method:call(enemy);
if dead_or_captured == nil then
error_handler.report("damage_hook.update_damage", "Failed to access Data: dead_or_captured");
error_handler.report("damage_hook.update_damage", "Failed to Access Data: dead_or_captured");
return;
end
@@ -331,7 +331,7 @@ function this.on_anomaly_core_break(anomaly_core_part)
local anomaly_core_break_damage_rate = get_mystery_core_break_damage_rate_method:call(anomaly_monster.enemy);
if anomaly_core_break_damage_rate == nil then
error_handler.report("damage_hook.on_anomaly_core_break", "Failed to access Data: anomaly_core_break_damage_rate");
error_handler.report("damage_hook.on_anomaly_core_break", "Failed to Access Data: anomaly_core_break_damage_rate");
return;
end

View File

@@ -134,19 +134,19 @@ function this.update_servant_list()
local cached_config = config.current_config.damage_meter_UI;
if singletons.servant_manager == nil then
error_handler.report("non_players.update_servant_list", "Failed to access Data: servant_manager");
error_handler.report("non_players.update_servant_list", "Failed to Access Data: servant_manager");
return;
end
local quest_servant_id_list = get_quest_servant_id_list_method:call(singletons.servant_manager);
if quest_servant_id_list == nil then
error_handler.report("non_players.update_servant_list", "Failed to access Data: quest_servant_id_list");
-- error_handler.report("non_players.update_servant_list", "Failed to Access Data: quest_servant_id_list");
return;
end
local servant_count = servant_get_count_method:call(quest_servant_id_list);
if servant_count == nil then
error_handler.report("non_players.update_servant_list", "Failed to access Data: servant_count");
error_handler.report("non_players.update_servant_list", "Failed to Access Data: servant_count");
return;
end
@@ -154,20 +154,20 @@ function this.update_servant_list()
for i = 0, servant_count - 1 do
local servant_id = servant_get_item_method:call(quest_servant_id_list, i);
if servant_id == nil then
error_handler.report("non_players.update_servant_list", "Failed to access Data: servant_id No." .. tostring(i));
error_handler.report("non_players.update_servant_list", "Failed to Access Data: servant_id No." .. tostring(i));
goto continue;
end
local ai_control = get_ai_control_by_servant_id_method:call(singletons.servant_manager, servant_id);
if ai_control == nil then
error_handler.report("non_players.update_servant_list", "Failed to access Data: ai_control No." .. tostring(i));
error_handler.report("non_players.update_servant_list", "Failed to Access Data: ai_control No." .. tostring(i));
goto continue;
end
local servant_info = get_servant_info_method:call(ai_control);
if servant_info == nil then
error_handler.report("non_players.update_servant_list", "Failed to access Data: servant_info No." .. tostring(i));
error_handler.report("non_players.update_servant_list", "Failed to Access Data: servant_info No." .. tostring(i));
goto continue;
end
@@ -191,7 +191,7 @@ end
function this.update_otomo_list(is_on_quest, is_online)
if singletons.otomo_manager == nil then
error_handler.report("non_players.update_otomo_list", "Failed to access Data: otomo_manager");
error_handler.report("non_players.update_otomo_list", "Failed to Access Data: otomo_manager");
return;
end
@@ -220,11 +220,11 @@ function this.update_my_otomos()
local first_otomo = get_master_otomo_info_method:call(singletons.otomo_manager, 0);
if first_otomo == nil then
error_handler.report("non_players.update_my_otomos", "Failed to access Data: first_otomo");
error_handler.report("non_players.update_my_otomos", "Failed to Access Data: first_otomo");
else
local name = otomo_create_data_name_field:get_data(first_otomo);
if name == nil then
error_handler.report("non_players.update_my_otomos", "Failed to access Data: first_otomo -> name");
error_handler.report("non_players.update_my_otomos", "Failed to Access Data: first_otomo -> name");
end
if name ~= nil and name ~= "" then
@@ -241,11 +241,11 @@ function this.update_my_otomos()
local second_otomo = get_master_otomo_info_method:call(singletons.otomo_manager, 1);
if second_otomo == nil then
error_handler.report("non_players.update_my_otomos", "Failed to access Data: second_otomo");
error_handler.report("non_players.update_my_otomos", "Failed to Access Data: second_otomo");
else
local name = otomo_create_data_name_field:get_data(second_otomo);
if name == nil then
error_handler.report("non_players.update_my_otomos", "Failed to access Data: second_otomo -> name");
error_handler.report("non_players.update_my_otomos", "Failed to Access Data: second_otomo -> name");
return;
end
@@ -268,20 +268,20 @@ function this.update_servant_otomos()
local servant_otomo_list = get_servant_otomo_list_method:call(singletons.otomo_manager);
if servant_otomo_list == nil then
error_handler.report("non_players.update_servant_otomos", "Failed to access Data: servant_otomo_list");
error_handler.report("non_players.update_servant_otomos", "Failed to Access Data: servant_otomo_list");
return;
end
local count = otomo_get_count_method:call(servant_otomo_list);
if count == nil then
error_handler.report("non_players.update_servant_otomos", "Failed to access Data: servant_otomo_list -> count");
error_handler.report("non_players.update_servant_otomos", "Failed to Access Data: servant_otomo_list -> count");
return;
end
for i = 0, count - 1 do
local servant_otomo = otomo_get_item_method:call(servant_otomo_list, i);
if servant_otomo == nil then
error_handler.report("non_players.update_servant_otomos", "Failed to access Data: servant_otomo No. " .. tostring(i));
error_handler.report("non_players.update_servant_otomos", "Failed to Access Data: servant_otomo No. " .. tostring(i));
goto continue;
end
@@ -292,7 +292,7 @@ function this.update_servant_otomos()
local member_id = otomo_create_data:get_field("MemberID");
if name == nil then
error_handler.report("non_players.update_servant_otomos", string.format("Failed to access Data: servant_otomo No. %d -> name", i));
error_handler.report("non_players.update_servant_otomos", string.format("Failed to Access Data: servant_otomo No. %d -> name", i));
goto continue;
end
@@ -313,33 +313,33 @@ function this.update_otomos(otomo_info_field_)
local cached_config = config.current_config.damage_meter_UI;
if singletons.lobby_manager == nil then
error_handler.report("non_players.update_otomos", "Failed to access Data: lobby_manager");
error_handler.report("non_players.update_otomos", "Failed to Access Data: lobby_manager");
return;
end
-- other players
local otomo_info_list = otomo_info_field_:get_data(singletons.lobby_manager);
if otomo_info_list == nil then
error_handler.report("non_players.update_otomos", "Failed to access Data: otomo_info_list");
error_handler.report("non_players.update_otomos", "Failed to Access Data: otomo_info_list");
return;
end
local count = otomo_info_get_count_method:call(otomo_info_list);
if count == nil then
error_handler.report("non_players.update_otomos", "Failed to access Data: otomo_info_list -> count");
error_handler.report("non_players.update_otomos", "Failed to Access Data: otomo_info_list -> count");
return;
end
for id = 0, count - 1 do
local otomo_info = otomo_info_get_item_method:call(otomo_info_list, id);
if otomo_info == nil then
error_handler.report("non_players.update_otomos", "Failed to access Data: otomo_info No. " .. tostring(id));
error_handler.report("non_players.update_otomos", "Failed to Access Data: otomo_info No. " .. tostring(id));
goto continue;
end
local name = otomo_info_name_field:get_data(otomo_info);
if name == nil then
error_handler.report("non_players.update_otomos", string.format("Failed to access Data: otomo_info No. %d -> name", id));
error_handler.report("non_players.update_otomos", string.format("Failed to Access Data: otomo_info No. %d -> name", id));
goto continue;
end

View File

@@ -390,7 +390,7 @@ local get_pos_field = player_base_type_def:get_method("get_Pos");
function this.update_myself_position()
if singletons.player_manager == nil then
error_handler.report("players.update_myself_position", "Failed to access Data: player_manager");
error_handler.report("players.update_myself_position", "Failed to Access Data: player_manager");
return;
end
@@ -401,13 +401,13 @@ function this.update_myself_position()
local master_player = find_master_player_method:call(singletons.player_manager);
if master_player == nil then
error_handler.report("players.update_myself_position", "Failed to access Data: master_player");
error_handler.report("players.update_myself_position", "Failed to Access Data: master_player");
return;
end
local position = get_pos_field:call(master_player);
if position == nil then
error_handler.report("players.update_myself_position", "Failed to access Data: position");
error_handler.report("players.update_myself_position", "Failed to Access Data: position");
end
this.myself_position = position;
@@ -466,25 +466,25 @@ function this.update_player_list(hunter_info_field_)
local cached_config = config.current_config.damage_meter_UI;
if singletons.lobby_manager == nil then
error_handler.report("players.update_player_list", "Failed to access Data: lobby_manager");
error_handler.report("players.update_player_list", "Failed to Access Data: lobby_manager");
return;
end
if singletons.progress_manager == nil then
error_handler.report("players.update_player_list", "Failed to access Data: progress_manager");
error_handler.report("players.update_player_list", "Failed to Access Data: progress_manager");
return;
end
-- myself player
local myself_player_info = my_hunter_info_field:get_data(singletons.lobby_manager);
if myself_player_info == nil then
error_handler.report("players.update_player_list", "Failed to access Data: myself_player_info");
error_handler.report("players.update_player_list", "Failed to Access Data: myself_player_info");
return;
end
local myself_player_name = name_field:get_data(myself_player_info);
if myself_player_name == nil then
error_handler.report("players.update_player_list", "Failed to access Data: myself_player_name");
error_handler.report("players.update_player_list", "Failed to Access Data: myself_player_name");
return;
end
@@ -494,7 +494,7 @@ function this.update_player_list(hunter_info_field_)
local myself_id = get_master_player_id_method:call(singletons.player_manager);
if myself_id == nil then
error_handler.report("players.update_player_list", "Failed to access Data: myself_id");
error_handler.report("players.update_player_list", "Failed to Access Data: myself_id");
return;
end
@@ -507,26 +507,26 @@ function this.update_player_list(hunter_info_field_)
-- other players
local player_info_array = hunter_info_field_:get_data(singletons.lobby_manager);
if player_info_array == nil then
error_handler.report("players.update_player_list", "Failed to access Data: player_info_array");
error_handler.report("players.update_player_list", "Failed to Access Data: player_info_array");
return;
end
local count = get_count_method:call(player_info_array);
if count == nil then
error_handler.report("players.update_player_list", "Failed to access Data: player_info_array -> count");
error_handler.report("players.update_player_list", "Failed to Access Data: player_info_array -> count");
return;
end
for i = 0, count - 1 do
local player_info = get_item_method:call(player_info_array, i);
if player_info == nil then
error_handler.report("players.update_player_list", "Failed to access Data: player_info No. " .. tostring(i));
-- error_handler.report("players.update_player_list", "Failed to Access Data: player_info No. " .. tostring(i));
goto continue;
end
local id = member_index_field:get_data(player_info);
if id == nil then
error_handler.report("players.update_player_list", string.format("Failed to access Data: player_info No. %d -> id", i));
error_handler.report("players.update_player_list", string.format("Failed to Access Data: player_info No. %d -> id", i));
goto continue;
end
@@ -535,7 +535,7 @@ function this.update_player_list(hunter_info_field_)
local name = name_field:get_data(player_info);
if name == nil then
error_handler.report("players.update_player_list", string.format("Failed to access Data: player_info No. %d -> name", i));
error_handler.report("players.update_player_list", string.format("Failed to Access Data: player_info No. %d -> name", i));
goto continue;
end

View File

@@ -53,6 +53,29 @@ this.creature_ids = {
gold_wirebug = 63,
};
local environment_creature_base_type_def = sdk.find_type_definition("snow.envCreature.EnvironmentCreatureBase");
local creature_type_field = environment_creature_base_type_def:get_field("_Type");
local creature_is_inactive_field = environment_creature_base_type_def:get_field("<Muteki>k__BackingField");
local message_manager_type_def = sdk.find_type_definition("snow.gui.MessageManager");
local get_env_creature_name_message_method = message_manager_type_def:get_method("getEnvCreatureNameMessage");
local get_pos_method = environment_creature_base_type_def:get_method("get_Pos");
local get_ref_mesh_method = environment_creature_base_type_def:get_method("getMesh");
local mesh_type_def = get_ref_mesh_method:get_return_type();
local get_game_object_method = mesh_type_def:get_method("get_GameObject");
local game_object_type_def = get_game_object_method:get_return_type();
local get_transform_method = game_object_type_def:get_method("get_Transform");
local transform_type_def = get_transform_method:get_return_type();
local get_joint_by_name_method = transform_type_def:get_method("getJointByName");
local joint_type_def = get_joint_by_name_method:get_return_type();
local get_position_method = joint_type_def:get_method("get_Position");
function this.new(REcreature)
local creature = {};
@@ -81,30 +104,23 @@ function this.get_creature(REcreature)
return this.list[REcreature];
end
local environment_creature_base_type_def = sdk.find_type_definition("snow.envCreature.EnvironmentCreatureBase");
local creature_type_field = environment_creature_base_type_def:get_field("_Type");
local creature_is_inactive_field = environment_creature_base_type_def:get_field("<Muteki>k__BackingField");
local message_manager_type_def = sdk.find_type_definition("snow.gui.MessageManager");
local get_env_creature_name_message_method = message_manager_type_def:get_method("getEnvCreatureNameMessage");
local get_pos_method = environment_creature_base_type_def:get_method("get_Pos");
function this.init(creature, REcreature)
local creature_type = creature_type_field:get_data(REcreature);
if creature_type == nil then
error_handler.report("env_creature.init", "Failed to access Data: creature_type");
error_handler.report("env_creature.init", "Failed to Access Data: creature_type");
return;
end
local creature_name = get_env_creature_name_message_method:call(singletons.message_manager, creature_type);
if creature_name == nil then
error_handler.report("env_creature.init", "Failed to access Data: creature_name");
error_handler.report("env_creature.init", "Failed to Access Data: creature_name");
return;
end
creature.name = creature_name;
creature.id = creature_type;
this.update_head_joint(REcreature, creature)
end
function this.init_UI(creature)
@@ -127,10 +143,12 @@ function this.update_position(REcreature, creature)
local position = get_pos_method:call(REcreature);
if position == nil then
error_handler.report("env_creature.update_position", "Failed to access Data: position");
error_handler.report("env_creature.update_position", "Failed to Access Data: position");
end
creature.position = position;
this.update_head_position(REcreature, creature);
end
function this.update(REcreature, creature)
@@ -144,12 +162,76 @@ function this.update(REcreature, creature)
local is_inactive = creature_is_inactive_field:get_data(REcreature);
if is_inactive == nil then
error_handler.report("env_creature.update", "Failed to access Data: is_inactive");
error_handler.report("env_creature.update", "Failed to Access Data: is_inactive");
end
creature.is_inactive = is_inactive;
end
function this.update_head_joint(REcreature, creature)
local mesh = get_ref_mesh_method:call(REcreature);
if mesh == nil then
error_handler.report("env_creature.update_head_joint", "Failed to Access Data: Mesh");
return;
end
local game_object = get_game_object_method:call(mesh);
if game_object == nil then
error_handler.report("env_creature.update_head_joint", "Failed to Access Data: GameObject");
return;
end
local transform = get_transform_method:call(game_object);
if transform == nil then
error_handler.report("env_creature.update_head_joint", "Failed to Access Data: Transform");
return;
end
local head_joint = get_joint_by_name_method:call(transform, "Head_00")
or get_joint_by_name_method:call(transform, "Head")
or get_joint_by_name_method:call(transform, "Head_01")
or get_joint_by_name_method:call(transform, "Spine_00")
or get_joint_by_name_method:call(transform, "Body_00")
or get_joint_by_name_method:call(transform, "body_00")
or get_joint_by_name_method:call(transform, "Cog")
or get_joint_by_name_method:call(transform, "Cog_00")
or get_joint_by_name_method:call(transform, "head")
or get_joint_by_name_method:call(transform, "root");
if head_joint == nil then
-- local out = "";
-- local joints = transform:get_Joints();
-- for i = 0, joints:get_Length() - 1 do
-- local joint = joints[i];
-- local joint_name = joint:get_Name();
-- out = out .. joint_name .. "\n";
-- end
-- error_handler.report(creature.name, out);
error_handler.report("small_monster.update_head_joint", "Failed to Access Data: HeadJoint");
return;
end
creature.head_joint = head_joint;
end
function this.update_head_position(REcreature, creature)
if creature.head_joint == nil then
return;
end
local head_position = get_position_method:call(creature.head_joint);
if head_position == nil then
error_handler.report("env_creature.update_head_position", "Failed to Access Data: HeadPosition");
return;
end
creature.head_position = head_position;
end
function this.draw(creature, position_on_screen, opacity_scale)
if d2d ~= nil and config.current_config.global_settings.renderer.use_d2d_if_available then
local text_width, text_height = drawing.font:measure(creature.name);

View File

@@ -338,7 +338,7 @@ this.keys = {
function this.update(hard_keyboard)
if hard_keyboard == nil then
error_handler.report("keyboard.update", "Failed to access Data: hard_keyboard");
error_handler.report("keyboard.update", "Failed to Access Data: hard_keyboard");
return;
end
@@ -513,7 +513,7 @@ function this.check_hotkeys(hard_keyboard)
local all_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.all_UI.key));
if all_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: all_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: all_UI_key_release");
elseif all_UI_key_release then
local is_any_enabled = config.current_config.time_UI.enabled
@@ -545,7 +545,7 @@ function this.check_hotkeys(hard_keyboard)
local small_monster_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.small_monster_UI.key));
if small_monster_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: small_monster_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: small_monster_UI_key_release");
elseif small_monster_UI_key_release then
config.current_config.small_monster_UI.enabled = not config.current_config.small_monster_UI.enabled;
@@ -559,7 +559,7 @@ function this.check_hotkeys(hard_keyboard)
local large_monster_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.large_monster_UI.key));
if large_monster_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: large_monster_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: large_monster_UI_key_release");
elseif large_monster_UI_key_release then
local is_any_enabled = config.current_config.large_monster_UI.dynamic.enabled
@@ -579,7 +579,7 @@ function this.check_hotkeys(hard_keyboard)
local large_monster_dynamic_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.large_monster_dynamic_UI.key));
if large_monster_dynamic_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: large_monster_dynamic_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: large_monster_dynamic_UI_key_release");
elseif large_monster_dynamic_UI_key_release then
config.current_config.large_monster_UI.dynamic.enabled = not config.current_config.large_monster_UI.dynamic.enabled;
@@ -593,7 +593,7 @@ function this.check_hotkeys(hard_keyboard)
local large_monster_static_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.large_monster_static_UI.key));
if large_monster_static_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: large_monster_static_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: large_monster_static_UI_key_release");
elseif large_monster_static_UI_key_release then
config.current_config.large_monster_UI.static.enabled = not config.current_config.large_monster_UI.static.enabled;
@@ -607,7 +607,7 @@ function this.check_hotkeys(hard_keyboard)
local large_monster_highlighted_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.large_monster_highlighted_UI.key));
if large_monster_highlighted_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: large_monster_highlighted_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: large_monster_highlighted_UI_key_release");
elseif large_monster_highlighted_UI_key_release then
config.current_config.large_monster_UI.highlighted.enabled = not config.current_config.large_monster_UI.highlighted.enabled;
@@ -621,7 +621,7 @@ function this.check_hotkeys(hard_keyboard)
local time_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.time_UI.key));
if time_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: time_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: time_UI_key_release");
elseif time_UI_key_release then
config.current_config.time_UI.enabled = not config.current_config.time_UI.enabled;
@@ -635,7 +635,7 @@ function this.check_hotkeys(hard_keyboard)
local damage_meter_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.damage_meter_UI.key));
if damage_meter_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: damage_meter_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: damage_meter_UI_key_release");
elseif damage_meter_UI_key_release then
config.current_config.damage_meter_UI.enabled = not config.current_config.damage_meter_UI.enabled;
@@ -649,7 +649,7 @@ function this.check_hotkeys(hard_keyboard)
local endemic_life_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.endemic_life_UI.key));
if endemic_life_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: endemic_life_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: endemic_life_UI_key_release");
elseif endemic_life_UI_key_release then
config.current_config.endemic_life_UI.enabled = not config.current_config.endemic_life_UI.enabled;
@@ -663,7 +663,7 @@ function this.check_hotkeys(hard_keyboard)
local buff_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.buff_UI.key));
if buff_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: buff_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: buff_UI_key_release");
elseif buff_UI_key_release then
config.current_config.buff_UI.enabled = not config.current_config.buff_UI.enabled;
@@ -677,7 +677,7 @@ function this.check_hotkeys(hard_keyboard)
local stats_UI_key_release = get_release_method:call(hard_keyboard, math.tointeger(cached_config.stats_UI.key));
if stats_UI_key_release == nil then
error_handler.report("keyboard.check_hotkeys", "Failed to access Data: stats_UI_key_release");
error_handler.report("keyboard.check_hotkeys", "Failed to Access Data: stats_UI_key_release");
elseif stats_UI_key_release then
config.current_config.stats_UI.enabled = not config.current_config.stats_UI.enabled;

View File

@@ -177,44 +177,44 @@ end
function this.update_cart_count()
if singletons.quest_manager == nil then
error_handler.report("quest_status.update_cart_count", "Failed to access Data: quest_manager");
error_handler.report("quest_status.update_cart_count", "Failed to Access Data: quest_manager");
return;
end
local death_num = get_death_num_method:call(singletons.quest_manager);
if death_num == nil then
error_handler.report("quest_status.update_cart_count", "Failed to access Data: death_num");
error_handler.report("quest_status.update_cart_count", "Failed to Access Data: death_num");
else
this.cart_count = death_num;
end
if singletons.player_manager == nil then
error_handler.report("quest_status.update_cart_count", "Failed to access Data: player_manager");
error_handler.report("quest_status.update_cart_count", "Failed to Access Data: player_manager");
return;
end
local player_data_array = get_player_data_method:call(singletons.player_manager);
if player_data_array == nil then
error_handler.report("quest_status.update_cart_count", "Failed to access Data: player_data_array");
error_handler.report("quest_status.update_cart_count", "Failed to Access Data: player_data_array");
return;
end
local player_data_array_length = get_length_method:call(player_data_array);
if player_data_array_length == nil then
error_handler.report("quest_status.update_cart_count", "Failed to access Data: player_data_array_length");
error_handler.report("quest_status.update_cart_count", "Failed to Access Data: player_data_array_length");
return;
end
for i = 0, player_data_array_length - 1 do
local player_data = get_value_method:call(player_data_array, i);
if player_data_array_length == nil then
error_handler.report("quest_status.update_cart_count", string.format("Failed to access Data: player_data No. %d", i));
error_handler.report("quest_status.update_cart_count", string.format("Failed to Access Data: player_data No. %d", i));
goto continue;
end
local die_count = die_count_field:get_data(player_data);
if die_count == nil then
error_handler.report("quest_status.update_cart_count", string.format("Failed to access Data: die_count No. %d", i));
error_handler.report("quest_status.update_cart_count", string.format("Failed to Access Data: die_count No. %d", i));
goto continue;
end
@@ -229,13 +229,13 @@ end
function this.get_max_cart_count()
if singletons.quest_manager == nil then
error_handler.report("quest_status.get_max_cart_count", "Failed to access Data: quest_manager");
error_handler.report("quest_status.get_max_cart_count", "Failed to Access Data: quest_manager");
return;
end
local quest_life = get_quest_life_method:call(singletons.quest_manager);
if quest_life == nil then
error_handler.report("quest_status.get_max_cart_count", "Failed to access Data: quest_life");
error_handler.report("quest_status.get_max_cart_count", "Failed to Access Data: quest_life");
end
this.max_cart_count = quest_life;
@@ -256,7 +256,7 @@ function this.on_demo_request_activation(request_data_base)
local request_data_type = request_data_base:call("get_Type");
if request_data_type == nil then
error_handler.report("quest_status.on_demo_request_activation", "Failed to access Data: request_data_type");
error_handler.report("quest_status.on_demo_request_activation", "Failed to Access Data: request_data_type");
return;
end
@@ -388,13 +388,13 @@ end
function this.init()
if singletons.quest_manager == nil then
error_handler.report("quest_status.init", "Failed to access Data: quest_manager");
error_handler.report("quest_status.init", "Failed to Access Data: quest_manager");
return;
end
local new_quest_status = get_status_method:call(singletons.game_manager);
if new_quest_status == nil then
error_handler.report("quest_status.init", "Failed to access Data: new_quest_status");
error_handler.report("quest_status.init", "Failed to Access Data: new_quest_status");
return;
end
@@ -415,13 +415,13 @@ end
function this.update_is_online()
if singletons.lobby_manager == nil then
error_handler.report("quest_status.update_is_online", "Failed to access Data: lobby_manager");
error_handler.report("quest_status.update_is_online", "Failed to Access Data: lobby_manager");
return;
end
local is_quest_online = is_quest_online_method:call(singletons.lobby_manager);
if is_quest_online == nil then
error_handler.report("quest_status.update_is_online", "Failed to access Data: is_quest_online");
error_handler.report("quest_status.update_is_online", "Failed to Access Data: is_quest_online");
return;
end
@@ -430,13 +430,13 @@ end
--[[function quest_status.update_is_quest_host()
if singletons.lobby_manager == nil then
error_handler.report("quest_status.update_is_quest_host", "Failed to access Data: lobby_manager");
error_handler.report("quest_status.update_is_quest_host", "Failed to Access Data: lobby_manager");
return;
end
local is_quest_host = is_quest_host_method:call(singletons.lobby_manager, true);
if is_quest_host == nil then
error_handler.report("quest_status.update_is_quest_host", "Failed to access Data: is_quest_host");
error_handler.report("quest_status.update_is_quest_host", "Failed to Access Data: is_quest_host");
return;
end
@@ -445,13 +445,13 @@ end--]]
function this.update_is_training_area()
if singletons.village_area_manager == nil then
error_handler.report("quest_status.update_is_training_area", "Failed to access Data: village_area_manager");
error_handler.report("quest_status.update_is_training_area", "Failed to Access Data: village_area_manager");
return;
end
local is_training_area = check_current_area_training_area_method:call(singletons.village_area_manager);
if is_training_area == nil then
error_handler.report("quest_status.update_is_training_area", "Failed to access Data: is_training_area");
error_handler.report("quest_status.update_is_training_area", "Failed to Access Data: is_training_area");
return;
end

View File

@@ -75,26 +75,26 @@ function this.get_game_window_size()
scene_view = sdk.call_native_func(singletons.scene_manager, sdk.find_type_definition("via.SceneManager") , "get_MainView");
if scene_view == nil then
error_handler.report("screen.get_game_window_size", "Failed to access Data: scene_view");
error_handler.report("screen.get_game_window_size", "Failed to Access Data: scene_view");
return;
end
end
local size = get_size_method:call(scene_view);
if size == nil then
error_handler.report("screen.get_game_window_size", "Failed to access Data: size");
error_handler.report("screen.get_game_window_size", "Failed to Access Data: size");
return;
end
local screen_width = width_field:get_data(size);
if screen_width == nil then
error_handler.report("screen.get_game_window_size", "Failed to access Data: screen_width");
error_handler.report("screen.get_game_window_size", "Failed to Access Data: screen_width");
return;
end
local screen_height = height_field:get_data(size);
if screen_height == nil then
error_handler.report("screen.get_game_window_size", "Failed to access Data: screen_height");
error_handler.report("screen.get_game_window_size", "Failed to Access Data: screen_height");
return;
end

View File

@@ -70,7 +70,7 @@ end
function this.update_message_manager()
this.message_manager = sdk.get_managed_singleton("snow.gui.MessageManager");
if this.message_manager == nil then
error_handler.report("singletons.update_message_manager", "Failed to access Data: message_manager");
error_handler.report("singletons.update_message_manager", "Failed to Access Data: message_manager");
end
return this.message_manager;
@@ -79,7 +79,7 @@ end
function this.update_enemy_manager()
this.enemy_manager = sdk.get_managed_singleton("snow.enemy.EnemyManager");
if this.enemy_manager == nil then
error_handler.report("singletons.update_enemy_manager", "Failed to access Data: enemy_manager");
error_handler.report("singletons.update_enemy_manager", "Failed to Access Data: enemy_manager");
end
return this.enemy_manager;
@@ -88,7 +88,7 @@ end
function this.update_lobby_manager()
this.lobby_manager = sdk.get_managed_singleton("snow.LobbyManager");
if this.lobby_manager == nil then
error_handler.report("singletons.update_lobby_manager", "Failed to access Data: lobby_manager");
error_handler.report("singletons.update_lobby_manager", "Failed to Access Data: lobby_manager");
return false;
end
@@ -98,7 +98,7 @@ end
function this.update_progress_manager()
this.progress_manager = sdk.get_managed_singleton("snow.progress.ProgressManager");
if this.progress_manager == nil then
error_handler.report("singletons.update_progress_manager", "Failed to access Data: progress_manager");
error_handler.report("singletons.update_progress_manager", "Failed to Access Data: progress_manager");
return false;
end
@@ -108,7 +108,7 @@ end
function this.update_quest_manager()
this.quest_manager = sdk.get_managed_singleton("snow.QuestManager");
if this.quest_manager == nil then
error_handler.report("singletons.update_quest_manager", "Failed to access Data: quest_manager");
error_handler.report("singletons.update_quest_manager", "Failed to Access Data: quest_manager");
end
return this.quest_manager;
@@ -117,7 +117,7 @@ end
function this.update_player_manager()
this.player_manager = sdk.get_managed_singleton("snow.player.PlayerManager");
if this.player_manager == nil then
error_handler.report("singletons.update_player_manager", "Failed to access Data: player_manager");
error_handler.report("singletons.update_player_manager", "Failed to Access Data: player_manager");
end
return this.player_manager;
@@ -126,7 +126,7 @@ end
function this.update_village_area_manager()
this.village_area_manager = sdk.get_managed_singleton("snow.VillageAreaManager");
if this.village_area_manager == nil then
error_handler.report("singletons.update_village_area_manager", "Failed to access Data: village_area_manager");
-- error_handler.report("singletons.update_village_area_manager", "Failed to Access Data: village_area_manager");
end
return this.village_area_manager;
@@ -135,7 +135,7 @@ end
function this.update_gui_manager()
this.gui_manager = sdk.get_managed_singleton("snow.gui.GuiManager");
if this.gui_manager == nil then
error_handler.report("singletons.update_gui_manager", "Failed to access Data: gui_manager");
error_handler.report("singletons.update_gui_manager", "Failed to Access Data: gui_manager");
end
return this.gui_manager;
@@ -144,7 +144,7 @@ end
function this.update_game_keyboard()
this.game_keyboard = sdk.get_managed_singleton("snow.GameKeyboard");
if this.game_keyboard == nil then
error_handler.report("singletons.update_game_keyboard", "Failed to access Data: game_keyboard");
error_handler.report("singletons.update_game_keyboard", "Failed to Access Data: game_keyboard");
end
return this.game_keyboard;
@@ -153,7 +153,7 @@ end
function this.update_scene_manager()
this.scene_manager = sdk.get_native_singleton("via.SceneManager");
if this.scene_manager == nil then
error_handler.report("singletons.update_scene_manager", "Failed to access Data: scene_manager");
error_handler.report("singletons.update_scene_manager", "Failed to Access Data: scene_manager");
end
return this.scene_manager;
@@ -162,7 +162,7 @@ end
function this.update_game_manager()
this.game_manager = sdk.get_managed_singleton("snow.SnowGameManager");
if this.game_manager == nil then
error_handler.report("singletons.update_game_manager", "Failed to access Data: game_manager");
error_handler.report("singletons.update_game_manager", "Failed to Access Data: game_manager");
end
return this.game_manager;
@@ -171,7 +171,7 @@ end
function this.update_servant_manager()
this.servant_manager = sdk.get_managed_singleton("snow.ai.ServantManager");
if this.servant_manager == nil then
error_handler.report("singletons.update_servant_manager", "Failed to access Data: servant_manager");
error_handler.report("singletons.update_servant_manager", "Failed to Access Data: servant_manager");
end
return this.servant_manager;
@@ -180,7 +180,7 @@ end
function this.update_otomo_manager()
this.otomo_manager = sdk.get_managed_singleton("snow.otomo.OtomoManager");
if this.otomo_manager == nil then
error_handler.report("singletons.update_otomo_manager", "Failed to access Data: otomo_manager");
error_handler.report("singletons.update_otomo_manager", "Failed to Access Data: otomo_manager");
end
return this.otomo_manager;
@@ -189,7 +189,7 @@ end
function this.update_long_sword_shell_manager()
this.long_sword_shell_manager = sdk.get_managed_singleton("snow.shell.LongSwordShellManager");
if this.long_sword_shell_manager == nil then
error_handler.report("singletons.update_long_sword_shell_manager", "Failed to access Data: long_sword_shell_manager");
error_handler.report("singletons.update_long_sword_shell_manager", "Failed to Access Data: long_sword_shell_manager");
end
return this.long_sword_shell_manager;
@@ -198,7 +198,7 @@ end
function this.update_light_bowgun_shell_manager()
this.light_bowgun_shell_manager = sdk.get_managed_singleton("snow.shell.LightBowgunShellManager");
if this.light_bowgun_shell_manager == nil then
error_handler.report("singletons.update_light_bowgun_shell_manager", "Failed to access Data: light_bowgun_shell_manager");
error_handler.report("singletons.update_light_bowgun_shell_manager", "Failed to Access Data: light_bowgun_shell_manager");
end
return this.light_bowgun_shell_manager;
@@ -207,7 +207,7 @@ end
function this.update_horn_shell_manager()
this.horn_shell_manager = sdk.get_managed_singleton("snow.shell.HornShellManager");
if this.horn_shell_manager == nil then
error_handler.report("singletons.update_horn_shell_manager", "Failed to access Data: horn_shell_manager");
error_handler.report("singletons.update_horn_shell_manager", "Failed to Access Data: horn_shell_manager");
end
return this.horn_shell_manager;

View File

@@ -153,14 +153,14 @@ function this.update_quest_time()
local quest_time_elapsed_minutes = get_quest_elapsed_time_min_method:call(singletons.quest_manager);
if quest_time_elapsed_minutes == nil then
error_handler.report("time.update_quest_time", "Failed to access Data: quest_time_elapsed_minutes");
error_handler.report("time.update_quest_time", "Failed to Access Data: quest_time_elapsed_minutes");
else
this.elapsed_minutes = quest_time_elapsed_minutes;
end
local quest_time_total_elapsed_seconds = get_quest_elapsed_time_sec_method:call(singletons.quest_manager);
if quest_time_total_elapsed_seconds == nil then
error_handler.report("time.update_quest_time", "Failed to access Data: quest_time_total_elapsed_seconds");
error_handler.report("time.update_quest_time", "Failed to Access Data: quest_time_total_elapsed_seconds");
else
this.total_elapsed_seconds = quest_time_total_elapsed_seconds;
end

View File

@@ -36,7 +36,7 @@ local os = os;
local ValueType = ValueType;
local package = package;
this.version = "2.6.6";
this.version = "2.7.4";
this.config_folder = "MHR Overlay\\configs\\";
this.current_config_value_file_name = "MHR Overlay\\config.json";
@@ -320,18 +320,20 @@ function this.init_default()
dynamic_positioning = {
enabled = true,
max_distance = 300,
head_tracking = true,
opacity_falloff = true,
max_distance = 300,
world_offset = {
x = 0,
y = 3,
y = 1,
z = 0
},
viewport_offset = {
x = -50,
y = 0
y = -30
}
},
@@ -1022,23 +1024,24 @@ function this.init_default()
enabled = true,
settings = {
head_tracking = true,
hide_dead_or_captured = true,
render_highlighted_monster = true,
render_not_highlighted_monsters = true,
max_distance = 300,
opacity_falloff = true,
max_distance = 300,
time_limit = 15
},
world_offset = {
x = 0,
y = 6,
y = 2,
z = 0
},
viewport_offset = {
x = -100,
y = 0
y = -30
},
monster_name_label = {
@@ -7454,6 +7457,7 @@ function this.init_default()
enabled = false,
settings = {
head_tracking = true,
hide_inactive_creatures = true,
max_distance = 300,
opacity_falloff = true

View File

@@ -902,6 +902,8 @@ this.default_language = {
infinite_buffs_location = "Infinite Buffs Location",
effect_level = "Effect Level",
head_tracking = "Head Tracking"
},
};

View File

@@ -129,19 +129,19 @@ function this.update()
end
if singletons.player_manager == nil then
error_handler.report("player_info.update", "Failed to access Data: player_manager");
error_handler.report("player_info.update", "Failed to Access Data: player_manager");
return;
end
local master_player = find_master_player_method:call(singletons.player_manager);
if master_player == nil then
error_handler.report("player_info.update", "Failed to access Data: master_player");
error_handler.report("player_info.update", "Failed to Access Data: master_player");
return;
end
local master_player_data = get_player_data_method:call(master_player);
if master_player_data == nil then
error_handler.report("player_info.update", "Failed to access Data: master_player_data");
error_handler.report("player_info.update", "Failed to Access Data: master_player_data");
end
master_player_ref = master_player;
@@ -176,7 +176,7 @@ end
function this.update_generic(key, player_data, field)
local value = field:get_data(player_data);
if value == nil then
error_handler.report("player_info.update_generic", string.format("Failed to access Data: %s_value", key));
error_handler.report("player_info.update_generic", string.format("Failed to Access Data: %s_value", key));
return;
end
@@ -186,14 +186,14 @@ end
function this.update_resistances(player_data)
local resistance_element_array = resistance_element_field:get_data(player_data);
if resistance_element_array == nil then
error_handler.report("player_info.update_resistances", "Failed to access Data: resistance_element_array");
error_handler.report("player_info.update_resistances", "Failed to Access Data: resistance_element_array");
return;
end
-- Fire Resistance
local fire_resistance_single_valtype = get_value_method:call(resistance_element_array, 0);
if fire_resistance_single_valtype == nil then
error_handler.report("player_info.update_resistances", "Failed to access Data: fire_resistance_single_valtype");
error_handler.report("player_info.update_resistances", "Failed to Access Data: fire_resistance_single_valtype");
return;
end
@@ -201,14 +201,14 @@ function this.update_resistances(player_data)
if fire_resistance ~= nil then
this.list.fire_resistance = math.floor(fire_resistance);
else
error_handler.report("player_info.update_resistances", "Failed to access Data: fire_resistance");
error_handler.report("player_info.update_resistances", "Failed to Access Data: fire_resistance");
return;
end
-- Water Resistance
local water_resistance_single_valtype = get_value_method:call(resistance_element_array, 1);
if water_resistance_single_valtype == nil then
error_handler.report("player_info.update_resistances", "Failed to access Data: water_resistance_single_valtype");
error_handler.report("player_info.update_resistances", "Failed to Access Data: water_resistance_single_valtype");
return;
end
@@ -216,14 +216,14 @@ function this.update_resistances(player_data)
if water_resistance ~= nil then
this.list.water_resistance = math.floor(water_resistance);
else
error_handler.report("player_info.update_resistances", "Failed to access Data: water_resistance");
error_handler.report("player_info.update_resistances", "Failed to Access Data: water_resistance");
return;
end
-- Thunder Resistance
local thunder_resistance_single_valtype = get_value_method:call(resistance_element_array, 2);
if thunder_resistance_single_valtype == nil then
error_handler.report("player_info.update_resistances", "Failed to access Data: thunder_resistance_single_valtype");
error_handler.report("player_info.update_resistances", "Failed to Access Data: thunder_resistance_single_valtype");
return;
end
@@ -231,14 +231,14 @@ function this.update_resistances(player_data)
if thunder_resistance ~= nil then
this.list.thunder_resistance = math.floor(thunder_resistance);
else
error_handler.report("player_info.update_resistances", "Failed to access Data: thunder_resistance");
error_handler.report("player_info.update_resistances", "Failed to Access Data: thunder_resistance");
return;
end
-- Ice Resistance
local ice_resistance_single_valtype = get_value_method:call(resistance_element_array, 3);
if ice_resistance_single_valtype == nil then
error_handler.report("player_info.update_resistances", "Failed to access Data: ice_resistance_single_valtype");
error_handler.report("player_info.update_resistances", "Failed to Access Data: ice_resistance_single_valtype");
return;
end
@@ -246,14 +246,14 @@ function this.update_resistances(player_data)
if ice_resistance ~= nil then
this.list.ice_resistance = math.floor(ice_resistance);
else
error_handler.report("player_info.update_resistances", "Failed to access Data: ice_resistance");
error_handler.report("player_info.update_resistances", "Failed to Access Data: ice_resistance");
return;
end
-- Dragon Resistance
local dragon_resistance_single_valtype = get_value_method:call(resistance_element_array, 4);
if dragon_resistance_single_valtype == nil then
error_handler.report("player_info.update_resistances", "Failed to access Data: dragon_resistance_single_valtype");
error_handler.report("player_info.update_resistances", "Failed to Access Data: dragon_resistance_single_valtype");
return;
end
@@ -261,7 +261,7 @@ function this.update_resistances(player_data)
if dragon_resistance ~= nil then
this.list.dragon_resistance = math.floor(dragon_resistance);
else
error_handler.report("player_info.update_resistances", "Failed to access Data: dragon_resistance");
error_handler.report("player_info.update_resistances", "Failed to Access Data: dragon_resistance");
return;
end
end
@@ -285,7 +285,7 @@ end
function this.update_health(quest_player_base)
local vital = get_vital_method:call(master_player_data_ref);
if vital == nil then
error_handler.report("player_info.update_health", "Failed to access Data: vital");
error_handler.report("player_info.update_health", "Failed to Access Data: vital");
return;
end
@@ -299,7 +299,7 @@ function this.update_heroics(quest_player_base)
local is_predicament_power_up = is_predicament_power_up_method:call(master_player_ref);
if is_predicament_power_up == nil then
error_handler.report("player_info.update_heroics", "Failed to access Data: is_predicament_power_up");
error_handler.report("player_info.update_heroics", "Failed to Access Data: is_predicament_power_up");
return;
end
@@ -313,7 +313,7 @@ function this.update_dango_adrenaline(quest_player_base)
local is_kitchen_skill_predicament_powerup = is_kitchen_skill_predicament_powerup_method:call(master_player_ref);
if is_kitchen_skill_predicament_powerup == nil then
error_handler.report("player_info.update_dango_adrenaline", "Failed to access Data: is_kitchen_skill_predicament_powerup");
error_handler.report("player_info.update_dango_adrenaline", "Failed to Access Data: is_kitchen_skill_predicament_powerup");
return;
end

View File

@@ -69,13 +69,13 @@ function this.poison_proc(poison_param)
local enemy = get_enemy_method:call(poison_param);
if enemy == nil then
error_handler.report("ailment_hook.poison_proc", "Failed to access Data: enemy");
error_handler.report("ailment_hook.poison_proc", "Failed to Access Data: enemy");
return;
end
local is_large = is_boss_enemy_method:call(enemy);
if is_large == nil then
error_handler.report("ailment_hook.poison_proc", "Failed to access Data: is_large");
error_handler.report("ailment_hook.poison_proc", "Failed to Access Data: is_large");
return;
end
@@ -100,13 +100,13 @@ function this.blast_proc(blast_param)
local enemy = get_enemy_method:call(blast_param);
if enemy == nil then
error_handler.report("ailment_hook.blast_proc", "Failed to access Data: enemy");
error_handler.report("ailment_hook.blast_proc", "Failed to Access Data: enemy");
return;
end
local is_large = is_boss_enemy_method:call(enemy);
if is_large == nil then
error_handler.report("ailment_hook.blast_proc", "Failed to access Data: is_large");
error_handler.report("ailment_hook.blast_proc", "Failed to Access Data: is_large");
return;
end
@@ -128,13 +128,13 @@ function this.stock_damage()
for enemy, monster in pairs(large_monster.list) do
local damage_param = get_damage_param_method:call(enemy);
if damage_param == nil then
error_handler.report("ailment_hook.stock_damage", "Failed to access Data: large_monster -> damage_param");
error_handler.report("ailment_hook.stock_damage", "Failed to Access Data: large_monster -> damage_param");
goto continue;
end
local poison_param = poison_param_field:get_data(damage_param);
if poison_param == nil then
error_handler.report("ailment_hook.stock_damage", "Failed to access Data: large_monster -> poison_param");
error_handler.report("ailment_hook.stock_damage", "Failed to Access Data: large_monster -> poison_param");
goto continue;
end
@@ -145,13 +145,13 @@ function this.stock_damage()
for enemy, monster in pairs(small_monster.list) do
local damage_param = get_damage_param_method:call(enemy);
if damage_param == nil then
error_handler.report("ailment_hook.stock_damage", "Failed to access Data: small_monster -> damage_param");
error_handler.report("ailment_hook.stock_damage", "Failed to Access Data: small_monster -> damage_param");
goto continue;
end
local poison_param = poison_param_field:get_data(damage_param);
if poison_param == nil then
error_handler.report("ailment_hook.stock_damage", "Failed to access Data: small_monster -> poison_param");
error_handler.report("ailment_hook.stock_damage", "Failed to Access Data: small_monster -> poison_param");
goto continue;
end

View File

@@ -289,7 +289,7 @@ function this.update_ailments(enemy, monster)
local damage_param = get_damage_param_method:call(enemy);
if damage_param == nil then
error_handler.report("ailments.update_ailments", "Failed to access Data: damage_param");
error_handler.report("ailments.update_ailments", "Failed to Access Data: damage_param");
return;
end
@@ -307,13 +307,13 @@ function this.update_ailments(enemy, monster)
local condition_param_array = get_condition_param_method:call(damage_param);
if condition_param_array == nil then
error_handler.report("ailments.update_ailments", "Failed to access Data: condition_param_array");
error_handler.report("ailments.update_ailments", "Failed to Access Data: condition_param_array");
return;
end
local condition_param_array_length = get_length_method:call(condition_param_array);
if condition_param_array_length == nil then
error_handler.report("ailments.update_ailments", "Failed to access Data: condition_param_array_length");
error_handler.report("ailments.update_ailments", "Failed to Access Data: condition_param_array_length");
return;
end
@@ -324,7 +324,7 @@ function this.update_ailments(enemy, monster)
local ailment_param = get_value_method:call(condition_param_array, id);
if ailment_param == nil then
error_handler.report("ailments.update_ailments", "Failed to access Data: ailment_param No. " .. tostring(id));
error_handler.report("ailments.update_ailments", "Failed to Access Data: ailment_param No. " .. tostring(id));
goto continue;
end
@@ -338,21 +338,21 @@ function this.update_stun_poison_blast_ailments(monster, damage_param)
if stun_param ~= nil then
this.update_ailment(monster, stun_param, this.stun_id);
else
error_handler.report("ailments.update_stun_poison_blast_ailments", "Failed to access Data: stun_param");
error_handler.report("ailments.update_stun_poison_blast_ailments", "Failed to Access Data: stun_param");
end
local poison_param = poison_param_field:get_data(damage_param);
if poison_param ~= nil then
this.update_ailment(monster, poison_param, this.poison_id);
else
error_handler.report("ailments.update_stun_poison_blast_ailments", "Failed to access Data: poison_param");
error_handler.report("ailments.update_stun_poison_blast_ailments", "Failed to Access Data: poison_param");
end
local blast_param = blast_param_field:get_data(damage_param);
if blast_param ~= nil then
this.update_ailment(monster, blast_param, this.blast_id);
else
error_handler.report("ailments.update_stun_poison_blast_ailments", "Failed to access Data: blast_param");
error_handler.report("ailments.update_stun_poison_blast_ailments", "Failed to Access Data: blast_param");
end
end
@@ -380,14 +380,14 @@ function this.update_ailment(monster, ailment_param, id)
if activate_count_valtype ~= nil then
activate_count = int32_mvalue_field:get_data(activate_count_valtype);
else
error_handler.report("ailments.update_ailment", "Failed to access Data: activate_count_valtype");
error_handler.report("ailments.update_ailment", "Failed to Access Data: activate_count_valtype");
end
end
else
error_handler.report("ailments.update_ailment", "Failed to access Data: activate_count_array_length");
error_handler.report("ailments.update_ailment", "Failed to Access Data: activate_count_array_length");
end
else
error_handler.report("ailments.update_ailment", "Failed to access Data: activate_count_array");
error_handler.report("ailments.update_ailment", "Failed to Access Data: activate_count_array");
end
if buildup_array ~= nil then
@@ -401,14 +401,14 @@ function this.update_ailment(monster, ailment_param, id)
if buildup_valtype ~= nil then
buildup = single_mvalue_field:get_data(buildup_valtype);
else
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_valtype");
error_handler.report("ailments.update_ailment", "Failed to Access Data: buildup_valtype");
end
end
else
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_array_length");
error_handler.report("ailments.update_ailment", "Failed to Access Data: buildup_array_length");
end
else
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_array");
error_handler.report("ailments.update_ailment", "Failed to Access Data: buildup_array");
end
if buildup_limit_array ~= nil then
@@ -422,14 +422,14 @@ function this.update_ailment(monster, ailment_param, id)
if buildup_limit_valtype ~= nil then
buildup_limit = single_mvalue_field:get_data(buildup_limit_valtype);
else
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_limit_valtype");
error_handler.report("ailments.update_ailment", "Failed to Access Data: buildup_limit_valtype");
end
end
else
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_limit_array_length");
error_handler.report("ailments.update_ailment", "Failed to Access Data: buildup_limit_array_length");
end
else
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_limit_array");
error_handler.report("ailments.update_ailment", "Failed to Access Data: buildup_limit_array");
end
if is_enable == nil then
@@ -453,7 +453,7 @@ function this.update_ailment(monster, ailment_param, id)
monster.ailments[id].activate_count = activate_count;
else
error_handler.report("ailments.update_ailment", "Failed to access Data: activate_count");
error_handler.report("ailments.update_ailment", "Failed to Access Data: activate_count");
end
if buildup ~= nil then
@@ -463,7 +463,7 @@ function this.update_ailment(monster, ailment_param, id)
monster.ailments[id].total_buildup = buildup;
else
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup");
error_handler.report("ailments.update_ailment", "Failed to Access Data: buildup");
end
if buildup_limit ~= nil then
@@ -473,7 +473,7 @@ function this.update_ailment(monster, ailment_param, id)
monster.ailments[id].buildup_limit = buildup_limit;
else
error_handler.report("ailments.update_ailment", "Failed to access Data: buildup_limit");
error_handler.report("ailments.update_ailment", "Failed to Access Data: buildup_limit");
end
if buildup ~= nil and buildup_limit ~= nil and buildup_limit ~= 0 then
@@ -544,7 +544,7 @@ function this.update_poison(monster, poison_param)
--if poison tick, apply damage
local is_damage = poison_get_is_damage_method:call(poison_param);
if is_damage == nil then
error_handler.report("ailments.update_poison", "Failed to access Data: is_damage");
error_handler.report("ailments.update_poison", "Failed to Access Data: is_damage");
return;
end
@@ -554,7 +554,7 @@ function this.update_poison(monster, poison_param)
local poison_damage = poison_damage_field:get_data(poison_param);
if poison_damage == nil then
error_handler.report("ailments.update_poison", "Failed to access Data: poison_damage");
error_handler.report("ailments.update_poison", "Failed to Access Data: poison_damage");
return;
end

View File

@@ -64,6 +64,126 @@ this.monster_ids = {
risen_chameleos = 2073
}
local enemy_character_base_type_def = sdk.find_type_definition("snow.enemy.EnemyCharacterBase");
local enemy_type_field = enemy_character_base_type_def:get_field("<EnemyType>k__BackingField");
local get_monster_list_register_scale_method = enemy_character_base_type_def:get_method("get_MonsterListRegisterScale");
local message_manager_type_def = sdk.find_type_definition("snow.gui.MessageManager");
local get_enemy_name_message_method = message_manager_type_def:get_method("getEnemyNameMessage");
local enemy_manager_type_def = sdk.find_type_definition("snow.enemy.EnemyManager");
local find_enemy_size_info_method = enemy_manager_type_def:get_method("findEnemySizeInfo");
local size_info_type_def = find_enemy_size_info_method:get_return_type();
local get_small_border_method = size_info_type_def:get_method("get_SmallBorder");
local get_big_border_method = size_info_type_def:get_method("get_BigBorder");
local get_king_border_method = size_info_type_def:get_method("get_KingBorder");
local get_set_info_method = enemy_character_base_type_def:get_method("get_SetInfo");
local set_info_type = get_set_info_method:get_return_type();
local get_unique_id_method = set_info_type:get_method("get_UniqueId");
local get_physical_param_method = enemy_character_base_type_def:get_method("get_PhysicalParam");
local get_stamina_param_method = enemy_character_base_type_def:get_method("get_StaminaParam");
local get_anger_param_method = enemy_character_base_type_def:get_method("get_AngerParam");
local get_damage_param_method = enemy_character_base_type_def:get_method("get_DamageParam");
local get_mystery_param_method = enemy_character_base_type_def:get_method("get_MysteryParam");
local get_mario_param_method = enemy_character_base_type_def:get_method("get_MarioParam");
local check_die_method = enemy_character_base_type_def:get_method("checkDie");
local is_disp_icon_mini_map_method = enemy_character_base_type_def:get_method("isDispIconMiniMap");
local get_ref_mesh_method = enemy_character_base_type_def:get_method("get_RefMesh");
local mesh_type_def = get_ref_mesh_method:get_return_type();
local get_game_object_method = mesh_type_def:get_method("get_GameObject");
local game_object_type_def = get_game_object_method:get_return_type();
local get_transform_method = game_object_type_def:get_method("get_Transform");
local transform_type_def = get_transform_method:get_return_type();
local get_joint_by_name_method = transform_type_def:get_method("getJointByName");
local joint_type_def = get_joint_by_name_method:get_return_type();
local get_position_method = joint_type_def:get_method("get_Position");
local physical_param_type_def = get_physical_param_method:get_return_type();
local get_vital_method = physical_param_type_def:get_method("getVital");
local get_capture_hp_vital_method = physical_param_type_def:get_method("get_CaptureHpVital");
local vital_param_type_def = get_vital_method:get_return_type();
local get_current_method = vital_param_type_def:get_method("get_Current");
local get_max_method = vital_param_type_def:get_method("get_Max");
local is_enable_method = vital_param_type_def:get_method("isEnable");
local stamina_param_type_def = get_stamina_param_method:get_return_type();
local is_tired_method = stamina_param_type_def:get_method("isTired");
local get_stamina_method = stamina_param_type_def:get_method("getStamina");
local get_max_stamina_method = stamina_param_type_def:get_method("getMaxStamina");
local get_remaining_tired_time_method = stamina_param_type_def:get_method("getStaminaRemainingTime");
local get_total_tired_time_method = stamina_param_type_def:get_method("get_TiredSec");
local anger_param_type_def = get_anger_param_method:get_return_type();
local is_anger_method = anger_param_type_def:get_method("isAnger");
local get_anger_point_method = anger_param_type_def:get_method("get_AngerPoint");
local get_limit_anger_method = anger_param_type_def:get_method("get_LimitAnger");
local get_remaining_anger_time_method = anger_param_type_def:get_method("getAngerRemainingTime");
local get_total_anger_time_method = anger_param_type_def:get_method("get_TimerAnger");
local mario_param_type_def = get_mario_param_method:get_return_type();
local get_is_marionette_method = mario_param_type_def:get_method("get_IsMarionette");
local get_mario_player_index_method = mario_param_type_def:get_method("get_MarioPlayerIndex");
local get_pos_field = enemy_character_base_type_def:get_method("get_Pos");
local system_array_type_def = sdk.find_type_definition("System.Array");
local get_length_method = system_array_type_def:get_method("get_Length");
local get_value_method = system_array_type_def:get_method("GetValue(System.Int32)");
-- Lucent Nargacuga
local em037_02Character_type_def = sdk.find_type_definition("snow.enemy.em037.Em037_02Character");
local is_stealth_method = em037_02Character_type_def:get_method("isStealth");
-- Risen Chameleos and CHameleos
local Em025Character_base_type_Def = sdk.find_type_definition("snow.enemy.em025.Em025CharacterBase");
local get_stealth_ctrl_method = Em025Character_base_type_Def:get_method("get_StealthCtrl");
local stealth_ctrl_type_def = get_stealth_ctrl_method:get_return_type();
local get_current_status_method = stealth_ctrl_type_def:get_method("get_CurrentStatus");
local damage_param_type_def = get_damage_param_method:get_return_type();
local enemy_parts_damage_info_field = damage_param_type_def:get_field("_EnemyPartsDamageInfo");
local enemy_parts_damage_info_type_def = enemy_parts_damage_info_field:get_type();
local get_part_info_array_method = enemy_parts_damage_info_type_def:get_method("get_PartsInfo");
local enemy_parts_info_type_def = sdk.find_type_definition("snow.enemy.EnemyDamageParam.EnemyPartsDamageInfo.EnemyPartsInfo");
local get_parts_break_damage_level_method = enemy_parts_info_type_def:get_method("get_PartsBreakDamageLevel");
local get_parts_break_damage_max_level_method = enemy_parts_info_type_def:get_method("get_PartsBreakDamageMaxLevel");
local get_parts_loss_state_method = enemy_parts_info_type_def:get_method("get_PartsLossState");
local mystery_param_type_def = get_mystery_param_method:get_return_type();
local core_parts_array_field = mystery_param_type_def:get_field("CoreParts");
local enemy_mystery_core_parts_type_def = sdk.find_type_definition("snow.enemy.EnemyMysteryCoreParts");
local core_parts_get_vital_method = enemy_mystery_core_parts_type_def:get_method("get_Vital");
local core_parts_get_is_active_method = enemy_mystery_core_parts_type_def:get_method("get_IsActive");
local core_parts_get_dying_vital_threashold_method = enemy_mystery_core_parts_type_def:get_method("get_DyingVitalThreashold");
local on_break_method = enemy_mystery_core_parts_type_def:get_method("onBreak");
local gui_manager_type_def = sdk.find_type_definition("snow.gui.GuiManager");
local get_tg_camera_method = gui_manager_type_def:get_method("get_refGuiHud_TgCamera");
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");
local lobby_manager_type_def = sdk.find_type_definition("snow.LobbyManager");
local receive_quest_hunter_info_method = lobby_manager_type_def:get_method("receiveQuestHunterInfo");
function this.new(enemy)
local monster = {};
@@ -116,7 +236,10 @@ function this.new(enemy)
monster.rage_seconds_left = 0;
monster.rage_timer_percentage = 0;
monster.head_joint = nil;
monster.position = Vector3f.new(0, 0, 0);
monster.head_position = Vector3f.new(0, 0, 0);
monster.distance = 0;
monster.name = "Large Monster";
@@ -166,116 +289,10 @@ function this.get_monster(enemy)
return monster;
end
local enemy_character_base_type_def = sdk.find_type_definition("snow.enemy.EnemyCharacterBase");
local enemy_type_field = enemy_character_base_type_def:get_field("<EnemyType>k__BackingField");
local get_monster_list_register_scale_method = enemy_character_base_type_def:get_method("get_MonsterListRegisterScale");
local message_manager_type_def = sdk.find_type_definition("snow.gui.MessageManager");
local get_enemy_name_message_method = message_manager_type_def:get_method("getEnemyNameMessage");
local enemy_manager_type_def = sdk.find_type_definition("snow.enemy.EnemyManager");
local find_enemy_size_info_method = enemy_manager_type_def:get_method("findEnemySizeInfo");
local size_info_type = find_enemy_size_info_method:get_return_type();
local get_small_border_method = size_info_type:get_method("get_SmallBorder");
local get_big_border_method = size_info_type:get_method("get_BigBorder");
local get_king_border_method = size_info_type:get_method("get_KingBorder");
local get_set_info_method = enemy_character_base_type_def:get_method("get_SetInfo");
local set_info_type = get_set_info_method:get_return_type();
local get_unique_id_method = set_info_type:get_method("get_UniqueId");
local get_physical_param_method = enemy_character_base_type_def:get_method("get_PhysicalParam");
local get_stamina_param_method = enemy_character_base_type_def:get_method("get_StaminaParam");
local get_anger_param_method = enemy_character_base_type_def:get_method("get_AngerParam");
local get_damage_param_method = enemy_character_base_type_def:get_method("get_DamageParam");
local get_mystery_param_method = enemy_character_base_type_def:get_method("get_MysteryParam");
local get_mario_param_method = enemy_character_base_type_def:get_method("get_MarioParam");
local check_die_method = enemy_character_base_type_def:get_method("checkDie");
local is_disp_icon_mini_map_method = enemy_character_base_type_def:get_method("isDispIconMiniMap");
local physical_param_type = get_physical_param_method:get_return_type();
local get_vital_method = physical_param_type:get_method("getVital");
local get_capture_hp_vital_method = physical_param_type:get_method("get_CaptureHpVital");
local vital_param_type = get_vital_method:get_return_type();
local get_current_method = vital_param_type:get_method("get_Current");
local get_max_method = vital_param_type:get_method("get_Max");
local is_enable_method = vital_param_type:get_method("isEnable");
local stamina_param_type = get_stamina_param_method:get_return_type();
local is_tired_method = stamina_param_type:get_method("isTired");
local get_stamina_method = stamina_param_type:get_method("getStamina");
local get_max_stamina_method = stamina_param_type:get_method("getMaxStamina");
local get_remaining_tired_time_method = stamina_param_type:get_method("getStaminaRemainingTime");
local get_total_tired_time_method = stamina_param_type:get_method("get_TiredSec");
local anger_param_type = get_anger_param_method:get_return_type();
local is_anger_method = anger_param_type:get_method("isAnger");
local get_anger_point_method = anger_param_type:get_method("get_AngerPoint");
local get_limit_anger_method = anger_param_type:get_method("get_LimitAnger");
local get_remaining_anger_time_method = anger_param_type:get_method("getAngerRemainingTime");
local get_total_anger_time_method = anger_param_type:get_method("get_TimerAnger");
local mario_param_type = get_mario_param_method:get_return_type();
local get_is_marionette_method = mario_param_type:get_method("get_IsMarionette");
local get_mario_player_index_method = mario_param_type:get_method("get_MarioPlayerIndex");
local get_pos_field = enemy_character_base_type_def:get_method("get_Pos");
local system_array_type_def = sdk.find_type_definition("System.Array");
local get_length_method = system_array_type_def:get_method("get_Length");
local get_value_method = system_array_type_def:get_method("GetValue(System.Int32)");
-- Lucent Nargacuga
local em037_02Character_type_def = sdk.find_type_definition("snow.enemy.em037.Em037_02Character");
local is_stealth_method = em037_02Character_type_def:get_method("isStealth");
-- Risen Chameleos and CHameleos
local Em025Character_base_type_Def = sdk.find_type_definition("snow.enemy.em025.Em025CharacterBase");
local get_stealth_ctrl_method = Em025Character_base_type_Def:get_method("get_StealthCtrl");
local stealth_ctrl_type_def = get_stealth_ctrl_method:get_return_type();
local get_current_status_method = stealth_ctrl_type_def:get_method("get_CurrentStatus");
local damage_param_type_def = get_damage_param_method:get_return_type();
local enemy_parts_damage_info_field = damage_param_type_def:get_field("_EnemyPartsDamageInfo");
local enemy_parts_damage_info_type_def = enemy_parts_damage_info_field:get_type();
local get_part_info_array_method = enemy_parts_damage_info_type_def:get_method("get_PartsInfo");
local enemy_parts_info_type_def = sdk.find_type_definition("snow.enemy.EnemyDamageParam.EnemyPartsDamageInfo.EnemyPartsInfo");
local get_parts_break_damage_level_method = enemy_parts_info_type_def:get_method("get_PartsBreakDamageLevel");
local get_parts_break_damage_max_level_method = enemy_parts_info_type_def:get_method("get_PartsBreakDamageMaxLevel");
local get_parts_loss_state_method = enemy_parts_info_type_def:get_method("get_PartsLossState");
local mystery_param_type_def = get_mystery_param_method:get_return_type();
local core_parts_array_field = mystery_param_type_def:get_field("CoreParts");
local enemy_mystery_core_parts_type_def = sdk.find_type_definition("snow.enemy.EnemyMysteryCoreParts");
local core_parts_get_vital_method = enemy_mystery_core_parts_type_def:get_method("get_Vital");
local core_parts_get_is_active_method = enemy_mystery_core_parts_type_def:get_method("get_IsActive");
local core_parts_get_dying_vital_threashold_method = enemy_mystery_core_parts_type_def:get_method("get_DyingVitalThreashold");
local on_break_method = enemy_mystery_core_parts_type_def:get_method("onBreak");
local gui_manager_type_def = sdk.find_type_definition("snow.gui.GuiManager");
local get_tg_camera_method = gui_manager_type_def:get_method("get_refGuiHud_TgCamera");
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");
local lobby_manager_type_def = sdk.find_type_definition("snow.LobbyManager");
local receive_quest_hunter_info_method = lobby_manager_type_def:get_method("receiveQuestHunterInfo");
function this.init(monster, enemy)
local monster_id = enemy_type_field:get_data(enemy);
if monster_id == nil then
error_handler.report("large_monster.init", "Failed to access Data: enemy_type");
error_handler.report("large_monster.init", "Failed to Access Data: enemy_type");
return;
end
@@ -289,7 +306,7 @@ function this.init(monster, enemy)
if enemy_name ~= nil then
monster.name = enemy_name;
else
error_handler.report("large_monster.init", "Failed to access Data: enemy_name");
error_handler.report("large_monster.init", "Failed to Access Data: enemy_name");
end
if monster_id ~= this.monster_ids.toadversary then
@@ -299,10 +316,10 @@ function this.init(monster, enemy)
if unique_id ~= nil then
monster.unique_id = unique_id;
else
error_handler.report("large_monster.init", "Failed to access Data: unique_id");
error_handler.report("large_monster.init", "Failed to Access Data: unique_id");
end
else
error_handler.report("large_monster.init", "Failed to access Data: set_info");
error_handler.report("large_monster.init", "Failed to Access Data: set_info");
end
local size_info = find_enemy_size_info_method:call(singletons.enemy_manager, monster_id);
@@ -316,25 +333,25 @@ function this.init(monster, enemy)
if small_border ~= nil then
monster.small_border = small_border;
else
error_handler.report("large_monster.init", "Failed to access Data: small_border");
error_handler.report("large_monster.init", "Failed to Access Data: small_border");
end
if big_border ~= nil then
monster.big_border = big_border;
else
error_handler.report("large_monster.init", "Failed to access Data: big_border");
error_handler.report("large_monster.init", "Failed to Access Data: big_border");
end
if king_border ~= nil then
monster.king_border = king_border;
else
error_handler.report("large_monster.init", "Failed to access Data: king_border");
error_handler.report("large_monster.init", "Failed to Access Data: king_border");
end
if size ~= nil then
monster.size = size;
else
error_handler.report("large_monster.init", "Failed to access Data: size");
error_handler.report("large_monster.init", "Failed to Access Data: size");
end
if monster.size <= monster.small_border then
@@ -345,7 +362,7 @@ function this.init(monster, enemy)
monster.crown = language.current_language.UI.silver;
end
else
error_handler.report("large_monster.init", "Failed to access Data: size_info");
error_handler.report("large_monster.init", "Failed to Access Data: size_info");
end
end
@@ -360,13 +377,13 @@ function this.init(monster, enemy)
if is_capture_enable_ ~= nil then
is_capture_enable = is_capture_enable_;
else
error_handler.report("large_monster.init", "Failed to access Data: is_capture_enable_");
error_handler.report("large_monster.init", "Failed to Access Data: is_capture_enable_");
end
else
error_handler.report("large_monster.init", "Failed to access Data: capture_param");
error_handler.report("large_monster.init", "Failed to Access Data: capture_param");
end
else
error_handler.report("large_monster.init", "Failed to access Data: damage_param");
error_handler.report("large_monster.init", "Failed to Access Data: damage_param");
end
local mystery_param = get_mystery_param_method:call(enemy);
@@ -374,6 +391,8 @@ function this.init(monster, enemy)
monster.is_anomaly = is_anomaly;
monster.is_capturable = is_capture_enable and not is_anomaly;
this.update_head_joint(enemy, monster);
end
function this.init_UI(monster, monster_UI, cached_config)
@@ -478,10 +497,73 @@ function this.update_position(enemy, monster)
local position = get_pos_field:call(enemy);
if position == nil then
error_handler.report("large_monster.update_position", "Failed to access Data: position");
error_handler.report("large_monster.update_position", "Failed to Access Data: position");
end
monster.position = position;
this.update_head_position(enemy, monster);
end
function this.update_head_joint(enemy, monster)
local mesh = get_ref_mesh_method:call(enemy);
if mesh == nil then
error_handler.report("large_monster.update_head_joint", "Failed to Access Data: Mesh");
return;
end
local game_object = get_game_object_method:call(mesh);
if game_object == nil then
error_handler.report("large_monster.update_head_joint", "Failed to Access Data: GameObject");
return;
end
local transform = get_transform_method:call(game_object);
if transform == nil then
error_handler.report("large_monster.update_head_joint", "Failed to Access Data: Transform");
return;
end
local head_joint = get_joint_by_name_method:call(transform, "Head_00")
or get_joint_by_name_method:call(transform, "Head")
or get_joint_by_name_method:call(transform, "Head_01")
or get_joint_by_name_method:call(transform, "Spine_00")
or get_joint_by_name_method:call(transform, "Cog")
or get_joint_by_name_method:call(transform, "head")
or get_joint_by_name_method:call(transform, "root");
if head_joint == nil then
-- local joints = transform:get_Joints();
-- local out = "";
-- for i = 0, joints:get_Length() - 1 do
-- local joint = joints[i];
-- local joint_name = joint:get_Name();
-- out = out .. joint_name .. "\n";
-- end
-- error_handler.report(monster.name, out);
error_handler.report("large_monster.update_head_joint", "Failed to Access Data: HeadJoint");
return;
end
monster.head_joint = head_joint;
end
function this.update_head_position(enemy, monster)
if monster.head_joint == nil then
return;
end
local head_position = get_position_method:call(monster.head_joint);
if head_position == nil then
error_handler.report("large_monster.update_head_position", "Failed to Access Data: HeadPosition");
return;
end
monster.head_position = head_position;
end
-- Code by coavins
@@ -490,20 +572,20 @@ function this.update_all_riders()
-- get marionette rider
local mario_param = get_mario_param_method:call(enemy);
if mario_param == nil then
error_handler.report("large_monster.update_all_riders", "Failed to access Data: mario_param");
error_handler.report("large_monster.update_all_riders", "Failed to Access Data: mario_param");
goto continue;
end
local is_marionette = get_is_marionette_method:call(mario_param);
if is_marionette == nil then
error_handler.report("large_monster.update_all_riders", "Failed to access Data: is_marionette");
error_handler.report("large_monster.update_all_riders", "Failed to Access Data: is_marionette");
goto continue;
end
if is_marionette then
local player_id = get_mario_player_index_method:call(mario_param);
if player_id == nil then
error_handler.report("large_monster.update_all_riders", "Failed to access Data: player_id");
error_handler.report("large_monster.update_all_riders", "Failed to Access Data: player_id");
goto continue;
end
@@ -529,14 +611,14 @@ function this.update(enemy, monster)
if dead_or_captured ~= nil then
monster.dead_or_captured = dead_or_captured;
else
error_handler.report("large_monster.update", "Failed to access Data: dead_or_captured");
error_handler.report("large_monster.update", "Failed to Access Data: dead_or_captured");
end
local is_disp_icon_mini_map = is_disp_icon_mini_map_method:call(enemy);
if is_disp_icon_mini_map ~= nil then
monster.is_disp_icon_mini_map = is_disp_icon_mini_map;
else
error_handler.report("large_monster.update", "Failed to access Data: is_disp_icon_mini_map");
error_handler.report("large_monster.update", "Failed to Access Data: is_disp_icon_mini_map");
end
if monster.id == this.monster_ids.lucent_nargacuga or monster.id == this.monster_ids.chameleos or monster.id == this.monster_ids.risen_chameleos then
@@ -550,7 +632,7 @@ function this.update(enemy, monster)
if is_stealth == nil then
monster.is_stealth = is_stealth;
else
error_handler.report("large_monster.update", "Failed to access Data: is_stealth");
error_handler.report("large_monster.update", "Failed to Access Data: is_stealth");
end
-- Chameleos and Risen Chameleos
@@ -560,14 +642,14 @@ function this.update(enemy, monster)
local status = get_current_status_method:call(stealth_controller);
if status == nil then
error_handler.report("large_monster.update", "Failed to access Data: status");
error_handler.report("large_monster.update", "Failed to Access Data: status");
elseif status >= 2 then
monster.is_stealth = true;
else
monster.is_stealth = false;
end
else
error_handler.report("large_monster.update", "Failed to access Data: stealth_controller");
error_handler.report("large_monster.update", "Failed to Access Data: stealth_controller");
end
end
end
@@ -592,13 +674,13 @@ function this.update_health(enemy, monster)
local physical_param = get_physical_param_method:call(enemy);
if physical_param == nil then
error_handler.report("large_monster.update_health", "Failed to access Data: physical_param");
error_handler.report("large_monster.update_health", "Failed to Access Data: physical_param");
return nil;
end
local vital_param = get_vital_method:call(physical_param, 0, 0);
if vital_param == nil then
error_handler.report("large_monster.update_health", "Failed to access Data: vital_param");
error_handler.report("large_monster.update_health", "Failed to Access Data: vital_param");
return nil;
end
@@ -606,21 +688,21 @@ function this.update_health(enemy, monster)
if health ~= nil then
monster.health = health;
else
error_handler.report("large_monster.update_health", "Failed to access Data: health");
error_handler.report("large_monster.update_health", "Failed to Access Data: health");
end
local max_health = get_max_method:call(vital_param);
if max_health ~= nil then
monster.max_health = max_health;
else
error_handler.report("large_monster.update_health", "Failed to access Data: max_health");
error_handler.report("large_monster.update_health", "Failed to Access Data: max_health");
end
local capture_health = get_capture_hp_vital_method:call(physical_param);
if capture_health ~= nil then
monster.capture_health = capture_health;
else
error_handler.report("large_monster.update_health", "Failed to access Data: capture_health");
error_handler.report("large_monster.update_health", "Failed to Access Data: capture_health");
end
monster.missing_health = max_health - health;
@@ -652,7 +734,7 @@ function this.update_stamina(enemy, monster, stamina_param)
if stamina_param == nil then
stamina_param = get_stamina_param_method:call(enemy);
if stamina_param == nil then
error_handler.report("large_monster.update_stamina", "Failed to access Data: stamina_param");
error_handler.report("large_monster.update_stamina", "Failed to Access Data: stamina_param");
return;
end
end
@@ -661,7 +743,7 @@ function this.update_stamina(enemy, monster, stamina_param)
if is_tired ~= nil then
monster.is_tired = is_tired;
else
error_handler.report("large_monster.update_stamina", "Failed to access Data: is_tired");
error_handler.report("large_monster.update_stamina", "Failed to Access Data: is_tired");
return;
end
@@ -673,7 +755,7 @@ function this.update_stamina(enemy, monster, stamina_param)
if stamina ~= nil then
monster.stamina = stamina;
else
error_handler.report("large_monster.update_stamina", "Failed to access Data: stamina");
error_handler.report("large_monster.update_stamina", "Failed to Access Data: stamina");
return;
end
@@ -681,7 +763,7 @@ function this.update_stamina(enemy, monster, stamina_param)
if max_stamina ~= nil then
monster.max_stamina = max_stamina;
else
error_handler.report("large_monster.update_stamina", "Failed to access Data: max_stamina");
error_handler.report("large_monster.update_stamina", "Failed to Access Data: max_stamina");
return;
end
@@ -709,7 +791,7 @@ function this.update_stamina_timer(enemy, monster, stamina_param)
if stamina_param == nil then
stamina_param = get_stamina_param_method:call(enemy);
if stamina_param == nil then
error_handler.report("large_monster.update_stamina_timer", "Failed to access Data: stamina_param");
error_handler.report("large_monster.update_stamina_timer", "Failed to Access Data: stamina_param");
return;
end
end
@@ -718,7 +800,7 @@ function this.update_stamina_timer(enemy, monster, stamina_param)
if is_tired ~= nil then
monster.is_tired = is_tired;
else
error_handler.report("large_monster.update_stamina_timer", "Failed to access Data: is_tired");
error_handler.report("large_monster.update_stamina_timer", "Failed to Access Data: is_tired");
return;
end
@@ -730,7 +812,7 @@ function this.update_stamina_timer(enemy, monster, stamina_param)
if tired_timer ~= nil then
monster.tired_timer = tired_timer;
else
error_handler.report("large_monster.update_stamina_timer", "Failed to access Data: tired_timer");
error_handler.report("large_monster.update_stamina_timer", "Failed to Access Data: tired_timer");
return;
end
@@ -738,7 +820,7 @@ function this.update_stamina_timer(enemy, monster, stamina_param)
if tired_duration ~= nil then
monster.tired_duration = tired_duration;
else
error_handler.report("large_monster.update_stamina_timer", "Failed to access Data: tired_duration");
error_handler.report("large_monster.update_stamina_timer", "Failed to Access Data: tired_duration");
return;
end
@@ -773,7 +855,7 @@ function this.update_rage(enemy, monster, anger_param)
if anger_param == nil then
anger_param = get_anger_param_method:call(enemy);
if anger_param == nil then
error_handler.report("large_monster.update_rage", "Failed to access Data: anger_param");
error_handler.report("large_monster.update_rage", "Failed to Access Data: anger_param");
return;
end
end
@@ -782,7 +864,7 @@ function this.update_rage(enemy, monster, anger_param)
if is_in_rage ~= nil then
monster.is_in_rage = is_in_rage;
else
error_handler.report("large_monster.update_rage", "Failed to access Data: is_in_rage");
error_handler.report("large_monster.update_rage", "Failed to Access Data: is_in_rage");
return;
end
@@ -794,7 +876,7 @@ function this.update_rage(enemy, monster, anger_param)
if rage_point ~= nil then
monster.rage_point = rage_point;
else
error_handler.report("large_monster.update_rage", "Failed to access Data: rage_point");
error_handler.report("large_monster.update_rage", "Failed to Access Data: rage_point");
return;
end
@@ -802,7 +884,7 @@ function this.update_rage(enemy, monster, anger_param)
if rage_limit ~= nil then
monster.rage_limit = rage_limit;
else
error_handler.report("large_monster.update_rage", "Failed to access Data: rage_limit");
error_handler.report("large_monster.update_rage", "Failed to Access Data: rage_limit");
return;
end
@@ -829,7 +911,7 @@ function this.update_rage_timer(enemy, monster, anger_param)
if anger_param == nil then
anger_param = get_anger_param_method:call(enemy);
if anger_param == nil then
error_handler.report("large_monster.update_rage_timer", "Failed to access Data: anger_param");
error_handler.report("large_monster.update_rage_timer", "Failed to Access Data: anger_param");
return;
end
end
@@ -838,7 +920,7 @@ function this.update_rage_timer(enemy, monster, anger_param)
if is_in_rage ~= nil then
monster.is_in_rage = is_in_rage;
else
error_handler.report("large_monster.update_rage_timer", "Failed to access Data: is_in_rage");
error_handler.report("large_monster.update_rage_timer", "Failed to Access Data: is_in_rage");
return;
end
@@ -850,7 +932,7 @@ function this.update_rage_timer(enemy, monster, anger_param)
if rage_timer ~= nil then
monster.rage_timer = rage_timer;
else
error_handler.report("large_monster.update_rage_timer", "Failed to access Data: rage_timer");
error_handler.report("large_monster.update_rage_timer", "Failed to Access Data: rage_timer");
return;
end
@@ -858,7 +940,7 @@ function this.update_rage_timer(enemy, monster, anger_param)
if rage_duration ~= nil then
monster.rage_duration = rage_duration;
else
error_handler.report("large_monster.update_rage_timer", "Failed to access Data: rage_duration");
error_handler.report("large_monster.update_rage_timer", "Failed to Access Data: rage_duration");
return;
end
@@ -905,32 +987,32 @@ function this.update_parts(enemy, monster, physical_param)
if physical_param == nil then
physical_param = get_physical_param_method:call(enemy);
if physical_param == nil then
error_handler.report("large_monster.update_parts", "Failed to access Data: physical_param");
error_handler.report("large_monster.update_parts", "Failed to Access Data: physical_param");
return;
end
end
local damage_param = get_damage_param_method:call(enemy);
if damage_param == nil then
error_handler.report("large_monster.update_parts", "Failed to access Data: damage_param");
error_handler.report("large_monster.update_parts", "Failed to Access Data: damage_param");
return;
end
local enemy_parts_damage_info = enemy_parts_damage_info_field:get_data(damage_param);
if enemy_parts_damage_info == nil then
error_handler.report("large_monster.update_parts", "Failed to access Data: enemy_parts_damage_info");
error_handler.report("large_monster.update_parts", "Failed to Access Data: enemy_parts_damage_info");
return;
end
local core_parts_array = get_part_info_array_method:call(enemy_parts_damage_info);
if core_parts_array == nil then
error_handler.report("large_monster.update_parts", "Failed to access Data: core_parts_array");
error_handler.report("large_monster.update_parts", "Failed to Access Data: core_parts_array");
return;
end
local core_parts_array_length = get_length_method:call(core_parts_array);
if core_parts_array_length == nil then
error_handler.report("large_monster.update_parts", "Failed to access Data: core_parts_array_length");
error_handler.report("large_monster.update_parts", "Failed to Access Data: core_parts_array_length");
return;
end
@@ -939,7 +1021,7 @@ function this.update_parts(enemy, monster, physical_param)
local enemy_parts_info = get_value_method:call(core_parts_array, i);
if enemy_parts_info == nil then
error_handler.report("large_monster.update_parts", "Failed to access Data: enemy_parts_info No. " .. tostring(i));
error_handler.report("large_monster.update_parts", "Failed to Access Data: enemy_parts_info No. " .. tostring(i));
goto continue;
end
@@ -963,19 +1045,19 @@ function this.update_parts(enemy, monster, physical_param)
local part_current = get_current_method:call(part_vital);
if part_current == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_current", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_current", i));
end
local part_max = get_max_method:call(part_vital);
if part_max == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_max", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_max", i));
end
if part_current ~= nil and part_max ~= nil then
body_part.update_flinch(part, part_current, part_max);
end
else
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_vital", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_vital", i));
end
end
@@ -988,29 +1070,29 @@ function this.update_parts(enemy, monster, physical_param)
local part_break_current = get_current_method:call(part_break_vital);
if part_break_current == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_break_current", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_break_current", i));
end
local part_break_max = get_max_method:call(part_break_vital);
if part_break_max == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_break_max", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_break_max", i));
end
local part_break_count = get_parts_break_damage_level_method:call(enemy_parts_info);
if part_break_count == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_break_count", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_break_count", i));
end
local part_break_max_count = get_parts_break_damage_max_level_method:call(enemy_parts_info);
if part_break_max_count == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_break_max_count", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_break_max_count", i));
end
if part_break_current ~= nil and part_break_max ~= nil and part_break_count ~= nil and part_break_max_count ~= nil then
body_part.update_break(part, part_break_current, part_break_max, part_break_count, part_break_max_count);
end
else
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_break_vital", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_break_vital", i));
end
end
@@ -1023,24 +1105,24 @@ function this.update_parts(enemy, monster, physical_param)
local part_loss_current = get_current_method:call(part_loss_vital);
if part_loss_current == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_loss_current", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_loss_current", i));
end
local part_loss_max = get_max_method:call(part_loss_vital);
if part_loss_max == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_loss_max", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_loss_max", i));
end
local is_severed = get_parts_loss_state_method:call(enemy_parts_info);
if is_severed == nil then
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> is_severed", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> is_severed", i));
end
if part_loss_current ~= nil and part_loss_max ~= nil and is_severed ~= nil then
body_part.update_loss(part, part_loss_current, part_loss_max, is_severed);
end
else
error_handler.report("large_monster.update_parts", string.format("Failed to access Data: enemy_parts_info No. %d -> part_loss_vital", i));
error_handler.report("large_monster.update_parts", string.format("Failed to Access Data: enemy_parts_info No. %d -> part_loss_vital", i));
end
end
@@ -1078,13 +1160,13 @@ function this.update_anomaly_parts(enemy, monster, mystery_param)
local core_parts_array = core_parts_array_field:get_data(mystery_param);
if core_parts_array == nil then
error_handler.report("large_monster.update_anomaly_parts", "Failed to access Data: core_parts_array");
error_handler.report("large_monster.update_anomaly_parts", "Failed to Access Data: core_parts_array");
return;
end
local core_parts_array_length = get_length_method:call(core_parts_array);
if core_parts_array_length == nil then
error_handler.report("large_monster.update_anomaly_parts", "Failed to access Data: core_parts_array_length");
error_handler.report("large_monster.update_anomaly_parts", "Failed to Access Data: core_parts_array_length");
return;
end
@@ -1093,7 +1175,7 @@ function this.update_anomaly_parts(enemy, monster, mystery_param)
local core_part = get_value_method:call(core_parts_array, i);
if core_part == nil then
error_handler.report("large_monster.update_anomaly_parts", "Failed to access Data: core_part No. " .. tostring(i));
error_handler.report("large_monster.update_anomaly_parts", "Failed to Access Data: core_part No. " .. tostring(i));
goto continue;
end
@@ -1110,13 +1192,13 @@ function this.update_anomaly_parts(enemy, monster, mystery_param)
local part_vital = core_parts_get_vital_method:call(core_part);
if part_vital == nil then
error_handler.report("large_monster.update_anomaly_parts", "Failed to access Data: part_vital No. " .. tostring(i));
error_handler.report("large_monster.update_anomaly_parts", "Failed to Access Data: part_vital No. " .. tostring(i));
return;
end
local part_is_active = core_parts_get_is_active_method:call(core_part);
if part_is_active == nil then
error_handler.report("large_monster.update_anomaly_parts", "Failed to access Data: part_is_active No. " .. tostring(i));
error_handler.report("large_monster.update_anomaly_parts", "Failed to Access Data: part_is_active No. " .. tostring(i));
return;
end
@@ -1124,19 +1206,19 @@ function this.update_anomaly_parts(enemy, monster, mystery_param)
local part_current = get_current_method:call(part_vital);
if part_current == nil then
error_handler.report("large_monster.update_anomaly_parts", "Failed to access Data: part_current No. " .. tostring(i));
error_handler.report("large_monster.update_anomaly_parts", "Failed to Access Data: part_current No. " .. tostring(i));
goto continue;
end
local part_max = get_max_method:call(part_vital);
if part_max == nil then
error_handler.report("large_monster.update_anomaly_parts", "Failed to access Data: part_max No. " .. tostring(i));
error_handler.report("large_monster.update_anomaly_parts", "Failed to Access Data: part_max No. " .. tostring(i));
goto continue;
end
local part_is_enabled = is_enable_method:call(part_vital);
if part_is_enabled == nil then
error_handler.report("large_monster.update_anomaly_parts", "Failed to access Data: part_is_enabled No. " .. tostring(i));
error_handler.report("large_monster.update_anomaly_parts", "Failed to Access Data: part_is_enabled No. " .. tostring(i));
goto continue;
end
@@ -1159,19 +1241,19 @@ function this.update_highlighted_id()
end
if singletons.gui_manager == nil then
error_handler.report("large_monster.update_highlighted_id", "Failed to access Data: gui_manager");
error_handler.report("large_monster.update_highlighted_id", "Failed to Access Data: gui_manager");
return;
end
local gui_hud_target_camera = get_tg_camera_method:call(singletons.gui_manager);
if gui_hud_target_camera == nil then
error_handler.report("large_monster.update_highlighted_id", "Failed to access Data: gui_hud_target_camera");
error_handler.report("large_monster.update_highlighted_id", "Failed to Access Data: gui_hud_target_camera");
return;
end
local highlighted_id = get_targeting_enemy_index_field:get_data(gui_hud_target_camera);
if highlighted_id == nil then
error_handler.report("large_monster_UI.update_highlighted_id", "Failed to access Data: highlighted_id");
error_handler.report("large_monster_UI.update_highlighted_id", "Failed to Access Data: highlighted_id");
return;
end

View File

@@ -44,6 +44,7 @@ local enemy_character_base_type_def = sdk.find_type_definition("snow.enemy.Enemy
local enemy_character_base_update_method = enemy_character_base_type_def:get_method("update");
local is_boss_enemy_method = enemy_character_base_type_def:get_method("get_isBossEnemy");
local on_destroy_method = enemy_character_base_type_def:get_method("onDestroy");
local enemy_damage_check_type_def = sdk.find_type_definition("snow.enemy.EnemyDamageCheck");
local damage_check_update_param_update_method = enemy_damage_check_type_def:get_method("updateParam");
@@ -205,13 +206,13 @@ end
function this.update_health(enemy_damage_check)
local enemy = get_ref_enemy:call(enemy_damage_check);
if enemy == nil then
error_handler.report("monster_hook.update_health", "Failed to access Data: enemy");
error_handler.report("monster_hook.update_health", "Failed to Access Data: enemy");
return;
end
local is_large = is_boss_enemy_method:call(enemy);
if is_large == nil then
error_handler.report("monster_hook.update_health", "Failed to access Data: is_large");
error_handler.report("monster_hook.update_health", "Failed to Access Data: is_large");
return;
end
@@ -234,7 +235,7 @@ function this.update_stamina(stamina_param, stamina_sub)
local enemy = get_enemy_method:call(stamina_param);
if enemy == nil then
error_handler.report("monster_hook.update_stamina", "Failed to access Data: enemy");
error_handler.report("monster_hook.update_stamina", "Failed to Access Data: enemy");
return;
end
@@ -261,6 +262,20 @@ function this.update_rage_timer(anger_param, enemy)
large_monster.update_rage_timer(enemy, monster, anger_param);
end
function this.on_destroy(enemy)
local is_large = is_boss_enemy_method:call(enemy);
if is_large == nil then
error_handler.report("monster_hook.on_destroy", "Failed to Access Data: is_large");
return;
end
if is_large then
large_monster.list[enemy] = nil;
else
small_monster.list[enemy] = nil;
end
end
function this.init_dependencies()
small_monster = require("MHR_Overlay.Monsters.small_monster");
large_monster = require("MHR_Overlay.Monsters.large_monster");
@@ -296,6 +311,12 @@ function this.init_module()
end, function(retval)
return retval;
end);
sdk.hook(on_destroy_method, function(args)
pcall(this.on_destroy, sdk.to_managed_object(args[2]));
end, function(retval)
return retval;
end);
end
return this;

View File

@@ -48,6 +48,39 @@ local package = package;
this.list = {};
local enemy_character_base_type_def = sdk.find_type_definition("snow.enemy.EnemyCharacterBase");
local enemy_type_field = enemy_character_base_type_def:get_field("<EnemyType>k__BackingField");
local message_manager_type_def = sdk.find_type_definition("snow.gui.MessageManager");
local get_enemy_name_message_method = message_manager_type_def:get_method("getEnemyNameMessage");
local get_ref_mesh_method = enemy_character_base_type_def:get_method("get_RefMesh");
local mesh_type_def = get_ref_mesh_method:get_return_type();
local get_game_object_method = mesh_type_def:get_method("get_GameObject");
local game_object_type_def = get_game_object_method:get_return_type();
local get_transform_method = game_object_type_def:get_method("get_Transform");
local transform_type_def = get_transform_method:get_return_type();
local get_joint_by_name_method = transform_type_def:get_method("getJointByName");
local joint_type_def = get_joint_by_name_method:get_return_type();
local get_position_method = joint_type_def:get_method("get_Position");
local get_physical_param_method = enemy_character_base_type_def:get_method("get_PhysicalParam");
local check_die_method = enemy_character_base_type_def:get_method("checkDie");
local physical_param_type = get_physical_param_method:get_return_type();
local get_vital_method = physical_param_type:get_method("getVital");
local vital_param_type = get_vital_method:get_return_type();
local get_current_method = vital_param_type:get_method("get_Current");
local get_max_method = vital_param_type:get_method("get_Max");
local get_pos_method = enemy_character_base_type_def:get_method("get_Pos");
function this.new(enemy)
local monster = {};
monster.is_large = false;
@@ -58,7 +91,10 @@ function this.new(enemy)
monster.missing_health = 0;
monster.capture_health = 0;
monster.head_joint = nil;
monster.position = Vector3f.new(0, 0, 0);
monster.head_position = Vector3f.new(0, 0, 0);
monster.distance = 0;
monster.name = "Small Monster";
@@ -89,16 +125,10 @@ function this.get_monster(enemy)
return monster;
end
local enemy_character_base_type_def = sdk.find_type_definition("snow.enemy.EnemyCharacterBase");
local enemy_type_field = enemy_character_base_type_def:get_field("<EnemyType>k__BackingField");
local message_manager_type_def = sdk.find_type_definition("snow.gui.MessageManager");
local get_enemy_name_message_method = message_manager_type_def:get_method("getEnemyNameMessage");
function this.init(monster, enemy)
local enemy_type = enemy_type_field:get_data(enemy);
if enemy_type == nil then
error_handler.report("small_monster.init", "Failed to access Data: enemy_type");
error_handler.report("small_monster.init", "Failed to Access Data: enemy_type");
return;
end
@@ -106,10 +136,12 @@ function this.init(monster, enemy)
local enemy_name = get_enemy_name_message_method:call(singletons.message_manager, enemy_type);
if enemy_name == nil then
error_handler.report("small_monster.init", "Failed to access Data: enemy_name");
error_handler.report("small_monster.init", "Failed to Access Data: enemy_name");
end
monster.name = enemy_name;
this.update_head_joint(enemy, monster);
end
function this.init_UI(monster)
@@ -153,18 +185,6 @@ function this.init_UI(monster)
);
end
local get_physical_param_method = enemy_character_base_type_def:get_method("get_PhysicalParam");
local check_die_method = enemy_character_base_type_def:get_method("checkDie");
local physical_param_type = get_physical_param_method:get_return_type();
local get_vital_method = physical_param_type:get_method("getVital");
local vital_param_type = get_vital_method:get_return_type();
local get_current_method = vital_param_type:get_method("get_Current");
local get_max_method = vital_param_type:get_method("get_Max");
local get_pos_method = enemy_character_base_type_def:get_method("get_Pos");
function this.update_position(enemy, monster)
local cached_config = config.current_config.small_monster_UI;
@@ -179,10 +199,73 @@ function this.update_position(enemy, monster)
local position = get_pos_method:call(enemy);
if position == nil then
error_handler.report("small_monster.update_position", "Failed to access Data: position");
error_handler.report("small_monster.update_position", "Failed to Access Data: position");
end
monster.position = position;
this.update_head_position(enemy, monster);
end
function this.update_head_joint(enemy, monster)
local mesh = get_ref_mesh_method:call(enemy);
if mesh == nil then
error_handler.report("small_monster.update_head_joint", "Failed to Access Data: Mesh");
return;
end
local game_object = get_game_object_method:call(mesh);
if game_object == nil then
error_handler.report("small_monster.update_head_joint", "Failed to Access Data: GameObject");
return;
end
local transform = get_transform_method:call(game_object);
if transform == nil then
error_handler.report("small_monster.update_head_joint", "Failed to Access Data: Transform");
return;
end
local head_joint = get_joint_by_name_method:call(transform, "Head_00")
or get_joint_by_name_method:call(transform, "Head")
or get_joint_by_name_method:call(transform, "Head_01")
or get_joint_by_name_method:call(transform, "Spine_00")
or get_joint_by_name_method:call(transform, "Cog")
or get_joint_by_name_method:call(transform, "head")
or get_joint_by_name_method:call(transform, "root");
if head_joint == nil then
-- local out = "";
-- local joints = transform:get_Joints();
-- for i = 0, joints:get_Length() - 1 do
-- local joint = joints[i];
-- local joint_name = joint:get_Name();
-- out = out .. joint_name .. "\n";
-- end
-- error_handler.report(monster.name, out);
error_handler.report("small_monster.update_head_joint", "Failed to Access Data: HeadJoint");
return;
end
monster.head_joint = head_joint;
end
function this.update_head_position(enemy, monster)
if monster.head_joint == nil then
return;
end
local head_position = get_position_method:call(monster.head_joint);
if head_position == nil then
error_handler.report("small_monster.update_head_position", "Failed to Access Data: HeadPosition");
return;
end
monster.head_position = head_position;
end
function this.update(enemy, monster)
@@ -194,7 +277,7 @@ function this.update(enemy, monster)
if dead_or_captured ~= nil then
monster.dead_or_captured = dead_or_captured;
else
error_handler.report("small_monster.update", "Failed to access Data: dead_or_captured");
error_handler.report("small_monster.update", "Failed to Access Data: dead_or_captured");
end
pcall(ailments.update_ailments, enemy, monster);
@@ -207,13 +290,13 @@ function this.update_health(enemy, monster)
local physical_param = get_physical_param_method:call(enemy);
if physical_param == nil then
error_handler.report("small_monster.update_health", "Failed to access Data: physical_param");
error_handler.report("small_monster.update_health", "Failed to Access Data: physical_param");
return;
end
local vital_param = get_vital_method:call(physical_param, 0, 0);
if vital_param == nil then
error_handler.report("small_monster.update_health", "Failed to access Data: vital_param");
error_handler.report("small_monster.update_health", "Failed to Access Data: vital_param");
return;
end
@@ -221,7 +304,7 @@ function this.update_health(enemy, monster)
if health ~= nil then
monster.health = health;
else
error_handler.report("small_monster.update_health", "Failed to access Data: health");
error_handler.report("small_monster.update_health", "Failed to Access Data: health");
return;
end
@@ -229,7 +312,7 @@ function this.update_health(enemy, monster)
if max_health ~= nil then
monster.max_health = max_health;
else
error_handler.report("small_monster.update_health", "Failed to access Data: max_health");
error_handler.report("small_monster.update_health", "Failed to Access Data: max_health");
return;
end

View File

@@ -205,7 +205,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
if infinite_buffs_location == "First" then
if left.is_infinite and right.is_infinite then
return left.timer < right.timer;
return left.name < right.name;
elseif left.is_infinite then
return true;
elseif right.is_infinite then
@@ -217,7 +217,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
elseif infinite_buffs_location == "Last" then
if left.is_infinite and right.is_infinite then
return left.timer < right.timer;
return left.name < right.name;
elseif left.is_infinite then
return false;
elseif right.is_infinite then
@@ -236,7 +236,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
if infinite_buffs_location == "First" then
if left.is_infinite and right.is_infinite then
return left.timer > right.timer;
return left.name > right.name;
elseif left.is_infinite then
return false;
elseif right.is_infinite then
@@ -248,7 +248,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
elseif infinite_buffs_location == "Last" then
if left.is_infinite and right.is_infinite then
return left.timer > right.timer;
return left.name > right.name;
elseif left.is_infinite then
return true;
elseif right.is_infinite then
@@ -269,7 +269,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
if infinite_buffs_location == "First" then
if left.is_infinite and right.is_infinite then
return left.duration < right.duration;
return left.name < right.name;
elseif left.is_infinite then
return true;
elseif right.is_infinite then
@@ -281,7 +281,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
elseif infinite_buffs_location == "Last" then
if left.is_infinite and right.is_infinite then
return left.duration < right.duration;
return left.name < right.name;
elseif left.is_infinite then
return false;
elseif right.is_infinite then
@@ -300,7 +300,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
if infinite_buffs_location == "First" then
if left.is_infinite and right.is_infinite then
return left.duration > right.duration;
return left.name > right.name;
elseif left.is_infinite then
return false;
elseif right.is_infinite then
@@ -312,7 +312,7 @@ function this.sort_buffs(_displayed_buffs, cached_config)
elseif infinite_buffs_location == "Last" then
if left.is_infinite and right.is_infinite then
return left.duration > right.duration;
return left.name > right.name;
elseif left.is_infinite then
return true;
elseif right.is_infinite then

View File

@@ -86,7 +86,12 @@ function this.draw()
cached_config.world_offset.z
);
local position_on_screen = draw.world_to_screen(creature.position + world_offset);
local position_on_screen;
if cached_config.settings.head_tracking then
position_on_screen = draw.world_to_screen(creature.head_position + world_offset);
else
position_on_screen = draw.world_to_screen(creature.position + world_offset);
end
if position_on_screen == nil then
goto continue;

View File

@@ -65,7 +65,7 @@ function this.update(dynamic_enabled, static_enabled, highlighted_enabled)
local cached_config = config.current_config.large_monster_UI;
if singletons.enemy_manager == nil then
error_handler.report("large_monster_UI.update", "Failed to access Data: enemy_manager");
error_handler.report("large_monster_UI.update", "Failed to Access Data: enemy_manager");
return;
end
@@ -73,7 +73,7 @@ function this.update(dynamic_enabled, static_enabled, highlighted_enabled)
local enemy_count = get_boss_enemy_count_method:call(singletons.enemy_manager);
if enemy_count == nil then
error_handler.report("large_monster_UI.update", "Failed to access Data: enemy_count");
error_handler.report("large_monster_UI.update", "Failed to Access Data: enemy_count");
return;
end
@@ -81,7 +81,7 @@ function this.update(dynamic_enabled, static_enabled, highlighted_enabled)
for i = 0, enemy_count - 1 do
local enemy = get_boss_enemy_method:call(singletons.enemy_manager, i);
if enemy == nil then
error_handler.report("large_monster_UI.update", "Failed to access Data: enemy No. " .. tostring(i));
error_handler.report("large_monster_UI.update", "Failed to Access Data: enemy No. " .. tostring(i));
goto continue;
end
@@ -337,7 +337,13 @@ function this.draw_dynamic(cached_config)
local i = 0;
for _, monster in ipairs(displayed_dynamic_monsters) do
local world_offset = Vector3f.new(cached_config.world_offset.x, cached_config.world_offset.y, cached_config.world_offset.z);
local position_on_screen = draw.world_to_screen(monster.position + world_offset);
local position_on_screen;
if cached_config.settings.head_tracking then
position_on_screen = draw.world_to_screen(monster.head_position + world_offset);
else
position_on_screen = draw.world_to_screen(monster.position + world_offset);
end
if position_on_screen == nil then
goto continue;

View File

@@ -126,7 +126,8 @@ end
function this.draw()
local cached_config = config.current_config.small_monster_UI;
local is_dynamic_positioning_enabled = cached_config.dynamic_positioning.enabled;
local dynamic_positioning_config = cached_config.dynamic_positioning;
local is_dynamic_positioning_enabled = dynamic_positioning_config.enabled;
local i = 0;
for _, monster in ipairs(displayed_monsters) do
@@ -134,19 +135,23 @@ function this.draw()
if is_dynamic_positioning_enabled then
local world_offset = Vector3f.new(
cached_config.dynamic_positioning.world_offset.x,
cached_config.dynamic_positioning.world_offset.y,
cached_config.dynamic_positioning.world_offset.z
dynamic_positioning_config.world_offset.x,
dynamic_positioning_config.world_offset.y,
dynamic_positioning_config.world_offset.z
);
position_on_screen = draw.world_to_screen(monster.position + world_offset);
if dynamic_positioning_config.head_tracking then
position_on_screen = draw.world_to_screen(monster.head_position + world_offset);
else
position_on_screen = draw.world_to_screen(monster.position + world_offset);
end
if position_on_screen == nil then
goto continue;
end
position_on_screen.x = position_on_screen.x + cached_config.dynamic_positioning.viewport_offset.x;
position_on_screen.y = position_on_screen.y + cached_config.dynamic_positioning.viewport_offset.y;
position_on_screen.x = position_on_screen.x + dynamic_positioning_config.viewport_offset.x;
position_on_screen.y = position_on_screen.y + dynamic_positioning_config.viewport_offset.y;
else
position_on_screen = screen.calculate_absolute_coordinates(cached_config.static_position);
if cached_config.settings.orientation == "Horizontal" then
@@ -157,9 +162,9 @@ function this.draw()
end
local opacity_scale = 1;
if is_dynamic_positioning_enabled and cached_config.dynamic_positioning.opacity_falloff then
if is_dynamic_positioning_enabled and dynamic_positioning_config.opacity_falloff then
monster.distance = (players.myself_position - monster.position):length();
opacity_scale = 1 - (monster.distance / cached_config.dynamic_positioning.max_distance);
opacity_scale = 1 - (monster.distance / dynamic_positioning_config.max_distance);
end
small_monster.draw(monster, cached_config, position_on_screen, opacity_scale);

View File

@@ -1338,6 +1338,11 @@ function this.draw_small_monster_UI()
config_changed = config_changed or changed;
changed, cached_config.dynamic_positioning.head_tracking = imgui.checkbox(
language.current_language.customization_menu.head_tracking, cached_config.dynamic_positioning.head_tracking);
config_changed = config_changed or changed;
changed, cached_config.dynamic_positioning.opacity_falloff =
imgui.checkbox(language.current_language.customization_menu.opacity_falloff,
cached_config.dynamic_positioning.opacity_falloff);
@@ -1479,6 +1484,11 @@ function this.draw_large_monster_dynamic_UI()
config_changed = config_changed or changed;
if imgui.tree_node(language.current_language.customization_menu.settings) then
changed, cached_config.settings.head_tracking = imgui.checkbox(
language.current_language.customization_menu.head_tracking, cached_config.settings.head_tracking);
config_changed = config_changed or changed;
changed, cached_config.settings.hide_dead_or_captured = imgui.checkbox(
language.current_language.customization_menu.hide_dead_or_captured, cached_config.settings.hide_dead_or_captured);
@@ -2300,6 +2310,11 @@ function this.draw_endemic_life_UI()
config_changed = config_changed or changed;
if imgui.tree_node(language.current_language.customization_menu.settings) then
changed, cached_config.settings.head_tracking = imgui.checkbox(
language.current_language.customization_menu.head_tracking, cached_config.settings.head_tracking);
config_changed = config_changed or changed;
changed, cached_config.settings.hide_inactive_creatures = imgui.checkbox(
language.current_language.customization_menu.hide_inactive_creatures, cached_config.settings.hide_inactive_creatures);

View File

@@ -0,0 +1,700 @@
{
"UI": {
"HP": "HP:",
"buildup": "Buildup:",
"gold": "Gold",
"lv": "",
"mini": "Mini",
"otomo": "Buddy",
"part_anomaly_core": "Anomaliekern",
"part_break": "Bruch",
"part_sever": "Schnitt",
"player": "Spieler",
"rage": "Wut:",
"servant": "Anhänger",
"silver": "Silber",
"stamina": "Ausdauer:",
"total_buildup": "Gesamt-Buildup",
"total_damage": "Gesamt-Schaden"
},
"ailments": {
"blast": "Explosion",
"blastblight": "Explosionspest",
"bleeding": "Blutung",
"bloodblight": "Blutpest",
"deadly_poison": "Tödliches Gift",
"defense_down": "Verteidigung -",
"dragonblight": "Drachenpest",
"dung_bomb": "Dungbombe",
"engulfed": "Verschlungen",
"exhaust": "Erschöpft",
"fall_otomo_trap": "Buddy Fallgrube",
"fall_trap": "Fallgrube",
"falling_asleep": "Am Einschlafen",
"fireblight": "Feuerpest",
"flash": "Blenden",
"frenzy": "Raserei",
"frenzy_infection": "Raserei Erlegen",
"frenzy_overcome": "Raserei Besiegt",
"frostblight": "Frostpest",
"hellfireblight": "Höllenfeuerpest",
"iceblight": "Eispest",
"leeched": "Blutegel",
"major_bubbleblight": "Blasenpest (L)",
"minor_bubbleblight": "Blasenpest (S)",
"muck": "Schlamm",
"paralysis": "Lähmung",
"poison": "Gift",
"quick_sand": "Treibsand",
"resistance_down": "Widerstand -",
"ride": "Wyvern-Reiten",
"roar": "Schrei",
"shock_otomo_trap": "Buddy Schockfalle",
"shock_trap": "Schockfalle",
"sleep": "Schlaf",
"steel_fang": "Stahl-Reißzahn",
"stench": "Gestank",
"stun": "Betäuben",
"thunderblight": "Donnerpest",
"tranq_bomb": "Beruhigungsbombe",
"tremor": "Erschütterung",
"waterblight": "Wasserpest",
"webbed": "Eingenetzt"
},
"customization_menu": {
"UI_font": "UI Schrift",
"UI_font_notice": "Schriftartänderungen erfordern einen Skiptneustart!",
"abnormal_statuses": "Status-Anomalien",
"activation_count": "Aktivierungsanzahl",
"affinity_label": "Affinität-Etikett",
"ailment_buildups": "Anomalie-Buildups",
"ailment_name": "Anomalie-Name",
"ailment_name_label": "Anomalie-Name-Etikett",
"ailment_spacing": "Anomalie-Abstand",
"ailments": "Anomalien",
"all_UI": "Ganze UI",
"anchor": "Anker",
"anomaly_cores": "Anomaliekerne",
"anomaly_filter": "Anomaliekern",
"anomaly_health": "Anomaliekern-Zustand",
"anomaly_health_percentage": "Anomaliekern-Zustand in %",
"apply": "Übernehmen",
"assign_new_key": "Neue Taste zuweisen",
"attack_label": "Angriff-Etikett",
"auto_highlight": "Auto-Erfassen",
"background": "Hintergrund",
"bar": "Leiste",
"blast": "Explosion",
"body_parts": "Körperteile",
"bold": "Fett",
"bombs": "Bomben",
"bottom_left": "Unten Links",
"bottom_right": "Unten Rechts",
"bottom_to_top": "Unten nach Oben",
"break_anomaly_filter": "Bruch + Anomaliekern",
"break_count": "Bruchanzahl",
"break_filter": "Bruch",
"break_health": "Bruch-HP",
"break_health_percentage": "Bruch-HP in %",
"break_max_count": "Max Bruchanzahl",
"break_sever_anomaly_filter": "Bruch + Schnitt + Anomaliekern",
"break_sever_filter": "Bruch + Schnitt",
"buff_UI": "Buff UI",
"buildup": "Buildup",
"buildup_bar": "Buildup-Leiste",
"buildup_bars_are_relative_to": "Buildup-Leisten relativ zu",
"buildup_percentage": "Buildup in %",
"buildup_percentage_label": "Buildup in %-Etikett",
"buildup_value_label": "Buildup-Wert-Etikett",
"capture_line": "Fanggrenze",
"cart_count": "Karrenanzahl",
"cart_count_label": "Karrenanzahl-Etikett",
"center": "Mitte",
"closest": "Nächster",
"color": "Farbe",
"colors": "Farben",
"config": "Voreinstellungen",
"creature_name_label": "Kreaturenname-Etikett",
"crown": "Krone",
"crown_thresholds": "Krone Grenzwerte",
"current_state": "Aktueller Zustand",
"current_time": "Aktuelle Zeit",
"current_value": "Aktueller Wert",
"cutscene": "Zwischensequenz",
"damage": "Schaden",
"damage_bar": "Schadensleiste",
"damage_bars_are_relative_to": "Schadensleiste relativ zu",
"damage_meter_UI": "Schadens-UI",
"damage_percentage_label": "Schaden in %-Etikett",
"damage_value_label": "Schadenswert-Etikett",
"dango_skills": "Dango-Fähigkeiten",
"debug": "Debug",
"default_state": "Voreinstellung",
"defense_label": "Verteidigung-Etikett",
"delete": "Löschen",
"distance": "Entfernung",
"dps": "DPS",
"dps_label": "DPS-Etikett",
"dps_mode": "DPS Modus",
"dragon_resistance_label": "Drachenwiderstand-Etikett",
"duplicate": "Klonen",
"duration": "Dauer",
"dynamic_positioning": "Dynamische Platzierung",
"dynamically_positioned": "Dynamisch Platziert",
"effect_level": "Effekt-Stufe",
"element_2_label": "Element 2-Etikett",
"element_label": "Element-Etikett",
"enable_for": "Aktiviere für",
"enabled": "Aktiviert",
"endemic_life": "Einheimische Wesen",
"endemic_life_UI": "Einheimische Wesen UI",
"endemic_life_buffs": "Einheimische Wesen Buffs",
"everything_seems_to_be_ok": "Alles scheint gut zu sein!",
"family": "Familie",
"farthest": "Weitester",
"fight_time": "Kampfdauer",
"fill_direction": "Füllrichtung",
"filter": "Filter",
"filter_mode": "Filter-Modus",
"fire_resistance_label": "Feuerwiderstand-Etikett",
"first": "Zuerst",
"first_hit": "Erster Treffer",
"flinch_count": "Stolper-Anzahl",
"foreground": "Vordergrund",
"freeze_dps_on_quest_end": "DPS bei Questabschluss einfrieren",
"global_position_modifier": "Allgemeiner Positions-Modifikator",
"global_scale_modifier": "Allgemeiner Größen-Modifikator",
"global_settings": "Allgemeine Einstellungen",
"head_tracking": "Auf Kopf fixieren",
"health": "HP",
"health_anomaly_filter": "HP + Anomaliekern",
"health_break_anomaly_filter": "HP + Bruch + Anomaliekern",
"health_break_filter": "HP + Bruch",
"health_break_sever_anomaly_filter": "HP + Bruch + Schnitt + Anomaliekern",
"health_break_sever_filter": "HP + Bruch + Schnitt",
"health_filter": "HP",
"health_label": "HP-Etikett",
"health_percentage": "HP in %",
"health_sever_anomaly_filter": "HP + Schnitt + Anomaliekern",
"health_sever_filter": "HP + Schnitt",
"height": "Höhe",
"hide_ailments_with_zero_buildup": "Anomalien mit 0 Buildup verbergen",
"hide_all_active_ailments": "Alle Aktiven Anomalien verbergen",
"hide_all_inactive_ailments": "Alle Inaktiven Anomalien verbergen",
"hide_bar_for_infinite_buffs": "Leiste für unbegrenzte Buffs verbergen",
"hide_dead_or_captured": "Tote oder Gefangene verbergen",
"hide_disabled_ailments": "Vom Spiel deaktivierte Anomalien verbergen",
"hide_inactive_ailments_with_no_buildup_support": "Inaktive Anomalien ohne Buildup-Möglichkeit verbergen",
"hide_inactive_creatures": "Inaktive Kreaturen verbergen",
"hide_module_if_total_damage_is_zero": "Modul bei 0 Schaden verbergen",
"hide_myself": "Selbst verbergen",
"hide_other_players": "Andere Spieler verbergen",
"hide_player_if_player_damage_is_zero": "Spieler mit 0 Schaden verbergen",
"hide_servants": "Anhänger verbergen",
"hide_timer_for_infinite_buffs": "Dauer für unbegrenzte Buffs verbergen",
"hide_total_damage": "Gesamtschaden verbergen",
"hide_total_if_total_damage_is_zero": "Bei 0 Gesamtschaden verbergen",
"hide_undamaged_parts": "Unbeschädigte Teile verbergen",
"highest_health": "Höchste HP",
"highest_health_percentage": "Höchste HP in %",
"highlighted": "Erfasst",
"highlighted_bar": "Erfasst-Leiste",
"highlighted_buildup_bar": "Erfasst Buildup-Leiste",
"highlighted_damage_bar": "Erfasst Schadensleiste",
"highlighted_targeted": "Erfasst (anvisiert)",
"history": "Verlauf",
"history_size": "Verlaufsgröße",
"horizontal": "Horizontal",
"hotkeys": "Hotkeys",
"hunter_rank": "Jägerrang",
"hunter_rank_label": "Jägerrang-Etikett",
"ice_resistance_label": "Eiswiderstand-Etikett",
"id": "ID",
"in_lobby": "Im Lager",
"in_training_area": "Im Trainingsbereich",
"include": "Beinhaltet",
"infinite_buffs_location": "Ort für Unbegrenzte Buffs",
"inside": "Innen",
"installations": "Anlagen",
"italic": "Kursiv",
"item_buffs": "Gegenstand-Buffs",
"join_time": "Beirittszeit",
"killcam": "Killcam",
"kunai": "Kunai",
"language": "Sprache",
"large_monster_UI": "Großmonster UI",
"large_monster_dynamic_UI": "Großmonster Dynamische UI",
"large_monster_highlighted_UI": "Großmonster Erfasst UI",
"large_monster_static_UI": "Großmonster Feste UI",
"large_monsters": "Große Monster",
"last": "Zuletzt",
"left_to_right": "Links nach Rechts",
"level": "Stufe",
"level_label": "Stufe-Etikett",
"loading_quest": "Lade Quest",
"loss_health": "Schnitt-HP",
"loss_health_percentage": "Schnitt-HP in %",
"lowest_health": "Niedrigste HP",
"lowest_health_percentage": "Niedrigste HP in %",
"master_rank": "Meisterrang",
"max_distance": "Max Entfernung",
"max_monster_updates_per_tick": "Max Monster-Updates pro Tick",
"max_value": "Max Wert",
"me": "Ich",
"melody_effects": "Melodie-Effekte",
"menu_font": "Menü-Schriftart",
"menu_font_change_disclaimer": "Mehrmals Sprache und Menüschriftart ändern führt zu einem Absturz!",
"misc_buffs": "Diverse Buffs",
"mod_name": "MHR Overlay",
"mode": "Modus",
"modifiers": "Modifikatoren",
"module_visibility_based_on_game_state": "Sichtbarkeit abhängig vom Spielzustand",
"modules": "Modul",
"monster_can_be_captured": "Monster ist fangbar",
"monster_id": "Monster-ID",
"monster_name": "Monster-Name",
"monster_name_label": "Monster-Name-Etikett",
"monsters": "Monster",
"my_damage_bar_location": "Ort für Meine Schadensleiste",
"my_otomos": "Meine Buddies",
"myself": "Selbst",
"name": "Name",
"name_label": "Namens-Label",
"new": "Neu",
"none": "Nichts",
"normal": "Normal",
"offset": "Offset",
"offset_is_relative_to_parts": "Offset ist relativ zu Teile",
"opacity_falloff": "Abfall der Deckkraft",
"orientation": "Orientierung",
"other": "Andere",
"other_player_otomos": "Buddies anderer Spieler",
"other_players": "Andere Spieler",
"otomo_moves": "Buddy Aktionen",
"otomos": "Buddies",
"outline": "Umrandung",
"outside": "Außen",
"part_health": "Teil-HP",
"part_name": "Teil-Name",
"part_name_label": "Teil-Name-Etikett",
"percentage_label": "Prozent-Etikett",
"performance": "Leistung",
"player_name_label": "Spielername-Etikett",
"player_name_size_limit": "Höchstbreite Spielername",
"player_spacing": "Spieler Abstand",
"players": "Spieler",
"playing_quest": "Während Quest",
"poison": "Gift",
"position": "Position",
"press_any_key": "Drücke eine Taste...",
"prioritize_large_monsters": "Große Monster priorisieren",
"quest_end_animation": "Questabschluss-Szene",
"quest_end_screen": "Questabschluss-Schirm",
"quest_end_timer": "Questabschluss-Zähler",
"quest_start_animation": "Questbeginn-Animation",
"quest_time": "Quest-Zeit",
"rage": "Wut",
"rampage_skills": "Randale-Fähigkeiten",
"reframework_outdated": "Die installierte REFramework Version ist veraltet. Bitte aktualisieren. Sonst wird MHR Overlay nicht richtig arbeiten.",
"relative_offset": "Relatives Offset",
"rename": "Umbenennen",
"render_highlighted_monster": "Rendere erfasstes Monster",
"render_inactive_anomaly_cores": "Rendere inaktive Anomaliekerne",
"render_not_highlighted_monsters": "Rendere nicht erfasste Monster",
"renderer": "Renderer",
"reset": "Zurücksetzen",
"reversed_order": "Umgekehrte Reihenfolge",
"reward_screen": "Belohnungsauswahl",
"right_alignment_shift": "Ausrichtungsverschiebung Rechts",
"right_to_left": "Rechts nach Links",
"servant_otomos": "Anhänger-Buddies",
"servants": "Anhänger",
"settings": "Einstellungen",
"sever_anomaly_filter": "Schnitt + Anomaliekern",
"sever_filter": "Schnitt",
"shadow": "Schatten",
"show_my_otomos_separately": "Zeige Meine Buddies getrennt",
"show_other_player_otomos_separately": "Zeige Buddies anderer Spieler getrennt",
"show_servant_otomos_separately": "Zeige Anhänger-Buddies getrennt",
"size": "Größe",
"skills": "Fähigkeiten",
"small_monster_UI": "Kleinmonster UI",
"small_monsters": "Kleine Monster",
"sorting": "Sortierung",
"spacing": "Abstand",
"stamina": "Ausdauer",
"stamina_label": "Ausdauer-Etikett",
"static_orientation": "Feste Orientierung",
"static_position": "Feste Platzierung",
"static_sorting": "Feste Sortierung",
"static_spacing": "Fester Abstand",
"statically_positioned": "Fest Platziert",
"stats_UI": "Status UI",
"status": "Status",
"style": "Stil",
"summary_screen": "Zusammenfassung",
"text_label": "Text-Etikett",
"thickness": "Dicke",
"thunder_resistance_label": "Donnerwiderstand-Etikett",
"time_UI": "Zeit UI",
"time_label": "Zeit-Etikett",
"time_limit": "Zeitlimit (Sekunden)",
"timer": "Dauer",
"timer_delays": "Zeitabstände",
"timer_label": "Dauer-Etikett",
"top_buildup": "Bester Buildup",
"top_damage": "Bester Schaden",
"top_dps": "Bester DPS",
"top_left": "Oben Links",
"top_right": "Oben Rechts",
"top_to_bottom": "Oben nach Unten",
"total": "Gesamt",
"total_buildup": "Gesamt Buildup",
"total_buildup_label": "Gesamt Buildup-Etikett",
"total_buildup_value_label": "Gesamt Buildup-Wert-Etikett",
"total_cart_count_label": "Gesamtanzahl Karren-Etikett",
"total_damage": "Gesamtschaden",
"total_damage_label": "Gesamtschaden-Etikett",
"total_damage_location": "Ort für Gesamtschadensleiste",
"total_damage_offset_is_relative": "Gesamtschaden Offset ist relativ",
"total_damage_value_label": "Gesamtschadenswert-Etikett",
"total_dps": "Gesamte DPS",
"total_dps_label": "Gesamte DPS-Etikett",
"tracked_damage_types": "Verfolgte Schadensarten",
"tracked_monster_types": "Verfolgte Monsterarten",
"type": "Typ",
"update_buffs_delay": "Buffs abfragen (in Sek.)",
"update_is_online_delay": "Onlinecheck abfragen (in Sek.)",
"update_myself_position_delay": "Eigene Position abfragen (in Sek.)",
"update_player_info_delay": "Spielerinfo abfragen (in Sek.)",
"update_players_delay": "Spieler abfragen (in Sek.)",
"update_quest_time_delay": "Questzeit abfragen (in Sek.)",
"update_singletons_delay": "Singletons abfragen (in Sek.)",
"update_window_size_delay": "Fenstergröße abfragen (in Sek.)",
"use_d2d_if_available": "Direct2D nutzen wenn vorhanden",
"value": "Wert",
"value_label": "Wert-Etikett",
"vertical": "Vertikal",
"viewport_offset": "Viewport Offset",
"visible": "Sichtbar",
"water_resistance_label": "Wasserwiderstand-Etikett",
"weapon_skills": "Waffen-Fähigkeiten",
"width": "Breite",
"world_offset": "Welt Offset",
"wyvern_riding": "Wyvern-Reiten",
"x": "X",
"y": "Y",
"z": "Z"
},
"dango_skills": {
"dango_adrenaline": "Dango-Adrenalin",
"dango_booster": "Dango-Verstärker",
"dango_bulker": "Dango-Kraftprotz",
"dango_connector": "Dango-Verbinder",
"dango_defender": "Dango-Verteidiger",
"dango_flyer": "Dango-Jongleur",
"dango_glutton": "Dango-Nimmersatt",
"dango_hunter": "Dango-Jäger",
"dango_insurance": "Dango-Sicherer",
"dango_insurance_defense_up": "Dango-Sicherer Verteidigung +",
"super_recovery_dango": "Super-Erholungs-Dango"
},
"endemic_life": {
"butterflame": "Flämmling",
"clothfly": "Tuchfalter",
"cutterfly": "Schnibelle",
"gold_wirebug": "Goldseilkäfer",
"peepersects": "Späherlinge",
"red_lampsquid": "Rotlichtkalmar",
"ruby_wirebug": "Rubinseilkäfer",
"stinkmink": "Miefnerz",
"yellow_lampsquid": "Gelblichtkalmar"
},
"font_name": "NotoSans-Bold.otf",
"item_buffs": {
"adamant_seed": "Diamantsamen",
"armor_ammo": "Rüstung (Munition)",
"armorskin": "Panzerhaut",
"dash_juice": "Sprintsaft",
"demon_ammo": "Dämon (Munition)",
"demon_powder": "Dämonenpulver",
"demondrug": "Dämonenmittel",
"gourmet_fish": "Gourmet-Fisch",
"hardshell_powder": "Harthülsenpulver",
"immunizer": "Immunisierer",
"mega_armorskin": "Mega-Panzerhaut",
"mega_demondrug": "Mega-Dämonenmittel",
"might_seed": "Machtsamen"
},
"melody_effects": {
"affinity_up": "Affinität +",
"attack_and_affinity_up": "Angriff & Affinität +",
"attack_and_defense_up": "Angriff & Verteidigung +",
"attack_up": "Angriff +",
"blight_negated": "Pest negiert",
"defense_up": "Verteidigung +",
"divine_protection": "Göttlicher Schutz",
"earplugs_l": "Ohrstöpsel II",
"earplugs_s": "Ohrstöpsel I",
"elemental_attack_boost": "Elementangriff-Boost",
"environment_damage_negated": "Umgebungsschaden negiert",
"health_recovery_l": "Gesundheitserholung (L)",
"health_recovery_s": "Gesundheitserholung (S)",
"health_recovery_s_antidote": "Gesundheitserholung (S) + Gegengift",
"health_regeneration": "Gesundheitsregeneration",
"infernal_melody": "Höllenmelodie",
"knockbacks_negated": "Rückschläge negiert",
"self_improvement": "Selbstverbesserung",
"sharpness_extension": "Schärfeverlängerung",
"sharpness_loss_reduced": "Schärfeverlust reduziert",
"sharpness_regeneration": "Schärferegeneration",
"sonic_barrier": "Schallbarriere",
"sonic_wave": "Schallwelle",
"stamina_recovery_up": "Ausdauer-Erholung +",
"stamina_use_reduced": "Ausdauernutzung -",
"stun_negated": "Betäuben negiert",
"tremors_negated": "Erschütterungen negiert",
"wind_pressure_negated": "Winddruck negiert"
},
"misc_buffs": {
"attack_up": "Angriff +",
"defense_up": "Verteidigung +",
"immunity": "Immunität",
"natural_healing_up": "Natürliche Heilung +",
"stamina_use_down": "Ausdauernutzung -"
},
"otomo_moves": {
"go_fight_win": "Jubeltanz",
"power_drum": "Krafttrommel",
"rousing_roar": "Stärkungsbrüllen",
"vase_of_vitality": "Vase der Vitalität"
},
"parts": {
"abdomen": "Abdomen",
"amatsu_unknown": "?",
"antenna": "Fühler",
"arms": "Arme",
"arms_mud": "Arme (Schlamm)",
"back": "Rücken",
"back_windsac": "Rücken (Windsack)",
"body": "Körper",
"body_mud": "Körper (Schlamm)",
"carapace": "Platte",
"chest": "Brust",
"chest_windsac": "Brust (Windsack)",
"claw": "Klaue",
"crest": "Kamm",
"dorsal_fin": "Rückenflosse",
"foreleg": "Vorderbein",
"forelegs": "Vorderbeine",
"head": "Kopf",
"head_mud": "Kopf (Schlamm)",
"hind_leg": "Hinterbein",
"hind_legs": "Hinterbeine",
"large_mudbulb": "Große Schlammknolle",
"left_arm": "Arm L",
"left_arm_ice": "Arm L (Eis)",
"left_claw": "Klaue L",
"left_cutwing": "Schnittflügel L",
"left_foreleg": "Vorderbein L",
"left_hind_leg": "Hinterbein L",
"left_leg": "Bein L",
"left_leg_mud": "Bein L (Schlamm)",
"left_legs": "Beine L",
"left_wing": "Flügel L",
"left_wingclaw": "Flügelklaue L",
"legs": "Beine",
"lower_back": "Unterer Rücken",
"lower_body": "Unterkörper",
"mane": "Mähne",
"mudbulb": "Schlammknolle",
"neck": "Hals",
"rear": "Hintern",
"right_arm": "Arm R",
"right_arm_ice": "Arm R (Eis)",
"right_claw": "Klaue R",
"right_cutwing": "Schnittflügel R",
"right_foreleg": "Vorderbein R",
"right_hind_leg": "Hinterbein R",
"right_leg": "Bein R",
"right_leg_mud": "Bein R (Schlamm)",
"right_legs": "Beine R",
"right_wing": "Flügel R",
"right_wingclaw": "Flügelklaue R",
"rock": "Fels",
"shell": "Panzer",
"spinning": "Spinning",
"tail": "Schwanz",
"tail_mud": "Schwanz (Schlamm)",
"tail_tip": "Schwanzspitze",
"tail_windsac": "Schwanz (Windsack)",
"thundersacs": "Funkensack",
"torso": "Torso",
"torso_mud": "Torso (Schlamm)",
"unknown": "?",
"upper_back": "Oberer Rücken",
"upper_body": "Oberkörper",
"wingclaw": "Flügelklaue",
"wingclaws": "Flügelklauen",
"wings": "Flügel"
},
"rampage_skills": {
"chameleos_soul": "Chameleos-Seele",
"kushala_daora_soul": "Kushala-Daora-Seele"
},
"skills": {
"adrenaline_rush": "Adrenalinschub",
"affinity_sliding": "Affinitätsschlittern",
"agitator": "Aufhetzer",
"berserk": "Berserker",
"bladescale_hone": "KlingenschVerbess",
"blood_awakening": "Bluterwachen",
"bloodlust": "Blutdurst",
"burst": "Salve",
"coalescence": "Verschmelzung",
"counterstrike": "Gegenschlag",
"dereliction": "Verwahrlosung",
"dragon_conversion_elemental_attack_up": "Drachenumwandlung: Elem. Ang +",
"dragon_conversion_elemental_res_up": "Drachenumwandlung: Elem. Wdr +",
"dragonheart": "Drachenherz",
"embolden": "Ermutigen",
"frenzied_bloodlust": "Raserei-Blutdurst",
"furious": "Zorniger",
"grinder_s": "Schleifer (S)",
"heaven_sent": "Wie gerufen",
"hellfire_cloak": "Höllenfeuer-Umhang",
"heroics": "Heldentat",
"inspiration": "Inspiration",
"intrepid_heart": "Furchtloses Herz",
"latent_power": "Latente Kraft",
"maximum_might": "Höchstmacht",
"offensive_guard": "Offensive Abwehr",
"partbreaker": "Teilezerstörer",
"peak_performance": "Höchstleistung",
"powder_mantle_blue": "Pulver-Mantel (Blau)",
"powder_mantle_red": "Pulver-Mantel (Rot)",
"protective_polish": "Schutzpolitur",
"resentment": "Groll",
"resuscitate": "Wiederbelebung",
"spiribirds_call": "Irrlitzruf",
"status_trigger": "Statusauslöser",
"strife": "Kampf",
"wall_runner": "Wandläufer",
"wind_mantle": "Wind-Mantel"
},
"stats": {
"affinity": "Affinität",
"attack": "Angriff",
"defense": "Verteidigung",
"dragon": "Drache",
"dragon_resistance": "Drachenwdrstd",
"fire": "Feuer",
"fire_resistance": "Feuerwdrstd",
"ice": "Eis",
"ice_resistance": "EIswdrstd",
"stamina": "Ausdauer",
"thunder": "Donner",
"thunder_resistance": "Donnerwdrstd",
"water": "Wasser",
"water_resistance": "Wasserwdrstd"
},
"unicode_glyph_ranges": [
32,
255,
256,
591,
1024,
1327,
7680,
7935,
8192,
8303,
65280,
65519,
0
],
"weapon_skills": {
"bow": {
"arc_shot_affinity": "Bogenschuss: Affinität",
"arc_shot_brace": "Bogenschuss: Festhalten",
"bolt_boost": "Bolzen-Booster",
"herculean_draw": "Herkulisches Ziehen"
},
"charge_blade": {
"element_boost": "Elementbonus",
"sword_boost_mode": "Schwertmodus Verstärkt"
},
"dual_blades": {
"archdemon_mode": "Erzdämonenmodus",
"ironshine_silk": "Eisenschimmer-Seide"
},
"great_sword": {
"power_sheathe": "Kraft-Wegstecken"
},
"gunlance": {
"erupting_cannon": "Eruptionskanone",
"ground_splitter": "Bodenteiler"
},
"hammer": {
"impact_burst": "Einschlagsexplosion"
},
"heavy_bowgun": {
"counter_charger": "Konter-Aufladen",
"overheat": "Überhitzt",
"rising_moon": "Aufgehender Mond",
"setting_sun": "Untergehende Sonne",
"wyvernsnipe_reload": "Wyvernauge-Nachladen"
},
"hunting_horn": {
"bead_of_resonance": "Perle der Resonanz",
"silkbind_shockwave": "Seidenbinder-Schockwelle",
"sonic_bloom": "Schallblüte"
},
"insect_glaive": {
"all_extracts_mix": "Alle Extrakte",
"orange_extract": "Orangenes Extrakt",
"red_extract": "Rotes Extrakt",
"white_extract": "Weißes Extrakt"
},
"lance": {
"anchor_rage": "Ankerwut",
"spiral_thrust": "Spiralstoß",
"twin_wine": "Zwillingsranke"
},
"light_bowgun": {
"fanning_maneuver": "Fächermanöver",
"wyvernblast_reload": "Wyvernexplosion-Nachladen"
},
"long_sword": {
"harvest_moon": "Erntemond",
"iai_slash": "Iai-Hieb",
"soaring_kick": "Himmelhoher Tritt",
"spirit_gauge": "Elanbalken",
"spirit_gauge_autofill": "Elanbalken-Autoladung"
},
"switch_axe": {
"amped_state": "Verstärkter Zustand",
"axe_heavy_slam": "Axt: Schwerer Niederschlag",
"switch_charger": "Morph-Lader"
},
"sword_and_shield": {
"destroyer_oil": "Zerstöreröl"
}
},
"weapons": {
"bow": "Bogen",
"charge_blade": "Energieklinge",
"dual_blades": "Doppelklingen",
"great_sword": "Großschwert",
"gunlance": "Gewehrlanze",
"hammer": "Hammer",
"heavy_bowgun": "Schw. Bogengewehr",
"hunting_horn": "Jagdhorn",
"insect_glaive": "Insektenglefe ",
"lance": "Lanze",
"light_bowgun": "Lcht. Bogengewehr",
"long_sword": "Langschwert",
"switch_axe": "Morph-Axt",
"sword_and_shield": "Schwert & Schild"
}
}

View File

@@ -165,6 +165,7 @@
"global_position_modifier": "Global Position Modifier",
"global_scale_modifier": "Global Scale Modifier",
"global_settings": "Global Settings",
"head_tracking": "Head Tracking",
"health": "Health",
"health_anomaly_filter": "Health + Anomaly Core",
"health_break_anomaly_filter": "Health + Break + Anomaly Core",

View File

@@ -0,0 +1,700 @@
{
"UI": {
"HP": "PS:",
"buildup": "Incremento:",
"gold": "Dorado",
"lv": "",
"mini": "Mini",
"otomo": "Camarada",
"part_anomaly_core": "Núcleo de anomalías",
"part_break": "Ruptura",
"part_sever": "Corte",
"player": "Jugador",
"rage": "Rabia:",
"servant": "Seguidor",
"silver": "Plateado",
"stamina": "Resistencia:",
"total_buildup": "Incremento total",
"total_damage": "Daño total"
},
"ailments": {
"blast": "Explosión",
"blastblight": "Rocío explosivo",
"bleeding": "Sangrado",
"bloodblight": "Plaga sangrienta",
"deadly_poison": "Veneno mortal",
"defense_down": "Defensa baja",
"dragonblight": "Calamidad de dragón",
"dung_bomb": "Bomba de estiércol",
"engulfed": "Engullido",
"exhaust": "Desgaste",
"fall_otomo_trap": "Trampa de caída de camarada",
"fall_trap": "Trampa de caída",
"falling_asleep": "Quedarse dormido",
"fireblight": "Fuego bárbaro",
"flash": "Destello",
"frenzy": "Frenesí",
"frenzy_infection": "Infección frenética",
"frenzy_overcome": "Frenesí superado",
"frostblight": "Helada",
"hellfireblight": "Fuego infernal",
"iceblight": "Helada glacial",
"leeched": "Drenado",
"major_bubbleblight": "Gran plaga de burbujas",
"minor_bubbleblight": "Menor plaga de burbujas",
"muck": "Lodo",
"paralysis": "Parálisis",
"poison": "Veneno",
"quick_sand": "Arenas movedizas",
"resistance_down": "Resistencia baja",
"ride": "Montar Wyvern",
"roar": "Rugido",
"shock_otomo_trap": "Trampa de descarga de camarada",
"shock_trap": "Trampa de descarga",
"sleep": "Sueño",
"steel_fang": "Colmillo de acero",
"stench": "Hedor",
"stun": "Aturdimiento",
"thunderblight": "Trueno relámpago",
"tranq_bomb": "Bomba tranquilizante",
"tremor": "Temblor",
"waterblight": "Podredumbre por agua",
"webbed": "Atrapado en telaraña"
},
"customization_menu": {
"UI_font": "UI Font",
"UI_font_notice": "Any changes to the font require script reload!",
"abnormal_statuses": "Abnormal Statuses",
"activation_count": "Activation Count",
"affinity_label": "Affinity Label",
"ailment_buildups": "Ailment Buildups",
"ailment_name": "Ailment Name",
"ailment_name_label": "Ailment Name Label",
"ailment_spacing": "Ailment Spacing",
"ailments": "Ailments",
"all_UI": "All UI",
"anchor": "Anchor",
"anomaly_cores": "Anomaly Cores",
"anomaly_filter": "Anomaly Core",
"anomaly_health": "Anomaly Core Health",
"anomaly_health_percentage": "Anomaly Core Health Percentage",
"apply": "Apply",
"assign_new_key": "Assign new key",
"attack_label": "Attack Label",
"auto_highlight": "Auto-highlight",
"background": "Background",
"bar": "Bar",
"blast": "Blast",
"body_parts": "Body Parts",
"bold": "Bold",
"bombs": "Bombs",
"bottom_left": "Bottom-Left",
"bottom_right": "Bottom-Right",
"bottom_to_top": "Bottom to Top",
"break_anomaly_filter": "Break + Anomaly Core",
"break_count": "Break Count",
"break_filter": "Break",
"break_health": "Break Health",
"break_health_percentage": "Break Health Percentage",
"break_max_count": "Break Max Count",
"break_sever_anomaly_filter": "Break + Sever + Anomaly Core",
"break_sever_filter": "Break + Sever",
"buff_UI": "Buff UI",
"buildup": "Buildup",
"buildup_bar": "Buildup Bar",
"buildup_bars_are_relative_to": "Buildup Bars are relative to",
"buildup_percentage": "Buildup Percentage",
"buildup_percentage_label": "Buildup Percentage Label",
"buildup_value_label": "Buildup Value Label",
"capture_line": "Capture Line",
"cart_count": "Cart Count",
"cart_count_label": "Cart Count Label",
"center": "Center",
"closest": "Closest",
"color": "Color",
"colors": "Colors",
"config": "Config",
"creature_name_label": "Creature Name Label",
"crown": "Crown",
"crown_thresholds": "Crown Thresholds",
"current_state": "Current State",
"current_time": "Current Time",
"current_value": "Current Value",
"cutscene": "Cutscene",
"damage": "Damage",
"damage_bar": "Damage Bar",
"damage_bars_are_relative_to": "Damage Bars are relative to",
"damage_meter_UI": "Damage Meter UI",
"damage_percentage_label": "Damage Percentage Label",
"damage_value_label": "Damage Value Label",
"dango_skills": "Dango Skills",
"debug": "Debug",
"default_state": "Default State",
"defense_label": "Defense Label",
"delete": "Delete",
"distance": "Distance",
"dps": "DPS",
"dps_label": "DPS Label",
"dps_mode": "DPS Mode",
"dragon_resistance_label": "Dragon Resistance Label",
"duplicate": "Duplicate",
"duration": "Duration",
"dynamic_positioning": "Dynamic Positioning",
"dynamically_positioned": "Dynamically Positioned",
"effect_level": "Effect Level",
"element_2_label": "Element 2 Label",
"element_label": "Element Label",
"enable_for": "Enable for",
"enabled": "Enabled",
"endemic_life": "Endemic Life",
"endemic_life_UI": "Endemic Life UI",
"endemic_life_buffs": "Endemic Life Buffs",
"everything_seems_to_be_ok": "Everything seems to be OK!",
"family": "Family",
"farthest": "Farthest",
"fight_time": "Fight Time",
"fill_direction": "Fill Direction",
"filter": "Filter",
"filter_mode": "Filter Mode",
"fire_resistance_label": "Fire Resistance Label",
"first": "First",
"first_hit": "First Hit",
"flinch_count": "Flinch Count",
"foreground": "Foreground",
"freeze_dps_on_quest_end": "Freeze DPS on Quest End",
"global_position_modifier": "Global Position Modifier",
"global_scale_modifier": "Global Scale Modifier",
"global_settings": "Global Settings",
"head_tracking": "Head Tracking",
"health": "Health",
"health_anomaly_filter": "Health + Anomaly Core",
"health_break_anomaly_filter": "Health + Break + Anomaly Core",
"health_break_filter": "Health + Break",
"health_break_sever_anomaly_filter": "Health + Break + Sever + Anomaly Core",
"health_break_sever_filter": "Health + Break + Sever",
"health_filter": "Health",
"health_label": "Health Label",
"health_percentage": "Health Percentage",
"health_sever_anomaly_filter": "Health + Sever + Anomaly Core",
"health_sever_filter": "Health + Sever",
"height": "Height",
"hide_ailments_with_zero_buildup": "Hide Ailments when Buildup is 0",
"hide_all_active_ailments": "Hide All Active Ailments",
"hide_all_inactive_ailments": "Hide All Inactive Ailments",
"hide_bar_for_infinite_buffs": "Hide Bar for infinite Buffs",
"hide_dead_or_captured": "Hide Dead or Captured",
"hide_disabled_ailments": "Hide Disabled Ailments by Game",
"hide_inactive_ailments_with_no_buildup_support": "Hide Inactive Ailments with no Buildup Support",
"hide_inactive_creatures": "Hide Inactive Creatures",
"hide_module_if_total_damage_is_zero": "Hide Module if Total Damage is 0",
"hide_myself": "Hide Myself",
"hide_other_players": "Hide Other Players",
"hide_player_if_player_damage_is_zero": "Hide Player if Player Damage is 0",
"hide_servants": "Hide Followers",
"hide_timer_for_infinite_buffs": "Hide Timer for infinite Buffs",
"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",
"highlighted_bar": "Highlighted Bar",
"highlighted_buildup_bar": "Highlighted Buildup Bar",
"highlighted_damage_bar": "Highlighted Damage Bar",
"highlighted_targeted": "Highlighted (targeted)",
"history": "History",
"history_size": "History Size",
"horizontal": "Horizontal",
"hotkeys": "Hotkeys",
"hunter_rank": "Hunter Rank",
"hunter_rank_label": "Hunter Rank Label",
"ice_resistance_label": "Ice Resistance Label",
"id": "ID",
"in_lobby": "In Lobby",
"in_training_area": "In Training Area",
"include": "Include",
"infinite_buffs_location": "Infinite Buffs Location",
"inside": "Inside",
"installations": "Installations",
"italic": "Italic",
"item_buffs": "Item Buffs",
"join_time": "Join Time",
"killcam": "Killcam",
"kunai": "Kunai",
"language": "Language",
"large_monster_UI": "Large Monster UI",
"large_monster_dynamic_UI": "Large Monster Dynamic UI",
"large_monster_highlighted_UI": "Large Monster Highlighted UI",
"large_monster_static_UI": "Large Monster Static UI",
"large_monsters": "Large Monsters",
"last": "Last",
"left_to_right": "Left to Right",
"level": "Level",
"level_label": "Level Label",
"loading_quest": "Loading Quest",
"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",
"max_value": "Max Value",
"me": "Me",
"melody_effects": "Melody Effects",
"menu_font": "Menu Font",
"menu_font_change_disclaimer": "Changing Language and Menu Font Size several times will cause a crash!",
"misc_buffs": "Misc Buffs",
"mod_name": "MHR Overlay",
"mode": "Mode",
"modifiers": "Modifiers",
"module_visibility_based_on_game_state": "Module Visibility based on Game State",
"modules": "Modules",
"monster_can_be_captured": "Monster can be captured",
"monster_id": "Monster ID",
"monster_name": "Monster Name",
"monster_name_label": "Monster Name Label",
"monsters": "Monsters",
"my_damage_bar_location": "My Damage Bar Location",
"my_otomos": "My Buddies",
"myself": "Myself",
"name": "Name",
"name_label": "Name Label",
"new": "New",
"none": "None",
"normal": "Normal",
"offset": "Offset",
"offset_is_relative_to_parts": "Offset is Relative to Parts",
"opacity_falloff": "Opacity Falloff",
"orientation": "Orientation",
"other": "Other",
"other_player_otomos": "Other Player Buddies",
"other_players": "Other Players",
"otomo_moves": "Buddy Moves",
"otomos": "Buddies",
"outline": "Outline",
"outside": "Outside",
"part_health": "Part Health",
"part_name": "Part Name",
"part_name_label": "Part Name Label",
"percentage_label": "Percentage Label",
"performance": "Performance",
"player_name_label": "Player Name Label",
"player_name_size_limit": "Player Name Size Limit",
"player_spacing": "Player Spacing",
"players": "Players",
"playing_quest": "Playing Quest",
"poison": "Poison",
"position": "Position",
"press_any_key": "Press any key...",
"prioritize_large_monsters": "Large Monsters on High Priority",
"quest_end_animation": "Quest End Animation",
"quest_end_screen": "Quest End Screen",
"quest_end_timer": "Quest End Timer",
"quest_start_animation": "Quest Start Animation",
"quest_time": "Quest Time",
"rage": "Rage",
"rampage_skills": "Rampage Skills",
"reframework_outdated": "Installed REFramework version is outdated. Please, update. Otherwise, MHR Overlay won't work correctly.",
"relative_offset": "Relative Offset",
"rename": "Rename",
"render_highlighted_monster": "Render Highlighted Monster",
"render_inactive_anomaly_cores": "Render Inactive Anomaly Cores",
"render_not_highlighted_monsters": "Render Not Highlighted Monsters",
"renderer": "Renderer",
"reset": "Reset",
"reversed_order": "Reversed Order",
"reward_screen": "Reward Screen",
"right_alignment_shift": "Right Alignment Shift",
"right_to_left": "Right to Left",
"servant_otomos": "Servant Buddies",
"servants": "Followers",
"settings": "Settings",
"sever_anomaly_filter": "Sever + Anomaly Core",
"sever_filter": "Sever",
"shadow": "Shadow",
"show_my_otomos_separately": "Show My Buddies separately",
"show_other_player_otomos_separately": "Show Other Player Buddies separately",
"show_servant_otomos_separately": "Show Follower Buddies separately",
"size": "Size",
"skills": "Skills",
"small_monster_UI": "Small Monster UI",
"small_monsters": "Small Monsters",
"sorting": "Sorting",
"spacing": "Spacing",
"stamina": "Stamina",
"stamina_label": "Stamina Label",
"static_orientation": "Static Orientation",
"static_position": "Static Position",
"static_sorting": "Static Sorting",
"static_spacing": "Static Spacing",
"statically_positioned": "Statically Positioned",
"stats_UI": "Stats UI",
"status": "Status",
"style": "Style",
"summary_screen": "Summary Screen",
"text_label": "Text Label",
"thickness": "Thickness",
"thunder_resistance_label": "Thunder Resistance Label",
"time_UI": "Time UI",
"time_label": "Time Label",
"time_limit": "Time Limit (seconds)",
"timer": "Timer",
"timer_delays": "Timer Delays",
"timer_label": "Timer Label",
"top_buildup": "Top Buildup",
"top_damage": "Top Damage",
"top_dps": "Top DPS",
"top_left": "Top-Left",
"top_right": "Top-Right",
"top_to_bottom": "Top to Bottom",
"total": "Total",
"total_buildup": "Total Buildup",
"total_buildup_label": "Total Buildup Label",
"total_buildup_value_label": "Total Buildup Value Label",
"total_cart_count_label": "Total Cart Count Label",
"total_damage": "Total Damage",
"total_damage_label": "Total Damage Label",
"total_damage_location": "Total Damage Bar Location",
"total_damage_offset_is_relative": "Total Damage Offset is Relative",
"total_damage_value_label": "Total Damage Value Label",
"total_dps": "Total DPS",
"total_dps_label": "Total DPS Label",
"tracked_damage_types": "Tracked Damage Types",
"tracked_monster_types": "Tracked Monster Types",
"type": "Type",
"update_buffs_delay": "Update Buffs (seconds)",
"update_is_online_delay": "Update Is Online (seconds)",
"update_myself_position_delay": "Update Myself Position (seconds)",
"update_player_info_delay": "Update Player Info (seconds)",
"update_players_delay": "Update Players (seconds)",
"update_quest_time_delay": "Update Quest Time (seconds)",
"update_singletons_delay": "Update Singletons (seconds)",
"update_window_size_delay": "Update Window Size (seconds)",
"use_d2d_if_available": "Use Direct2D if available",
"value": "Value",
"value_label": "Value Label",
"vertical": "Vertical",
"viewport_offset": "Viewport Offset",
"visible": "Visible",
"water_resistance_label": "Water Resistance Label",
"weapon_skills": "Weapon Skills",
"width": "Width",
"world_offset": "World Offset",
"wyvern_riding": "Wyvern Riding",
"x": "X",
"y": "Y",
"z": "Z"
},
"dango_skills": {
"dango_adrenaline": "Dango adrenalina",
"dango_booster": "Dango potenciador",
"dango_bulker": "Dango reforzador",
"dango_connector": "Dango conector",
"dango_defender": "Dango defensor",
"dango_flyer": "Dango volador",
"dango_glutton": "Dango glotón",
"dango_hunter": "Dango cazador",
"dango_insurance": "Dango seguro",
"dango_insurance_defense_up": "Dango aumento de defensa",
"super_recovery_dango": "Dango de súper recuperación"
},
"endemic_life": {
"butterflame": "Butterflame",
"clothfly": "Clothfly",
"cutterfly": "Cutterfly",
"gold_wirebug": "Cordóptero dorado",
"peepersects": "Peepersects",
"red_lampsquid": "Lamprea roja",
"ruby_wirebug": "Cordóptero rubí",
"stinkmink": "Mink apestoso",
"yellow_lampsquid": "Lamprea amarilla"
},
"font_name": "NotoSans-Bold.otf",
"item_buffs": {
"adamant_seed": "Semilla adamantina",
"armor_ammo": "Munición de armadura",
"armorskin": "Piel de armadura",
"dash_juice": "Jugo de energía",
"demon_ammo": "Munición demoníaca",
"demon_powder": "Polvo demoníaco",
"demondrug": "Droga demoníaca",
"gourmet_fish": "Pez gourmet",
"hardshell_powder": "Carcasa rígida en polvo",
"immunizer": "Inmunizador",
"mega_armorskin": "Mega piel de armadura",
"mega_demondrug": "Mega droga demoníaca",
"might_seed": "Semilla de poder"
},
"melody_effects": {
"affinity_up": "Aumento de afinidad",
"attack_and_affinity_up": "Aumento de ataque y afinidad",
"attack_and_defense_up": "Aumento de ataque y defensa",
"attack_up": "Aumento de ataque",
"blight_negated": "Plaga neutralizada",
"defense_up": "Aumento de defensa",
"divine_protection": "Protección divina",
"earplugs_l": "Orejeras (L)",
"earplugs_s": "Orejeras (S)",
"elemental_attack_boost": "Aumento de ataque elemental",
"environment_damage_negated": "Daño ambiental neutralizado",
"health_recovery_l": "Recuperación de salud (L)",
"health_recovery_s": "Recuperación de salud (S)",
"health_recovery_s_antidote": "Recuperación de salud (S) + Antídoto",
"health_regeneration": "Regeneración de salud",
"infernal_melody": "Melodía infernal",
"knockbacks_negated": "Retroceso anulado",
"self_improvement": "Auto-mejora",
"sharpness_extension": "Extensión de afilado",
"sharpness_loss_reduced": "Reducción de pérdida de afilado",
"sharpness_regeneration": "Regeneración de afilado",
"sonic_barrier": "Barrera sónica",
"sonic_wave": "Onda sónica",
"stamina_recovery_up": "Recuperación de resistencia aumentada",
"stamina_use_reduced": "Reducción de uso de resistencia",
"stun_negated": "Aturdimiento anulado",
"tremors_negated": "Temblores anulados",
"wind_pressure_negated": "Presión del viento anulada"
},
"misc_buffs": {
"attack_up": "Aumento de ataque",
"defense_up": "Aumento de defensa",
"immunity": "Inmunidad",
"natural_healing_up": "Aumento de curación natural",
"stamina_use_down": "Reducción de uso de resistencia"
},
"otomo_moves": {
"go_fight_win": "Ve, lucha, gana",
"power_drum": "Tambor de potencia",
"rousing_roar": "Rugido entusiasta",
"vase_of_vitality": "Jarrón de vitalidad"
},
"parts": {
"abdomen": "Abdomen",
"amatsu_unknown": "?",
"antenna": "Antena",
"arms": "Brazos",
"arms_mud": "Brazos (Lodo)",
"back": "Espalda",
"back_windsac": "Espalda (Saco de viento)",
"body": "Cuerpo",
"body_mud": "Cuerpo (Lodo)",
"carapace": "Caparazón",
"chest": "Pecho",
"chest_windsac": "Pecho (Saco de viento)",
"claw": "Garra",
"crest": "Blasón",
"dorsal_fin": "Aleta dorsal",
"foreleg": "Pata delantera",
"forelegs": "Patas delanteras",
"head": "Cabeza",
"head_mud": "Cabeza (Lodo)",
"hind_leg": "Pata trasera",
"hind_legs": "Patas traseras",
"large_mudbulb": "Bulbo grande de barro",
"left_arm": "Brazo izquierdo",
"left_arm_ice": "Brazo izquierdo (Hielo)",
"left_claw": "Garra izquierda",
"left_cutwing": "Ala cortada izquierda",
"left_foreleg": "Pata delantera izquierda",
"left_hind_leg": "Pata trasera izquierda",
"left_leg": "Pierna izquierda",
"left_leg_mud": "Pierna izquierda (Lodo)",
"left_legs": "Piernas izquierdas",
"left_wing": "Ala izquierda",
"left_wingclaw": "Garra alada izquierda",
"legs": "Piernas",
"lower_back": "Parte baja de la espalda",
"lower_body": "Parte inferior del cuerpo",
"mane": "Melena",
"mudbulb": "Bulbo de barro",
"neck": "Cuello",
"rear": "Parte trasera",
"right_arm": "Brazo derecho",
"right_arm_ice": "Brazo derecho (Hielo)",
"right_claw": "Garra derecha",
"right_cutwing": "Ala cortada derecha",
"right_foreleg": "Pata delantera derecha",
"right_hind_leg": "Pata trasera derecha",
"right_leg": "Pierna derecha",
"right_leg_mud": "Pierna derecha (Lodo)",
"right_legs": "Piernas derechas",
"right_wing": "Ala derecha",
"right_wingclaw": "Garra alada derecha",
"rock": "Roca",
"shell": "Caparazón",
"spinning": "Barrido",
"tail": "Cola",
"tail_mud": "Cola (Lodo)",
"tail_tip": "Punta de la cola",
"tail_windsac": "Cola (Saco de viento)",
"thundersacs": "Saco de truenos",
"torso": "Torso",
"torso_mud": "Torso (Lodo)",
"unknown": "?",
"upper_back": "Parte superior de la espalda",
"upper_body": "Parte superior del cuerpo",
"wingclaw": "Garra alada",
"wingclaws": "Garras aladas",
"wings": "Alas"
},
"rampage_skills": {
"chameleos_soul": "Alma camaleónica",
"kushala_daora_soul": "Alma de Kushala Daora"
},
"skills": {
"adrenaline_rush": "Subidón de adrenalina",
"affinity_sliding": "Afinidad deslizante",
"agitator": "Agitador",
"berserk": "Desenfrenado",
"bladescale_hone": "Afilador de escamas",
"blood_awakening": "Despertar de sangre",
"bloodlust": "Sed de sangre",
"burst": "Ráfaga",
"coalescence": "Confluencia",
"counterstrike": "Contraataque",
"dereliction": "Desamparo",
"dragon_conversion_elemental_attack_up": "Conversión dracónica: Ataque elemental +",
"dragon_conversion_elemental_res_up": "Conversión dracónica: Res. elemental +",
"dragonheart": "Corazón de dragón",
"embolden": "Envalentonar",
"frenzied_bloodlust": "Sed de sangre frenética",
"furious": "Furia",
"grinder_s": "Afilador (S)",
"heaven_sent": "Enviado celestial",
"hellfire_cloak": "Manto de fuego infernal",
"heroics": " Heroísmo",
"inspiration": "Inspiración",
"intrepid_heart": "Corazón intrépido",
"latent_power": "Poder latente",
"maximum_might": "Poder máximo",
"offensive_guard": "Guardia ofensiva",
"partbreaker": "Rompepiezas",
"peak_performance": "Rendimiento máximo",
"powder_mantle_blue": "Manto de pólvora (azul)",
"powder_mantle_red": "Manto de pólvora (rojo)",
"protective_polish": "Pulido protector",
"resentment": "Resentimiento",
"resuscitate": "Reanimar",
"spiribirds_call": "Canto de pájaro espiritual",
"status_trigger": "Disparador de estado",
"strife": "Conflicto",
"wall_runner": "Corredor de muros",
"wind_mantle": "Manto de viento"
},
"stats": {
"affinity": "Afinidad",
"attack": "Ataque",
"defense": "Defensa",
"dragon": "Dragón",
"dragon_resistance": "Resist. de dragón",
"fire": "Fuego",
"fire_resistance": "Resist. de fuego",
"ice": "Hielo",
"ice_resistance": "Resist. de hielo",
"stamina": "Resistencia",
"thunder": "Trueno",
"thunder_resistance": "Resist. de trueno",
"water": "Agua",
"water_resistance": "Resist. de agua"
},
"unicode_glyph_ranges": [
32,
255,
256,
591,
1024,
1327,
7680,
7935,
8192,
8303,
65280,
65519,
0
],
"weapon_skills": {
"bow": {
"arc_shot_affinity": "Tiro con arco: Afinidad",
"arc_shot_brace": "Tiro con arco: Apoyo",
"bolt_boost": "Impulso de perno",
"herculean_draw": "Reparto hercúleo"
},
"charge_blade": {
"element_boost": "Potenciador de elementos",
"sword_boost_mode": "Modo potenciador de espada"
},
"dual_blades": {
"archdemon_mode": "Modo archidemonio",
"ironshine_silk": "Seda iridiscente"
},
"great_sword": {
"power_sheathe": "Funda protectora"
},
"gunlance": {
"erupting_cannon": "Cañón en erupción",
"ground_splitter": "Divisor de suelo"
},
"hammer": {
"impact_burst": "Explosión de impacto"
},
"heavy_bowgun": {
"counter_charger": "Contraataque",
"overheat": "Sobrecalentamiento",
"rising_moon": "Luna creciente",
"setting_sun": "Puesta de sol",
"wyvernsnipe_reload": "Recarga de Wyvernsnipe"
},
"hunting_horn": {
"bead_of_resonance": "Cuenta de resonancia",
"silkbind_shockwave": "Onda de choque Silkbind",
"sonic_bloom": "Florecimiento sónico"
},
"insect_glaive": {
"all_extracts_mix": "Mezcla de todos los extractos",
"orange_extract": "Extracto naranja",
"red_extract": "Extracto rojo",
"white_extract": "Extracto blanco"
},
"lance": {
"anchor_rage": "Rabia del ancla",
"spiral_thrust": "Empuje en espiral",
"twin_wine": "Vino doble"
},
"light_bowgun": {
"fanning_maneuver": "Maniobra de Fanning",
"wyvernblast_reload": "Recarga de Wyvernblast"
},
"long_sword": {
"harvest_moon": "Luna de cosecha",
"iai_slash": "Tajo Iai",
"soaring_kick": "Patada voladora",
"spirit_gauge": "Nivel de burbuja",
"spirit_gauge_autofill": "Medidor de espíritu autocompletado"
},
"switch_axe": {
"amped_state": "Estado amplificado",
"axe_heavy_slam": "Hacha: Golpe pesado",
"switch_charger": "Cargador conmutable"
},
"sword_and_shield": {
"destroyer_oil": "Aceite destructor"
}
},
"weapons": {
"bow": "Arco",
"charge_blade": "Hacha cargada",
"dual_blades": "Espadas dobles",
"great_sword": "Gran espada",
"gunlance": "Lanza pistola",
"hammer": "Martillo",
"heavy_bowgun": "Ballesta Pesada",
"hunting_horn": "Cornamusa",
"insect_glaive": "Glaive insecto",
"lance": "Lanza",
"light_bowgun": "Ballesta ligera",
"long_sword": "Espada larga",
"switch_axe": "Hacha espada",
"sword_and_shield": "Espada y escudo"
}
}

View File

@@ -165,6 +165,7 @@
"global_position_modifier": "全体的な位置の調整",
"global_scale_modifier": "全体的なスケールの調整",
"global_settings": "全体設定",
"head_tracking": "Head Tracking",
"health": "体力",
"health_anomaly_filter": "Health + Anomaly Core",
"health_break_anomaly_filter": "Health + Break + Anomaly Core",

View File

@@ -165,6 +165,7 @@
"global_position_modifier": "전역 위치 배율",
"global_scale_modifier": "전역 크기 배율",
"global_settings": "전역 설정",
"head_tracking": "Head Tracking",
"health": "체력",
"health_anomaly_filter": "체력 + 괴이핵",
"health_break_anomaly_filter": "체력 + 파괴 + 괴이핵",

View File

@@ -165,6 +165,7 @@
"global_position_modifier": "Глобальный модификатор расположения",
"global_scale_modifier": "Глобальный модификатор размера",
"global_settings": "Общие настройки",
"head_tracking": "Отслеживание головы",
"health": "Здоровье",
"health_anomaly_filter": "Здоровье + Ядро аномалии",
"health_break_anomaly_filter": "Здоровье + Повреждение + Ядро аномалии",

View File

@@ -165,6 +165,7 @@
"global_position_modifier": "全局位置更改",
"global_scale_modifier": "全局比例更改",
"global_settings": "全局设定",
"head_tracking": "Head Tracking",
"health": "生命",
"health_anomaly_filter": "Health + Anomaly Core",
"health_break_anomaly_filter": "Health + Break + Anomaly Core",

View File

@@ -165,6 +165,7 @@
"global_position_modifier": "全域位置更改",
"global_scale_modifier": "全域比例更改",
"global_settings": "全域設定",
"head_tracking": "Head Tracking",
"health": "血量",
"health_anomaly_filter": "Health + Anomaly Core",
"health_break_anomaly_filter": "Health + Break + Anomaly Core",