NPC Shield wont go under 10%
-
Hi boys, I am posting this question even here as I am really desperate.
In my own mod, Cosmo is bugged for some reason - his shield won’t go under 10%. No matter what loadout he has, no matter what weapon I fire, it always stops being damaged at 10% of max shield capacity, then it regens back.
I tried different load-outs for him, but nothing helped, and only Cosmo is bugged, other NPCs having the same loadout are fine.
I did not touch any story mission .ini files so I do not understand how the only one NPC may have this issue.Please I beg you give me some tips because I am losing my hair as there is no reasonable explanation for this.
-
Didn’t you say something about putting player shields on NPC’s a while ago, and I said at the time things can get complicated if you’re making a single player mod. NPC’s shields don’t regen, so it would suggest you might have somehow changed his shield type.
Missions/mission02/npcships.ini
[NPCShipArch]
nickname = MSN02_Cosmo
loadout = MSN02_CosmoShips/loadouts.ini
[Loadout]
nickname = MSN02_Cosmo
equip = npc_shield01_mark03, HpShield01That would be the first thing to check, if that’s good then have you edited the values of npc shields to regen?
-
In equipment/st_equip.ini
NPC shield
[ShieldGenerator]
nickname = npc_shield01_mark03
regeneration_rate = 1
max_capacity = 1124Player shield
[ShieldGenerator]
nickname = shield01_mark03_lf
regeneration_rate = 25
max_capacity = 1124Cosmo is not supposed to die is he from memory, It’s messing up the triggers and fuses somehow, it’s supposed to light a burning fuse, and he whines a lot. If you kill him it fails.