Starbound
161 avaliações
NPC Shields & Bars[Resource/Addon]
   
Premiar
+ favoritos
Nos favoritos
- favoritos
Tamanho
Publicado em
Atualizado em
191.624 KB
26/abr./2020 às 17:10
21/jul./2023 às 17:32
13 notas de atualização ( ver )

Inscreva-se para baixar
NPC Shields & Bars[Resource/Addon]

Em 1 coleção de FelmastProMcLane
Monster Core : Collection
8 itens
Descrição
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:

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
46 comentário(s)
FelmastProMcLane  [autor(a)] 6/ago./2021 às 14:56 
This doesn't add shields, but some mods can use this to add them.
JerikJR 6/jul./2021 às 1:35 
Does this mod add a shield for EVERY SINGLE enemy?
FelmastProMcLane  [autor(a)] 30/mai./2021 às 23:15 
I know but, making a Supper's Combat Overhaul patch (for Monster Core mainly) has proven to be quite difficult.
Lain 5/jan./2021 às 20:15 
Your latest changes work, the bar stays after touching the liquid, thank you.
FelmastProMcLane  [autor(a)] 5/jan./2021 às 17:30 
Hmm, then it's because the entity can be hit, I'll change it and give it like a billion health or something.
Lain 5/jan./2021 às 16:24 
With latest version of this mod, the "supbar" entity still dies/disappears after touching Centensian Liquid from ElithianRaces.
FelmastProMcLane  [autor(a)] 5/jan./2021 às 8:11 
It seems that I forgot to change something for NPCs, as they are different from monsters.
I think I can fix it.

Also, the error in the log is caused by detecting that supbar isn't installed, Starbound likes to put those errors' even tough "Exception Caught" isn't an error.
Lain 4/jan./2021 às 22:23 
The health/shield bar seems to killable by some damage type, could you patch it or make them respawn? A 1 minute youtube video about this issue.
Also when installed alone without that healthbar mod it causes error in game log. I'm not sure if it's possible to check if supbar exists in game before trying to spawn them in.
Lukiwarble 15/ago./2020 às 8:45 
Aw shit, here we go again!!!
Lukiwarble 15/ago./2020 às 8:44 
NPC with shield, buffed by tier 10 mod and mobageddon, with reconstruction core