• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

NPCMod and Addons

is there anyway to increase the amount of npcs or raiders in the towns/cities?
There is a way to do that. In fact it is encouraged to make extension/expansion packs for the existing core or add on packs.

7 Days has 4 specific spawning groups for the cities:

ZombiesForestDowntown

ZombiesForestDowntownNight

ZombiesDowntown

ZombiesWastelandDowntown

These allow the higher rates of spawning than out in the biomes. These groups are connected up to places like commercial, industrial, and downtown areas to make them more hostile and populated.

There are some drawbacks however...

- Adding NPCs or Bandits/Raiders into the more populated areas will either see them quickly wiped out by zombies, or gradually wipe out the zombie populations depending on how spawn rates are set.

- The towns/cities are quite render heavy and having firefights continually blaring is a lot of fun, but in practice causes FPS to drop significantly.

As such the best possibilities are:

1. Have a specific NPC or Bandit POI that is placed in the Downtown, Industrial, or Commercial area. The Wasteland Mod by bdubyah does this to fine effect and it is well balanced. It helps to contain them but still make Questing them in these populated areas possible.

2. Allow the zombies Add On packs to be added to these City spawning type areas. Since they are allies to regular zombies, it will mix up the variety a lot.

3. Make a whole new tile set called Bandit Town or NPC Town for hostile or friendlies only. It could remove any zombie spawning. A Bandit Town could be quite something and is simply an extension to a POI in the small NPCMod POI Pack which has 2 large (about 100 x 100) Bandit POIs that spawn in the Wilderness and is only them.

Your idea is sound and very possible. The end result is pretty laggy. We have actually attempted such a feature and found it was best to keep them out of the cities beyond specific POIs.

yeah...if you open my mods folder there is a 0-SCore folder...and inside that is the readme and the rest of the files. 
It would help a lot to see the full log in addition to the console errors for the load out. It just helps to check if there is something prior to those yellow warnings.

 
Last edited:
question....can you use the spider pack (and its expansion) without using npcmod (but using S-Core)?? or do they require npcmod to function?

It would help a lot to see the full log in addition to the console errors for the load out. It just helps to check if there is something prior to those yellow warnings.
got it straight and edited prior post. 7dtd wasnt done updating apparently and its all working correctly now

 
question....can you use the spider pack (and its expansion) without using npcmod (but using S-Core)?? or do they require npcmod to function?

got it straight and edited prior post. 7dtd wasnt done updating apparently and its all working correctly now
no, as the spider entity is an add on for npc mod and has dependencies as well

 
OK just downloaded and same errors...I placed the files in the spider pack expansion prefabs folder, does that location not work anymore?

Code:
2023-07-07T05:29:36 235.970 INF [XUi] Initialized all window groups completed in 958 ms total.
2023-07-07T05:29:38 238.606 ERR Loading prefab "NPCMod_Bandits_Settlement_01" failed: Block "terrBurntForestFromDirt" (40) used in prefab is unknown.
2023-07-07T05:29:38 238.606 WRN Could not load prefab 'NPCMod_Bandits_Settlement_01'. Skipping it
2023-07-07T05:29:38 238.712 ERR Loading prefab "NPCMod_Bandits_Settlement_02" failed: Block "metalIndustrialFenceBottomBroken1" (11617) used in prefab is unknown.
2023-07-07T05:29:38 238.712 WRN Could not load prefab 'NPCMod_Bandits_Settlement_02'. Skipping it
2023-07-07T05:29:38 238.735 ERR Loading prefab "NPCMod_Arachnids_Cave_01" failed: Block "stalactite01" (12971) used in prefab is unknown.
2023-07-07T05:29:38 238.735 WRN Could not load prefab 'NPCMod_Arachnids_Cave_01'. Skipping it
2023-07-07T05:29:39 238.870 ERR Loading prefab "NPCMod_Arachnids_army_camp_02" failed: Block "terrBurntForestFromDirt" (40) used in prefab is unknown.
2023-07-07T05:29:39 238.870 WRN Could not load prefab 'NPCMod_Arachnids_army_camp_02'. Skipping it
2023-07-07T05:29:39 239.138 ERR Loading prefab "NPCMod_Bandits_Settlement_01" failed: Block "terrBurntForestFromDirt" (40) used in prefab is unknown.
2023-07-07T05:29:39 239.139 WRN Could not load prefab 'NPCMod_Bandits_Settlement_01'. Skipping it
2023-07-07T05:29:39 239.154 ERR Loading prefab "NPCMod_Bandits_Settlement_02" failed: Block "metalIndustrialFenceBottomBroken1" (11617) used in prefab is unknown.
2023-07-07T05:29:39 239.154 WRN Could not load prefab 'NPCMod_Bandits_Settlement_02'. Skipping it
2023-07-07T05:29:39 239.154 ERR Loading prefab "NPCMod_Arachnids_Cave_01" failed: Block "stalactite01" (12971) used in prefab is unknown.
2023-07-07T05:29:39 239.155 WRN Could not load prefab 'NPCMod_Arachnids_Cave_01'. Skipping it
2023-07-07T05:29:39 239.196 INF Started thread GenerateChunks
 
Good morning! I am working on a "Throwback" server and doing A19. I have the A19 NPC Mod installed, & I want to make all of the goats, pugs, & beagles friendly or neutral to players & increase the spawn of the ones we can hire. I have been playing with factions & probabilities & such, but haven't had any luck yet. Does anyone have any suggestions? Thanks!

 
OK just downloaded and same errors...I placed the files in the spider pack expansion prefabs folder, does that location not work anymore?
Based on your placements, I attempted to duplicate it.

All A21 NPC Mod POIs are placed in the same folder in their single folder instances.

NhwsN2p.jpg


Bringing up all NPC POIs show they have been placed in the World. The console showed no errors.

NS4Ogz8.jpg


Visiting a couple of POIs, one which shows as not loading in your output.

I54mQe8.jpg


xJLaGlI.jpg


I have been unable to duplicate the issue you are facing under similar loading circumstances.

I was using:

1-DarksCleanerz

1-DarksRaiderz

1-DarksSoldierz

1-NPCXSpiderPack

2-NPCXSpiderPack-ColonyExpansion (Contained the NPC POIs)

 
Downloaded the git main folder instead of the zip file and created a new RWG world, all good now thanks!

 
Last edited by a moderator:
Uploaded version 21.0.3.5 of NPCCore.  Fixed the NPCFox not using root motion.  Reduced the shuffling animation the NPCs displayed in chat.  The root cause of that is still being investigated, but this improve the visual effect. 

 
This is an amazing mod, love it very much. Thanks for your hardworking. May I suggest please: An option that makes the ammo for NPC's range weapons not infinite, but consume the ammo in some kind of inventory where player need to put ammo in. Because inifinit ammo is really too powerful, not suit the game's find->storage->consume theme, just makes the game too easy. Sorry for my poor English.

 
This is an amazing mod, love it very much. Thanks for your hardworking. May I suggest please: An option that makes the ammo for NPC's range weapons not infinite, but consume the ammo in some kind of inventory where player need to put ammo in. Because inifinit ammo is really too powerful, not suit the game's find->storage->consume theme, just makes the game too easy. Sorry for my poor English.


That feature might be coming at some point now that we enabled weapon swapping.  Still in the fixing bugs phase, so we are not yet adding new features beyond the new weapon swapping.  

New:    Updated the Tutorial project link to new version.  This version has version 3 off the NPC Unity controller, which reduces the NPC foot shuffling that V2 had.

 
Last edited by a moderator:
The Fox Friend quest Add On is updated to A21.

The Quest Note can be found in trader reading area, as well as safes.

SX9zhsj.jpg


 
It'd be nice if each expansion mod had it's own little description to go with them as it's not clear what exactly am I downloading for some of them (mainly referring to DarkStarDragon's mods). I tried searching the topic for answers but as we all know, the search engine here is terrible.

Suggestion: To prevent bloating the OP, maybe a link to a separate topic or post?

 
Last edited by a moderator:
It'd be nice if each expansion mod had it's own little description to go with them as it's not clear what exactly am I downloading for some of them. I tried searching the topic for answers but as we all know, the search engine here is terrible.

Suggestion: To prevent bloating the OP, maybe a link to a separate topic or post?
Raiderz, Soldierz and Zombiez packs should be fairly self explanatory, the Cleanerz pack is a set of retextured soldiers to appear black ops and are your enemies just like the raiderz

 
Raiderz, Soldierz and Zombiez packs should be fairly self explanatory, the Cleanerz pack is a set of retextured soldiers to appear black ops and are your enemies just like the raiderz
Self explanatory only to a degree though. For example, are they coded to have loot? Are they interactable / can negotiate at all? Default weapon loadout / predicted difficulty rating? What's special about your zombies mod over the vanilla ones, or does it just add more variety to the game? etc

For example, after trying most of them out, I noticed that the raiders spawn in way too frequently and right when you start off with nothing too... giving you no chance against them (especially since some spawn in with rockets or AKs). I've already died 3 times to them and have yet to even encounter a single zombie. It's only day 2. Raiders should be an addition to the zombie based game, not a main focus.

I don't know much about modding so I haven't figured out how to lower their spawn rate yet. I might just uninstall that mod until I get set up, and then reinstall it later (or not at all as they are kind of annoying with how often they show up).

Just saying... had there been a description to go with the mod expansions, I wouldn't have gone into it so blind.

 
Last edited by a moderator:
I don't know much about modding so I haven't figured out how to lower their spawn rate yet. I might just uninstall that mod until I get set up, and then reinstall it later (or not at all as they are kind of annoying with how often they show up).
This is something we were starting to build a compliance setting for in A20, and can be further developed for A21. For example:

- Add On Pack creators were encouraged to set spawn rates to 0.025 to 0.1 for biomes to reflect the regular zombie spawns. For example, in the Pine Forest the lowest rate for Zombies is 0.2 for the stronger types. As such, 0.1 was the recommendation for Add On Packs to ensure they will spawn at a regulated rate to complement the biomes rather than take over. At present it is:

Zombies All for most Biomes: Zombie Janitor .2 and we recommended .1

Zombies Night for most Biomes: .05 for Zombie Dog and we recommended .025

This ensure the Add On Pack entities that carry weapons are the exception and not the rule.
This is something we can start enforcing to ensure there is greater parity across the board for Zombie to Add On Pack interactions, as well as Add On Pack to Add On Pack interactions to keep the 'pond life' balanced and stable. A uniform set of rates can ensure compliance across the board and let the Zombies do their thing without getting pushed out.

A descriptive sentence for each Add On Pack will assist with letting down loaders know exactly what is to be expected without taking up to much space. Things are just getting to that stage where these can be addressed again, as just getting things out there was a priority and now it can be more about polishing the experience.

 
This is something we were starting to build a compliance setting for in A20, and can be further developed for A21. For example:

- Add On Pack creators were encouraged to set spawn rates to 0.025 to 0.1 for biomes to reflect the regular zombie spawns. For example, in the Pine Forest the lowest rate for Zombies is 0.2 for the stronger types. As such, 0.1 was the recommendation for Add On Packs to ensure they will spawn at a regulated rate to complement the biomes rather than take over. At present it is:

Zombies All for most Biomes: Zombie Janitor .2 and we recommended .1

Zombies Night for most Biomes: .05 for Zombie Dog and we recommended .025

This ensure the Add On Pack entities that carry weapons are the exception and not the rule.
This is something we can start enforcing to ensure there is greater parity across the board for Zombie to Add On Pack interactions, as well as Add On Pack to Add On Pack interactions to keep the 'pond life' balanced and stable. A uniform set of rates can ensure compliance across the board and let the Zombies do their thing without getting pushed out.

A descriptive sentence for each Add On Pack will assist with letting down loaders know exactly what is to be expected without taking up to much space. Things are just getting to that stage where these can be addressed again, as just getting things out there was a priority and now it can be more about polishing the experience.


That standard did not work in A20.

That standard requires each entity to spawn with an equal probability, regardless of weapon type (e.g. prob="0.1" for the Pine Forest biome spawns). This causes a whole bunch of issues:

  • There is always the same chance of spawning an NPC with an M60 as an NPC with a club.
  • There is no difficulty scaling by gamestage or by biome. You meet the same entities in the pine forest as the wasteland; you meet the same entities in NPC POIs regardless of whether you are at gamestage 1 or gamestage 200.
  • Packs with many entities (or that wield more weapons) overpower packs with fewer entities (or that wield fewer weapons).
  • Installing more than a couple NPC packs means NPCs overspawn relative to vanilla entities in biomes.
That's why my own NPC packs never followed the Core standards, and why I wrote my own "progression" modlets for other peoples' NPC packs.

I sincerely hope you do not consider using the same standards for A21. I certainly will never use it for my own packs.

 
  • Like
Reactions: Fox
That standard did not work in A20.

That standard requires each entity to spawn with an equal probability, regardless of weapon type (e.g. prob="0.1" for the Pine Forest biome spawns). This causes a whole bunch of issues:

  • There is always the same chance of spawning an NPC with an M60 as an NPC with a club.
  • There is no difficulty scaling by gamestage or by biome. You meet the same entities in the pine forest as the wasteland; you meet the same entities in NPC POIs regardless of whether you are at gamestage 1 or gamestage 200.
  • Packs with many entities (or that wield more weapons) overpower packs with fewer entities (or that wield fewer weapons).
  • Installing more than a couple NPC packs means NPCs overspawn relative to vanilla entities in biomes.
That's why my own NPC packs never followed the Core standards, and why I wrote my own "progression" modlets for other peoples' NPC packs.

I sincerely hope you do not consider using the same standards for A21. I certainly will never use it for my own packs.

With all due respect, please raise this discussion in a separate thread just for now and invite people to join it. At this time the key goals are:

- Add On Pack parity

- Some kind of balance for existing zombies since the Bandits, NPC Helpers, and Survivors occupy the same groups.

I appreciate what you are saying, and you have explained how it all works on a code level numerous times.
However, we also have to consider individual packs on a case by case basis since some users may only add one.

The previous poster has an issue where the Add On Packs are spawning at the same rate as zombies because they appear with identical probability. That is the issue at hand for the moment. The remainder can come later, and I will certainly read your own thread and the way you intend to assign values depending on weapon type and spawning balance.

 
Back
Top