About this mod
Hotfix for Process Hotkey not working in Hunterborn SSE MCM
- Requirements
- Permissions and credits
- Changelogs
- Donations
Disclaimer.
I did this fix for my personal playthrough knowing nothing about if I was actually allowed to publish it. If the original authors of Hunterborn and Hunterborn SSE MCM want this off, by all means, hit me up with a private message and I will take it away, no questions asked.
Overview.
You know how it is, there's something malfunctioning on an old, apparently dead mod from years, and you wish such a small, although convenient, mechanic could just work or be updated to have a closer-to-perfection game, but it never is. You hope it could be an easy fix with SSEedit, or even a tweak on Creation Kit, but turns out you have to descend into the madness not only of papyrus itself but in the ordeal of making scripts, for the bittersweet love of god, compile so your attempts at fixing code can even be effective or worth something; and you realize then, you either spend the worst 10 hours of your life trying to fix a code with scripts entwined and entangled among themselves, of ill commented lines of code that mean nothing to you, with no small share of uncertainty, or you just let it go and keep playing the game pretending such bug is not that much of a big deal.
It's always gonna be a big deal if you and I are alike, and you know it, and I couldn't let go as I yearned for knowledge and a pleasant playthrough. Anyway I so totally had my b kicked 10 hours straight but it's thankfully done, the "Process Hotkey" for hunterborn finally works Dx
I did this too because I couldn't find any fix on the net - if there was, by all means, tell me in the comment so I can laugh at myself. And wipe.
What does this fix?
With the introduction of HB SSE MCM support by Hazado, you get fantastic bug fixes and utilities on original Hunterborn (thank you), but it introduces a couple more bugs. The process hotkey stopped working, and although now you can process monsters, you cannot use the hotkey with monsters either, this fix addresses those 2 bugs.
Now you can process all vanilla monsters. Chaurus, Troll (and snow Troll), Spriggan (and burnt spriggan), Frostbit Spider (and giant spider), Werewolf, Werebear. It also works on Dragons.
When you need to butcher/skin multiple times, pressing process hotkey will normally just execute the remaining actions on the animal as intented until it's done.
I couldn't try this with patched creatures via zEdit or else. If I understood the code well enough, it should work. If not, let me know.
Things to note:
Assign a hotkey to Process command in mcm and use it normally on already cleaned/dressed carcasses. You don't need to clean or field dress monsters, just press the hotkey and you get all their respective drops including venom/blood.
If you press the hotkey on an already processed monster, your character will kneel down and open the corpse inventory, when you close the menu, and press process again, the carcass will become disposed. This is as intended, the original author put treasure in the monsters, so the second time you try to process it you are actually searching for treasure on the corpse before disposing of it. Dragons will keep opening the treasure menu, this is intended originally.
My coding background is limited, thus my fix may be a little eye-soring (although compact) for most of you knowleadgable programmers, I tried not to invade too much the original author's to make my edits more clear, thus there may be 1 or 2 harmless redundant checks.
The source is available and commented with the convention "Gasil: -comment-" on all my edits.
I actually don't know what the hell I did to fix the hotkey not working, when I was struggling to compile the scripts as they were just to know I could compile, it just works; idk man, my best guess is that Hazados compilation goofed at some point and compiled successfully anyway, so I just poured some work to add monster support. It's been very consistent in all my testings however, feel free to report bugs or weird ocurrences.
I tried this on an advanced save file and it worked properly, do at your own risk though.
SSEedit will throw errors related to elven hunting knife if you check for errors. I didn't do that I promise.
Compatibility:
This mod replaces these scripts:
_DS_HB_mgef_Hotkey
_DS_HB_monsters
Any mod editing those two will collide in the load order. I also edited _DS_Hunterborn quest to add properties on _DS_HB_monsters.
Installation:
Load order: Hunterborn -> Hunterborn SSE MCM -> this fix.