File information

Last updated

Original upload

Created by

Bibo164

Uploaded by

Bibo164

Virus scan

Safe to use

Tags for this mod

About this mod

Compatible Show Health Redux is a complete re-implementation of previously available ShowHealth mods as a standalone modification, showing entities' health percentages alongside their health bars. Update-safe compatibility with Text Chat and other mods.

Permissions and credits
Changelogs
Donations
Compatible Show Health Redux

Features
Compatible Show Health Redux shows the percentage of the enemy's health at which the player is currently aimed at.
There are four different positioning options available.
This version of the mod has been rewritten with compatibility for other mods in mind.

Variants
Available positionings of the health percentage in regard to the enemy/entity health bar:
  • Top (like previous ShowHealth versions)
  • Bottom
  • Right
  • Left

Manual Install
  • Pick and download your desired version (you can only have one installed at a time)
  • Extract the CompatibleShowHealthRedux.ba2 file to your Fallout 76 Data folder (default: "C:\Program Files (x86)\Bethesda.net Launcher\games\Fallout76\Data")
  • Navigate to your Fallout 76 settings folder in "My Games" (default: "C:\Users\%USERNAME%\Documents\My Games\Fallout 76")
  • If this is your first mod, extract the optional "Fallout76Custom.ini" file to the above mentioned directory.
  • Otherwise, append the name of the new archive, "CompatibleShowHealthRedux.ba2", to the list, separated by a comma, like so:

[Archive]
sResourceArchive2List = CompatibleShowHealthRedux.ba2, ChatMod.ba2

C
ompatibility
This mod should generally be compatible with any other mod providing a loader for CompatibleShowHealthRedux.swf in their hudmenu.swf file.
Known compatible mods:
  • Text Chat by Liyalai
  • Basically any other mod which properly works with Text Chat (load Text Chat last for its loader to work!)

Compatible Show Health Redux also comes with loaders for the following mods (these mods will all work if this mod is loaded AFTER them):

For mod authors:
Installing users please ignore this segment!

To load this and other mods' standalone scripts (aka make your mod compatible with CSHR) just add the following code to your hudmenu.swf:
Spoiler:  
Show
   // Import the Loader class & UncaughtErrorEvent in the package with the other imports
   import flash.display.Loader;
   import flash.events.UncaughtErrorEvent;

// Add the loader as global variable within the HUDMenu class
private var cshrLoader:Loader;

// This is the topmost already existing function in hudmenu.swf
public function HUDMenu()
{
// There is a lot of bethesda code here
...

// Insert this code at the end of the function
this.cshrLoader = new Loader();
addChild(this.cshrLoader);
try
{
this.cshrLoader.load(new URLRequest("CompatibleShowHealthRedux.swf"),new LoaderContext(false,ApplicationDomain.currentDomain));
this.cshrLoader.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR,this.uncaughtErrorHandler);
}
catch(e:Error)
{
// You can optionally log loading errors to the screen here
}
}

       // Add a handler for when the mod loading fails horribly (won't trigger when there's no CSHR to be loaded)
       public function uncaughtErrorHandler(param1:UncaughtErrorEvent) : *
       {
           // You can optionally log loading errors to the screen here
       }

If your mod is running as standalone script as well please feel free to send me a DM on Nexus and I'll add your mod to my loaders as well so that users can load mods in any order to avoid conflicts and confusion! :)

FAQs
  • How is this mod different from any previous version? This is a full re-write of ShowHealth contained in its own standalone script, thus being fundamentally different than its predecessors, adding true compatibility with other mods.
  • Why are my quest markers not showing up? There was an issue in a recent game update that caused a settings value to be initialised as 0 when any mod touching the hudmenu.swf was loaded. Going to Settings > Display > Floating Markers Draw Distance and setting the slider to the maximum should permanently resolve this issue (see last mod image).
  • Is this mod safe to use? Beyond the virus scan, if you have any concerns, feel free to open the SWF file and view the source code. This can be done with a tool called JPEXS Flash Decompiler.

Credits & Thanks
pepezoro
for the original ShowHealth
madcat2k4 for the ShowHealth Redux
SoltyJenkins for the subsequent Show Health Re-Redux and their permission to fully rewrite it as standalone mod!
Liyalai for their help and support as well as for making Text Chat + adding a loader to it :)
  翻译: