Skip to content

NPCShieldProvider gives out broken shields to station grids and cant tell the difference between stations or ships #301

@stubkan

Description

@stubkan

If you want to use NPC Shield providers with your MES encounters - you can use them, but they are going to be nonfunctional on all the station grids. They have been this way for a few years now, unfortunately. This gives the player free expensive shield blocks if they find a station grid, as they can approach it safely shielded, while the station is undefended. Many exploration themed mods also have ruined structures or wrecks and they will all come with free expensive shields that dont turn on.

You can test this, by creating a world with MES, Weaponcore and Defense Shields. Then turning on NPC shield providers. All mobile grids will get shields, which work. All station grids will get shields, which don't work. Here is an example station grid encounter;

image

They are helpfully provided with shield blocks that don't work;

image

image

Furthermore, you have many options when it comes to weapon replacers - blacklist groups, whitelists, size restrictions, etc. But when it comes to shields, there seems to be nothing. Its On or Off for everything, ships, stations, big and small.

This means if you want to play an exploration game with weaponcore weapons, and have small ruins or wrecks to encounter as well as dangerous ships to encounter - you are going to get balanced dangerous ships and unbalanced free loot on ruins -or- unbalanced unshielded ships and balanced ruins with balanced loot to discover.

Unfortunately there appears no way to have one without the other - as there is no grid or group blacklist/whitelist or configuration option available for the NPC shield provider. The only functions there are, are "AddDefenseShieldBlocks" and "IgnoreShieldProviderMod" which have to be applied to specific grids directly. You'd have to manually edit all the exploration mods and add or remove shields by hand - which defeats the purpose of the NPC shield provider meant to work without mod rewriting.

This is a longstanding bug that has been around for years, and the original NPC shield provider page was aware of this, as shown on the original page;

image

I get that it is some kind of issue with station grids, but why not add a simple check of 'is this a station grid? and then if it is a station grid, then dont give it a shield. The original mod already did this, and that seems to have been lost at some point, thus breaking this function. Re-adding this check would go a long way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions