NPC Shields & Bars[Resource/Addon]
Adds modifiable energy shields and elemental resistances to NPCs and monsters.
Adds:
- This mod doesn’t add shield items or such, just the means for status effects to control the shields.
- This mod also makes it so that NPCs can have elemental resistances/weakneses, vanilla doesn’t do that if you were wondering.
- Should support most npcs, even modded ones.
- With Supper’s Follwer Healthbars:
- Adds a healthbar and shieldbar on top of the npcs’s head, shield bar represents how much damage their shield can take.
- Can be used if you want to see npc’s health, even friendly ones.
- Monsters also have health bars when used with Supper’s mod and Monster Core
How to use for your mod:
The idea is for shields to be modified by status effects:
- The resource "damageAbsorption" controls the current amount of shield.
- The resource "maxDamageAbsorption" controls the max amount of shield, it’s already enforced by this mod.
- NPCs automatically render the bars and absorb the damage.
- Adds a message for entities, "getDamageAbsorption", returns a table with current Shield and max Shield.
- Monsters use status.statusProperty("damageAbsorption") and "maxDamageAbsoprtion".
- NPCs can also use the satus properties if the status property "usePropertyShield" is set to true.
Recommended:
- Supper’s Follwer Healthbars (For actually seeing the bars)
- ShieldAugments Adjustments – No Energy Cost (Makes the "Shield Augments" mod work with crewmembers)
- Borderlands 2 Shields (Adds shields to NPCs and crew, also staves to put shields on pets/monstsers)
- Monster Core (Allows monsters to work and be compatible with other mods)
Note:
A version of this is already included in "Borderlands 2 Shields", but only for crew members and pets, this one applies for any NPC or monster.
So if you have it, then I suggest this one too, in order to display npcs that spawn with shields.
Incompatibilities:
- Borderlands 3 Healthbars(That mod is meant to replace most functionalities of this mod and it’s compatibilities, both can be used if you plan on using Shield Augments + Crew Customization)
If you have problems uninstalling use this:
https://steamcommunity.com/sharedfiles/filedetails/?id=2077698052