Starbound
161 valoraciones
NPC Shields & Bars[Resource/Addon]
   
Premiar
Favoritos
Favorito
Quitar
Tamaño
Publicado el
Actualizado el
191.624 KB
26 ABR 2020 a las 17:10
21 JUL 2023 a las 17:32
13 notas sobre cambios ( ver )

Suscríbete para descargar
NPC Shields & Bars[Resource/Addon]

En 1 colección creada por FelmastProMcLane
Monster Core : Collection
8 artículos
Descripción
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 comentarios
FelmastProMcLane  [autor] 6 AGO 2021 a las 14:56 
This doesn't add shields, but some mods can use this to add them.
JerikJR 6 JUL 2021 a las 1:35 
Does this mod add a shield for EVERY SINGLE enemy?
FelmastProMcLane  [autor] 30 MAY 2021 a las 23:15 
I know but, making a Supper's Combat Overhaul patch (for Monster Core mainly) has proven to be quite difficult.
Lain 5 ENE 2021 a las 20:15 
Your latest changes work, the bar stays after touching the liquid, thank you.
FelmastProMcLane  [autor] 5 ENE 2021 a las 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 ENE 2021 a las 16:24 
With latest version of this mod, the "supbar" entity still dies/disappears after touching Centensian Liquid from ElithianRaces.
FelmastProMcLane  [autor] 5 ENE 2021 a las 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 ENE 2021 a las 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 a las 8:45 
Aw shit, here we go again!!!
Lukiwarble 15 AGO 2020 a las 8:44 
NPC with shield, buffed by tier 10 mod and mobageddon, with reconstruction core