TrueHUD icon indicating copy to clipboard operation
TrueHUD copied to clipboard

CommonLib Submodule Update And Potential Compatibility Tweaks

Open Joessarian opened this issue 9 months ago • 0 comments

Hi Ersh! I wanted to propose a couple of changes with this PR. First time submitting one of these, so please let me know if anything doesn't look right.

  1. Added CommonLibVR as a submodule ('ng' branch) and made the requisite adjustments to the 'main.cpp' file to support the updated SKSE versioning struct.
  2. Added a set of actor handles to keep track of actor info/boss bars added by other plugins via the TrueHUD API. If an actor handle is in the set, the InfoBarBase::UpdateInfo() function will not remove the bar when considering if the bar should be displayed. This will give plugins full control over the lifetime of any actor info bars that they request.
  3. Allow displaying of boss bars for the player and teammates at any time if added externally.

Decided to make the changes after attempting to add info bars and having trouble keeping the widgets visible. If the mechanism by which these modifications are delivered does not align with the design of TrueHUD, I'd be happy to consider another method (such as creating new InfoBarsDisplayMode options or locking ownership of an info bar behind a SKSE::PluginHandle-based API request). Also, since Party Combat Parameters hasn't been updated to support AE, I was looking for an alternative to display teammate and player HMS info even when out of combat. In the future, if I were to create a new widget based on the player widget to show teammate HMS info, would adding such a widget be in-scope for TrueHUD? Really enjoying TrueHUD for how seamlessly it fits in with Skyrim's UI and for how customizable it is!

Joessarian avatar Mar 31 '25 17:03 Joessarian