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

NPCMod and Addons

Thanks for the great mod! I'm looking to tweak spawn percentages of NPCs. I feel like the encounters are too common. Also is there a way to remove certain NPCs or alter their spawn weapons. For example, I want to remove rocket launcher NPC or just the weapon.

Thanks again for all the great work you guys do!

 
I have a couple observations/questions after playing for a bit. I am only using both core mods along with the birds and spiders NPC expansions so I was not expecting to encounter and human NPCs, but I have encountered a friendly nurse NPC strolling the forest. I assume that is part of the actual XNPCcore itself? Is the additional female zombie I've clubbed over the head also a part of that? Its not a problem or complaint or anything of the sort, I was just making sure there wasn't some other mod I'm using doing some sort of voodoo in the background.

The other thing I noticed was the varied walk animations for the zombies. This is great! A very pleasant surprise. I remember that mod in a19 and its nice to see it back. Which mod is responsible for that feature now and are there any other past gems like that making an appearance in the core mods?

Thanks for the amazing work:)

 
Thanks for the great mod! I'm looking to tweak spawn percentages of NPCs. I feel like the encounters are too common. Also is there a way to remove certain NPCs or alter their spawn weapons. For example, I want to remove rocket launcher NPC or just the weapon.

Thanks again for all the great work you guys do!
Each NPC pack should have an entitygroups.xml within the main Config folder. This is a good place to start tweaking the settings to match your requirements.

For example, the 1-SoldierPack.

There is an entry for the Rocket Launcher soldier like this:

<entity name="npcSoldier1RocketL" prob=".1" />

He has a low probability to spawn compared to default entities but the same probability to spawn as other Soldiers in the pack. Your choices are to remove him totally or further reduce his chance to appear, and here are instructions to do that first. This will still allow him to be a feature but much more of a surprise than a guaranteed regular occurrence. For example, change his probability to:

<entity name="npcSoldier1RocketL" prob="0.02" />

This only provides a 2% chance to spawn on an individual basis, but even less so when we take all of the other NPCs in the same spawning area with greater probability into account. If encounters are too common this can really balance it out and make it a lot of fun when he does appear on those much rarer occasions.

I hope you'll try that method as he can be a cool character in smaller doses. ^^

However, to remove him, you can totally delete that line or 'comment it out'. Commenting out forces the game to disregard that line and skip to the next one. A commented out entry for this Rocket Man looks like this:

<!--entity name="npcSoldier1RocketL" prob=".1" /-->

 
Thanks for the great mod! I'm looking to tweak spawn percentages of NPCs. I feel like the encounters are too common. Also is there a way to remove certain NPCs or alter their spawn weapons. For example, I want to remove rocket launcher NPC or just the weapon.

Thanks again for all the great work you guys do
The XNPCCore has a few example characters included, a nurse capable of healing it's leader, a Baker who someday hopes to craft meals, the tutorial zombie, a verbose bandit lady, and a snowfox.  These demonstrate the xml templates included in the cores.  Glad you enjoy our work!

 
Hey love the mod! one question though is it possible to turn off bullet damage to blocks? I went to the item xml file and changed all guns and bullet block damage too zero and it didn't work. bullets still did one damage to blocks. I even edited the perks associated with block damage of the npc guns and nothing worked.

 
Trouble here..When i Hired a Npc and told them to stay ..they still follow me lol .
Thats unexpected.  Are you sure you had 1000 coins on you so you actually completed the hiring? 

Hi Xyth,

Is there a way to keep the bodies of the dead NPCs from despawning so quickly. 

Thx!
That is a setting in xml that can be adjusted but rapid despawning is needed right now as a work around for another issue. 

Hey love the mod! one question though is it possible to turn off bullet damage to blocks? I went to the item xml file and changed all guns and bullet block damage too zero and it didn't work. bullets still did one damage to blocks. I even edited the perks associated with block damage of the npc guns and nothing worked.
1 damage is the minimum the game code enforces.  There is no xml way to reduce that to zero yet.

 
Quick question: Is it safe to add this mod to existing save? 

Also I really want to use it on dedicated server (when I use hosting site, they give me dedicated server right?) but since you mention there are too many bugs on it, I will wait for green light...

 
Quick question: Is it safe to add this mod to existing save? 

Also I really want to use it on dedicated server (when I use hosting site, they give me dedicated server right?) but since you mention there are too many bugs on it, I will wait for green light...


Its really NOT SAFE to add to an existing save.  

We made a lot of progress on dedi, still some spawning bugs to resolve and a friendly fire issue, but we are getting close.

 
Back
Top