This sounds like you tried to install NPC Core into an existing game. You can't do that.
Here's the technical explanation, if you're curious.
Among other issues, NPC Core adds factions to the game. They are kept in an array, and the "faction ID" is simply the index in that array.
Players have their own factions, which are saved with the game. They are generated after the XML is read, and so have indexes that start immediately after the index for the final faction in the XML.
Now, if a mod adds a faction in the XML, the player's faction ID will now reference one of the added factions.
Since NPC attacks and damages use faction relationships - and their factions are also used by enemies (e.g. Whisperer NPCs aren't attacked by zombies) - a player adopting one of these factions can't hit enemies, and/or can't be hit by enemies.
That's just one symptom though, there are other issues that happen when adding NPCs to an existing game. You have to start a new game.
If this is a new game, then that's a different matter. If so, let me know. I suspect that it would be some other mod interfering with SCore or NPC Core, but that's just a guess at this point.
Here's the technical explanation, if you're curious.
Among other issues, NPC Core adds factions to the game. They are kept in an array, and the "faction ID" is simply the index in that array.
Players have their own factions, which are saved with the game. They are generated after the XML is read, and so have indexes that start immediately after the index for the final faction in the XML.
Now, if a mod adds a faction in the XML, the player's faction ID will now reference one of the added factions.
Since NPC attacks and damages use faction relationships - and their factions are also used by enemies (e.g. Whisperer NPCs aren't attacked by zombies) - a player adopting one of these factions can't hit enemies, and/or can't be hit by enemies.
That's just one symptom though, there are other issues that happen when adding NPCs to an existing game. You have to start a new game.
If this is a new game, then that's a different matter. If so, let me know. I suspect that it would be some other mod interfering with SCore or NPC Core, but that's just a guess at this point.